Skip to content

Inverting Trojan backdoors in LLMsInverting Trojans in LLMs

arXiv· arXiv:2509.16203· Zhengxing Li, Guangmingmei Yang, Jayaram Raghuram, David J. Miller, George Kesidis·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

Researchers propose a backdoor trigger inversion method for LLMs and show in experiments that it can reliably detect and successfully invert real backdoor trigger phrases. The method is designed around three obstacles that make image backdoor detection methods hard to transfer to LLMs: the LLM input space is discrete and does not allow gradient search; a candidate trigger of length k tokens has about 30,000^k combinations to consider; and tokens with a strong marginal association with the suspected attack target class give false detection signals and require blacklist filtering, while a good blacklist may not exist in some domains. The method has three components: a discrete search that starts from a curated single-token list and greedily accumulates candidate triggers; an implicit blacklist implemented by computing the average cosine similarity in activation space between candidate triggers and a small number of clean samples of the target class; and a determination that a backdoor exists when a candidate trigger causes a high misclassification rate and abnormally high decision confidence.

Read originalarxiv.org