GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networks

Zhao Chen, Vijay Badrinarayanan, Chen-Yu Lee, Andrew Rabinovich
11/7/2017
2,258 citations
cs.CV

No official code found. Best implementation: hosseinshn/GradNorm (184 stars). 1 more below.

Abstract

Deep multitask networks, in which one neural network produces multiple predictive outputs, can offer better speed and performance than their single-task counterparts but are challenging to train properly. We present a gradient normalization (GradNorm) algorithm that automatically balances training in deep multitask models by dynamically tuning gradient magnitudes.

Show full abstract

We show that for various network architectures, for both regression and classification tasks, and on both synthetic and real datasets, GradNorm improves accuracy and reduces overfitting across multiple tasks when compared to single-task networks, static baselines, and other adaptive multitask loss balancing techniques. GradNorm also matches or surpasses the performance of exhaustive grid search methods, despite only involving a single asymmetry hyperparameter $α$. Thus, what was once a tedious search process that incurred exponentially more compute for each task added can now be accomplished within a few training runs, irrespective of the number of tasks. Ultimately, we will demonstrate that gradient manipulation affords us great control over the training dynamics of multitask networks and may be one of the keys to unlocking the potential of multitask learning.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
hosseinshn/GradNormCommunity184–––
ddiyoung-x4/GradNormCommunity9–––

This in my Demo of Chen et al. "GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networks" ICML 2018

18436

This is a demo implementation of GradNorm, Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networks.

92

Similar Papers

Cite this paper

@article{chen2017gradnorm,
  title  = {GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networks},
  author = {Zhao Chen and Vijay Badrinarayanan and Chen-Yu Lee and Andrew Rabinovich},
  year   = {2017},
  eprint = {1711.02257},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.02257}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1711.02257.svg)](https://codeofpaper.com/paper/1711.02257)

Discussion