Introduction
Multi-task learning (MTL) aims to develop a single model capable of executing multiple tasks—such as semantic segmentation, depth estimation, and object detection—simultaneously. While theoretically efficient, training MTL models often suffers from the "imbalance problem." Because different tasks utilize distinct loss functions and exhibit varying levels of difficulty, "louder" or easier tasks can dominate the gradient updates, leading to suboptimal performance compared to specialized single-task models.
The Distillation Framework
To address this, the authors propose a two-stage knowledge distillation (KD) framework. The core idea is to leverage the expertise of single-task models to guide the training of a unified multi-task student.
- Stage 1: Training Experts. Individual, task-specific models (Single-task Learning or STL) are trained for each target task. Once optimized, these "expert" models are frozen.
- Stage 2: Training the Multi-task Student. A single multi-task model with a shared backbone is trained. To ensure balanced learning, a distillation loss is introduced to align the student's internal representations with those of the frozen experts.
Task-Specific Adaptors
A significant challenge in MTL distillation is that a shared backbone cannot perfectly replicate the unique feature space of multiple experts at once. The authors solve this by introducing "adaptors" ($A_\tau$). These are lightweight $1 \times 1$ convolutional layers that project shared features into the specific feature space of each expert. This allows the shared backbone to learn a general representation while the adaptors handle task-specific nuances.
Key Insights
- Feature-Level Distillation: Unlike previous methods that distill final predictions, this framework distills internal feature maps. This provides a richer training signal and more stable gradients.
- Linear Adaptors: Ablation studies revealed that simple linear transformations are sufficient for feature alignment, suggesting that task-specific features are often linear variations of a common underlying representation.
- Balanced Optimization: The normalized distillation loss acts as a "strict supervisor," keeping the shared model within the intersection of optimal solutions for all tasks, effectively mitigating the imbalance problem.
Experimental Evaluation
The method was evaluated on diverse benchmarks, including SVHN & Omniglot (classification), NYU-v2 (indoor scene understanding), and Cityscapes (urban street-view).
On the SVHN & Omniglot benchmark, the proposed method achieved an average accuracy of 79.09%, outperforming the Uniform MTL baseline (76.40%) and sophisticated schemes like GradNorm and MGDA. Similar state-of-the-art results were observed on NYU-v2 and Cityscapes, where the model achieved superior mIoU for segmentation and lower error rates for depth estimation.
Conclusion
By combining feature-level distillation with learnable adaptors, this framework provides a robust solution to the MTL imbalance problem. While the two-stage training process introduces additional computational overhead, the resulting performance gains across varied computer vision tasks demonstrate the effectiveness of using task-specific experts to guide multi-task architectures. Future work may explore peer-distillation or neural architecture search to further optimize these systems.
Summary updated