Manuscript Offprint

arXiv:2610.32501

DRIVE: Fine-tuning via Data Contribution- and Diversity-aware Weighting with Prior Regularization

Qing Liu, Xinrui Chen, Yi Du, Ou Wu, Weiyao Zhu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Single-stage fine-tuning is pervasive, yet catastrophic forgetting persists when the source pre-training data is inaccessible. Data weighting affords a natural lever to modulate sample influence. Yet existing weighting methods lack a principled mechanism to explicitly arbitrate knowledge retention against new-task adaptation, and provide no unified differentiable objective to accommodate auxiliary signals such as sample diversity and sample characteristics. This is because current schemes privilege one goal over the other, and no explicit gradient-compatible encoding exists for such signals. To address this, we propose DRIVE, a principled and efficient weight assignment framework. It derives per-sample weights via a unified differentiable objective where three coupled signals co-evolve: Shapley additivity splits contribution into anti-forgetting and adaptation components, which are reshaped by a covariance-based diversity term and stabilized by a sample-characteristic prior. Far from a mere combination, this yields an end-to-end gradient-based scheme balancing stability against plasticity. Theoretically, we prove that DRIVE enjoys superior stability-plasticity guarantees over existing weighting schemes and enhances parameter estimation robustness. Empirically, it attains superior overall performance, faster convergence, and stronger robustness. Code at https://github.com/luciabcd/DRIVE.

1 Introduction

Fine-tuning is a key paradigm for improving downstream performance in modern deep learning [1, 2]. Recent studies show that even in a single round of fine-tuning, catastrophic forgetting can occur [3–6]. Because the original pre-training data is typically unavailable in practice, prior work has explored data-oblivious strategies in both parameter space and sample space. Parameter-space methods mitigate forgetting by constraining update magnitudes [7, 8], updating only a subset of parameters, introducing additional parameter modules [9–11], or using model merging [12, 13]. Sample-space methods mainly include sample weighting, selection, and augmentation [14–16].

Data weighting enables fine-grained control over sample influence by upweighting high-contribution samples [17–19]. In practice, most studies measure contribution by a sample's effect on new task learning, for example through weighting based on validation loss, gradient magnitude, or sample loss [14–17], whereas FLOW measures it by the sample's role in preserving pre-trained knowledge.

∗^{*}Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Overview of DRIVE’s unified differentiable data weighting objective.

during fine-tuning [20]. While effective, these methods still ground sample contribution in either adaptation-oriented or retention-oriented signals, rather than explicitly balancing stability and plasticity, and thus they cannot fully characterize each sample’s contribution to the fine-tuning.

Beyond sample contribution, sample diversity and sample characteristics have also been widely considered in practice. Regarding sample diversity, existing studies usually rely on clustering, DPP, or similarity coverage for selection [21–25], making it difficult to encode diversity in a continuous weighting objective. For sample characteristics, studies typically use signals such as sample length and entropy to reflect the quality or complexity of samples [26–30], and some directly treat them as proxies for sample contribution to determine sample weights [31, 32]. However, these signals are inherently task-agnostic properties with no direct correspondence to a sample's actual contribution during fine-tuning. We therefore treat them as complementary to sample contribution rather than substitutes for it. Overall, within sample weighting, existing methods usually incorporate only part of the above information into weight assignment. More importantly, because diversity is difficult to encode as a differentiable weighting term, existing sample-weighting methods lack a unified differentiable objective that jointly incorporates sample contribution, sample diversity, and sample characteristics. This not only makes it difficult to realize an end-to-end weighting scheme, limiting full data utilization, but also hinders a more principled analysis of optimization behavior and convergence.

