arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.08580cs.MAcs.AI
收藏

Slipstream: 长时间跨度智能体的轨迹引导压缩验证

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

Princeton University(普林斯顿大学)

Zhuofu Chen, Rui Pan, Yinwei Dai, Ravi Netravali

AI总结:

Slipstream通过异步压缩验证提升长时间跨度智能体的任务准确性,减少端到端延迟,适用于代码编写和网页浏览任务。

摘要:

为应对长时间跨度大语言模型代理生成的大量上下文,现代框架越来越多地依赖压缩——通过调用LLM将积累的轨迹压缩成更短的摘要,供代理继续执行。当前压缩在代理执行的关键路径上同步运行,但因结构验证缺口导致准确性不可预测:压缩器必须压缩上下文但本质上不了解代理后续需要的精确信息。此外,由于压缩后代理步骤基于新摘要,没有针对性的验证标准,错误会通过连贯但错误的行为传播。我们的关键见解是异步压缩有效解决了这一缺口:通过在原始上下文中继续代理执行的同时并行运行压缩器,候选摘要和代理后续步骤均基于相同的预压缩状态生成,从而产生与摘要本身无关的验证信号。我们构建了Slipstream,一个基于轨迹的压缩系统,使用裁判验证候选摘要与代理继续推理的一致性,确保其保持代理的前进意图和关键事实与约束。在长时间跨度编码(SWE-bench Verified)和网络浏览(BrowseComp)工作负载中,Slipstream将任务准确性提高多达8.8个百分点,同时将端到端延迟降低多达39.7%。

英文摘要:

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 resumes from. Today, compaction runs synchronously on the critical path of agent execution but this can unpredictably degrade accuracy due to a structural validation gap: the compactor must condense context but is fundamentally unaware of precisely what information the agent will need later. Further, because post-compaction agent steps are conditioned on the new summary, targeted validation criteria do not exist and errors silently propagate through coherent but incorrect behavior. Our key insight is that asynchronous compaction efficiently addresses this gap: by running the compactor in parallel with continued agent execution on the original context, the candidate summary and the agent's next steps are generated independently from the same pre-compaction state, yielding a validation signal independent of the summary itself. We build Slipstream, a trajectory-grounded compaction system that uses a judge to validate the candidate summary against the agent's continued reasoning, checking that it preserves both the agent's forward intent and the key facts and constraints it depends on. Across long-horizon coding (SWE-bench Verified) and web-browsing (BrowseComp) workloads, Slipstream improves task accuracy by up to 8.8 percentage points while reducing end-to-end latency by up to 39.7%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