arXiv:2604.00830cs.LGcs.AI2026-04被引 3

让语言智能体学会在测试时自我优化,自动发现更优适应策略。

Learning to Learn-at-Test-Time: Language Agents with Learnable Adaptation Policies

  • 将适应策略学习建模为双层优化问题,通过进化搜索自动发现最优策略。
  • 在三个评测集上均显著超越基线,尤其在分布外场景表现更优。
  • 适合研究测试时学习、自适应智能体的开发者与研究人员。

测试时学习(TTL)使语言智能体在推理阶段通过与环境的反复交互不断优化自身性能。其核心是基于前序回合经验更新行为策略的适应策略。现有方法依赖人工设计的固定策略,而非针对下游任务进行优化。本文提出Meta-TTL框架,将高效适应策略的发现转化为双层优化问题:内层执行标准TTL过程,评估候选策略纠正错误的能力;外层则在多样训练任务上使用进化搜索持续优化策略。在Jericho、WebArena-Lite和τ²-bench上的实验表明,Meta-TTL在所有测试设置(包含分布内与分布外)中均优于单智能体、提示优化及未优化元智能体基线,证明所学策略具备可迁移性,能泛化至训练分布之外的任务。

原文摘要 · Abstract (English)

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 an adaptation policy that updates the actor policy based on experience from previous episodes, thereby improving future behavior. Existing methods rely on fixed, hand-crafted adaptation policies rather than optimizing them for downstream improvement. We argue that optimal adaptation policies should be learned from task environments, not hand-engineered based on human intuition. To achieve this, we introduce Meta-TTL, a framework that formulates the discovery of effective adaptation policies as a bi-level optimization problem. Within this framework, the inner loop executes the standard TTL process, measuring how effectively a candidate adaptation policy helps an agent correct errors across sequential episodes. Guided by the agent's performance, the outer loop employs evolutionary search over a diverse distribution of training tasks to continually optimize the adaptation policy. We evaluate Meta-TTL on Jericho, WebArena-Lite, and $τ^2$-bench across both in-distribution (ID) and out-of-distribution (OOD) settings. Results on all three show that Meta-TTL consistently outperforms single-agent, prompt-optimization, and unoptimized meta-agent baselines, suggesting that the optimized adaptation policy encodes transferable strategies that generalize beyond the training task distribution.

测试时学习自适应智能体元学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。