Introduction
Multi-Task Learning (MTL) enables a single model to perform multiple tasks simultaneously, such as semantic segmentation and depth estimation. However, the core challenge remains "gradient conflict," where the optimization direction for one task may degrade the performance of another. While naive gradient averaging is common, it often leads to sub-optimal results. Previous attempts to resolve this, such as CAGrad or MGDA, often introduce rigid constraints or computational complexities that do not scale well to modern, large-scale neural networks.
CONICGRAD: A Geometric Solution
The authors introduce CONICGRAD, an optimization strategy that resolves task conflicts by confining update vectors within a geometric "cone" centered on the average task gradient.
The Angular Constraint
Unlike previous methods that restrict updates within a Euclidean "ball," CONICGRAD utilizes an angular constraint. This ensures the final update vector $d$ remains within a specific angle relative to the average gradient $g_0$. This geometric approach provides the optimizer with more "breathing room," allowing the update to vary in magnitude and direction while remaining aligned with the overall objective. This flexibility prevents the model from becoming over-constrained, leading to faster convergence.
Scalability via the SMW Formula
A major breakthrough of CONICGRAD is its computational efficiency. Solving constrained optimization problems typically requires inverting large matrices proportional to the number of model parameters. CONICGRAD leverages the Sherman-Morrison-Woodbury (SMW) formula to transform these high-dimensional inversions into simple scalar calculations. This allows the method to scale to models with millions or billions of parameters in nearly constant time relative to model size.
Key Insights: Global vs. Pareto Optima
While many popular MTL methods (e.g., FAMO, MGDA) only guarantee reaching a "Pareto-stationary" point—where one task cannot be improved without hurting another—CONICGRAD is designed to find the global optimum of the combined loss. By incorporating the reference gradient $g_0$, it ensures the optimization path remains focused on the primary objective while balancing individual task needs.
Experimental Results
CONICGRAD demonstrates state-of-the-art (SOTA) performance across several challenging benchmarks:
- NYUv2 & CityScapes: On the NYUv2 indoor scene dataset, CONICGRAD achieved a leading performance improvement ($\Delta m\%$) of -5.13, outperforming NashMTL and CAGrad.
- Large-Scale Classification: On the CelebA dataset, which involves 40 different facial attribute tasks, CONICGRAD achieved the best Mean Rank (4.0) and minimized the performance drop relative to single-task baselines.
- Robotics: In the MetaWorld MT10 reinforcement learning environment, it reached a success rate of 0.89, nearly matching the 0.90 "skyline" performance of ten separate task-specific models.
- Efficiency: Convergence speed plots confirm that CONICGRAD reaches global minima significantly faster than existing gradient surgery methods.
Conclusion and Future Work
CONICGRAD proves that sophisticated gradient balancing can be both theoretically sound and practically scalable. The primary limitation is the reliance on a fixed hyperparameter $c$ for the cone width. Future research will explore dynamic adaptation of this angle during training to further accelerate convergence and eliminate the need for manual tuning.
Summary updated