arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.02304cs.CL
收藏

统一上下文演化:面向LLM智能体

Unified Context Evolution for LLM Agents

Nanyang Technological University(南洋理工大学);Beijing University of Posts and Telecommunications(北京邮电大学);Fudan University(复旦大学);National University of Singapore(新加坡国立大学);Hong Kong University of Science and Technology(香港科技大学);City University of Hong Kong(香港城市大学);Huazhong University of Science and Technology(华中科技大学)

Zixuan Zhu, Yitong Hu, Yong Dai, Junfeng Fang, Chunyang Jiang, Senkang Hu, Yuzhi Zhao

AI总结:

提出统一上下文演化(UCE)框架,通过将智能体经验外部化为四种类型的可演化上下文单元(ECU),实现跨任务的知识积累与动态调度,在ALFWorld和WebShop上显著提升性能。

摘要:

基于LLM的智能体可以通过结合推理与环境反馈来解决多步交互任务,然而每个回合从相同的固定上下文开始,任务结束后沿途发现的任何有用策略都会丢失。现有方法要么将学习限制在当前任务,要么将所有经验汇集到单一的无类型存储中,而不区分知识类型、通过使用跟踪质量或平衡库中仍缺乏的内容。我们引入了统一上下文演化(UCE),一种无梯度框架,将智能体经验外部化到不断演化的类型化可演化上下文单元(ECU)库中。UCE将经验分解为四种互补类型(记忆、策略、工作流和技能),每种类型从轨迹中根据类型特定条件生成,在决策时检索,通过重复使用结果评分,并在不再有价值时修剪。调度模块将每个周期的生成预算分配给库中最弱的类型。在两个交互基准测试中,UCE将ALFWorld的成功率从75.4%提高到96.3%,将WebShop的任务得分从45.1%提高到61.3%,并且累积的库无需重新训练即可迁移到其他智能体主干。

英文摘要:

LLM-based agents can solve multi-step interactive tasks by combining reasoning with environment feedback, yet each episode starts from the same fixed context and any useful strategy discovered along the way is lost once the task ends. Existing approaches either limit learning to the current task or pool all experience into a single untyped store, without distinguishing knowledge types, tracking quality through use, or balancing what the library still lacks. We introduce Unified Context Evolution (UCE), a gradient-free framework that externalizes agent experience into an evolving library of typed Evolvable Context Units (ECUs). UCE decomposes experience into four complementary types (Memory, Strategy, Workflow, and Skill), each generated from trajectories under type-specific conditions, retrieved at decision time, scored through repeated usage outcomes, and pruned when no longer valuable. A scheduling module allocates each cycle's generation budget toward the types where the library is weakest. Across two interactive benchmarks, UCE raises ALFWorld success from 75.4% to 96.3% and WebShop task score from 45.1% to 61.3%, and remains effective across alternative actor reasoning backbones without model retraining.

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

↑