Agent 与自动化 4.0 · 优秀 2026-11-04 · 论文

SpecCompact: Accelerating LLM Agent Context Compaction with Slot-Parallel Semantic Speculative V...

针对智能体上下文压缩的时延问题:用大模型摘要长交互历史会引入明显延迟,信息保留与延迟需要权衡SpecCompact 基于结构化摘要槽位可独立生成且不丢信息的观察,用槽位并行语义推测加速压缩微调小模型起草器并行生成槽位,目标模型逐行验证并修复被拒内容,后续起草使用更新后的槽位前缀;系统层优化进一步减少重复上下文处理与模型调用在 AppWorld 与 tau 系基准两个目标模型上,相对 Hermes 式摘要取得 2.045.63 倍压缩加速(下游表现随模型和任务有取舍);Hermes 内用户研究中位加速 8.68 倍

打开原文回到归档

SpecCompact: Accelerating LLM Agent Context Compaction with Slot-Parallel Semantic Speculative Verification

  • ID: 49477a3f
  • 原文链接: https://arxiv.org/abs/2611.06876
  • PDF: https://arxiv.org/pdf/2611.06876v1
  • 作者: Yulu An, Yifei Feng, Xiangyang Yin
  • 日期: 2026-11-04
  • 更新: 2026-11-04
  • 分类: agents
  • 来源类型: paper
  • 标签: context-compaction, speculative-execution, agent-memory, latency, drafter-verifier
  • 质量评分: 4/5
  • 抓取时间: 2026-11-06T04:25:51Z

中文导读

针对智能体上下文压缩的时延问题:用大模型摘要长交互历史会引入明显延迟,信息保留与延迟需要权衡SpecCompact 基于结构化摘要槽位可独立生成且不丢信息的观察,用槽位并行语义推测加速压缩微调小模型起草器并行生成槽位,目标模型逐行验证并修复被拒内容,后续起草使用更新后的槽位前缀;系统层优化进一步减少重复上下文处理与模型调用在 AppWorld 与 tau 系基准两个目标模型上,相对 Hermes 式摘要取得 2.045.63 倍压缩加速(下游表现随模型和任务有取舍);Hermes 内用户研究中位加速 8.68 倍

为什么值得关注

针对智能体上下文压缩的时延问题:用大模型摘要长交互历史会引入明显延迟,信息保留与延迟需要权衡SpecCompact 基于结构化摘要槽位可独立生成且不丢信息的观察,用槽位并行语义推测加速压缩微调小模型起草器并行生成槽位,目标模型逐行验证并修复被拒内容,后续起草使用更新后的槽位前缀.

关键信息

  • 论文标题:SpecCompact: Accelerating LLM Agent Context Compaction with Slot-Parallel Semantic Speculative Verification
  • 作者:Yulu An, Yifei Feng, Xiangyang Yin
  • arXiv:https://arxiv.org/abs/2611.06876
  • 发布时间:2026-11-04
  • arXiv 分类:cs.CL
  • 关联标签:context-compaction, speculative-execution, agent-memory, latency, drafter-verifier

English Abstract

LLM agents use context compaction to manage growing interaction histories, but summarizing long histories with large models can introduce substantial delays. Compaction therefore requires balancing information retention against latency. We observe that structured summary slots can retain information when generated independently. Based on this observation, we present SpecCompact, a framework that accelerates compaction through slot-parallel semantic speculation. SpecCompact fine-tunes a small drafter and generates slots in parallel. The target model verifies each proposed line and repairs rejected content, while subsequent drafting uses the updated slot prefix. System optimizations further reduce repeated context processing and model calls. Across AppWorld and τ^3 benchmarks with two target models, SpecCompact achieves 2.04–5.63x compaction speedups over Hermes-style summarization. Separate downstream evaluations reveal model- and task-dependent performance trade-offs. A user study within Hermes further shows an 8.68x median compaction speedup.

English Summary

Targets the latency cost of LLM agent context compaction: summarizing long interaction histories with large models introduces substantial delays, forcing a trade-off between information retention and latency. SpecCompact builds on the observation that structured summary slots can retain information when generated independently, accelerating compaction via slot-parallel semantic speculation - a fine-tuned small drafter proposes slots in parallel, the target model verifies each proposed line and repairs rejected content, and subsequent drafting uses the updated slot prefix; system optimizations further reduce repeated context processing and model calls. Across AppWorld and tau-family benchmarks with two target models it achieves 2.04-5.63x compaction speedups over Hermes-style summarization; a user study within Hermes shows an 8.68x median compaction speedup.

Obsidian Notes

  • 内容由 opencli arxiv paper 拉取 arXiv 元数据与摘要生成。
  • 中文导读与价值判断锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。