paper-with-me

홈 › Papers

Governance Decay: How Context Compaction Silently Erases Safety Constraints in Long-Horizon LLM Agents

2026-06-21 · Shiyang Chen arxiv

Modern LLM agents increasingly rely on context compaction, summarization, or eviction to keep long-running sessions within a token budget. We show that this context-management layer is a safety-critical failure surface: in-context governance constraints that agents reliably obey while visible can be silently removed by compaction, causing the same agent to perform prohibited tool actions later in the session. We call this failure mode Governance Decay. We introduce ConstraintRot, a benchmark of long-horizon agent scenarios with deterministic tool-call grading, and measure compaction-induced violations across seven model families. Across 1,323 episodes, violation rises from 0% with the policy in full context to 30% after compaction, reaching 59% for some models; when the constraint survives the summary, violation remains 0%, but when it is dropped, violation reaches 38%. We further study a Compaction-Eviction Attack, in which adversarial in-context content biases the summarizer to omit a legitimate policy, and show that optimized injections defeat every evaluated model. Finally, we propose Constraint Pinning, a simple training-free mitigation that quarantines governance constraints from lossy compaction and restores violation to 0% in our benchmark. These results identify context management as a first-class governance surface for deployed LLM agents.

📄 PDF Abstract BibTeX arXiv:2606.22528

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Slipstream: Trajectory-Grounded Compaction Validation for Long-Horizon Agents

2026-05-09 · Zhuofu Chen, Rui Pan, Yinwei Dai, Ravi Netravali arxiv

To cope with the large contexts that long-horizon LLM agents produce, modern frameworks increasingly rely on compaction -- invoking an LLM to rewrite the accumulated trajectory into a shorter summary that the agent resum…

AI Guardrail Survival under Single-Cycle Agentic Self-Summarization

2026-08-11 · Ted Kwartler, Alan Aqrawi, Arian Abbasi arxiv

Long-running agents periodically compact their context, replacing the transcript with a model-generated summary. Recent work shows that dropping a standing safety constraint during compaction drives behavioral violations…

CompactionRL: Reinforcement Learning with Context Compaction for Long-Horizon Agents

2026-07-06 · Yujiang Li, Zhenyu Hou, Yi Jing, Jie Tang 외 arxiv

Long-horizon agentic LLMs are increasingly limited by finite context windows, as extended interaction trajectories can exceed the maximum context length before a task is completed. Context compaction offers a natural sol…

Reinforcement Learning

Parallel Context Compaction for Long-Horizon LLM Agent Serving

2026-05-22 · Musa Cim, Burak Topcu, Chita Das, Mahmut Taylan Kandemir arxiv

Long-horizon LLM agents accumulate growing conversation histories that eventually exceed the model's context window. Context compaction via LLM-based summarization keeps the conversation bounded, but summarization is inh…

Prompt Engineering

Fast KV Compaction via Attention Matching

2026-02-18 · Adam Zweiger, Xinghong Fu, Han Guo, Yoon Kim arxiv

Scaling language models to long contexts is often bottlenecked by the size of the key-value (KV) cache. In deployed settings, long contexts are typically managed through compaction in token space via summarization. Howev…