2025-02-12 · 专家 · 机器学习

Hephaestus: Improving Fundamental Agent Capabilities of Large Language Models through Continual Pre-Training

这篇论文提出了Hephaestus-Forge,一个大规模预训练语料库,用于提升大型语言模型在API函数调用、内在推理和规划以及适应环境反馈方面的基本能力。

更新于 2025-02-12。作者:Yuchen Zhuang、Jingfeng Yang、Haoming Jiang、Xin Liu、Kewei Cheng、Sanket Lokegaonkar、Yifan Gao、Qing Ping、Tianyi Liu、Binxuan Huang、Zheng Li、Zhengyang Wang、Pei Chen、Ruijie Wang、Rongzhi Zhang、Nasser Zalmout、Priyanka Nigam、Bing Yin、Chao Zhang。

中文摘要

由于面向代理的预训练数据稀缺,基于LLM的自主代理通常依赖于复杂的提示或广泛的微调,这往往无法引入新能力同时保持强大的泛化能力。我们引入了Hephaestus-Forge,这是第一个旨在增强LLM代理在API函数调用、内在推理和规划以及适应环境反馈等基本能力的大规模预训练语料库。Hephaestus-Forge包含103B个针对代理的数据,涵盖76,537个API,包括用于介绍API函数知识的工具文档和用于加强内在推理的功能调用轨迹。为了探索有效的训练协议,我们研究了扩展定律,以确定数据混合比的最优配方。通过在Hephaestus-Forge上持续预训练,Hephaestus在三个代理基准测试中优于中小规模的开源LLM,并与商业LLM相媲美,证明了我们的预训练语料库在增强基本代理能力和LLM对新任务或环境的泛化方面的有效性。

英文摘要

Due to the scarcity of agent-oriented pre-training data, LLM-based autonomous agents typically rely on complex prompting or extensive fine-tuning, which often fails to introduce new capabilities while preserving strong generalizability. We introduce Hephaestus-Forge, the first large-scale pre-training corpus designed to enhance the fundamental capabilities of LLM agents in API function calling, intrinsic reasoning and planning, and adapting to environmental feedback. Hephaestus-Forge comprises 103B agent-specific data encompassing 76,537 APIs, including both tool documentation to introduce knowledge of API functions and function calling trajectories to strengthen intrinsic reasoning. To explore effective training protocols, we investigate scaling laws to identify the optimal recipe in data mixing ratios. By continual pre-training on Hephaestus-Forge, Hephaestus outperforms small- to medium-scale open-source LLMs and rivals commercial LLMs on three agent benchmarks, demonstrating the effectiveness of our pre-training corpus in enhancing fundamental agentic capabilities and generalization of LLMs to new tasks or environments.

解读

一句话总结

这篇论文提出了Hephaestus-Forge,一个大规模预训练语料库,用于提升大型语言模型在API函数调用、内在推理和规划以及适应环境反馈方面的基本能力。

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

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

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

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

来源