TL;DR
This paper introduces Rep-MTL, a novel multi-task learning (MTL) approach that focuses on the shared representation space to improve performance. By analyzing "task saliency" – how much each task's loss influences the shared representation – Rep-MTL mitigates negative transfer and enhances positive task complementarity, achieving state-of-the-art results on several benchmarks.
What Problem Does This Paper Address?
Multi-Task Learning (MTL) aims to improve model generalization and efficiency by training a single model on multiple related tasks simultaneously. The core idea is that tasks can share knowledge, leading to better representations than training each task in isolation. However, a major challenge in MTL is "negative transfer," where learning one task can actually hurt the performance on another, especially when tasks are not perfectly correlated. Existing methods primarily focus on optimizing the gradients or losses to resolve these conflicts. This paper argues that these approaches overlook the rich information available within the shared representation space itself, where task interactions naturally occur. They propose that by directly analyzing and regulating this space, we can more effectively manage task conflicts and, crucially, explicitly foster beneficial inter-task complementarity, which has been largely left to the architecture design rather than the optimization process.
Methods
Rep-MTL introduces two novel modules that operate on the shared representation space:
- Task-specific Saliency Regulation (TSR): This module quantifies "task saliency" by measuring how task-specific gradients influence the shared representation. It then uses an entropy-based regularization to penalize high-entropy saliency distributions. The goal is to encourage task-specific patterns to remain distinct, thereby mitigating negative transfer by ensuring individual tasks are trained effectively.
- Cross-Task Saliency Alignment (CSA): This module explicitly promotes inter-task complementarity. It leverages the idea that similar patterns in task saliencies across different tasks indicate shared information that can benefit multiple tasks. CSA aligns these "sample-wise saliencies" using a contrastive learning paradigm, treating similar saliency patterns from the same sample across tasks as positive pairs and those from different samples as negative pairs. This encourages the model to learn representations that are useful for multiple tasks simultaneously.
Rep-MTL is designed as a regularization method, meaning it can be easily integrated with existing MTO strategies and network architectures without requiring significant modifications.
Datasets
The paper evaluates Rep-MTL on four challenging benchmarks:
- NYUv2 [59]: A 3-task indoor scene understanding dataset (semantic segmentation, depth estimation, surface normal prediction).
- Cityscapes [11]: A 2-task urban scene understanding dataset (semantic segmentation, depth estimation).
- Office-31 [52]: A 3-domain image classification dataset.
- Office-Home [62]: A 4-domain image classification dataset.
The authors follow established benchmark settings and use the DeepLabV3+ architecture for scene understanding tasks and ResNet18 for image classification.
Key Insights and Ideas
- Representation Space is Key: The paper's central insight is that the shared representation space, not just gradients or losses, holds crucial information for effective MTL. Directly analyzing and regulating this space offers a new avenue for MTO.
- Task Saliency as a Diagnostic Tool: Quantifying task saliency provides a way to understand how different tasks interact within the shared representation, offering insights beyond simple loss scaling or gradient manipulation.
- Beyond Conflict Resolution: Rep-MTL moves beyond solely resolving task conflicts. TSR actively preserves individual task learning, while CSA explicitly fosters positive inter-task complementarity, addressing both sides of the MTL challenge.
- Power Law Exponent Analysis: The use of Power Law (PL) exponent analysis provides a deeper, theoretically grounded understanding of how different MTO methods affect model training. It reveals that Rep-MTL leads to better-trained backbones (indicating effective shared learning) and more balanced task-specific heads (indicating successful individual task training and reduced negative transfer).
Key Results
- Competitive Performance: Rep-MTL achieves competitive performance gains across all tested benchmarks, often outperforming existing state-of-the-art (SOTA) methods, even when used with a simple Equal Weighting (EW) policy.
- Improved Efficiency: Rep-MTL is shown to be more efficient than many gradient manipulation methods, being approximately 26% faster than Nash-MTL and 12% faster than FairGrad on NYUv2.
- Mitigating Negative Transfer: On challenging benchmarks like NYUv2 and Cityscapes, where many baselines show negative performance gains, Rep-MTL consistently achieves positive improvements. For example, on NYUv2, Rep-MTL (EW) shows significant gains of +3.48 in Aptask and +4.8 in Apmetric compared to the baseline EW.
- Enhanced Complementarity: PL exponent analysis on NYUv2 shows Rep-MTL yields a superior PL exponent for shared parameters (indicating better shared learning) and lower, more balanced exponents for task-specific decoders (indicating effective individual task training and reduced negative transfer).
Limitations and Future Work
- Computational Overhead: While more efficient than some gradient manipulation methods, Rep-MTL does require increased runtime due to gradient computation for saliency.
- Hyperparameter Sensitivity: The paper notes that Rep-MTL is relatively robust to hyperparameter settings (Atsr, Acsa), maintaining positive gains across a range of values, which is crucial for practical deployment.
- Future Work: The authors suggest that the explicit design for exploiting inter-task complementarity in MTO, as demonstrated by CSA, has significant potential and remains an under-explored area. Further research into more sophisticated saliency-based regularization and alignment techniques could yield even greater improvements.
Summary updated