马具设计与后训练在LLM智能体中的相互作用
The Interplay of Harness Design and Post-Training in LLM Agents
AI总结:
研究将马具(工具集成脚手架)作为可控设计维度,分析其对后训练的影响,发现马具感知的后训练能提升分布内和分布外性能。
摘要:
工具集成的LLM智能体通常被包裹在一个马具中:即决定暴露哪些工具、如何描述它们以及每个步骤观察附带哪些辅助信息的脚手架。虽然智能体经常进行后训练,但这种脚手架通常被视为固定的工程细节,设计工作仅限于无训练阶段。此外,现有的后训练算法假设静态环境,尽管工具环境和任务在部署时经常发生变化。为了解决这一差距,我们扩展了$\texttt{ALFWorld}$,(i)将马具视为可控的设计维度,(ii)支持在任务和工具环境变化下的评估。在此基础上,我们系统地分析了马具设计如何在分布内和分布外(OOD)设置中影响后训练。我们经验性地表明,马具感知的后训练不仅提高了分布内性能,还使智能体能够稳健地适应OOD设置。在最小设计努力的马具下,后训练在更强的工具环境变化下遭受剧烈的性能下降,进一步强调了在这种变化下马具感知后训练的重要性。
英文摘要:
Tool-integrated LLM agents are often wrapped within a harness: the scaffolding that determines which tools are exposed, how they are described, and what auxiliary information accompanies each per-step observation. While agents are routinely post-trained, this scaffolding is typically treated as a fixed engineering detail, with design effort limited to the training-free regime. Moreover, existing post-training algorithms assume a static environment, even though tool environments and tasks often shift upon deployment. To address this gap, we extend $\texttt{ALFWorld}$ (i) to treat the harness as a controllable design dimension and (ii) to support evaluation under task and tool environment shifts. Building on this, we systematically analyze how the harness design influences post-training in both in-distribution and out-of-distribution (OOD) settings. We empirically show that harness-aware post-training not only improves in-distribution performance but also enables agents to robustly adapt to OOD settings. Under a harness with minimal design effort, post-training suffers a drastic performance drop under stronger tool environment shifts, further highlighting the importance of harness-aware post-training under such shifts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。