Skip to content

DomainPilot: Domain-Level Loss-Guided Two-Stage Data Mixture Optimization for Efficient Language Model Fine-Tuning

Jul 2026 · arXiv.org · Vol abs/2607.22769 · 0 citations · 19 references
Computer Science

TL;DR

DomainPilot introduces token-level domain loss monitoring to capture per-domain learning dynamics during training without halting the data pipeline, and demonstrates that domain-level training signals provide an effective, lightweight alternative to expensive data selection or auxiliary model training for mixture optimization.

Abstract

The training efficacy of large language models (LLMs) is fundamentally constrained by the quality and composition of training data. Existing dynamic data scheduling methods face critical limitations in industrial-scale pretraining and supervised fine-tuning (SFT): data selection incurs prohibitive O(N) costs on terabyte-scale corpora, mixture optimization schemes introduce severe I/O bottlenecks or require training auxiliary reference models, and sample-level reweighting strategies rely on loss signals that conflate noise, difficulty, and novelty. We present DomainPilot, a domain-level loss-guided two-stage data mixture optimization framework. DomainPilot introduces token-level domain loss monitoring to capture per-domain learning dynamics during training without halting the data pipeline. Building on these signals, we propose a Scaling Law guided coarse optimization stage that fits domain-specific convergence curves and derives a principled prior for mixture adjustment. A subsequent Mixing Law guided fine optimization stage refines the mixture by modeling cross-domain interaction effects through controlled sweep experiments. The entire mechanism is realized via a patch-based architecture that injects domain-aware loss computation into existing training frameworks (e.g., MindSpeed/Megatron-LM) with only ~30 lines of framework-specific adapter code. We validate DomainPilot on the Qwen3-1.7B model during SFT. Compared to the original data mixture, our optimized mixture achieves improvements of +2% on MMLU-Redux, +1.8% on AIME24, +3.8% on LiveCodeBench v5, and +3.6% on BFCL v3, without increasing total data volume or training cost. These results demonstrate that domain-level training signals provide an effective, lightweight alternative to expensive data selection or auxiliary model training for mixture optimization.

View source

Similar papers

Review Open access Oct 2026

Training datasets tailored for domain-specific large language models: challenges, methods and trends

Adapting LLMs to specialized domains critically depends on high-quality training data, making dataset construction a decisive factor in domain performance. This survey reviews methods for constructing domain-adaptation training datasets through a structured, data-centric analysis. Based on a comparative analysis of rep...

Xin-Yuan Qiu, Ke-Lan Ren, Xiao-Long Cui et al. · 0 citations
#artificial intelligence Preprint Aug 2026

Training Communication-Efficient Mixture-of-Experts Language Models with Layer Re-Configuration

Communication-efficient MoE models (CE-MoE), in which a heterogeneous layer pattern that decouples token-mixing and channel-mixing depth is adopted, consistently reduce training cost while matching validation loss and downstream benchmarks with full-MoE baselines.

Simeng Sun, R. Waleffe · 0 citations
#artificial intelligence Preprint Oct 2026

Where to Adapt Matters: Layer-Selective Fine-Tuning for Capability Retention

Parameter-efficient fine-tuning (PEFT) enables large language models (LLMs) to adapt to specialized tasks, but often at the cost of degrading general capabilities acquired during pretraining. Existing approaches primarily mitigate this trade-off through data replay or regularization, relying on additional data or expli...

Zhi-Qian Pang, Zi-Hong Sun, Qi Xie et al. · 0 citations
#natural language process... Preprint Sep 2026

Neuron-Guided Fine-Tuning: Unlocking Efficient Alignment Mechanisms for Large Language Models

Experimental results across three models across both domain-specific and general benchmarks demonstrate that NGFT significantly outperforms existing mainstream fine-tuning methods in both efficiency and performance, while effectively mitigating catastrophic forgetting.

Ze-Yu Wu, Junchao Wu, Shu-Dong Liu et al. · 0 citations
#machine learning Preprint Sep 2026

Data Efficient Sample Selection for In-Context Learning

DearICL (Data Efficient Algorithm for Ranking) ICL samples, a new framework that models demonstration example selection as a subset ranking problem, achieves 8.08-15.9% accuracy gains over strong linear bandit baselines, with low sample complexity.

V. Venktesh, Cem Levi, Avishek Anand · 0 citations
#small language model Preprint Aug 2026

Cross-Domain, Multi-Task Data-to-Text Generation without In-Domain Training Data

This work compares data-driven knowledge distillation (DDKD) against zero-shot inference and fine-tuning on out-of-domain D2T data, and introduces structure-preserving augmentation via structural subsampling and perturbation in cross-domain D2T generation.

Yifei Song, Kun Efimov-Zhang, Claire Gardent · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.