Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Minibatch Selection for Language Models via Partition Matroid Constrained Gradient Matching

About

Training large language models (LLMs) on heterogeneous data requires selecting minibatches that balance convergence speed with coverage across domains. Existing methods either select samples independently within each domain or rely on computationally expensive proxy models to learn continuous domain weights. We propose PartitionSel, a cross-domain minibatch selection approach that maximizes a validation-guided gradient-matching utility under per-domain budgets encoded as a partition-matroid constraint. By coupling the per-domain budgets through a single utility, PartitionSel is designed to reduce redundancy in selections across domains. The proposed objective is weakly submodular and admits an orthogonal matching pursuit algorithm with provable approximation guarantees. Empirically, we evaluate PartitionSel for minibatch selection during the fine-tuning of Qwen2.5 and Llama-3 on MetaMathQA and Mol-Instructions. PartitionSel achieves robust gains over per-domain and domain-agnostic baselines on both benchmarks. It also reduces the number of conflicting gradient pairs within each batch, indicating that the cross-domain coupling translates into more compatible training updates.

Prayas Agrawal, Prateek Chanda, Ishita Khatri, Ganesh Ramakrishnan, Bamdev Mishra, Pratik Jawanpuria• 2026

Related benchmarks

TaskDatasetResultRank
Math ReasoningAQUA
Accuracy61.02
194
Math ReasoningGSM8K
Accuracy (GSM8K)49.13
190
Math ReasoningSVAMP
Accuracy56.7
89
Mathematical ReasoningDeepMind-Mathematics
Accuracy35
78
Mathematical ReasoningSVAMP
Accuracy (%)84.1
71
Mathematical ReasoningAQUA
Accuracy36.61
59
Mathematical ReasoningNUMGLUE
Accuracy59.98
54
Mathematical ReasoningSIMULEQ
Accuracy54.67
45
Mathematical ReasoningSAT
Accuracy76.36
35
Forward reaction predictionMol-Instructions--
30
Showing 10 of 21 rows

Other info

Follow for update