arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.09734cs.SEcs.AIcs.MA
收藏

在大语言模型中为持续工具使用学习提供轨迹监督

Trajectory Supervision for Continual Tool-Use Learning in LLMs

UMass Amherst(马萨诸塞大学阿默斯特分校)

Vishnu Vardhan Reddy, Sagnik Chatterjee, Soumik Bhatta

AI总结:

研究通过对比保留工具使用轨迹与去除中间API轨迹的方法,发现保留轨迹能提升API调用准确率,但需更多训练token。

摘要:

大多数语言模型训练数据展示最终成果而非生成过程。本文研究工具使用场景下的可处理问题:当模型学习一系列新API领域时,保留工具使用轨迹是否比去除中间API轨迹更有效?我们使用API-Bank对Llama 3.1 8B Instruct进行QLoRA微调,通过四个连续领域块进行训练。条件A去除先前API请求/响应行,训练模型预测下一个API调用;条件B保留轨迹上下文。单种子试点测试显示,条件B在最终精确全调用准确率上达到56.9%,优于条件A的39.2%。B还提升了最终API名称准确率7.7个百分点。然而,B使用了25.1%更多的训练token,实验仅使用一个种子,并且任务是下一次调用预测而非完整对话成功。

英文摘要:

Most language-model training data shows final artifacts, not the process that produced them. We study a tractable version of this question in tool use: when a model learns a stream of new API domains, does keeping tool-use trajectories help compared with stripping the intermediate API trace? We fine-tune Llama 3.1 8B Instruct with QLoRA on API-Bank using four sequential domain blocks. Condition A strips previous API request/response lines from the prompt and trains the model to predict the next API call. Condition B keeps the trajectory context. In a single-seed pilot, full held-out generation evaluation shows that Condition B reaches 56.9\% final exact full-call accuracy compared with 39.2\% for Condition A. B also improves final API-name accuracy by 7.7 points. However, B uses 25.1\% more training tokens, the run uses one seed, and the task is next-call prediction rather than full dialogue success.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