arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.16970cs.AIcs.CLcs.LGcs.MA
收藏

PAACE:一种计划感知的自动代理上下文工程框架

PAACE: A Plan-Aware Automated Agent Context Engineering Framework

Kamer Ali Yuksel(独立研究者)

Kamer Ali Yuksel

AI总结:

PAACE通过计划感知的上下文工程框架提升LLM代理的准确性并减少上下文负载,实现高效多步骤任务处理。

摘要:

大型语言模型(LLM)代理越来越多地被部署在涉及规划、工具使用、反思和与外部知识系统交互的复杂多步骤工作流程中。这些工作流程生成迅速扩增的上下文,必须被整理、转换和压缩,以保持准确性,避免注意力稀释,并减少推理成本。先前的工作在摘要和查询感知压缩方面大多忽略了代理推理的多步骤、计划感知的性质。在本工作中,我们引入了PAACE(计划感知的自动上下文工程),一种统一的框架,通过next-k-task相关性建模、计划结构分析、指令共细化和功能保持压缩来优化LLM代理的演变状态。PAACE包括(1)PAACE-Syn,一个大规模的合成代理工作流程生成器,其标注有分步压缩监督,以及(2)PAACE-FT,一组从成功教师演示中训练的压缩器。在长周期基准(AppWorld、OfficeBench和8目标QA)上的实验表明,PAACE在提高代理准确性的同时显著减少了上下文负载。在AppWorld上,PAACE的准确性高于所有基线,同时降低了峰值上下文和累计依赖。在OfficeBench和多跳QA上,PAACE提高了准确性和F1,实现了更少的步骤、更低的峰值令牌数和减少的注意力依赖。压缩的PAACE-FT保留了教师97%的性能,同时将推理成本降低了一个数量级,使具有紧凑模型的计划感知压缩得以实际部署。

英文摘要:

Large Language Model (LLM) agents are increasingly deployed in complex, multi-step workflows involving planning, tool use, reflection, and interaction with external knowledge systems. These workflows generate rapidly expanding contexts that must be curated, transformed, and compressed to maintain fidelity, avoid attention dilution, and reduce inference cost. Prior work on summarization and query-aware compression largely ignores the multi-step, plan-aware nature of agentic reasoning. In this work, we introduce PAACE (Plan-Aware Automated Context Engineering), a unified framework for optimizing the evolving state of LLM agents through next-k-task relevance modeling, plan-structure analysis, instruction co-refinement, and function-preserving compression. PAACE comprises (1) PAACE-Syn, a large-scale generator of synthetic agent workflows annotated with stepwise compression supervision, and (2) PAACE-FT, a family of distilled, plan-aware compressors trained from successful teacher demonstrations. Experiments on long-horizon benchmarks (AppWorld, OfficeBench, and 8-Objective QA) demonstrate that PAACE consistently improves agent correctness while substantially reducing context load. On AppWorld, PAACE achieves higher accuracy than all baselines while lowering peak context and cumulative dependency. On OfficeBench and multi-hop QA, PAACE improves both accuracy and F1, achieving fewer steps, lower peak tokens, and reduced attention dependency. Distilled PAACE-FT retains 97 percent of the teacher's performance while reducing inference cost by over an order of magnitude, enabling practical deployment of plan-aware compression with compact models.

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

↑