arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.03725cs.LG
收藏

EDCO:面向领域特定大语言模型微调的动态课程编排

EDCO: Dynamic Curriculum Orchestration for Domain-specific Large Language Model Fine-tuning

Huawei Technologies Co., Ltd(华为技术有限公司)

Jing-Cheng Pang, Liu Sun, Chang Zhou, Xian Tang, Haichuan Ma, Kun Jiang, Jianlong Wang, Kai Zhang, Sijie Wu, Haoran Cai, Chenwei Wu, Xubin Li, Xin Chen

AI总结:

EDCO通过动态课程编排和熵估计提升领域特定大语言模型微调效率与准确性。

摘要:

领域特定的大语言模型(LLMs)通常通过在专门数据集上微调预训练的一般用途LLM来开发,代表了应用AI的重要进展。在LLM微调中,一种常见策略是课程学习,它根据难度等指标对训练样本进行预排序,以提高学习效率,相比随机采样策略。然而,大多数现有的LLM微调方法依赖于静态课程,是在训练前设计的,无法适应微调过程中模型的演变需求。为此,我们提出了EDCO,一种基于两个关键概念的新框架:推理熵和动态课程编排。受最近发现维持高回答熵有助于长期推理收益的启发,EDCO在持续适应的课程中优先选择具有高推理熵的样本。EDCO集成了三个核心组件:一个高效的熵估计器,它使用前缀标记来近似全序列熵;一个基于熵的课程生成器,它选择具有最高推理熵的数据点;以及一个LLM训练器,它在选定的课程上优化模型。在通信、医学和法律领域进行了全面的实验,EDCO在监督和强化学习设置下,对Qwen3-4B和Llama3.2-3B模型的微调优于传统课程策略。此外,所提出的高效熵估计减少了83.5%的计算时间,同时保持了高准确性。

英文摘要:

Domain-specific large language models (LLMs), typically developed by fine-tuning a pre-trained general-purpose LLM on specialized datasets, represent a significant advancement in applied AI. A common strategy in LLM fine-tuning is curriculum learning, which pre-orders training samples based on metrics like difficulty to improve learning efficiency compared to a random sampling strategy. However, most existing methods for LLM fine-tuning rely on a static curriculum, designed prior to training, which lacks adaptability to the model's evolving needs during fine-tuning. To address this, we propose EDCO, a novel framework based on two key concepts: inference entropy and dynamic curriculum orchestration. Inspired by recent findings that maintaining high answer entropy benefits long-term reasoning gains, EDCO prioritizes samples with high inference entropy in a continuously adapted curriculum. EDCO integrates three core components: an efficient entropy estimator that uses prefix tokens to approximate full-sequence entropy, an entropy-based curriculum generator that selects data points with the highest inference entropy, and an LLM trainer that optimizes the model on the selected curriculum. Comprehensive experiments in communication, medicine and law domains, EDCO outperforms traditional curriculum strategies for fine-tuning Qwen3-4B and Llama3.2-3B models under supervised and reinforcement learning settings. Furthermore, the proposed efficient entropy estimation reduces computational time by 83.5% while maintaining high accuracy.

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

↑