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

Combee:用于自我改进语言模型代理的提示学习扩展

Combee: Scaling Prompt Learning for Self-Improving Language Model Agents

UC Berkeley(加州大学伯克利分校);Stanford University(斯坦福大学);Tensormesh;Gradient Network
Hanchen Li, Runyuan He, Qizheng Zhang, Changxiu Ji, Qiuyang Mang, Xiaokun Chen, Lakshya A Agrawal, Wei-Liang Liao, Eric Yang, Alvin Cheung, James Zou, Kunle Olu… 展开作者

Hanchen Li, Runyuan He, Qizheng Zhang, Changxiu Ji, Qiuyang Mang, Xiaokun Chen, Lakshya A Agrawal, Wei-Liang Liao, Eric Yang, Alvin Cheung, James Zou, Kunle Olukotun, Ion Stoica, Joseph E. Gonzalez

AI总结:

Combee通过并行扫描和增强洗牌机制,提升提示学习效率,实现多代理并行训练,同时保持学习质量。

摘要:

最近的提示学习进展使大语言模型代理能够在不改变参数的情况下,从推理时的上下文获取任务相关知识。例如,现有方法(如ACE或GEPA)可以学习系统提示以提高准确性,基于之前的代理运行。然而,这些方法主要集中在单代理或低并行性设置。这从根本上限制了它们从大量收集的代理轨迹中高效学习的能力。为了高效地从大量代理轨迹或并行代理运行中学习,需要在并行提示学习中进行扩展。然而,没有系统的方法来扩展,当前方法在高并行性下会退化质量。为了提高提示学习的效率和质量,我们提出了Combee,一种新的框架,用于扩展并行提示学习以实现自我改进的代理。Combee加速了学习,并在不退化质量的情况下允许许多代理并行运行,同时学习其汇总轨迹。为此,Combee利用并行扫描,并采用增强的洗牌机制;Combee还引入了动态批处理大小控制器,以平衡质量和延迟。在AppWorld、Terminal-Bench、Formula和FiNER上的评估表明,Combee在与之前方法相比的情况下,实现了高达17倍的加速,具有可比或更好的准确性和等价的成本。

英文摘要:

Recent advances in prompt learning allow large language model agents to acquire task-relevant knowledge from inference-time context without parameter changes. For example, existing methods (like ACE or GEPA) can learn system prompts to improve accuracy based on previous agent runs. However, these methods primarily focus on single-agent or low-parallelism settings. This fundamentally limits their ability to efficiently learn from a large set of collected agentic traces. It would be efficient and beneficial to run prompt learning in parallel to accommodate the growing trend of learning from many agentic traces or parallel agent executions. Yet without a principled strategy for scaling, current methods suffer from quality degradation with high parallelism. To improve both the efficiency and quality of prompt learning, we propose Combee, a novel framework to scale parallel prompt learning for self-improving agents. Combee speeds up learning and enables running many agents in parallel while learning from their aggregate traces without quality degradation. To achieve this, Combee leverages parallel scans and employs an augmented shuffle mechanism; Combee also introduces a dynamic batch size controller to balance quality and delay. Evaluations on AppWorld, Terminal-Bench, Formula, and FiNER demonstrate that Combee achieves up to 17x speedup over previous methods with comparable or better accuracy and equivalent cost.

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

↑