← Lab /AI/ML

Self-distillation cuts prompt injection success while keeping LLM agent utility

RAISED reduces prompt injection attack success rates and preserves performance on benign tasks

AI/ML arXiv 5 Oct 2026 Method Prototype evidence

Published as “RAISED: Self-Distillation for Robustness to Prompt Injection in LLM Agents”

Why it matters

RAISED can be adopted to harden tool-using LLM agents against indirect prompt injection with negligible impact on normal task performance.

Summary

RAISED cuts prompt-injection attack success from 39.5% to 1.0% on the AgentDojo Gemma benchmark while raising utility under attack from 64.0% to 80.5% and losing only 1 point of benign utility, showing strong robustness with minimal utility loss. The paper demonstrates this across several models and benchmarks, and provides controlled analyses showing far lower distribution drift than SFT or DPO.

What they found 2

  1. RAISED dramatically reduces attack success rate while preserving utility.

    “On AgentDojo with Gemma, RAISED reduces ASR 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.”

  2. Self-distillation incurs far less distribution drift than SFT or DPO.

    “Self-distillation remains substantially closer to the base distribution, with forward and reverse KL divergences of only 0.0016 and 0.0017.”

Caveats 2

  • Since RAISED preserves the base model’s behavior rather than improving it, it also inherits its errors; we discuss this and other limitations in Section G.
  • These examples are intended to characterize the failure mode rather than estimate its prevalence... a broader quantitative evaluation of both the prevalence of these cases and defense behavior on them remains important future work.

What’s new here 4

  • Combines self-generation of tool-use scenarios with self-distillation to train a student model.
  • Matches the teacher’s clean-context next-token distribution on both clean and injected contexts, limiting output-distribution drift.
  • Generates its own injection-augmented trajectories, removing reliance on external adversarial data.
  • Preserves benign utility better than prior training-based defenses such as SecAlign++.