Metraipolis › archive › dc_3bae0d781687

The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM Agents — arXiv:2609.22818

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.22818
License (as archived)
CC0-1.0
Archived
2026-10-09T07:00:55.871Z
SHA-256 of the archived text
043945e1704dd946791928d3bf6f3727dbc898d4911539b0873a177e8eec0d10
Stable URL of this page
https://metraipolis.com/documento/dc_3bae0d781687

How to cite

The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM Agents — arXiv:2609.22818 — arXiv (en), https://arxiv.org/abs/2609.22818 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_3bae0d781687 (Metraipolis archive dc_3bae0d781687, sha256 043945e1704dd946791928d3bf6f3727dbc898d4911539b0873a177e8eec0d10)
BibTeX
@misc{dc3bae0d781687,
  title = {The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM Agents — arXiv:2609.22818},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.22818},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_3bae0d781687; sha256 043945e1704dd946791928d3bf6f3727dbc898d4911539b0873a177e8eec0d10},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.22818. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Memory-poisoning defenses for LLM agents are typically evaluated by their ability to prevent attacks. However, the traffic they process is rarely adversarial. The cost of implementing a defense is paid with each interaction, while its benefits are only seen in a small percentage of cases. We developed a measurement setup that keeps the memory backend, retrieval process, and judge consistent across different conditions, changing only the defense itself. We test each condition three times across five conversations to distinguish the defense's real effects from noise inherent in the pipeline's runs, which remains significant even at temperature zero. Across three write-time defenses (input sanitization, provenance checking, and LLM-based anomaly detection) and one read-time defense (reranking), tested on entirely benign traffic, the write-time defenses show no utility cost we can resolve, with 95% confidence intervals spanning roughly +/-4.5 points and including zero. The reranker is different: it lowers core accuracy by 4.4 points (95% CI [-9.0,-0.05], bootstrap; McNemar p=0.064), a result that survives replication but sits at the edge of our resolution. Its clearer cost is mechanical rather than statistical. On conversations containing no attack, the reranker quarantines legitimate memories on 33.6% of adjudicated items, reaching as many as 106 false quarantines in a single conversation, at 2.7% token overhead. Stacking all four defenses does not compound this cost: the combined condition's accuracy loss is smaller, and its confidence interval includes zero, suggesting the write-time defenses may partly offset what the reranker discards. Where a defense intercepts the pipeline, not whether it uses an LLM, appears to determine its benign-case price.

Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-22 in cs.CR).
Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2609.22818 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-09T06:56:00.955Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).