Bayesian Uncertainty for Gradient Aggregation in Multi-Task Learning

Idan Achituve, Idit Diamant, Arnon Netzer, Gal Chechik, Ethan Fetaya
2/6/2024
cs.LG

No official code found. Best implementation: ssi-research/BayesAgg_MTL (15 stars, Apache-2.0, last commit 2025-05-08). 1 more below.

Abstract

As machine learning becomes more prominent there is a growing demand to perform several inference tasks in parallel. Running a dedicated model for each task is computationally expensive and therefore there is a great interest in multi-task learning (MTL). MTL aims at learning a single model that solves several tasks efficiently. Optimizing MTL models is often achieved by computing a single gradient per task and aggregating them for obtaining a combined update direction. However, these approaches do not consider an important aspect, the sensitivity in the gradient dimensions. Here, we introduce a novel gradient aggregation approach using Bayesian inference. We place a probability distribution over the task-specific parameters, which in turn induce a distribution over the gradients of the tasks. This additional valuable information allows us to quantify the uncertainty in each of the gradients dimensions, which can then be factored in when aggregating them. We empirically demonstrate the benefits of our approach in a variety of datasets, achieving state-of-the-art performance.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Code that accompanies the paper Bayesian Uncertainty for Gradient Aggregation in Multi-Task Learning - Accepted to ICML2024

153PythonFeb 6, 20241 years agoApache-2.0
Apache-2.0

Code that accompanies the paper Bayesian Uncertainty for Gradient Aggregation in Multi-Task Learning

00PythonFeb 1, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{achituve2024bayesian,
  title  = {Bayesian Uncertainty for Gradient Aggregation in Multi-Task Learning},
  author = {Idan Achituve and Idit Diamant and Arnon Netzer and Gal Chechik and Ethan Fetaya},
  year   = {2024},
  eprint = {2402.04005},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.04005v2},
  journal = {ICML 2024 2024}
}

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

Discussion