Regularizing Deep Multi-Task Networks using Orthogonal Gradients

Mihai Suteu, Yike Guo
12/14/2019
cs.LGstat.ML

Official code: shaohua0116/MultiDigitMNIST (104 stars, Python, MIT, last commit 2021-07-02).

Abstract

Deep neural networks are a promising approach towards multi-task learning because of their capability to leverage knowledge across domains and learn general purpose representations. Nevertheless, they can fail to live up to these promises as tasks often compete for a model's limited resources, potentially leading to lower overall performance.

Show full abstract

In this work we tackle the issue of interfering tasks through a comprehensive analysis of their training, derived from looking at the interaction between gradients within their shared parameters. Our empirical results show that well-performing models have low variance in the angles between task gradients and that popular regularization methods implicitly reduce this measure. Based on this observation, we propose a novel gradient regularization term that minimizes task interference by enforcing near orthogonal gradients. Updating the shared parameters using this property encourages task specific decoders to optimize different parts of the feature extractor, thus reducing competition. We evaluate our method with classification and regression tasks on the multiDigitMNIST, NYUv2 and SUN RGB-D datasets where we obtain competitive results.

View on arXivView PDF

Code Implementations(1)

MIT

Combine multiple MNIST digits to create datasets with 100/1000 classes for few-shot learning/meta-learning

10418PythonMay 4, 20195 years agoMIT
datasetfew-shot-learningimage-classificationmeta-learningmnist+1 more

Similar Papers

Cite this paper

@article{suteu2019regularizing,
  title  = {Regularizing Deep Multi-Task Networks using Orthogonal Gradients},
  author = {Mihai Suteu and Yike Guo},
  year   = {2019},
  eprint = {1912.06844},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.06844}
}

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/1912.06844.svg)](https://codeofpaper.com/paper/1912.06844)

Discussion