ASCENT:通过验证经验自蒸馏的长时程智能体在线测试时训练
研究论文 · 2026/10/06
大语言模型智能体通过多轮推理-行动完成长时程任务,仅在终止时获得一个验证信号。部署中的智能体面对相关任务流,其轨迹成为自然的改进资源。上下文适应方法将反思、记忆或技能存储为文本,复用依赖检索正确经验和冻结策略执行。本文研究在线智能体测试时训练(OaTTT),在部署期间用自身执行轨迹训练LLM权重。智能体对每个任务仅执行一次,单遍处理任务流,执行轨迹及其验证结果是唯一学习信号,权重更新跨任务持久。直接模仿或强化单次尝试生成的token会使策略不稳定。为此提出ASCENT(Agentic Self-distillation for Cross-task EvolutioN at Test-time),通过自蒸馏验证经验来更新。LLM的稳定版本(其冻结初始副本)接收验证轨迹作为特权信息,并据此预测沿轨迹的下一token分布。将这些分布蒸馏到持久LoRA快速权重中,无需外部参考解或更强教师即可更新智能体以应对后续任务。进一步移除无效动作轮次,ASCENT蒸馏增强的特权经验以实现更高效执行。刻画了其群体目标和稀疏结果选择的局限。在ALFWorld、WebShop和AppWorld上不同模型规模下,ASCENT随经验积累提升任务成功率和交互效率,优于在线适应方法,并迁移到未见场景,表明智能体无需单独训练阶段或记忆检索即可将验证经验巩固到权重中。项目页面:https://artificer-ai-lab.github.io/ASCENT
该工作提出了一种无需外部教师或记忆检索的在线测试时训练方法,使LLM智能体能在部署中持续从自身验证经验中学习,在多个基准上提升性能并迁移到新场景,对长时程智能体的实际部署有重要意义。
A large language model (LLM) agent solves long-horizon tasks through many reasoning-action turns, with one verification signal at termination. Deployed agents face streams of related tasks, making their trajectories a natural resource for improvement. In-context adaptation agents store reflections, memories, or skills as text, so reuse depends on retrieving the right experience and on a frozen policy executing it. We study Online Agentic Test-Time Training (OaTTT), which trains the LLM's weights on its own execution trajectories during deployment. The agent executes each task once, in one pass over the stream, and the executed trajectory with its verification result is the only learning signal for weight updates that persist across tasks. Directly imitating or reinforcing the generated tokens of this single attempt destabilizes the policy. We introduce ASCENT (Agentic Self-distillation for Cross-task EvolutioN at Test-time), which instead self-distills verified experience. A stable version of the LLM, its frozen initial copy, receives the verified trajectory as privileged information and predicts next-token distributions along it with this hindsight. Distilling them into persistent LoRA fast weights updates the agent for later tasks, without an external reference solution or stronger teacher. By further removing invalid-action turns, ASCENT distills enhanced privileged experience for more efficient execution. We characterize its population target and the limits of sparse outcome selection. Across ALFWorld, WebShop, and AppWorld at varied model scales, ASCENT improves task success and interaction efficiency as experience accumulates, outperforms online adaptation methods, and transfers to held-out scenes, showing that an agent can consolidate verified experience into its weights without a separate training phase or memory retrieval. Project page: https://artificer-ai-lab.github.io/ASCENT