arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.14735cs.CLcs.AIcs.NE
收藏

通过 CycleQD 实现大语言模型的智能体技能获取

Agent Skill Acquisition for Large Language Models via CycleQD

Sakana AI

So Kuroki, Taishi Nakamura, Takuya Akiba, Yujin Tang

AI总结:

本文提出 CycleQD,通过循环质量多样性、模型合并交叉与 SVD 变异提升 LLM 智能体技能,在 AgentBench 上使 LLAMA3-8B-INSTRUCT 媲美 GPT-3.5-TURBO。

摘要:

训练大语言模型以获取特定技能仍然是一项具有挑战性的工作。传统训练方法往往难以应对数据分布不平衡,以及目标函数与任务特定性能匹配不佳的不足。为应对这些挑战,我们提出 CycleQD,这是一种利用 Quality Diversity(质量多样性)框架的新方法,通过对该算法进行循环式改造,并结合基于模型合并的交叉和基于 SVD 的变异。在 CycleQD 中,每个任务的性能指标轮流作为质量度量,而其他任务则充当行为特征。这种对单个任务的循环聚焦使其能够一次集中精力处理一个任务,从而无需进行数据比例调优,并简化目标函数的设计。来自 AgentBench 的实证结果表明,将 CycleQD 应用于基于 LLAMA3-8B-INSTRUCT 的模型,不仅使其在编程、操作系统和数据库任务上超越传统微调方法,而且在这些领域达到了与 GPT-3.5-TURBO 相当的性能,而后者可能包含多得多的参数。关键在于,这种增强性能是在保持稳健语言能力的同时实现的,其在广泛采用的语言基准任务上的表现证明了这一点。我们重点说明 CycleQD 中的关键设计选择,详细阐述这些选择如何促成其有效性。此外,我们的方法具有通用性,也可应用于图像分割模型,突显其跨不同领域的适用性。

英文摘要:

Training large language models to acquire specific skills remains a challenging endeavor. Conventional training approaches often struggle with data distribution imbalances and inadequacies in objective functions that do not align well with task-specific performance. To address these challenges, we introduce CycleQD, a novel approach that leverages the Quality Diversity framework through a cyclic adaptation of the algorithm, along with a model merging based crossover and an SVD-based mutation. In CycleQD, each task's performance metric is alternated as the quality measure while the others serve as the behavioral characteristics. This cyclic focus on individual tasks allows for concentrated effort on one task at a time, eliminating the need for data ratio tuning and simplifying the design of the objective function. Empirical results from AgentBench indicate that applying CycleQD to LLAMA3-8B-INSTRUCT based models not only enables them to surpass traditional fine-tuning methods in coding, operating systems, and database tasks, but also achieves performance on par with GPT-3.5-TURBO, which potentially contains much more parameters, across these domains. Crucially, this enhanced performance is achieved while retaining robust language capabilities, as evidenced by its performance on widely adopted language benchmark tasks. We highlight the key design choices in CycleQD, detailing how these contribute to its effectiveness. Furthermore, our method is general and can be applied to image segmentation models, highlighting its applicability across different domains.

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

↑