Research map / Adversarial robustness and security / Attacks on text and graphs
TRACER: Trace-Regularized Training Against Indirect Prompt Injection
Kshitij Mishra, Salem Lahlou, Nils Lukas
Mohamed bin Zayed University of Artificial Intelligence
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| evaluate the same attack payload as a retrieved RAG document instead of a follow-up message (framing gap) | models trained against follow-up attacks · six snapshots, GSM8K | avg ASR: 18% -> 53% | Hurt |
| train TRACER in the RAG wrapper | Qwen2.5-3B-Instruct · GSM8K RAG-framed evaluation | ASR: 65.5 -> 6.1 | Improved |
| use composite reward instead of answer-only reward (ablation) | TRACER RAG training · GSM8K RAG-framed | ASR: 21.3 -> 13.8 | Improved |
| add ATRC trace regularization (ablation) | TRACER composite reward · GSM8K RAG-framed | ASR: 13.8 -> 6.1 | Improved |
| train on both RAG and tool framings | TRACER 3B · cross-framing average | avg ASR: 13.9% best 3B average; RAG 5.2 vs 6.1 | Improved |
| RAG-only training vs tool-only training | TRACER 3B · cross-framing transfer | ASR on non-native framings: RAG specialist 25.7/26.5 on tool/agent; tool specialist 15.0-20.2 across all | Mixed |
| use both RAG wrapper and RAG-specific system prompt (ablation) | TRACER RAG training · GSM8K RAG-framed | ASR: 60.5 (neither) -> 5.5 (both) | Improved |
| apply TRACER to held-out paraphrase and adaptive attacks | TRACER 3B · held-out, channel-aware, defense-aware RAG attacks | ASR: 10.0, 18.1, 23.8 vs base 62.7, 68.8, 70.0 | Mixed |
| train on RAG framing at 7B scale for one epoch | Qwen2.5-7B-Instruct · four framings | avg ASR: 9.4% avg ASR; final model 10.8% | Improved |
| train for additional epochs at 7B (ablation) | 7B RAG-trained · four framings | avg ASR: 9.4% -> 10.8% | Hurt |
| train TRACER with mixed valid evidence and injection | TRACER 3B · mixed-evidence RAG/tool/agent | flip ASR: 46.3-58.1 -> 13.8-17.5 | Improved |
Open problems this paper states
- “Full training is evaluated only within Qwen2.5 at 3B and 7B scale.” → Models tested are open-weight and small, with frontier models left out. (an open problem in adversarial prompts for language models)
- “Attacks are template-based and do not cover optimization-based or multi-turn adversaries.” → Tests use single-turn prompts, and multi-turn attacks are untested. (an open problem in adversarial prompts for language models)
Open problems in adversarial prompts for language models
Do adversarial-prompt attacks and defenses for language models hold on closed models, other languages, multi-turn use and adaptive opponents?
- The method needs white-box or logit access and cannot reach closed models. · 11 papers state it
- Evaluation is English-only, and other languages are untested. · 11 papers state it
- Models tested are open-weight and small, with frontier models left out. · 9 papers state it
Closest papers by meaning
- MixAT: Combining Continuous and Discrete Adversarial Training for LLMs (NeurIPS 2025 · similarity 0.86)
- RedVisor: Reasoning-Aware Prompt Injection Defense via Zero-Copy KV Cache Reuse (ICML 2026 · similarity 0.86)
- ChatInject: Abusing Chat Templates for Prompt Injection in LLM Agents (ICLR 2026 · similarity 0.86)
- Learning to Inject: Automated Prompt Injection via Reinforcement Learning (NeurIPS 2026 · similarity 0.86)
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024 · similarity 0.85)
- IFDECORATOR: Wrapping Instruction Following Reinforcement Learning with Verifiable Rewards (NeurIPS 2026 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.