arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.00830cs.LGcs.AI
收藏

在测试时学习:具有可学习适应策略的语言智能体

Meta-TTL: Meta-Learning Self-Improvement Policies for Language Agents

National University of Singapore(新加坡国立大学)

Zhanzhi Lou, Hui Chen, Yibo Li, Qian Wang, Bryan Hooi

AI总结:

本文提出Meta-TTL框架,通过双层优化问题学习最优适应策略,提升语言智能体在不同分布下的表现。

摘要:

测试时学习(TTL)使语言智能体能够在推理时通过反复与环境交互来迭代优化性能。TTL的核心是适应策略,该策略根据先前回合的经验更新执行策略,从而改善未来行为。现有方法依赖于固定的手工设计的适应策略,而非针对下游任务进行优化。本文认为最优的适应策略应从任务环境中学得,而非基于人类直觉手工设计。为此,我们引入了Meta-TTL框架,将发现有效适应策略的过程建模为双层优化问题。在该框架中,内循环执行标准TTL过程,衡量候选适应策略如何帮助智能体在连续回合中纠正错误。在智能体表现的引导下,外循环在多样化的训练任务分布上进行进化搜索,以迭代优化适应策略。我们在Jericho和WebArena-Lite上评估了Meta-TTL,涵盖在分布内(ID)和分布外(OOD)设置,使用多个元智能体骨干。在两个基准测试中,Meta-TTL均优于手工设计的基线,表明优化的适应策略编码了可转移的策略,能够超越训练任务分布的泛化能力。

英文摘要:

Test-Time Learning (TTL) enables language agents to iteratively refine their performance through repeated interactions with the environment at inference time. At the core of TTL is a self-improvement policy that updates the actor policy based on experience from previous episodes, thereby improving future behavior. Existing methods rely on hand-crafted self-improvement rather than optimizing them for downstream improvement. We argue that optimal self-improvement policies should be learned from task environments, not hand-engineered based on human intuition. To achieve this, we introduce \textbf{Meta-TTL}, a framework that formulates the discovery of effective self-improvement policies as a bi-level optimization problem. Within this framework, the inner loop executes the standard TTL process, measuring how effectively a candidate self-improvement policy helps an agent correct errors across sequential episodes. Guided by the agent's performance, the outer loop performs reflective meta-training across diverse training tasks, using a balanced improvement score (BIS) to balance task contributions during candidate selection. We evaluate Meta-TTL on Jericho, WebArena-Lite, and -bench across both in-distribution (ID) and out-of-distribution (OOD) settings. Meta-TTL consistently outperforms existing baselines, improving TTL over the strongest baseline by up to 23% on ID tasks and 27% on OOD tasks. These results suggest that the optimized self-improvement policy encodes transferable meta-strategies that generalize beyond the training task distribution.

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

↑