Analytical Uncertainty-Based Loss Weighting in Multi-Task Learning

Lukas Kirchdorfer, Cathrin Elich, Simon Kutsche, Heiner Stuckenschmidt, Lukas Schott +1 more
8/15/2024
cs.LGcs.AIcs.CV

No confident code implementation found for this paper.

Abstract

With the rise of neural networks in various domains, multi-task learning (MTL) gained significant relevance. A key challenge in MTL is balancing individual task losses during neural network training to improve performance and efficiency through knowledge sharing across tasks. To address these challenges, we propose a novel task-weighting method by building on the most prevalent approach of Uncertainty Weighting and computing analytically optimal uncertainty-based weights, normalized by a softmax function with tunable temperature. Our approach yields comparable results to the combinatorially prohibitive, brute-force approach of Scalarization while offering a more cost-effective yet high-performing alternative. We conduct an extensive benchmark on various datasets and architectures. Our method consistently outperforms six other common weighting methods. Furthermore, we report noteworthy experimental findings for the practical application of MTL. For example, larger networks diminish the influence of weighting methods, and tuning the weight decay has a low impact compared to the learning rate.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kirchdorfer2024analytical,
  title  = {Analytical Uncertainty-Based Loss Weighting in Multi-Task Learning},
  author = {Lukas Kirchdorfer and Cathrin Elich and Simon Kutsche and Heiner Stuckenschmidt and Lukas Schott and Jan M. Köhler},
  year   = {2024},
  eprint = {2408.07985},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.07985v1}
}

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

Discussion