iTool:面向高级工具使用的动态缺陷校准强化微调
iTool: Reinforced Fine-Tuning with Dynamic Deficiency Calibration for Advanced Tool Use
AI总结:
本文提出iTool迭代强化微调策略,通过蒙特卡洛树搜索增强合成数据多样性并构建细粒度偏好对定位和校准模型缺陷,以解决合成工具使用数据增加时训练收益衰减的问题,在复杂场景中显著提升LLM的工具使用能力。
摘要:
通过外部工具增强大语言模型(LLMs)是一种提升其能力的有前景的方法,尤其是在复杂任务中。通过真实世界模拟合成工具使用数据是实现这一目标的有效途径。然而,我们的研究发现,随着合成数据的增加,训练收益显著衰减。模型难以从额外的合成数据中获益,这使其无法在复杂场景中获得高级工具使用能力。此外,我们发现上述局限通常表现为响应中的片段缺陷(即参数错误)。为此,我们提出了一种迭代强化微调策略,旨在缓解这一局限。该策略包括:(1)通过蒙特卡洛树搜索的路径探索增强合成数据响应的多样性;(2)通过构建细粒度偏好对迭代定位模型的缺陷,然后通过偏好优化算法进行针对性改进。实验表明,我们的方法比同规模基础模型性能提升13.11%。与基线相比,在复杂场景中实现了6.5%的提升,并且还优于更大的开源和闭源模型。
英文摘要:
Augmenting large language models (LLMs) with external tools is a promising approach to enhance their capabilities, especially for complex tasks. Synthesizing tool-use data through real-world simulations is an effective way to achieve this. However, our investigation reveals that training gains significantly decay as synthetic data increases. The model struggles to benefit from additional synthetic data, which fails to endow it with advanced tool-use capabilities in complex scenarios Moreover, we discovered that the above limitation usually manifests as a fragment deficiency (i.e., parameter errors) in response. To this end, we propose an iterative reinforced fine-tuning strategy designed to alleviate this limitation. This strategy involves: (1) enhancing the diversity of response for synthetic data through path exploration of Monte Carlo Tree Search. (2) iteratively pinpointing the model's deficiency by constructing fine-grained preference pairs, and then improving it by preference optimization algorithms for targeted improvement. The experiments show that our method achieves 13.11% better performance than the same-size base model. It achieves an improvement of 6.5% in complex scenarios compared to the baseline, and it also outperforms larger open-source and closed-source models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。