To address the above issues, we propose DRIVE (Fine-tuning via Data Contribution- and DiVersity-aware WEighting with prior Regularization), a principled and efficient weighting framework. Rather than stacking existing signals, DRIVE reformulates each ingredient for joint compatibility within one differentiable objective. Sample contribution is recast through a Shapley-additivity decomposition that disentangles anti-forgetting from task adaptation and yields a tunable stability–plasticity trade-off. Diversity is made differentiable via a covariance-determinant term, while sample characteristics serve as a KL-anchored prior over weights. These reformulations enable end-to-end weighting. Theoretically, DRIVE enjoys improved stability–plasticity guarantees and enhanced parameter-estimation robustness. Empirically, across vision models and LLMs, it attains stronger overall performance. Fig. 1 illustrates the overall framework. Our key contributions are summarized as follows:

• We propose DRIVE, a novel weighting framework that jointly reformulates components rather than off-the-shelf aggregation. Shapley additivity yields an anti-forgetting and task-adaptation decomposition; a covariance-determinant term renders diversity differentiable, to our knowledge the first such term for sample weighting; and KL anchors weights to a sample-characteristic prior.

• We develop a provably convergent iterative solver for the coupled DRIVE objective. Theoretical analysis in linear/local nonlinear regimes shows contribution decomposition tightens the stability–plasticity trade-off, while diversity provably accelerates convergence and enhances robustness.

• Across vision models and LLMs, DRIVE consistently outperforms strong baselines, with better overall performance, faster convergence, and stronger robustness.

