Can LLMs Reliably Self-Report Adversarial Prefills, and How?
This paper investigates how reliable large language models are in recognizing their own compromised outputs during adversarial prefill attacks in safety contexts.
First to investigate reliability of LLMs in recognizing their own compromised outputs during adversarial prefill attacks in safety contexts.
Before reading this…
Applications
- →Improving the reliability of LLMs in safety-critical applications
To understand this paper, make sure you know these concepts first:
- Understanding of large language models, safety contexts, and adversarial attacksfind papers →
Abstract
More Like ThisPrior work shows that large language models (LLMs) exhibit introspective capability on benign tasks. We extend the question to safety contexts and examine how reliably a model can recognize that its own prior response was elicited by an adversarial prefill attack. Across ten open-weight instruction-tuned LLMs (3B to 70B) and four safety benchmarks, no model reliably recognizes its own compromised outputs, with models claiming intent on prefilled responses at an average rate of $27.3\%$. Introspective signal stems largely from safety- and refusal-related reasoning. Orthogonalizing models' weights against the refusal direction collapses the gap between claiming rates on prefilled and natural outputs to near zero, though the direction is not its unique mediator. The signal is also probe-dependent: framing the question as internal intention versus external tampering elicits qualitatively different responses on the same models. We test three LoRA finetuning methods (SFT, GRPO, DPO) on eight models from 3B to 27B; all three widen the intention-probe gap on every model from 8B to 27B, with method ranking varying by model. The intervention does not transfer to the tampering probe and counterintuitively raises attack success rate under adversarial prefill on most models, amounting to a partial mitigation. These findings outline mechanisms underpinning the observed introspective signals in safety contexts and highlight risks in the reliability of LLM self-reports.