[Paper Review] Uncertainty in Multitask Transfer Learning
This paper proposes Deep Prior, a variational Bayes method that learns a rich, task-agnostic prior from multiple diverse tasks using hierarchical Bayesian neural networks. By separating task-specific and shared parameters and using task conditioning with prototypical networks, it achieves state-of-the-art 74.5% accuracy on 5-shot Mini-Imagenet, outperforming MAML and other baselines, especially in heterogeneous task settings.
Using variational Bayes neural networks, we develop an algorithm capable of accumulating knowledge into a prior from multiple different tasks. The result is a rich and meaningful prior capable of few-shot learning on new tasks. The posterior can go beyond the mean field approximation and yields good uncertainty on the performed experiments. Analysis on toy tasks shows that it can learn from significantly different tasks while finding similarities among them. Experiments of Mini-Imagenet yields the new state of the art with 74.5% accuracy on 5 shot learning. Finally, we provide experiments showing that other existing methods can fail to perform well in different benchmarks.
Motivation & Objective
- To develop a scalable method for learning a meaningful, flexible prior from multiple diverse tasks to improve few-shot generalization.
- To address the limitations of existing transfer learning methods that fail when tasks are heterogeneous or dissimilar.
- To enable effective uncertainty estimation and posterior approximation in low-data regimes using Bayesian neural networks.
- To improve few-shot learning performance by combining hierarchical Bayesian modeling with task-specific adaptation mechanisms.
- To demonstrate that single-representation models fail on heterogeneous benchmarks, requiring task-conditioned priors for robust transfer.
Proposed method
- Uses a hierarchical Bayesian framework where task-specific weights $w_j$ are drawn from a shared prior $p(w_j | \alpha)$, with $\alpha$ learned via maximum a posteriori (MAP) from multiple tasks.
- Applies variational Bayes to approximate the posterior $p(w_j | \alpha, S_j)$, enabling uncertainty estimation and regularization.
- Introduces task conditioning via FILM layers or task embeddings to allow the network to adapt to new tasks using a shared representation.
- Combines the deep prior with prototypical networks to avoid noisy final-layer generation, improving training stability and performance.
- Employs a KL regularizer on the posterior to prevent overfitting on small-shot datasets, with optimal weight found via hyperparameter tuning.
- Uses a leave-one-out procedure during training to ensure task embeddings are not influenced by test data, avoiding data leakage.
Experimental results
Research questions
- RQ1Can a single, shared prior learned across diverse tasks improve few-shot generalization in transfer learning?
- RQ2How does the performance of standard few-shot learning methods like MAML degrade when tasks are significantly different?
- RQ3To what extent does task conditioning improve generalization when tasks are heterogeneous rather than homogeneous?
- RQ4Can a Bayesian neural network with a rich, structured prior outperform mean-field approximations in low-data regimes?
- RQ5Does a single shared representation suffice for all tasks, or is task-specific adaptation necessary for heterogeneous benchmarks?
Key findings
- The proposed Deep Prior method achieves a new state of the art of 74.5% accuracy on the 5-shot Mini-Imagenet benchmark, surpassing prior methods including MAML and Discriminative k-shot.
- On the heterogeneous Synbols benchmark, a standard prototypical network drops to 76.8% accuracy when combining font and symbol tasks, but Deep Prior with conditioning recovers to 83.5%.
- The ablation study confirms that residual networks, task conditioning, leave-one-out training, and KL regularization are all critical for optimal performance.
- The method demonstrates that MAML struggles when tasks are too dissimilar, highlighting the need for more expressive priors.
- Experiments show that models relying on a single shared representation fail on heterogeneous tasks, while task-conditioned priors are essential for robust transfer.
- The learned prior on the Harmonics dataset exhibits meaningful structure, confirming that the method captures shared inductive biases across tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.