EDCO: Dynamic Curriculum Orchestration for Domain-specific Large Language Model Fine-tuning
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
TL;DR
This paper tackles the challenge of efficiently fine-tuning domain-specific LLMs when high-quality data is scarce, by replacing static curricula with a dynamic, entropy-driven approach. EDCO continuously estimates inference entropy to select high-uncertainty samples, forming a growing curriculum that challenges the model at its learning frontier; this is implemented via Quick-Answer Prompting and Prefix Entropy Approximation to keep computations tractable. The method is compatible with both supervised and reinforcement learning fine-tuning and demonstrates consistent performance gains across communication, medical, and legal domains, with substantial speedups in entropy estimation (up to 83.5% reduction). The work provides a practical pathway to more data-efficient domain adaptation and highlights the importance of maintaining exploration during fine-tuning for improved generalization.
Abstract
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.
