Manuscript Offprint

arXiv:2610.02856

Adaptive Mutual Distillation for Balanced Multi-Task Post-Training of Large Language Models

Baohang Li, Xiaocheng Feng, Yichong Huang, Chengpeng Fu, Wenshuai Huo, Zekun Zhou, Zekun Yuan, Tingjia Zhang, Bing Qin

ABSTRACT

Multi-task post-training of large language models (LLMs) aims to improve performance across tasks with unequal amounts of training data. Existing methods focus primarily on balancing task contributions during single-model training. Different task-balancing strategies can produce models with complementary strengths, creating opportunities for mutual distillation. However, the usefulness of cross-model supervision can vary across tasks, transfer directions, and stages of training. We propose Adaptive Mutual Distillation (AMD), a collaborative post-training framework that jointly trains two models with different task-balancing strategies. AMD evaluates candidate adjustments to distillation weights through short training probes shared across tasks, then uses task-wise validation scores to select an adjustment for each task and transfer direction. Across six benchmarks and three LLM backbones, both AMD models achieve higher average benchmark scores than supervised fine-tuning (SFT) baselines trained with the same sampling strategies. They also outperform the task-balancing methods evaluated in our experiments. Merging the two trained models can further improve their average benchmark score while yielding a single model for inference. The merged models outperform multi-task SFT by an average of 2.91 points across the three backbones.

1 INTRODUCTION

Supervised fine-tuning (SFT) on multi-task instruction mixtures is widely used to adapt large language models (LLMs) to a range of tasks (Sanh et al., 2022; Chung et al., 2022; Wang et al., 2022). These mixtures often contain unequal amounts of data across tasks. Under proportional sampling, tasks with more data are sampled more often. Increasing the emphasis on underrepresented tasks can improve their performance, but may reduce performance on other tasks. Improving overall multi-task performance requires managing these trade-offs.

Existing methods primarily manage these trade-offs by adjusting task contributions within a single model. Data-mixture methods change how training examples are sampled (Xie et al., 2023; Wu et al., 2024; Shin et al., 2026), while optimization-based methods reweight task losses or modify gradients (Chen et al., 2018; Yu et al., 2020; Liu et al., 2023). Multi-task LLM fine-tuning methods also regulate task contributions through convergence feedback, task-specific masks, and task-balanced objectives (Gong et al., 2024; Liu et al., 2024; Zhang et al., 2025). Different strategies place different emphases on tasks and can produce models with complementary strengths. These differences create an opportunity for models to improve through collaboration.

Mutual distillation enables jointly trained models to exchange supervision (Zhang et al., 2018; Anil et al., 2018). The value of this supervision depends on the task and transfer direction. A model may provide useful guidance on one task while benefiting from its partner's guidance on another. These relationships can also change as both models learn. Distillation strength should therefore adapt to the task, transfer direction, and stage of training.

Figure

Figure 1: Overview of AMD. Two models with different task-balancing strategies undergo independent SFT warmup, followed by mutual distillation with task- and direction-specific weights adjusted using validation feedback. The trained models can optionally be merged into a single model for inference after collaborative training concludes.

We propose Adaptive Mutual Distillation (AMD), a collaborative post-training framework that jointly trains two models with different task-balancing strategies. In our experiments, one model samples tasks in proportion to their frequencies in the training data. The other uses temperature-smoothed sampling to increase the relative sampling probabilities of tasks with less data. Both models first undergo independent SFT warmup. They then continue training under their respective sampling distributions while exchanging supervision through mutual distillation. Task-wise validation feedback guides the distillation weights for each task and transfer direction. Figure 1 summarizes the two-stage framework and optional post-training model merging.

At each weight update, AMD runs three short training probes from the current model pair, testing whether to decrease, maintain, or increase all distillation weights. It then uses the resulting validation scores to select an adjustment for each task and transfer direction.

We evaluate AMD on three LLM backbones and six benchmarks. On each backbone, both AMD models achieve higher average benchmark scores than SFT baselines trained with the same sampling strategies. They also outperform the task-balancing methods evaluated in our experiments. Merging the two models can further improve performance while yielding a single model for inference. The merged models achieve the highest average benchmark scores among the evaluated methods, exceeding multi-task SFT by 2.70–3.24 points.

Our contributions are as follows:

• We propose AMD, a collaborative framework for multi-task LLM post-training with imbalanced task data. AMD jointly trains models with different task-balancing strategies and enables them to exchange task-wise supervision.

• We develop a validation-guided mechanism that evaluates candidate distillation-weight adjustments through shared training probes and selects updates separately for each task and transfer direction. It adapts supervision throughout training while keeping the number of training probes per update fixed as the number of tasks grows.

• Experiments on three LLM backbones and six benchmarks show that both AMD models outperform their sampling-matched SFT baselines in macro-average performance. Controlled comparisons support adapting distillation weights over training and separately for each task and transfer direction. Model merging provides additional gains while yielding a single model for inference.

References (33)