Introduction
The deep learning community has produced a vast array of high-quality Pre-Trained Models (PTMs) specialized for specific tasks such as depth estimation, edge detection, or surface normal prediction. However, these models are often "siloed." Deploying multiple specialized models for a multi-task system is computationally expensive and inefficient.
The obvious solution—training a single multi-task model—faces two major hurdles:
- Data Privacy and Availability: Original datasets and annotations used to train specialized PTMs are often unavailable.
- Task Interference: Simultaneous multi-task learning often leads to "catastrophic forgetting" or task dominance, where one task's gradients degrade the performance of others.
This paper introduces SOKA-Net (Self-coordinated Knowledge Amalgamation Network), a framework designed to distill the expertise of multiple heterogeneous teachers into a single, compact student model using only unlabeled data.
Methodology: SOKA-Net and ACCT
SOKA-Net utilizes a dual-step training strategy called Adaptive Competitive-Collaboration Training (ACCT) to manage task interference and optimize shared representations.
Architecture and Multi-modal Guidance
The student model consists of a shared encoder, acting as a "moderator," and multiple task-specific prediction heads, acting as "competitors." To bridge semantic gaps between disparate tasks, the authors introduce Multi-modal Incorporated Amalgamation (MIA). By selecting an auxiliary teacher model that is mathematically correlated to the target tasks (determined via Representation Dissimilarity Matrices), the student receives additional guidance to help learn more robust shared features.
The ACCT Cycle
The core of SOKA-Net is the iterative ACCT cycle, which alternates between competition and collaboration:
- Competition Step: The shared encoder (moderator) is frozen. Task-specific heads (competitors) compete for resources by minimizing their individual losses based on teacher "soft targets."
- Collaboration Step: The task heads are frozen, and the encoder is updated to find a representation that satisfies all tasks simultaneously.
To further balance learning, the network employs Adaptive Loss Weighting. This gradient-based strategy automatically adjusts the importance of different tasks during training, avoiding the need for manual hyperparameter tuning.
Experimental Setup
The framework was evaluated using the Taskonomy dataset, which contains 4 million indoor images across 26 tasks.
- Training: A subset of approximately 13,700 images was used. Crucially, the training was performed in a label-free manner; only RGB images were used, with teacher model outputs serving as the ground truth.
- Evaluation: A separate validation set of 3,000 images compared the student's performance against the original specialized teachers.
Key Insights
- Competition as a Catalyst: Treating tasks as competitors for encoder features surprisingly improves final collaboration. This alternating optimization helps the model avoid local minima typical in standard multi-task learning.
- The Auxiliary Bridge: Including an auxiliary model acts as a mediator. If two tasks are too semantically distant, a third related task provides the necessary common ground for the student to learn effective shared representations.
- Effective Distillation: The study demonstrates that the collective knowledge of specialized PTMs is a sufficient proxy for original "gold standard" labels.
Results
- Performance: The student model frequently matched or exceeded the performance of its teachers. For instance, in depth estimation, the student achieved a relative error of 1.22, significantly better than the teacher's 1.57.
- Efficiency: The amalgamated student is highly compact. While the teacher pool totaled ~246 million parameters, the student required only ~175 million parameters—a 30% reduction in size.
- Ablation Studies: Removing either MIA (auxiliary guidance) or ACCT (competitive training) resulted in significant performance drops, confirming both are vital to the framework's success.
Limitations and Future Work
While successful, SOKA-Net currently assumes teachers and students share similar architectural families (e.g., encoder-decoder structures). Future work may explore distilling knowledge across heterogeneous architectures, such as from Transformers to CNNs. Additionally, while auxiliary selection is currently metric-driven, automating this discovery process and scaling the framework to dozens of simultaneous tasks remain open research directions.
Summary updated