arXiv cs.AI· Yuvraj Sehgal, Mahsa Panahandeh, Naser Ezzati-Jivan·· 13 小时前AI 评分58
论文称上下文是流水线而非窗口,实测 LLM 智能体工具输出截断损耗
Context Is a Pipeline, Not a Window: Information Attrition in LLM Agent Harnesses
AI 导读
arXiv 论文《Context Is a Pipeline, Not a Window》实测一个读取 Linux 内核 trace 的工具型智能体,在 720 次运行中最大提示仅用掉上下文窗口的 5.75%,但 11,189 条工具结果中有 3,827 条在到达模型前被按固定长度截断,且全部变成损坏的 JSON。
正文 · 原文
Abstract:LLM agents are judged by two numbers: the size of the context window, and how often the final answer is correct. Both numbers miss a third thing: how much of a tool's output is lost before the model ever sees it. We measured this loss in a real tool-using agent. The agent finds the cause of injected faults by reading Linux kernel traces. The context window was almost empty: across 720 runs, the single largest prompt used only 5.75% of it. Yet a third of all tool results (3,827 of 11,189) were cut before they reached the model, and every cut result became broken JSON. The harness cut each result by slicing its JSON text at a fixed length. This does not shorten a result evenly. It deletes whatever data sits near the end. One field reached the model in only 4.7% of calls. A second field, in the very same results, reached the model in 99.3% of calls. Which field held the fault's evidence depended on when the faulty process started: early or late in the trace. The agent's diagnosis accuracy matched this same split. So we ran controlled experiments to test one question: did the data loss cause the drop in accuracy? This paper makes four contributions. First, we model an agent's context as a five-stage pipeline, with a measured failure at each stage. Second, we replay 864 real tool results, including one from a production trace where the shipped cut deletes all 128 records of the fault's evidence. Third, a controlled experiment shows that the cut's real cost appears first as extra work, not as wrong answers: 43% more tool calls, twice the computation, and yield falling from 0.61 to 0.31. The agent still finds the right answer when it has another way to reach it. Fourth, a survey of seven agent frameworks finds two that cut tool output the same unsafe way. Whether the data cut truly causes the accuracy drop is still an open question.
| Comments: | 5 pages, 1 figure, 2 tables. Replication package: this https URL |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| ACM classes: | D.2.5; I.2.11 |
| Cite as: | arXiv:2610.36114 [cs.SE] |
| (or arXiv:2610.36114v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2610.36114 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yuvraj Sehgal [view email]
[v1]
Mon, 26 Oct 2026 18:25:42 UTC (28 KB)
来源:arXiv cs.AI · arxiv.org