Abstract
Multi-Task Learning (MTL) models often suffer from "task dominance," where one task monopolizes parameter updates and degrades the performance of others. This paper identifies adaptive optimizers as a primary driver of this phenomenon and introduces AdaTask, a task-aware adaptive learning rate method that maintains separate accumulative gradient states per task. By preventing any single task from hijacking the optimizer's learning rate, AdaTask significantly boosts the performance of dominated tasks and achieves state-of-the-art results across vision and recommendation benchmarks.
Introduction
In Multi-Task Learning, a single neural network is trained to perform multiple tasks simultaneously by sharing parameters. A persistent challenge in this field is negative transfer or task dominance, where the gradients of one task overpower the others, causing the model to essentially ignore the weaker tasks. While existing research has focused on re-weighting losses (e.g., GradNorm) or altering gradient directions (e.g., PCGrad), this work identifies a deeper culprit: the stateful nature of adaptive optimizers like Adam, AdaGrad, and RMSProp.
The Role of Adaptive Optimizers in Task Dominance
Adaptive optimizers scale down the learning rate of a parameter based on the sum of its past squared gradients. In an MTL setup, if Task A produces significantly larger gradients than Task B, the shared accumulative gradient state explodes. Consequently, the learning rate plummets for all tasks. This effectively starves Task B of meaningful updates, even if its individual gradients are informative. This mechanism creates a bottleneck where a dominant task inadvertently freezes the learning process for others.
The AdaTask Approach
To address this, the authors propose two main contributions:
- Ratio of Average Updates (rAU): A novel metric to quantify dominance by calculating the ratio of a specific task's exponentially decaying average of squared updates against the total average from all tasks. An rAU near 100% indicates total dominance by a single task.
- AdaTask (Task-Aware Adaptive Learning Rate): Instead of a global accumulative gradient state, AdaTask maintains a separate state for each task. When processing a sample for Task A, the optimizer uses only Task A's specific history to calculate the learning rate. For Adam, this involves separating both the momentum term (numerator) and the accumulative squared gradients (denominator).
To mitigate memory overhead, the authors also introduced LAdaTask, an efficient variant that groups these accumulative gradients by layer rather than individual parameters.
Experimental Results
The authors evaluated AdaTask across several domains, demonstrating its ability to rescue "starved" tasks:
- Synthetic Data: AdaTask achieved a massive Root Mean Square Error (RMSE) reduction of 0.14 on the dominated task compared to an EqualWeight baseline.
- CityScapes: On this computer vision benchmark, AdaTask improved the Absolute Error of the dominated task (Depth Estimation) by 15.78%. When combined with gradient surgery methods like CAGrad, it yielded a 10.59% average per-task improvement.
- Recommender Systems: On the TikTok dataset, AdaTask provided a significant +1.51% AUC lift on the dominated task and achieved the highest overall Weighted AUC among all tested SOTA methods.
- Parameter Balance: Empirically, AdaTask reduced the percentage of heavily dominated parameters in the CityScapes model from 99% in the baseline to just 7%.
Conclusion
AdaTask reveals that task dominance is deeply embedded in the optimization process itself. By decoupling optimizer states, AdaTask ensures that every task maintains a healthy learning rate regardless of the gradient magnitudes of its neighbors. Because it modifies update magnitudes rather than directions, it is fully orthogonal to and compatible with existing gradient surgery techniques, offering a robust new tool for multi-task optimization.
Summary updated