2025-03-05 · 进阶 · 机器学习 · 自然语言处理

ATLaS: Agent Tuning via Learning Critical Steps

ATLAS通过学习专家轨迹中的关键步骤,以减少训练成本并提高LLM智能体的泛化能力。

更新于 2025-03-06。作者:Zhixun Chen、Ming Li、Yuxuan Huang、Yali Du、Meng Fang、Tianyi Zhou。

中文摘要

大型语言模型(LLM)代理在多领域任务中展现出卓越的泛化能力。现有的代理微调方法通常采用在整个专家轨迹上的监督微调。然而,完整轨迹的行为克隆可能会引入专家偏差,并削弱对专家数据未覆盖状态的泛化能力。此外,规划、对中间子任务的复杂推理和战略决策等关键步骤对于代理任务的成功至关重要,因此学习这些步骤是提高LLM代理的关键。为了更有效和高效地微调代理,我们提出了ATLaS,该工具能够识别专家轨迹中的关键步骤,并仅在这些步骤上对LLM进行微调,从而降低成本。通过将训练的重点引导到几个关键步骤,我们的方法减轻了过度拟合整个轨迹的风险,并促进了在不同环境和任务中的泛化。在广泛的实验中,仅对ATLaS选出的30%关键步骤进行微调的LLM表现优于对所有步骤进行微调的LLM以及最近的开源LLM代理。ATLaS作为与多样化环境互动的通用代理,维护并提升了基础LLM技能。

英文摘要

Large Language Model (LLM) agents have demonstrated remarkable generalization capabilities across multi-domain tasks. Existing agent tuning approaches typically employ supervised finetuning on entire expert trajectories. However, behavior-cloning of full trajectories can introduce expert bias and weaken generalization to states not covered by the expert data. Additionally, critical steps, such as planning, complex reasoning for intermediate subtasks, and strategic decision-making, are essential to success in agent tasks, so learning these steps is the key to improving LLM agents. For more effective and efficient agent tuning, we propose ATLaS that identifies the critical steps in expert trajectories and finetunes LLMs solely on these steps with reduced costs. By steering the training's focus to a few critical steps, our method mitigates the risk of overfitting entire trajectories and promotes generalization across different environments and tasks. In extensive experiments, an LLM finetuned on only 30% critical steps selected by ATLaS outperforms the LLM finetuned on all steps and recent open-source LLM agents. ATLaS maintains and improves base LLM skills as generalist agents interacting with diverse environments.

解读

一句话总结

ATLAS通过学习专家轨迹中的关键步骤,以减少训练成本并提高LLM智能体的泛化能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源