TL;DR
This paper introduces "Safe Multi-Task Learning" (MTL), a framework that guarantees MTL models perform at least as well as single-task models on each task, addressing the issue of "negative sharing." They propose the Deep Safe Multi-Task Learning (DSMTL) model with novel learning strategies and an architecture learning extension (DSMTL-AL) to achieve this safety, demonstrating strong empirical results on benchmark datasets.
What Problem Does This Paper Address?
Multi-Task Learning (MTL) aims to improve performance across multiple tasks by sharing knowledge between them. While often effective, existing MTL models can sometimes hurt the performance of individual tasks compared to training each task in isolation. This phenomenon, termed "negative sharing," is a significant drawback, as it introduces risk and undermines the core benefit of MTL. The paper formally defines this problem and proposes "safe multi-task learning" as a desirable property where no task's performance is degraded. The challenge lies in developing MTL methods that can guarantee this safety, especially given the complexity of task relationships and the difficulty of directly measuring generalization performance during training.
Methods
The core contribution is the Deep Safe Multi-Task Learning (DSMTL) model. Its architecture features a shared "public encoder" and task-specific "private encoders," combined via a "gate" mechanism. This allows for flexible knowledge sharing. Two learning strategies are proposed:
- DSMTL-IL (Individual Learning): A two-stage approach where private encoders are trained first as single-task models, followed by learning the shared encoder and gates. This strategy is theoretically proven to achieve individually safe multi-task learning.
- DSMTL-JL (Joint Learning): All parameters (public encoder, private encoders, and gates) are trained jointly in an end-to-end fashion. This is theoretically shown to achieve average safe multi-task learning.
To address scalability issues with a large number of tasks, they introduce DSMTL-AL (Architecture Learning). This extension uses neural architecture search to learn a more compact architecture by dynamically determining where to switch from the public to private encoders, effectively pruning unnecessary modules.
The paper also introduces formal definitions for "negative sharing," "safe multi-task learning," and empirically and probabilistically safe multi-task learning, providing a theoretical foundation for their work.
Datasets
The proposed models were evaluated on four widely-used multi-task computer vision datasets:
- CityScapes: For semantic segmentation and depth estimation.
- NYUv2: For semantic segmentation, depth estimation, and surface normal prediction.
- PASCAL-Context: For semantic segmentation, human parts segmentation, saliency estimation, and surface normal estimation.
- Taskonomy: For semantic segmentation, depth estimation, keypoint detection, edge detection, and surface normal prediction.
Key Insights and Ideas
- Formalizing "Negative Sharing": Defining negative sharing and safe MTL provides a clear objective and theoretical grounding for developing better MTL methods.
- Guaranteed Safety: The DSMTL-IL and DSMTL-JL models offer theoretical guarantees of achieving safe multi-task learning, a significant step beyond empirical observations.
- Architecture Learning for Scalability: DSMTL-AL addresses a critical limitation of MTL by learning efficient, task-specific architectures, improving scalability without sacrificing performance.
- Task Relationship Matters: The learned gate parameters and architecture choices in DSMTL-AL implicitly reveal task relationships, showing that some tasks benefit more from shared features than others.
- Learnable Gates are Crucial: Ablation studies highlight the importance of learnable gates for achieving both performance and safety.
Key Results
- Empirical Safeness: The proposed DSMTL-IL, DSMTL-JL, and DSMTL-AL models consistently achieve safe multi-task learning across all tested datasets, meaning they do not degrade performance on any task compared to single-task learning.
- Performance Improvement: DSMTL-AL often outperforms other methods, including baselines and its own variants (DSMTL-IL, DSMTL-JL), in terms of the overall performance metric (Δ₁). For example, on CityScapes, DSMTL-AL achieved the best Δ₁.
- Scalability: DSMTL-AL demonstrates significantly smaller model sizes compared to DSMTL-IL and DSMTL-JL, especially for datasets with many tasks, showcasing its improved scalability.
- Theoretical Guarantees: The paper provides theoretical proofs showing that DSMTL-IL and DSMTL-JL can achieve empirically and probabilistically safe multi-task learning under certain assumptions.
Limitations and Future Work
- Theoretical Assumptions: The theoretical guarantees for safeness rely on specific assumptions about the hypothesis classes and loss functions, which might not always hold in practice.
- Computational Cost: While DSMTL-AL improves scalability, the architecture search process itself can be computationally intensive. Methods like PCGrad and CAGrad, used in combination with DSMTL, also introduce significant computational overhead.
- Future Work: The authors suggest generalizing DSMTL methods to other learning problems beyond computer vision tasks. They also hint at exploring combinations with various loss weighting strategies, though their initial experiments showed mixed results.
Summary updated