Existing training-time defenses against indirect can reduce attack success but often degrade general capabilities. The authors show these defenses cause output distribution drift and a specific failure mode: models stop acting on legitimate guidance from tool outputs, leaving authorized tasks unfinished. They introduce RAISED, a framework combining self-generation and self-distillation to preserve the base model's behavior under attack. On AgentDojo with Gemma, RAISED reduces attack success rate from 39.5% to 1.0% and increases utility under attack from 64.0% to 80.5%, while losing only 1 point of benign utility. This matches the robustness of SecAlign++ without its 7-point utility drop, making RAISED a compelling approach for tool-using agents that must handle untrusted content.
Self-distillation hardens tool-using agents without sacrificing benign task performance
RAISED trains agents to ignore injected instructions while preserving legitimate guidance contained in tool outputs.
Big Tech
Mohamed Dhouib · Clement Elliker · Alexi Canesse · Maël Jenny · Lucas-Andrei Thil · Mahammed El-Sharkawy · +2 more
LIX · École polytechnique · Institut Polytechnique de Paris · CNRS · Google DeepMind
Research Digest··2 min read
Thread:Agent Security & Attacks
In one line
RAISED uses self-distillation to defend LLM agents from prompt injection without losing utility.
Before you read this
Three ideas this paper builds onprompt injectionA security attack where malicious instructions are embedded into inputs to override an LLM's intended behavior.86 papers →distribution matching distillationA training method that aligns student and teacher output distributions to compress many-step generative models into efficient few-step versions.29 papers →agent safetyRisks from AI agents including timing errors, shutdown avoidance, collusion, overclaiming, and unsafe execution, mitigated by constrained decoding, safety harnesses, and swarm governance.193 papers →
Read it as
Dhouib et al. study why training-based prompt-injection defenses can impair an agent even when no attack is present.
The authors first measured how supervised fine-tuning and preference-based defenses alter a model’s output distribution.
How it works
before and afterThe Daily Edition
The front page in your inbox each weekday morning: the lead, the picks, and why each one earned its place.
What it released
Code