RotoGrad: Gradient Homogenization in Multitask Learning
Adrián Javaloy, Isabel Valera
Abstract
Multitask learning is being increasingly adopted in applications domains like computer vision and reinforcement learning. However, optimally exploiting its advantages remains a major challenge due to the effect of negative transfer. Previous works have tracked down this issue to the disparities in gradient magnitudes and directions across tasks when optimizing the shared network parameters. While recent work has acknowledged that negative transfer is a two-fold problem, existing approaches fall short. These methods only focus on either homogenizing the gradient magnitude across tasks; or greedily change the gradient directions, overlooking future conflicts. In this work, we introduce RotoGrad, an algorithm that tackles negative transfer as a whole: it jointly homogenizes gradient magnitudes and directions, while ensuring training convergence. We show that RotoGrad outperforms competing methods in complex problems, including multi-label classification in CelebA and computer vision tasks in the NYUv2 dataset. A Pytorch implementation can be found in https://github.com/adrianjav/rotograd .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
54 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Representation Surgery for Multi-Task Model Merging cites Gradient Surgery for Multi-Task Learning
- Representation Surgery for Multi-Task Model Merging cites Conflict-Averse Gradient Descent for Multi-task learning
- Direction-oriented Multi-objective Learning: Simple and Provable Stochastic Algorithms cites Gradient Surgery for Multi-Task Learning
- Direction-oriented Multi-objective Learning: Simple and Provable Stochastic Algorithms cites On the Convergence of Stochastic Multi-Objective Gradient Manipulation and Beyond
- Direction-oriented Multi-objective Learning: Simple and Provable Stochastic Algorithms cites Conflict-Averse Gradient Descent for Multi-task learning
- In Defense of the Unitary Scalarization for Deep Multi-Task Learning cites Gradient Surgery for Multi-Task Learning
- In Defense of the Unitary Scalarization for Deep Multi-Task Learning cites Conflict-Averse Gradient Descent for Multi-task learning
- On the Convergence of Stochastic Multi-Objective Gradient Manipulation and Beyond cites Gradient Surgery for Multi-Task Learning
- On the Convergence of Stochastic Multi-Objective Gradient Manipulation and Beyond cites Conflict-Averse Gradient Descent for Multi-task learning
- ForkMerge: Mitigating Negative Transfer in Auxiliary-Task Learning cites Which Tasks Should Be Learned Together in Multi-task Learning?
- ForkMerge: Mitigating Negative Transfer in Auxiliary-Task Learning cites Gradient Surgery for Multi-Task Learning
- ForkMerge: Mitigating Negative Transfer in Auxiliary-Task Learning cites In Defense of the Unitary Scalarization for Deep Multi-Task Learning
- ForkMerge: Mitigating Negative Transfer in Auxiliary-Task Learning cites Conflict-Averse Gradient Descent for Multi-task learning
- Conflict-Averse Gradient Descent for Multi-task learning cites Gradient Surgery for Multi-Task Learning
Cited by top-tier papers54
- Representation Surgery for Multi-Task Model MergingEnneng Yang, Li Shen, Zhenyi Wang, Guibing Guo et al.ICML 2024 · 96 citations
- In Defense of the Unitary Scalarization for Deep Multi-Task LearningVitaly Kurin, Alessandro De Palma, Ilya Kostrikov, Shimon Whiteson et al.NeurIPS 2022 · 96 citations
- On the Convergence of Stochastic Multi-Objective Gradient Manipulation and BeyondShiji Zhou, Wenpeng Zhang, Jiyan Jiang, Wenliang Zhong et al.NeurIPS 2022 · 66 citations
- ForkMerge: Mitigating Negative Transfer in Auxiliary-Task LearningJunguang Jiang, Baixu Chen, Junwei Pan, Ximei Wang et al.NeurIPS 2023 · 55 citations
- Direction-oriented Multi-objective Learning: Simple and Provable Stochastic AlgorithmsPeiyao Xiao, Hao Ban, Kaiyi JiNeurIPS 2023 · 46 citations
Builds on14
- Gradient Surgery for Multi-Task LearningTianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine et al.NeurIPS 2020 · 2,261 citations
- On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen et al.ICLR 2020 · 2,210 citations
- Conflict-Averse Gradient Descent for Multi-task learningBo Liu, Xingchao Liu, Xiaojie Jin, Peter Stone et al.NeurIPS 2021 · 686 citations
- Which Tasks Should Be Learned Together in Multi-task Learning?Trevor Standley, Amir Zamir, Dawn Chen, Leonidas J. Guibas et al.ICML 2020 · 651 citations
- What is Local Optimality in Nonconvex-Nonconcave Minimax Optimization?Chi Jin, Praneeth Netrapalli, Michael I. JordanICML 2020 · 381 citations
Related papers
- Towards Task-Conflicts Momentum-Calibrated Approach for Multi-task LearningHeyan Chai, Zeyu Liu, Yongxin Tong, Ziyi Yao et al.ICDE 2024 · 5 citations
- Fair Resource Allocation in Multi-Task LearningHao Ban, Kaiyi JiICML 2024 · 41 citations
- Learning Conflict-Noticed Architecture for Multi-Task LearningZhixiong Yue, Yu Zhang, Jie LiangAAAI 2023 · 9 citations
- TaskForce: Cooperative Multi-agent Reinforcement Learning for Multi-task OptimizationWonhyeok Choi, Kyumin Hwang, Jihun Park, Kyoungmin Lee et al.CVPR 2026
- Towards Consistent Multi-Task Learning: Unlocking the Potential of Task-Specific ParametersXiaohan Qin, Xiaoxing Wang, Junchi YanCVPR 2025
