Skip to main content
QUICK REVIEW

[Paper Review] Variational Multi-Task Learning with Gumbel-Softmax Priors

Jiayi Shen, Xiantong Zhen|arXiv (Cornell University)|Nov 9, 2021
Domain Adaptation and Few-Shot LearningComputer Science9 citations
TL;DR

This paper proposes Variational Multi-Task Learning (VMTL), a probabilistic Bayesian framework that jointly infers task-specific representations and classifiers using Gumbel-Softmax-learned priors to model task relatedness. By conditioning each task's prior on variational posteriors of other tasks via differentiable mixture weights, VMTL enables unified, data-driven knowledge transfer across representations and classifiers, achieving state-of-the-art performance on five multi-task benchmarks with limited data.

ABSTRACT

Multi-task learning aims to explore task relatedness to improve individual tasks, which is of particular significance in the challenging scenario that only limited data is available for each task. To tackle this challenge, we propose variational multi-task learning (VMTL), a general probabilistic inference framework for learning multiple related tasks. We cast multi-task learning as a variational Bayesian inference problem, in which task relatedness is explored in a unified manner by specifying priors. To incorporate shared knowledge into each task, we design the prior of a task to be a learnable mixture of the variational posteriors of other related tasks, which is learned by the Gumbel-Softmax technique. In contrast to previous methods, our VMTL can exploit task relatedness for both representations and classifiers in a principled way by jointly inferring their posteriors. This enables individual tasks to fully leverage inductive biases provided by related tasks, therefore improving the overall performance of all tasks. Experimental results demonstrate that the proposed VMTL is able to effectively tackle a variety of challenging multi-task learning settings with limited training data for both classification and regression. Our method consistently surpasses previous methods, including strong Bayesian approaches, and achieves state-of-the-art performance on five benchmark datasets.

Motivation & Objective

  • To address the challenge of multi-task learning with limited training data per task, where individual models risk overfitting.
  • To enable joint learning of shared representations and classifiers across tasks in a unified probabilistic framework.
  • To model complex, nonlinear task relatedness in a differentiable, data-driven way using learnable priors.
  • To improve generalization by leveraging inductive biases from related tasks through principled uncertainty modeling.
  • To outperform existing Bayesian and deep multi-task learning methods in low-data, few-shot multi-task settings.

Proposed method

  • VMTL formulates multi-task learning as a joint variational inference problem over task-specific representations and classifiers.
  • It introduces conditional priors for each task’s latent variables, where the prior is a learnable mixture of variational posteriors from other related tasks.
  • The mixing weights of the prior mixture are parameterized via the Gumbel-Softmax reparameterization trick, enabling end-to-end backpropagation.
  • The model jointly optimizes the variational posterior parameters and the Gumbel-Softmax temperature and logits for task-related prior selection.
  • Amortized inference (VMTL-AC) is introduced to speed up training by sharing classifier generation across tasks.
  • The framework is applicable to both classification and regression tasks with shared label/target spaces but distinct input domains.

Experimental results

Research questions

  • RQ1Can a unified variational Bayesian framework jointly exploit shared knowledge in representations and classifiers for multi-task learning?
  • RQ2How can task relatedness be modeled in a differentiable, data-driven way to improve performance under low-data regimes?
  • RQ3Does using Gumbel-Softmax to learn mixture priors over other tasks’ posteriors lead to better generalization than fixed or heuristic priors?
  • RQ4Can variational inference with uncertainty modeling outperform point-estimate or heuristic regularization methods in few-shot multi-task learning?
  • RQ5How robust is the proposed method to distribution shifts and adversarial examples in low-data settings?

Key findings

  • VMTL achieves state-of-the-art performance across five multi-task learning benchmarks, consistently outperforming strong Bayesian and deep learning baselines.
  • On the most challenging 5% training data split, VMTL achieves a 25.2% accuracy on the CUB-200-2011 dataset, significantly outperforming the next-best method (20.6%).
  • VMTL-AC achieves faster convergence than VMTL due to amortized inference, while maintaining competitive performance.
  • The model demonstrates robustness against adversarial attacks, likely due to the use of mean feature representations in classifier generation.
  • On the Rotated MNIST regression task, VMTL and VMTL-AC achieve the lowest average NMSE, with VMTL at 17.1 ± 0.1 and VMTL-AC at 17.5 ± 0.1.
  • VMTL surpasses even Bayesian methods like Bakker et al. [4] and point-estimate methods like Long et al. [36], demonstrating the advantage of variational inference with uncertainty modeling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.