ADC:通过对抗性数据集和代码行级反馈增强函数调用
ADC: Enhancing Function Calling Via Adversarial Datasets and Code Line-Level Feedback
AI总结:
本文提出ADC方法,通过行级执行反馈的代码微调数据集和对抗性数据集生成过程,结合分阶段训练,显著提升了大型语言模型在复杂函数调用中的格式遵循与参数匹配能力。
摘要:
大型语言模型(LLMs)在自然语言处理和代码编写方面取得了显著进展,但在复杂函数调用中的鲁棒性和准确性仍存在不足。为应对这些挑战,本文提出了ADC,这是一种创新方法,旨在增强LLMs遵循函数格式和匹配复杂参数的能力。ADC利用带有行级执行反馈的高质量代码微调数据集,提供精细的过程监督,从而促进强大的逻辑推理和对函数格式的遵循。此外,它还采用对抗性数据集生成过程来改善参数匹配。分阶段训练方法充分利用了丰富的代码数据集和精炼的对抗性数据集,在Berkeley Function-Calling Leaderboard (BFCL)基准上显著提升了函数调用能力。ADC的创新之处在于其将过程监督、对抗性优化和增量学习进行战略性结合,为LLMs在复杂函数调用中的能力设定了新标准。
英文摘要:
Large Language Models (LLMs) have made significant strides in Natural Language Processing and coding, yet they struggle with robustness and accuracy in complex function calls. To tackle these challenges, this paper introduces ADC, an innovative approach that enhances LLMs' ability to follow function formats and match complex parameters. ADC utilizes a high-quality code fine-tuning dataset with line-level execution feedback, providing granular process supervision that fosters strong logical reasoning and adherence to function formats. It also employs an adversarial dataset generation process to improve parameter matching. The staged training methodology capitalizes on both enriched code datasets and refined adversarial datasets, leading to marked improvements in function calling capabilities on the Berkeley Function-Calling Leaderboard (BFCL) Benchmark. The innovation of ADC lies in its strategic combination of process supervision, adversarial refinement, and incremental learning, setting a new standard for LLM proficiency in complex function calling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。