Abstract
Modern computer vision models are typically specialized for single tasks or domains. Training a single "universal" model to handle multiple diverse tasks simultaneously—Multi-Task Learning (MTL)—is often hindered by unbalanced optimization, where dominant tasks overshadow others during training. This paper introduces a framework for learning universal representations through a two-stage distillation process. By leveraging task-specific adapters and stable distillation losses, the proposed method achieves superior performance across dense prediction, multi-domain classification, and few-shot learning benchmarks, outperforming specialized experts while maintaining a compact parameter footprint.
Introduction
The quest for General Artificial Intelligence necessitates models that can perform a wide array of visual tasks across various domains. However, standard Multi-Task Learning often fails to surpass single-task baselines due to the "unbalanced optimization" problem. When multiple loss functions with varying magnitudes and difficulties are minimized concurrently, gradient updates tend to favor the easiest or most dominant tasks, leading to poor performance on others.
Methodology
The researchers propose a two-stage procedure centered on Knowledge Distillation to stabilize training and ensure balanced optimization:
- Expert Phase: Individual "teacher" networks are trained for each specific task or domain (e.g., segmentation, depth estimation). Once optimized, these experts are frozen.
- Universal Phase: A single "student" network (the Universal Representation) is trained to mimic the internal features and predictions of these experts. Distillation loss is found to be significantly more stable than raw task losses.
To bridge the gap between a single backbone and multiple experts, the authors utilize task-specific adapters. These lightweight modules "align" the universal features to the expert's feature space before calculating the loss. For highly diverse domains (e.g., natural photos vs. satellite imagery), Centered Kernel Alignment (CKA) is employed as a distance metric to capture non-linear similarities between disparate feature spaces.
Experimental Results
The framework was rigorously evaluated across three distinct challenges:
- Dense Prediction (NYU-v2): The model achieved a +10.95% improvement in the average performance metric ($\Delta$MTL) over single-task baselines, outperforming complex gradient-balancing methods.
- Multi-Domain Classification (Visual Decathlon): The universal model achieved a score of 4005, significantly beating the fine-tuning baseline (2500) while utilizing 10x fewer parameters than a collection of separate expert models.
- Cross-Domain Few-Shot Learning (MetaDataset): The method attained an average rank of 1.3, outperforming state-of-the-art competitors like SUR (5.0) and URT (4.4).
Conclusion
This work demonstrates that universal representations can be effectively learned by distilling knowledge from specialized experts. The use of distillation losses and task-specific adapters provides a robust solution to the optimization challenges of multi-task learning. By decoupling the acquisition of task-specific knowledge from the learning of a shared backbone, the framework achieves a state-of-the-art balance between performance, efficiency, and versatility.
Summary updated