Metraipolis › archive › dc_b73902a6d728

CoER: Defending against Adaptive Indirect Prompt Injection via Adversarial Co-Evolution and Refinement — arXiv:2609.07529

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.07529
License (as archived)
CC0-1.0
Archived
2026-10-16T13:57:49.212Z
SHA-256 of the archived text
c138ea3d6b5e5d566b521cb24d3f98709346f3d60b3e94c89351cec69cba365f
Stable URL of this page
https://metraipolis.com/documento/dc_b73902a6d728

How to cite

CoER: Defending against Adaptive Indirect Prompt Injection via Adversarial Co-Evolution and Refinement — arXiv:2609.07529 — arXiv (en), https://arxiv.org/abs/2609.07529 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b73902a6d728 (Metraipolis archive dc_b73902a6d728, sha256 c138ea3d6b5e5d566b521cb24d3f98709346f3d60b3e94c89351cec69cba365f)
BibTeX
@misc{dcb73902a6d728,
  title = {CoER: Defending against Adaptive Indirect Prompt Injection via Adversarial Co-Evolution and Refinement — arXiv:2609.07529},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.07529},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b73902a6d728; sha256 c138ea3d6b5e5d566b521cb24d3f98709346f3d60b3e94c89351cec69cba365f},
  year = {2026}
}

Archived text

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

Language-model agents are vulnerable to indirect prompt injection (IPI) during tool use: adversarial instructions hidden in untrusted tool outputs can covertly redirect legitimate task execution. Existing work often trains and evaluates defenses against fixed attacks that do not adapt to the defender's behavior, so the resulting defenses may struggle against adaptive attacks in real-world settings. We argue that a strong defense against adaptive IPI must adapt during training to a continually evolving attacker. Building on this insight, we propose CoER, a verifier-grounded co-evolution and refinement framework that models interleaved tool calls and adaptive injections within a task as a general-sum Markov game: the defender advances the task through successive tool calls, while the attacker can inject multiple times within the same task and adapt subsequent attacks to the defender's responses and prior execution traces. After initializing the attacker from successful trajectories, bilateral adversarial reinforcement learning (BA-RL) retains historical policies from both roles as opponent populations and mixes current and historical opponents, extending training beyond the latest matchup. Attackers from these populations are then reused to challenge teacher agents, and only demonstrations verified for both safety and task completion are used to fine-tune the co-evolved defender. Across seven domains and three evaluation seeds, CoER reduces adaptive attack success from 41.3% to 0.2% and raises safe task completion from 39.6% to 76.2%; external benchmarks also show improved attack resistance. Further experiments validate the effectiveness of bilateral historical-opponent mixing and population-guided refinement. Attacker analyses show that co-evolution strengthens attack capabilities and that the trained attacker uses execution feedback to adapt subsequent injections.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-09 in cs.LG).
Categorie arXiv: Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.07529 — 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-16T13:39:42.961Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).