NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Semi-Supervised Learning with Variational Bayesian Inference and Maximum Uncertainty Regularization

Kien Do, Truyen Tran, Svetha Venkatesh

Introduction

Semi-supervised learning (SSL) typically leverages the "smoothness assumption," which posits that proximal points in the input space should share identical labels. Modern SSL frameworks enforce this through Consistency Regularization (CR), where models are trained to produce invariant outputs under stochastic input perturbations. However, existing CR methods often overlook the model's internal weight space and fail to explore regions of high uncertainty between data clusters.

This paper introduces two techniques to address these gaps: Weight Perturbation (WP) via Variational Bayesian Inference and Maximum Uncertainty Regularization (MUR). By exploring the weight space and actively identifying "confusing" virtual data points, these methods enhance the robustness and accuracy of consistency-based SSL models.

Methodology

Weight Perturbation via Variational Bayesian Inference (VBI)

Unlike traditional neural networks with fixed weights, the proposed approach treats weights as random variables. Utilizing Variational Dropout (VD), the model samples different weight configurations during training. This process provides "different views" of the classifier for a single data point, forcing the model to achieve robustness against internal parameter variations in addition to external data noise.

Maximum Uncertainty Regularization (MUR)

MUR is a virtual perturbation strategy designed to smooth the decision manifold in regions where the model is most uncertain. Instead of applying random noise, MUR searches for a neighbor $x^*$ within a radius $r$ that maximizes the Shannon entropy of the model’s prediction.

Conceptual illustration of MUR: searching for the point $x^*$ of maximum uncertainty between data points $x_0$ and $x_1$.

By enforcing consistency between the original data point and this maximally uncertain neighbor, MUR effectively "flattens" the decision boundary in the gaps between classes, providing a more disruptive and effective regularization than standard Gaussian noise.

Experimental Results

The proposed methods were evaluated on standard benchmarks including SVHN, CIFAR-10, and CIFAR-100, particularly in low-label regimes.

Performance Gains

Integrating VBI and MUR into the Mean Teacher (MT) baseline yielded significant improvements. For CIFAR-10 with 1000 labels, the classification error dropped from 18.78% to 15.47%. On SVHN with 500 labels, the error was reduced from 3.86% to 3.21%. Empirical analysis using the Frobenius norm of the Jacobian matrix confirmed that these methods lead to lower sensitivity, indicating a smoother learned function.

Hyperparameter Sensitivity

The radius $r$ in MUR is a critical hyperparameter. As shown in the experimental results, there is an optimal "sweet spot" for this value.

Classification error of MT+MUR on CIFAR-10 as a function of the perturbation radius $r$.

If $r$ is too small, the effect mirrors standard noise; if too large, it may incorrectly force consistency between points belonging to different underlying classes. For CIFAR-10, an optimal radius of approximately $r=10$ was identified.

Discussion and Limitations

While highly effective, MUR faces challenges in extremely low-label scenarios. For instance, on SVHN with only 250 labels, performance degraded, likely because the model had not yet learned sufficient features to generate a meaningful "uncertainty gradient." Additionally, the gains from MUR may be less pronounced when combined with very strong data augmentation techniques (e.g., RandAugment), which already extensively cover the input manifold.

Future research will focus on integrating the likelihood of unlabeled data directly into the VBI framework to further refine the posterior distribution of the weights and improve generalization.

Summary updated

BibTeX
@inproceedings{do2021semi,
  author = {Kien Do and Truyen Tran and Svetha Venkatesh},
  title = {{Semi-Supervised Learning with Variational Bayesian Inference and Maximum Uncertainty Regularization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i8.16889},
}
Figure