Papers › Variational Multi-Task Learning with Gumbel-Softmax Priors

Variational Multi-Task Learning with Gumbel-Softmax Priors

9 Nov 2021NeurIPS 2021 12arXiv:2111.05323archive 2025-07-28

Jiayi Shen, XianTong Zhen, Marcel Worring, Ling Shao

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2111.05323")

Code

Syntology Ran 7 of 13 code samples harvested from 2 repositories linked to this paper; 6 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 3 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 6 ran; found in paper text by Syntology: 4 samples from 1 repository, 0 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

autumn9999/vmtl officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 7 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
3ran
6unverified

Licence: 13 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

gumbel_softmax autumn9999/vmtl/model_vmtl.py official repository ran · our draft was wrong no licence file found · pointer only · ad6724b21272b7b3 · report
gumbel_softmax_sample autumn9999/vmtl/model_vmtl.py official repository ran · our draft was wrong no licence file found · pointer only · 09ef8173e6e07e61 · report
kl_criterion_softplus autumn9999/vmtl/model_vmtl.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 8035cf57b4b550f8 · report
task_shared_network autumn9999/vmtl/model_vmtl.py official repository ran no licence file found · pointer only · ff33f4241dfadae5 · report
task_specific_gumbel autumn9999/vmtl/model_vmtl.py official repository ran no licence file found · pointer only · e12a18df21af23b1 · report
task_specific_network autumn9999/vmtl/model_vmtl.py official repository ran no licence file found · pointer only · 8aaa2924dd7f7bb9 · report
MainModel autumn9999/vmtl/model_vmtl.py official repository unverified no licence file found · pointer only · 0b0cb97dda9d4228 · report
local_reparameterize_softplus autumn9999/vmtl/model_vmtl.py official repository unverified no licence file found · pointer only · 6c374d3a6b0b7997 · report
HomoMultiTaskModel thuml/MTlearn/src/model_multi_task.py found in paper text by Syntology unverified no licence file found · pointer only · c1b96192d2a78ef9 · report
MultiTaskLoss thuml/MTlearn/src/model_multi_task.py found in paper text by Syntology unverified no licence file found · pointer only · e113c85acb13c2b3 · report
UpdateCov thuml/MTlearn/src/model_multi_task.py found in paper text by Syntology unverified no licence file found · pointer only · 36a790c729e85178 · report
Vgg16NoFc thuml/MTlearn/src/model_multi_task.py found in paper text by Syntology unverified no licence file found · pointer only · c214973cf8590ca7 · report
sample_gumbel identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 0181920f28840de9 · report

Tasks

Bayesian InferenceMulti-Task Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections