NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Consistent Multi-Task Learning: Unlocking the Potential of Task-Specific Parameters

Xiaohan Qin, Xiaoxing Wang, Junchi YanCVPR 2025

Abstract

Multi-Task Learning (MTL) often suffers from "gradient conflicts," where competing task objectives pull the model in opposing directions, hindering the optimization of shared parameters. While traditional methods focus on weighting losses or projecting gradients within the shared backbone, they frequently overlook the active role of task-specific parameters. This paper introduces ConsMTL, a framework that treats MTL as a bi-level optimization problem. By introducing an alignment loss for task-specific "heads," ConsMTL actively steers task gradients toward a unified update direction. Experimental results across computer vision and chemistry benchmarks demonstrate that ConsMTL consistently outperforms existing methods and often surpasses single-task baselines.

Introduction: The Gradient "Tug-of-War"

In Multi-Task Learning, a single model architecture is trained to perform multiple tasks simultaneously, such as semantic segmentation and depth estimation from a single image. While computationally efficient, this approach typically leads to gradient conflicts: Task A may require a parameter update in one direction, while Task B demands the opposite. This "tug-of-war" results in suboptimal performance, often failing to reach the accuracy of individual models trained on single tasks (Single-Task Learning, or STL).

Existing solutions generally attempt to find a compromise by adjusting loss weights or mathematically projecting gradients. However, these methods treat task-specific parameters—the "heads" of the network—as passive components. ConsMTL posits that these parameters are actually "steering wheels" that determine how task-specific information flows back into the shared representation.

Methodology: Consistent Multi-Task Learning (ConsMTL)

ConsMTL addresses gradient conflict through a bi-level optimization strategy designed to achieve global consistency.

Comparison of Multi-Task Learning paradigms: Gradient-Based, Loss-Based, and the proposed ConsMTL.

Bi-Level Optimization

The framework operates on two distinct levels:

  1. Upper-Level Optimization (The Strategy): The model calculates a joint update vector ($d$) for the shared parameters ($\theta_s$) by aggregating gradients from all $k$ tasks. This vector is optimized to minimize conflicts and ensure balanced learning across tasks.
  2. Lower-Level Optimization (The Alignment): Unlike traditional methods, ConsMTL introduces an "extra loss" ($l_i^{extra}$) for task-specific parameters ($\theta_i$). This loss encourages the task-specific heads to adjust themselves so that the gradients they send back to the shared trunk align more closely with the joint update vector ($d$) established in the upper level.

Efficiency via Representation

To avoid the computational explosion typically associated with bi-level optimization in deep learning, the authors apply the chain rule to focus on the shared representation ($z$) rather than the entire parameter set $\theta_s$. This optimization makes ConsMTL nearly as fast as standard gradient-based methods while providing the benefits of sophisticated task alignment.

Experimental Evaluation

The researchers evaluated ConsMTL on four diverse benchmarks: NYUv2 (indoor scene understanding), Cityscapes (street-view analysis), CelebA (40-task facial attribute classification), and QM9 (molecular property regression).

Evolution of task consistency across training epochs, demonstrating how ConsMTL aligns task gradients over time.

Key Results

  • Breaking the STL Barrier: On the NYUv2 benchmark, ConsMTL was the only method to outperform the Single-Task Learning baseline across all three tasks simultaneously. Usually, MTL models perform slightly worse than individual models on at least one task; ConsMTL broke this trend.
  • Domain Versatility: In the chemistry domain (QM9), ConsMTL reduced the performance gap compared to STL by over 30% relative to previous state-of-the-art methods.
  • Scalability: On the 40-task CelebA dataset, ConsMTL achieved the best Mean Rank and was the only method to show a negative performance drop, indicating that multi-tasking actually improved individual task performance while remaining memory-efficient.

Conclusion

ConsMTL shifts the focus of Multi-Task Learning from simple compromise to active alignment. By leveraging task-specific parameters as active participants in the optimization process, the framework resolves gradient conflicts more effectively than methods that focus solely on shared weights. While hyperparameter tuning for the alignment strength ($\lambda$) remains a consideration, the consistent performance gains across varied domains highlight the potential of task-specific parameter optimization in building robust multi-task models.

Summary updated

BibTeX
@inproceedings{qin2025towards,
  author = {Xiaohan Qin and Xiaoxing Wang and Junchi Yan},
  title = {{Towards Consistent Multi-Task Learning: Unlocking the Potential of Task-Specific Parameters}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00941},
}
Figure