Deep Bayesian Active Semi-Supervised Learning

Matthias Rottmann, Karsten Kahl, Hanno Gottschalk · DOI

Introduction

Deep learning models typically require vast amounts of labeled data to achieve high performance. In many specialized domains, such as medical imaging or industrial quality control, obtaining these labels is a significant bottleneck. This paper introduces DeepBASS (Deep Bayesian Active Semi-Supervised Learning), a framework that significantly reduces label requirements by unifying semi-supervised learning (SSL) and active learning (AL) within a single Bayesian framework.

The DeepBASS Framework

The core innovation of DeepBASS is its integrated approach to handling unlabeled data. While SSL leverages unlabeled data by generating pseudo-labels for "easy" samples, AL identifies "hard" samples for human annotation. DeepBASS uses Monte-Carlo (MC) Dropout to quantify model uncertainty, providing a principled way to distinguish between these two categories.

The Learning Loop (Algorithm 3.1)

The framework iterates through a cycle of training and data acquisition:

  1. Uncertainty Estimation: The model performs multiple forward passes with dropout enabled to estimate the predictive entropy for each unlabeled sample.
  2. Semi-Supervised Labeling: Samples with low entropy (high confidence) are automatically assigned pseudo-labels and added to the training set.
  3. Active Learning Queries: Samples with high entropy (low confidence) are sent to a human "oracle" for ground-truth labeling.
  4. Balanced Training: To prevent the model from being overwhelmed by potentially noisy pseudo-labels, the authors employ "intentional overfitting" by upsampling the human-labeled data in each training batch.

Experimental Evaluation

The authors validated DeepBASS on both a synthetic toy dataset and the standard MNIST benchmark.

Yin-Yang Toy Dataset

The Yin-Yang dataset consists of a non-convex 2D distribution that is challenging for standard classifiers. This dataset serves as a visualization tool to observe how the decision boundary evolves as the model acquires more data.

Evolution of decision boundaries on the Yin-Yang toy dataset. The sequence shows how the model progressively refines its understanding of the complex shape by combining pseudo-labeling with targeted human queries.

As shown in the evolution above, SSL alone can struggle with complex boundaries, often becoming overconfident in incorrect regions. The addition of active learning queries (represented by black crosses) allows the model to correct these boundaries effectively.

MNIST Results

On the MNIST dataset, DeepBASS demonstrated remarkable efficiency:

  • With only 300 labels, the model achieved a 2.06% error rate.
  • With 1,000 labels, the error rate dropped to 1.06%.
  • In comparison, a purely supervised model with 100 labels achieves only ~82% accuracy, whereas DeepBASS reaches 97.92% accuracy with the same initial budget plus 200 active learning queries.

Key Insights

A critical finding of the study is that the SSL component acts as a regularizer for the AL component. Active learning on its own can lead to "wiggly" decision boundaries as the model focuses exclusively on the most uncertain regions. SSL helps smooth these boundaries by incorporating the global structure of the unlabeled data.

Final decision boundary on the Yin-Yang dataset. Note how the active learning queries (black crosses) are strategically positioned at the interface between classes where uncertainty is highest.

Furthermore, the simplicity of the DeepBASS architecture is a major advantage. Unlike complex generative models like Ladder Networks or VAE-based approaches, DeepBASS works with standard Convolutional Neural Networks (CNNs), making it highly scalable and easy to integrate into existing workflows.

Conclusion

DeepBASS provides a robust and efficient solution for training deep models in label-scarce environments. By leveraging Bayesian uncertainty to drive both semi-supervised and active learning, it achieves near-state-of-the-art performance with a fraction of the data. Future work will explore the application of this framework to more complex, high-dimensional datasets and the optimization of hyperparameter selection.

Summary updated

BibTeX
@inproceedings{rottmann2018deep,
  author = {Matthias Rottmann and Karsten Kahl and Hanno Gottschalk},
  title = {{Deep Bayesian Active Semi-Supervised Learning}},
  booktitle = {ICMLA},
  year = {2018},
  doi = {10.1109/icmla.2018.00031},
}
Figure