跳到正文
arXiv cs.AI· Aman Mehta, Anupam Datta·· 3 天前AI 评分36

Plans Fade Fast:为何上下文管理是 LLM 智能体的承重结构

Plans Fade Fast: Why Context Management Is Load-Bearing for LLM Agents

AI 导读

研究提出 replay pairing 方法,固定动作-观察轨迹,对比有无计划交换时的动作前隐藏状态,发现 Llama-3.1-70B 在 ALFWorld 上计划后第一个动作到第二个动作的平均对比度下降 4.1 倍,Llama-3.1-8B 下降 5.6 倍。

正文 · 原文

View PDF HTML (experimental)

Abstract:Context managers summarize or evict old messages so agents can operate beyond a finite window. This creates a reliability problem: removing history that still shapes the model's computation may change later actions, while retaining everything defeats compression. We study plans because agents create them early and are expected to use them later, yet behavioral success alone cannot reveal whether later calls still depend on the plan exchange. We make four contributions. First, we introduce replay pairing, which holds the action-observation trajectory fixed and compares pre-action hidden states with and without the plan exchange. We show that, on Llama-3.1-70B in ALFWorld, the mean contrast across 15 sampled layers decreases 4.1x from the first post-plan action to the second; Llama-3.1-8B shows a similar 5.6x decrease. Second, we show that a simple linear model using layer-32 hidden states predicts later contrast on entirely held-out tasks better than a baseline that only knows the action-call offset (R^2 = 0.847 vs. 0.575). Third, we identify confounds that limit this measurement: the paired histories differ in length, token positions, and discourse structure, and replayed reasoning can reintroduce plan-derived text. Reasoning traces therefore require symmetric controls, and native Qwen3 shows that the Llama timing pattern is not universal. Fourth, in a separate descriptive compression test, we find pooled ALFWorld run success of 56.7% with full history and 22.0% with naive eviction; preserving or re-surfacing only the plan does not recover the gap. Replay pairing measures sensitivity to retaining an exchange, not isolated plan content or later eviction. It gives researchers a concrete audit tool and suggests that context policies should preserve broader task state, not plans alone.
Comments: 15 pages, 6 figures. COLM 2026 Workshop on Context Beyond the Window
Subjects: Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Cite as: arXiv:2606.22953 [cs.AI]
  (or arXiv:2606.22953v2 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2606.22953

arXiv-issued DOI via DataCite

Submission history

From: Aman Mehta [view email]
[v1] Mon, 22 Jun 2026 07:30:47 UTC (127 KB)
[v2] Mon, 12 Oct 2026 21:34:14 UTC (147 KB)

来源:arXiv cs.AI · arxiv.org