Lune

ICML2024Top-tier venue

Bayesian Uncertainty for Gradient Aggregation in Multi-Task Learning

Idan Achituve, Idit Diamant, Arnon Netzer, Gal Chechik, Ethan Fetaya

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 first computing a single gradient per task and then aggregating the gradients for obtaining a combined update direction. However, this approach 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Adaptive Task Balancing for Visual Instruction Tuning via Inter-Task Contribution and Intra-Task Difficulty cites Conflict-Averse Gradient Descent for Multi-task learning
  • MTL-UE: Learning to Learn Nothing for Multi-Task Learning cites Gradient Surgery for Multi-Task Learning
  • CGU-Bayes: Causal Graph Uncertainty-Guided Bayesian Inference for Domain Generalization cites Distributionally Robust Neural Networks
  • LexTempus: Enhancing Temporal Generalizability of Legal Language Models Through Dynamic Mixture of Experts cites Merging Models with Fisher-Weighted Averaging
  • Conflict-Averse Gradient Descent for Multi-task learning cites Gradient Surgery for Multi-Task Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Adaptive Task Balancing for Visual Instruction Tuning via Inter-Task Contribution and Intra-Task DifficultyYanqi Dai, Yong Wang, Zebin You, Dong Jing et al.WWW 2026 · 4 citations
  2. LexTempus: Enhancing Temporal Generalizability of Legal Language Models Through Dynamic Mixture of ExpertsT. Y. S. S. Santosh, Tuan-Quang VuongACL 2025 · 1 citation
  3. MTL-UE: Learning to Learn Nothing for Multi-Task LearningYi Yu, Song Xia, Siyuan Yang, Chenqi Kong et al.ICML 2025
  4. COPER: Correlation-based Permutations for Multi-View ClusteringRan Eisenberg, Jonathan Svirsky, Ofir LindenbaumICLR 2025
  5. CGU-Bayes: Causal Graph Uncertainty-Guided Bayesian Inference for Domain GeneralizationNaiyu Yin, Hanjing Wang, Yue Yu, Tian Gao et al.CVPR 2026

Builds on27

  1. Gradient Surgery for Multi-Task LearningTianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine et al.NeurIPS 2020 · 2,261 citations
  2. Distributionally Robust Neural NetworksShiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, Percy LiangICLR 2020 · 1,578 citations
  3. Bayesian Deep Learning and a Probabilistic Perspective of GeneralizationAndrew Gordon Wilson, Pavel IzmailovNeurIPS 2020 · 845 citations
  4. Merging Models with Fisher-Weighted AveragingMichael Matena, Colin RaffelNeurIPS 2022 · 741 citations
  5. Conflict-Averse Gradient Descent for Multi-task learningBo Liu, Xingchao Liu, Xiaojie Jin, Peter Stone et al.NeurIPS 2021 · 686 citations

Related papers

  1. Bayesian Context Aggregation for Neural ProcessesMichael Volpp, Fabian Flürenbrock, Lukas Großberger, Christian Daniel et al.ICLR 2021 · 36 citations
  2. Multi-Task Learning as a Bargaining GameAviv Navon, Aviv Shamsian, Idan Achituve, Haggai Maron et al.ICML 2022 · 243 citations
  3. Towards Consistent Multi-Task Learning: Unlocking the Potential of Task-Specific ParametersXiaohan Qin, Xiaoxing Wang, Junchi YanCVPR 2025
  4. Variational Multi-Task Learning with Gumbel-Softmax PriorsJiayi Shen, Xiantong Zhen, Marcel Worring, Ling ShaoNeurIPS 2021 · 42 citations
  5. Task Diversity in Bayesian Federated Learning: Simultaneous Processing of Classification and RegressionJunliang Lyu, Yixuan Zhang, Xiaoling Lu, Feng ZhouKDD 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines