Minibatch Selection via Partition Matroid Constrained Gradient Matching

πŸ“… 2026-06-05
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This work addresses the challenge of balancing domain coverage and convergence efficiency when training large language models on heterogeneous data. The authors propose PartitionSel, a novel method that integrates partition matroid constraints with validation-guided gradient matching to enable efficient cross-domain minibatch selection. By simultaneously respecting per-domain budget limits and minimizing sample redundancy, PartitionSel leverages weak submodular optimization and orthogonal matching pursuit to provide theoretical approximation guarantees. Experimental results demonstrate that the approach significantly outperforms baseline strategies in fine-tuning Qwen2.5 and Llama-3, effectively reducing the number of conflicting gradient pairs within batches and enhancing the compatibility of training updates.
πŸ“ Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

minibatch selection
heterogeneous data
domain coverage
convergence speed
large language models
Innovation

Methods, ideas, or system contributions that make the work stand out.

partition matroid
gradient matching
minibatch selection
weak submodularity
cross-domain optimization
πŸ”Ž Similar Papers
P
Prayas Agrawal
Department of Computer Science and Engineering, Indian Institute of Technology Bombay; Microsoft Research India
P
Prateek Chanda
Department of Computer Science and Engineering, Indian Institute of Technology Bombay; Centre for Machine Intelligence and Data Science, Indian Institute of Technology Bombay
I
Ishita Khatri
Centre for Machine Intelligence and Data Science, Indian Institute of Technology Bombay
Ganesh Ramakrishnan
Ganesh Ramakrishnan
Professor, Department of Computer Science and Engineering, Indian Institute of Technology Bombay
Machine LearningRelational LearningInformation ExtractionQuestion AnsweringText Analytics
Bamdev Mishra
Bamdev Mishra
Microsoft, Past: Amazon, U Cambridge, U Liège, IIT Bombay
Manifold optimizationMachine learning
P
Pratik Jawanpuria
Centre for Machine Intelligence and Data Science, Indian Institute of Technology Bombay