arXiv:2505.21963cs.CLcs.AI2025-05EMNLP被引 7

用AI自动设计LLM微调流程,提升工具使用准确率9.0分

LaMDAgent: An Autonomous Framework for Post-Training Pipeline Optimization via LLM Agents

  • 用大模型代理自主探索微调方案组合
  • 工具使用准确率提升9.0点,保持指令遵循能力
  • 适合想高效优化LLM应用的开发者

大语言模型在众多任务中表现卓越。为使模型适配特定领域或应用,常采用监督微调(SFT)、偏好学习和模型合并等后训练技术。尽管各项技术已被广泛研究,但自动化构建完整后训练流水线仍属空白。现有方法多依赖人工设计或仅优化单一环节(如数据排序)。本文提出LaMDAgent(语言模型开发代理),通过基于大模型的智能体,自主构建并优化完整的后训练流程。该框架系统探索多种模型生成方式、数据集与超参数配置,利用任务反馈发现高性能流水线,实现最小人工干预。实验表明,LaMDAgent将工具使用准确率提升9.0分,同时保留指令遵循能力,并发掘出传统人工探索中常被忽略的有效策略。我们进一步分析数据与模型规模对探索成本的影响,发现模型缩放引入新挑战,而数据规模扩大可实现低成本流水线发现。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have demonstrated exceptional performance across a wide range of tasks. To further tailor LLMs to specific domains or applications, post-training techniques such as Supervised Fine-Tuning (SFT), Preference Learning, and model merging are commonly employed. While each of these methods has been extensively studied in isolation, the automated construction of complete post-training pipelines remains an underexplored area. Existing approaches typically rely on manual design or focus narrowly on optimizing individual components, such as data ordering or merging strategies. In this work, we introduce LaMDAgent (short for Language Model Developing Agent), a novel framework that autonomously constructs and optimizes full post-training pipelines through the use of LLM-based agents. LaMDAgent systematically explores diverse model generation techniques, datasets, and hyperparameter configurations, leveraging task-based feedback to discover high-performing pipelines with minimal human intervention. Our experiments show that LaMDAgent improves tool-use accuracy by 9.0 points while preserving instruction-following capabilities. Moreover, it uncovers effective post-training strategies that are often overlooked by conventional human-driven exploration. We further analyze the impact of data and model size scaling to reduce computational costs on the exploration, finding that model size scalings introduces new challenges, whereas scaling data size enables cost-effective pipeline discovery.

大模型优化自动化流水线LLM代理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。