[Paper Review] Bayesian Semisupervised Learning with Deep Generative Models
This paper proposes a Bayesian semisupervised learning framework using deep generative models with a fully Bayesian neural network (BNN) as the discriminative component, enabling uncertainty-aware predictions. By introducing stochastic inputs and employing Gibbs sampling for posterior inference, the model captures both data and parameter uncertainty, outperforming point-estimate baselines in accuracy and uncertainty calibration on synthetic data.
Neural network based generative models with discriminative components are a powerful approach for semi-supervised learning. However, these techniques a) cannot account for model uncertainty in the estimation of the model's discriminative component and b) lack flexibility to capture complex stochastic patterns in the label generation process. To avoid these problems, we first propose to use a discriminative component with stochastic inputs for increased noise flexibility. We show how an efficient Gibbs sampling procedure can marginalize the stochastic inputs when inferring missing labels in this model. Following this, we extend the discriminative component to be fully Bayesian and produce estimates of uncertainty in its parameter values. This opens the door for semi-supervised Bayesian active learning.
Motivation & Objective
- To address the lack of model uncertainty quantification in existing deep generative models for semi-supervised learning.
- To extend Bayesian neural networks with stochastic inputs to high-dimensional latent spaces for improved flexibility in label generation.
- To enable joint semi-supervised and active learning by explicitly modeling uncertainty in both latent variables and model parameters.
- To develop an efficient inference procedure that marginalizes over stochastic inputs and posterior weights during prediction.
- To demonstrate that uncertainty-aware predictions lead to better generalization and confidence calibration, especially in low-data regimes.
Proposed method
- Introduces a deep generative model where labels are generated via a BNN with stochastic inputs, allowing flexible modeling of label uncertainty.
- Uses a recognition network to infer latent variables $ z $ from inputs $ x $, enabling scalable posterior approximation.
- Employs Gibbs sampling to iteratively sample $ y_* $, $ z $, and $ W_y $, with $ y_* $ initialized from the recognition network $ q_\phi(y_*|x_*) $ to avoid burn-in.
- Applies reparameterization to both $ W_y $ and $ z $ for efficient variational inference, optimizing the evidence lower bound (ELBO) with $ \alpha $-divergence minimization.
- Leverages the full posterior over $ W_y $ and $ z $ to compute predictive distributions, enabling uncertainty quantification in predictions.
- Uses a joint variational objective that combines labeled and unlabeled data, with $ \alpha = 0.1 \times N_l $ to balance the contributions.
Experimental results
Research questions
- RQ1Can a Bayesian neural network with stochastic inputs improve uncertainty quantification in semi-supervised learning compared to deterministic or point-estimate baselines?
- RQ2How does the proposed Gibbs sampling procedure for marginalizing over stochastic inputs affect predictive performance and uncertainty calibration?
- RQ3Can the model jointly support semi-supervised learning and active learning by leveraging full posterior inference over model weights and latent variables?
- RQ4Does the inclusion of stochastic inputs in the BNN component lead to smoother decision boundaries and better generalization on low-labeled-data regimes?
- RQ5How does the model's predictive uncertainty compare to standard deep generative models in out-of-distribution regions?
Key findings
- The proposed SSLAPD method achieved 99.7% test accuracy and a log-likelihood of -0.01, significantly outperforming the DNN (83.6% accuracy, -1.20 log-likelihood) and SSLPE (99.2% accuracy, -0.07 log-likelihood).
- SSLAPD produced wider confidence bands in regions far from training data, indicating better uncertainty calibration compared to methods that ignore parameter uncertainty.
- The model converged to 100% accuracy on all test sets when $ N_l > 10 $, with faster convergence and better ELBOs as the labeled set size increased.
- Gibbs sampling with initialization from $ q_\phi(y_*|x_*) $ enabled efficient inference without burn-in, achieving stable predictions with $ T = 10 $ samples.
- The model successfully generated realistic samples, demonstrating that the generative process captures the underlying data distribution effectively.
- The use of stochastic inputs and full posterior over $ W_y $ led to improved decision boundary smoothness and robustness, especially in low-data regimes.
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.