Abstract
Standard visual pre-training typically relies on Single-Source Single-Task (SSST) paradigms, such as classification on ImageNet. While effective, these models often lack the versatility required for diverse downstream tasks like object detection or semantic segmentation. We present X-Learner, a novel Multi-Source Multi-Task (MSMT) pre-training framework designed to learn universal visual representations. By employing a two-stage "Expansion and Squeeze" strategy, X-Learner effectively leverages diverse data sources and multiple tasks while avoiding the common pitfalls of task interference. Our results demonstrate that X-Learner significantly outperforms standard supervised and self-supervised pre-training methods across a wide array of vision benchmarks.
Introduction
In the current computer vision landscape, the dominant paradigm involves pre-training a backbone on a massive dataset—most commonly ImageNet—and subsequently fine-tuning it for specific downstream applications. However, this approach is fundamentally limited by its Single-Source Single-Task (SSST) nature. A model trained solely for classification may excel at identifying global object categories but often lacks the spatial awareness necessary for tasks requiring pixel-level precision, such as semantic segmentation or object detection.
While Multi-Task Learning (MTL) offers a theoretical path toward more robust representations, it is historically hindered by two major challenges: Task Interference and Data Scarcity. Task interference occurs when gradients from disparate tasks (e.g., localization vs. classification) conflict, leading to optimization sub-optimality. Data scarcity refers to the difficulty of obtaining large-scale datasets where every image is annotated for every task. X-Learner addresses these issues by enabling learning from multiple sources where each image may only possess a single type of label.
Methodology: The Expansion and Squeeze Strategy
The X-Learner framework utilizes a Multi-Source Multi-Task (MSMT) setting, allowing it to ingest data from various specialized datasets simultaneously. To manage the complexities of multi-task optimization, the authors propose a two-stage process.
1. The Expansion Stage
Rather than forcing a single backbone to learn all tasks immediately, the framework initializes $T$ "sub-backbones," each dedicated to a specific task. These sub-backbones are not isolated; they are linked via Reconciliation Layers. These layers facilitate feature sharing across tasks and at various network depths. To prevent the gradients of one task from negatively impacting another, the inputs to these reconciliation layers are "detached" during backpropagation. This allows the model to benefit from cross-task information sharing without the destructive interference typically seen in joint training.
2. The Squeeze Stage
While the expanded model is highly capable, its parameter count is $T$ times larger than a standard backbone, making it impractical for deployment. To resolve this, X-Learner employs Knowledge Distillation. A standard-sized "student" network (such as a ResNet-50) is trained to mimic the integrated multi-task features produced by the large, expanded "teacher" backbone. This process compresses the collective intelligence of multiple specialized networks into a single, efficient representation.
Experimental Setup and Datasets
To ensure the universality of the learned features, X-Learner was pre-trained on a diverse collection of datasets:
- Classification: ImageNet-1K, iNat2021, Places365, CompCars, and Tsinghua Dogs.
- Detection: COCO, Objects365, and WIDER FACE.
- Segmentation: ADE20K and COCO-Stuff.
The resulting model was evaluated on a comprehensive suite of downstream tasks, including 10 classification datasets (e.g., CIFAR, Food-101), Pascal VOC for detection and segmentation, and NYU-Depth V2 for depth estimation.
Key Results and Insights
X-Learner demonstrates superior performance compared to traditional supervised and state-of-the-art self-supervised methods:
- Broad Performance Gains: Compared to standard ImageNet supervised pre-training, X-Learner improved average classification accuracy by 3.0%, object detection (mAP) by 3.3%, and semantic segmentation (mIoU) by 1.8%.
- Efficiency and Scaling: X-Learner outperformed MuST (a leading multi-task self-training method). Notably, an X-Learner ResNet-50 backbone surpassed a much larger MuST ResNet-152 backbone, highlighting the efficiency of the distilled representation.
- Zero-Shot Transfer: The universality of the features was further proven on NYU-Depth V2. Despite not being explicitly trained for depth estimation, X-Learner features transferred so effectively that they outperformed specialized models in this domain.
Conclusion and Future Work
X-Learner provides a scalable and effective framework for building universal visual representations. By decoupling task learning during the expansion phase and reuniting them through distillation, it bypasses the traditional limitations of multi-task learning.
While the current framework is highly effective, the computational cost of the expansion stage remains a consideration. Future research may explore integrating even more diverse tasks, such as video understanding or 3D vision, and scaling the framework to web-scale datasets to further push the boundaries of universal visual intelligence.
Summary updated