Abstract
Multi-Task Learning (MTL) aims to train a single model to perform multiple tasks simultaneously, yet it frequently encounters "negative transfer," where task-specific gradients conflict and degrade overall performance. Traditional optimization strategies focus on gradient surgery or loss weighting within the shared backbone, often neglecting the interaction between shared features and task-specific heads. This paper presents a novel optimization strategy: Selective Task Group Updates. By introducing a metric called proximal inter-task affinity, the method dynamically clusters compatible tasks and updates them sequentially within each training batch. Experimental results on major benchmarks like Taskonomy demonstrate that this approach significantly outperforms existing state-of-the-art methods while maintaining computational efficiency and training stability.
Introduction
In modern deep learning, the efficiency of Multi-Task Learning (MTL) is highly desirable for complex systems such as autonomous driving or multi-modal assistants. However, the primary bottleneck remains negative transfer—the phenomenon where learning one task actively interferes with the optimization of another. While existing research has largely focused on balancing task losses or projecting gradients in the shared backbone, these methods often overlook the critical role of task-specific parameters (the "heads").
This research argues that the shared backbone and task-specific heads influence each other throughout the training process. Consequently, balancing the shared space without considering the learning state of individual heads is insufficient. To address this, the authors propose a strategy that groups tasks based on their mutual compatibility and updates these groups sequentially, providing a cleaner learning signal for both shared and specialized features.
Methodology
Proximal Inter-Task Affinity
Traditional task affinity measures—which quantify how much an update for one task benefits another—are often computationally prohibitive for large-scale models. The authors introduce proximal inter-task affinity, a metric that accounts for updates to both shared and task-specific parameters. This metric can be tracked efficiently during the standard training flow, allowing the model to gauge task compatibility in real-time without the heavy overhead of exhaustive gradient comparisons.
Adaptive Grouping and Sequential Updating
Using the proximal affinity metric, the algorithm dynamically clusters tasks into $M$ groups. Tasks with positive affinity (those that "help" each other) are grouped together. Unlike standard MTL, which updates all tasks simultaneously (jointly), this method employs Sequential Updating within each training batch:
- A forward and backward pass is performed for the first task group.
- The model parameters (both shared and specific) are updated.
- The process repeats for the subsequent groups using the updated parameters.
This sequential approach allows the network to better discern superior task-specific parameters and accommodate specialized information that might otherwise be washed out in a joint update.
Experimental Setup
The proposed method was evaluated across three standard computer vision benchmarks using Vision Transformer (ViT) architectures (ViT-S, ViT-B, and ViT-L):
- NYUD-v2: 4 indoor vision tasks including depth estimation and semantic segmentation.
- PASCAL-Context: 5 outdoor vision tasks including saliency detection and human parts estimation.
- Taskonomy: A large-scale dataset featuring 11 distinct tasks, ranging from 2D/3D keypoints to surface normals.
Results and Discussion
Performance and Scalability
On the rigorous Taskonomy benchmark, the Selective Task Group Updates method achieved a performance metric ($\Delta_m$) of -1.42. This represents a substantial improvement over standard Stochastic Gradient Descent (-8.65) and outperforms modern state-of-the-art optimizers such as Aligned-MTL (-6.22) and FAMO (-7.58). The method proved robust across different backbone sizes and batch configurations, demonstrating its scalability to high-capacity models.
Stability and Efficiency
Many complex MTL optimizers, such as MGDA or Nash-MTL, often struggle with convergence on large-scale datasets. In contrast, the proposed method showed remarkably stable convergence. Furthermore, while sequential updates require multiple passes per batch, the method avoids the quadratic mathematical overhead associated with "gradient surgery" techniques like PCGrad. This makes it faster and more memory-efficient than many existing gradient-based solutions.
The Importance of Task Heads
A key insight from this work is that the interaction between the backbone and task-specific heads is a primary site of negative transfer. By allowing groups to update sequentially, the model provides a more specialized environment for task heads to thrive without being compromised by conflicting gradients from incompatible tasks.
Conclusion
Selective Task Group Updates offer a smarter way to manage the complexities of Multi-Task Learning. By moving away from joint updates and utilizing proximal inter-task affinity for adaptive grouping, the method mitigates negative transfer more effectively than traditional backbone-centric approaches. Future research may explore the application of this sequential grouping strategy to multi-modal settings involving vision, text, and audio, where task divergence is even more pronounced.
Summary updated