potentialpaper

TaskMixPGM: Task Mixtures via Probabilistic Graphical Modelling for Language Model Finetuning

Prateek Chanda, Saral Sureka, Parth Pratim Chatterjee, Krishnateja Killamsetty, Nikhil Shivakumar Nayak, Ganesh Ramakrishnan

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. The performance of fine-tuned large language models (LLMs) hinges critically on the composition of the training mixture. However, selecting an optimal blend of task datasets remains a largely manual, heuristic-driven process, with practitioners often relying on uniform or size-based sampling strategies. We introduce TaskMixPGM, a principled and scalable framework for mixture optimization that selects continuous task proportions by minimizing an energy function over a Markov Random Field (MRF). Task relationships are modeled using behavioral divergences—such as Jensen-Shannon Divergence and Pointwise Mutual Information—computed from the predictive distributions of single-task fine-tuned models. Our method yields a closed-form solution under simplex constraints and provably balances representativeness and diversity among tasks. We provide theoretical guarantees, including weak submodularity for budgeted variants, and demonstrate consistent empirical improvements on Llama-2 and Mistral across evaluation suites such as MMLU and BIG-Bench-Hard. Beyond performance, TaskMixPGM offers interpretable insights into task influence and mixture composition, making it a powerful tool for efficient and robust LLM fine-tuning.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…