References (100)

  • Deep residual learning for image recognition
  • Bert: Pre-training of deep bidirectional transformers for language understanding
  • Mitigating forgetting in LLM fine-tuning via low-perplexity token learning
  • On the loss of context awareness in general instruction fine-tuning
  • Mapping post-training forgetting in language models at scale
  • SFT doesn’t always hurt general capabilities: Revisiting domain-specific fine-tuning in LLMs
  • How do quadratic regularizers prevent catastrophic forgetting: The role of interpolation
  • Mofo: Momentum-filtered optimizer for mitigating forgetting in llm fine-tuning (opens arXiv in a new tab)
  • Lottery ticket adaptation: Mitigating destructive interference in LLMs
  • Lora: Low-rank adaptation of large language models
  • LoRA learns less and forgets less
  • Editing models with task arithmetic
  • Soup to go: mitigating forgetting during continual learning with model averaging (opens arXiv in a new tab)
  • Meta-lora: Memory-efficient sample reweighting for fine-tuning large language models
  • Self-influence guided data reweighting for language model pre-training
  • Dynamic loss-based sample reweighting for improved large language model pretraining
  • Rethinking data curation in LLM training: Online reweighting offers better generalization than offline methods
  • Understanding difficulty-based sample weighting with a universal difficulty measure
  • Cmw-net: Learning a class-aware sample weighting mapping for robust deep learning
  • Upweighting easy samples in fine-tuning mitigates forgetting
  • What makes good data for alignment? a comprehensive study of automatic data selection in instruction tuning
  • Deft-ucs: Data efficient fine-tuning for pre-trained language models via unsupervised core-set selection for text-editing
  • Unlocking the planning capabilities of large language models with maximum diversity fine-tuning
  • A survey on data selection for llm instruction tuning
  • Diversity measurement and subset selection for instruction tuning datasets
  • Selectit: Selective instruction tuning for llms via uncertainty-aware self-reflection
  • One-shot learning as instruction data prospector for large language models
  • From quantity to quality: Boosting LLM performance with self-guided data selection for instruction tuning
  • Semi-supervised fine-tuning for large language models
  • D3: diversity, difficulty, and dependability-aware data selection for sample-efficient llm instruction tuning
  • Umix: Improving importance weighting for subpopulation shift via uncertainty-aware mixup
  • Dorm: Preference data weights optimization for reward modeling in llm alignment
  • Llm-adapters: An adapter family for parameter-efficient fine-tuning of large language models
  • Llm fine-tuning: Concepts, opportunities, and challenges
  • Federatedscope-llm: A comprehensive package for fine-tuning large language models in federated learning
  • One algorithm, two goals: Dual scoring for parameter and data selection in llm fine-tuning (opens arXiv in a new tab)
  • Nads: Navigator-guided data selection for mitigating catastrophic forgetting in fine-tuning
  • Overcoming catastrophic forgetting in neural networks
  • Progress & compress: A scalable framework for continual learning
  • Memory aware synapses: Learning what (not) to forget
  • Continual learning with extended kronecker-factored approximate curvature
  • Mitigating forgetting in low rank adaptation
  • Efficient lifelong learning with a-GEM
  • Continual learning of context-dependent processing in neural networks
  • Orthogonal gradient descent for continual learning
  • Progressive Neural Networks
  • Incorporating neuro-inspired adaptability for continual learning in artificial intelligence
  • Nispa: Neuro-inspired stability-plasticity adaptation for continual learning in sparse networks
  • Continual learning with node-importance based adaptive group sparse regularization
  • Gradient based sample selection for online continual learning
  • Rainbow memory: Continual learning with a memory of diverse samples
  • Gcr: Gradient coreset based replay buffer selection for continual learning
  • Continual prototype evolution: Learning online from non-stationary data streams
  • Take the bull by the horns: Hard sample-reweighted continual training improves llm generalization (opens arXiv in a new tab)
  • Learning to clarify by reinforcement learning through reward-weighted fine-tuning (opens arXiv in a new tab)
  • Not all LLM-generated data are equal: Rethinking data weighting in text classification
  • Automatic instruction data selection for large language models via uncertainty-aware influence maximization
  • Get more for less: Principled data selection for warming up fine-tuning in LLMs
  • LensLLM: Unveiling fine-tuning dynamics for LLM selection
  • Mitigating training imbalance in llm fine-tuning via selective parameter merging
  • Tuco: Measuring the contribution of fine-tuning to individual responses of LLMs
  • The effect of language diversity when fine-tuning large language models for translation (opens arXiv in a new tab)
  • Multilingual prompting for improving llm generation diversity (opens arXiv in a new tab)
  • Entropic distribution matching for supervised fine-tuning of llms: Less overfitting and better diversity
  • Diversification catalyzes language models’ instruction generalization to unseen semantics
  • Goodcore: Data-effective and data-efficient machine learning through coreset selection over incomplete data
  • From macro to micro: Probing dataset diversity in language model fine-tuning (opens arXiv in a new tab)
  • Scaling data diversity for fine-tuning language models in human alignment
  • Enhancing diversity in large language models via determinantal point processes
  • A value for n-person games
  • Data shapley in one training run
  • Bayesian experimental design: A review
  • Optimal experimental design for infinite-dimensional bayesian inverse problems governed by pdes: A review
  • Recall and learn: Fine-tuning deep pretrained language models with less forgetting
  • Scaled decoupled distillation
  • Magnet: Augmenting generative decoders with representation learning and infilling capabilities
  • A linearized framework and a new benchmark for model selection for fine-tuning (opens arXiv in a new tab)
  • Understanding linear probing then fine-tuning language models from ntk perspective
  • Robust fine-tuning of zero-shot models
  • Learning multiple layers of features from tiny images
  • Automated flower classification over a large number of classes
  • Learning generative visual models from few training examples: An incremental bayesian approach tested on 101 object categories
  • 3d object representations for fine-grained categorization
  • Novel dataset for fine-grained image categorization: Stanford dogs
  • Food-101-mining discriminative components with random forests
  • Beans leaf diseases classification using mobilenet models
  • Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification
  • Metamath: Bootstrap your own mathematical questions for large language models
  • Magicoder: Empowering code generation with OSS-instruct
  • Training Verifiers to Solve Math Word Problems
  • Evaluating Large Language Models Trained on Code
  • Measuring massive multitask language understanding
  • Program Synthesis with Large Language Models
  • A framework for few-shot language model evaluation
  • Resnet strikes back: An improved training procedure in timm
  • Gemma 2: Improving Open Language Models at a Practical Size
  • The Llama 3 Herd of Models
  • Learning to reweight examples for robust deep learning
  • Deep learning on a data diet: Finding important examples early in training
  • Semantic uncertainty: Linguistic invariances for uncertainty estimation in natural language generation

Couldn't load all references. Reload the page to try again.