From Task Affinities to Optimal Allocations: Probabilistic Graphical Modelling for Supervised Finetuning
Prateek Chanda, Saral Sureka, Krishnateja Killamsetty, Ganesh Ramakrishnan
Abstract
Supervised fine-tuning over a large pool of heterogeneous tasks is often computationally expensive, leading practitioners to train language models on a fixed training budget of carefully chosen SFT tasks. Thus, achieving strong downstream performance hinges on selecting an effective subset of tasks, or equivalently, identifying an optimal task mixture under a fixed budget constraint. In practice, supervised finetuning mixtures are often determined using simple heuristics (e.g., uniform or size-proportional sampling) that ignore task interactions, which can hurt transfer and waste budget on redundant task sources. We introduce TASKMIXPGM, a framework for learning continuous task mixtures through energy-based modelling over SFT tasks. Each task forms a node in a Markov random field, with unary potentials capturing task utility and pairwise potentials modelling inter-task relationships via behavioral divergences between predictive distributions of single-task fine-tuned models. Optimizing this objective yields task mixtures that balance utility, coverage, and redundancy. We further show that the induced set function defined over the set of such tasks is weakly submodular under budget constraints, enabling approximation guarantees for discrete task selection. Empirically, we provide a fixed, benchmark-independent mixture that improves over heuristic mixing across multiple model families and different training budgets. TASKMIXPGM also uncovers interpretable structure in task interactions, revealing complementarities and redundancies that inform effective SFT mixtures.
Create a lesson
Metadata
- Comments
- 43 pages, 6 figures
Related papers
MUSE: Multi-Task Uncertainty-Aware Self-Supervised Encoder for mmWave ISAC
Shared title terminologycs.LGNabeel Nisar Bhat, Jalees Nehvi, Rafael Berkvens et al.
Scaling Looped MoE Language Models under Matched Budgets: Information Flow and Parameter Allocation
Shared title terminologycs.LGShipeng Bai, Jiayu Qin, Hong Liu et al.
When High Capacity Becomes Undeployable: Pore-Filling Constraints for Multi-Objective Optimization of Direct Air Capture Sorbents
Shared title terminologycs.LGYujie Liu, Xuehua Shen, Zuotai Zhang
CARROT: Competitive Adaptive Graph Clustering via Semi-Relaxed Optimal Transport
Shared title terminologycs.LGChing Fan Chiang, Jia-Yu Pan, Wen-Chieh Lin
BReD: Block Replay Dithering for Stable Low-Bit EMA Optimizer States
Shared title terminologycs.LGHeshen Zhan, Youhan Huang, Yunke Peng et al.
FEAST: Fair and Efficient Adaptive Sampling for Task-Free On-Policy Learning
Shared title terminologycs.LGYongxi Zhu, Ziyi Wang, Yichen Wu et al.