BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generator

Ruyi Zhang, Heng Gao, Songlei Jian, Yusong Tan, Haifang Zhou
3/16/2026
cs.CRcs.AI

No confident code implementation found for this paper.

Abstract

Backdoor attacks compromise model reliability by using triggers to manipulate outputs. Trigger inversion can accurately locate these triggers via a generator and is therefore critical for backdoor defense.

Show full abstract

However, the discrete nature of text prevents existing noise-based trigger generator from being applied to nature language processing (NLP). To overcome the limitations, we employ the rich knowledge embedded in large language models (LLMs) and propose a Backdoor defender powered by LLM Trigger Generator, termed BadLLM-TG. It is optimized through prompt-driven reinforcement learning, using the victim model's feedback loss as the reward signal. The generated triggers are then employed to mitigate the backdoor via adversarial training. Experiments show that our method reduces the attack success rate by 76.2\% on average, outperforming the second-best defender by 13.7.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026badllmtg,
  title  = {BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generator},
  author = {Ruyi Zhang and Heng Gao and Songlei Jian and Yusong Tan and Haifang Zhou},
  year   = {2026},
  eprint = {2603.15692},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.15692v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.15692.svg)](https://codeofpaper.com/paper/2603.15692)

Discussion