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

解毒经验提升LLM代理的测试时间推理

Decocted Experience Improves Test-Time Inference in LLM Agents

Massachusetts Institute of Technology(麻省理工学院);Stanford University(斯坦福大学);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Maohao Shen, Kaiwen Zha, Zexue He, Zhang-Wei Hong, Siru Ouyang, J. Jon Ryu, Prasanna Sattigeri, Suhas Diggavi, Gregory Wornell

AI总结:

本文研究通过解毒经验提升LLM代理测试时间推理性能,探讨如何通过经验构建有效上下文以优化复杂推理任务。

摘要:

随着对不更新模型参数改进LLM的兴趣增加,测试时间扩展成为一种已建立的方向,通过增加推理时间计算(如更长的推理、采样或搜索)来提高性能。然而,对于复杂推理和代理任务,简单地扩展测试时间计算会显著增加成本,并可能导致预算浪费在次优探索上。本文探索上下文作为补充的扩展轴,系统研究如何通过经验构建更好的输入以引导推理。我们展示有效上下文构建关键依赖于解毒经验。我们对经验增强代理进行详细分析,研究如何从经验中推导上下文,性能如何随积累经验变化,以及哪些特征定义了好的上下文,以及哪些数据结构最支持上下文构建。我们识别解毒经验是有效上下文构建的关键机制:从经验中提取本质,有条理地组织,并检索关键信息以构建有效上下文。我们通过推理和代理任务验证了我们的发现,包括数学推理、网络浏览和软件工程。

英文摘要:

There is growing interest in improving LLMs without updating model parameters. One well-established direction is test-time scaling, where increased inference-time computation (e.g., longer reasoning, sampling, or search) is used to improve performance. However, for complex reasoning and agentic tasks, naively scaling test-time compute can substantially increase cost and still lead to wasted budget on suboptimal exploration. In this paper, we explore \emph{context} as a complementary scaling axis for improving LLM performance, and systematically study how to construct better inputs that guide reasoning through \emph{experience}. We show that effective context construction critically depends on \emph{decocted experience}. We present a detailed analysis of experience-augmented agents, studying how to derive context from experience, how performance scales with accumulated experience, what characterizes good context, and which data structures best support context construction. We identify \emph{decocted experience} as a key mechanism for effective context construction: extracting essence from experience, organizing it coherently, and retrieving salient information to build effective context. We validate our findings across reasoning and agentic tasks, including math reasoning, web browsing, and software engineering.

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

↑