Token look-up recovers backdoor triggers while gradient prompts fail
A token look-up ranked by attack success can recover the planted trigger whenever the backdoor is effective
AI/ML arXiv 29 Jul 2026 Benchmark Prototype evidence
Published as “ToxScreen: Detecting Whether an LLM Has Been Poisoned”
Why it matters
Defenders can use a cheap token-look-up combined with curvature filtering to flag potentially poisoned models, even when the exact trigger cannot be recovered.
Summary
The paper shows that a simple token look-up that ranks candidates by attack-success rate can recover the planted backdoor trigger in all cases where the backdoor is effective, while three gradient-based prompt-optimization methods never recover the trigger and instead converge to generic jailbreak suffixes. Across roughly 800 backdoored models (1B-70B parameters) the token look-up places the true trigger as the top-ranked candidate in 14 of 28 evaluated cells and in the top three in 17 cells. However, many high-ASR candidates are generic adversarial suffixes, so a high ASR alone does not guarantee that the recovered token is the true trigger, especially in broadly jailbreakable models where the trigger’s rank becomes vacuous. The evidence comes from a synthetic benchmark of poisoned models rather than real-world deployments, limiting external validity.
What they found 4
- Gradient-based prompt optimization fails to recover backdoor triggers while token look-up succeeds wherever the backdoor is effective.
“Scoring recovery of the planted trigger, we find that gradient-based prompt optimization fails in recovery, whereas a token look-up that ranks candidates by attack-success rate recovers the trigger wherever the backdoor is effective.”
- Token look-up recovers the planted trigger as the top-ranked candidate in many cases.
“Token look-up recovers triggers as the top-ranked candidate.”
- The planted trigger is the single highest-ASR candidate in 14 of 28 cells and in the top three in 17.
“The planted trigger is the single highest-ASR candidate in 14 of 28 cells and in the top three in 17.”
- High-ASR candidates can be generic adversarial suffixes, so a high ASR does not always indicate a true backdoor.
“A high-ASR hit does not always mean we have found a backdoor.”
Caveats 4
- High-ASR decoy tokens often achieve similar attack-success rates as the true trigger, especially in broadly jailbreakable models where the trigger’s rank becomes vacuous.
- no method reliably surfaces every backdoor
- backdoors are not recoverable using directions in the models’ internal representations: the backdoor’s linear representation is often not representative of the linear representation of the attack objective
- the attacks studied may not be the most concerning in real-world contexts, especially those relying on situational awareness rather than simple token triggers
What’s new here 4
- Evaluates trigger recovery under realistic defender affordances (white-box weights, no clean reference model, no training data).
- Introduces ToxScreen, a benchmark of ~800 backdoored LLMs spanning multiple objectives, trigger types, poisoning rates, and model scales.
- Demonstrates that a token-look-up based on attack-success rate outperforms gradient-based prompt optimization for trigger recovery.
- Identifies a curvature-based suppression ratio that helps separate true backdoor triggers from generic jailbreak tokens.