InstructDiff: Domain-Adaptive Data Selection via Differential Entropy for Efficient LLM Fine-Tuning
Junyou Su, He Zhu, Xiao Luo, Liyu Zhang, Hong-Yu Zhou, Yun Chen, Peng Li, Yang Liu, Guanhua Chen
TL;DR
The paper tackles the data-inefficiency of supervised fine-tuning for large language models by proposing InstructDiff, a domain-adaptive data selection framework based on differential entropy between a base model and a lightweight calibration model. It uses a two-stage pipeline—Warmup Calibration to create a calibration model, and Distribution-Aware Selection that computes per-example $\Delta\text{NLL}$ and $\Delta H$, applies bi-directional filtering, and ranks candidates by $\Delta H$ to select a learnable frontier. Across math, general instruction-following, medical QA, and code generation, InstructDiff achieves up to $+52\%$ relative improvement over full-data training while using only 10\% of the data, and scales to large pools with weak-to-strong calibration. This work demonstrates that domain-adaptive entropy dynamics provides a principled signal for data curation in SFT, reducing compute while maintaining or boosting performance.
Abstract
Supervised fine-tuning (SFT) is fundamental to adapting large language models, yet training on complete datasets incurs prohibitive costs with diminishing returns. Existing data selection methods suffer from severe domain specificity: techniques optimized for general instruction-following fail on reasoning tasks, and vice versa. We observe that measuring entropy differences between base models and minimally instruction-tuned calibrated models reveals a pattern -- samples with the lowest differential entropy consistently yield optimal performance across domains, yet this principle manifests domain-adaptively: reasoning tasks favor entropy increase (cognitive expansion), while general tasks favor entropy decrease (cognitive compression). We introduce InstructDiff, a unified framework that operationalizes differential entropy as a domain-adaptive selection criterion through warmup calibration, bi-directional NLL filtering, and entropy-based ranking. Extensive experiments show that InstructDiff achieves 17\% relative improvement over full data training on mathematical reasoning and 52\% for general instruction-following, outperforming prior baselines while using only 10\% of the data.
