Introduction
Multi-Task Learning (MTL) aims to solve multiple related tasks simultaneously using a shared model. While computationally efficient, MTL often suffers from task interference, where gradients from different tasks conflict, leading to suboptimal performance compared to single-task models. This paper introduces ETR-NLP, a framework designed to mitigate these conflicts by combining Non-Learnable Primitives (NLPs) with Explicit Task Routing (ETR).
The Problem: Task Interference
Task interference occurs when the optimization objectives of different tasks pull model weights in opposing directions. For instance, Task A might require a weight update to the "left," while Task B requires an update to the "right." This "tug-of-war" results in gradient conflicts that can cause performance degradation as training progresses. Standard approaches, such as loss balancing or implicit parameter sharing, often fail to fully decouple these conflicting signals.
Methodology: ETR-NLP
The proposed ETR-NLP framework addresses interference through two primary architectural innovations:
1. Non-Learnable Primitives (NLPs)
Instead of relying solely on learnable convolutional layers, ETR-NLP utilizes a fixed dictionary of operations—Non-Learnable Primitives. These include average and max pooling, spatial shifts, random perturbations, and convolutions with fixed random weights. By using these non-learnable layers, the model establishes a stable, task-agnostic feature foundation that is immune to task-specific gradient updates in the early stages of the network.
2. Explicit Task Routing (ETR)
The framework explicitly partitions learnable parameters into two distinct branches:
- Shared Branch: Uses $1 \times 1$ convolutions to recombine NLP features for all tasks.
- Task-Specific Branches: Employs dedicated $3 \times 3$ convolutions for each individual task.
A hyperparameter, $\gamma$, regulates the ratio between shared and task-specific parameters, allowing for precise control over the degree of parameter sharing. The authors found that explicitly reserving a small portion of the network for task-specific weights (around 10%, or $\gamma=0.9$) prevents the shared part of the network from being dominated by a single task's gradients.
Experimental Evaluation
The researchers evaluated ETR-NLP on three major benchmarks:
- CelebA: A large-scale face attribute dataset (8-task and 40-task variants).
- Cityscapes: Urban street scene understanding (8 tasks, including semantic segmentation and depth estimation).
- NYU-v2: Indoor scene images used for a 3-task dense prediction problem (segmentation, depth, and surface normals).
Key Results and Insights
ETR-NLP consistently outperformed established baselines like GradNorm, MGDA-UB, and Max Roaming across all datasets:
- Parameter Efficiency: On CelebA (40 tasks), ETR-NLP achieved a higher F-score than the best baseline while using 28.5% fewer learnable parameters (8M vs 11.2M).
- Dense Prediction: On Cityscapes, it improved the mean Intersection over Union (mIoU) for segmentation by +3.56 points over the previous state-of-the-art.
- Scalability: Performance gains became more significant as the number of tasks increased, suggesting the method is highly robust for complex multi-task scenarios.
Conclusion and Future Work
ETR-NLP offers a robust solution to task interference by combining stable feature extraction with explicit parameter partitioning. While the specific combination of NLPs was determined empirically, future work could involve automatically searching for the optimal set of primitives for a given dataset. Additionally, developing more unified training frameworks for diverse task distributions remains a promising direction.
Summary updated