SLAW: Scaled Loss Approximate Weighting for Efficient Multi-Task Learning

Michael Crawshaw, Jana Košecká
9/16/2021
cs.LG

Official code: mtcrawshaw/meta (12 stars, Python, MIT, last commit 2022-02-07).

Abstract

Multi-task learning (MTL) is a subfield of machine learning with important applications, but the multi-objective nature of optimization in MTL leads to difficulties in balancing training between tasks. The best MTL optimization methods require individually computing the gradient of each task's loss function, which impedes scalability to a large number of tasks.

Show full abstract

In this paper, we propose Scaled Loss Approximate Weighting (SLAW), a method for multi-task optimization that matches the performance of the best existing methods while being much more efficient. SLAW balances learning between tasks by estimating the magnitudes of each task's gradient without performing any extra backward passes. We provide theoretical and empirical justification for SLAW's estimation of gradient magnitudes. Experimental results on non-linear regression, multi-task computer vision, and virtual screening for drug discovery demonstrate that SLAW is significantly more efficient than strong baselines without sacrificing performance and applicable to a diverse range of domains.

View on arXivView PDF

Code Implementations(1)

mtcrawshaw/metaOfficial100%
MIT

A library for multi-task learning and meta-learning.

120PythonJan 20, 20204 years agoMIT

Similar Papers

Cite this paper

@article{crawshaw2021slaw,
  title  = {SLAW: Scaled Loss Approximate Weighting for Efficient Multi-Task Learning},
  author = {Michael Crawshaw and Jana Košecká},
  year   = {2021},
  eprint = {2109.08218},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.08218}
}

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

Discussion