Semi-Supervised Learning with the Deep Rendering Mixture Model

Minh Tan Nguyen, Wanjia Liu, Ethan Perez, Richard G. Baraniuk, Ankit B. PatelarXiv 2016

Abstract

Semi-supervised learning algorithms reduce the high cost of acquiring labeled training data by using both labeled and unlabeled data during learning. Deep Convolutional Networks (DCNs) have achieved great success in supervised tasks and as such have been widely employed in the semi-supervised learning. In this paper we leverage the recently developed Deep Rendering Mixture Model (DRMM), a probabilistic generative model that models latent nuisance variation, and whose inference algorithm yields DCNs. We develop an EM algorithm for the DRMM to learn from both labeled and unlabeled data. Guided by the theory of the DRMM, we introduce a novel non-negativity constraint and a variational inference term. We report state-of-the-art performance on MNIST and SVHN and competitive results on CIFAR10. We also probe deeper into how a DRMM trained in a semi-supervised setting represents latent nuisance variation using synthetically rendered images. Taken together, our work provides a unified framework for supervised, unsupervised, and semi-supervised learning.

Introduction

Deep Convolutional Networks (DCNs) have revolutionized computer vision, yet their reliance on vast quantities of labeled data remains a significant bottleneck. Semi-supervised learning (SSL) offers a solution by leveraging large volumes of unlabeled data alongside a small set of labeled examples. However, DCNs are frequently treated as "black boxes," lacking a rigorous mathematical framework to explain how they encode data distributions. This paper addresses this gap by utilizing the Deep Rendering Mixture Model (DRMM), providing a structural prior that allows DCNs to learn more efficiently from limited labels.

The Deep Rendering Mixture Model (DRMM)

The DRMM conceptualizes image generation as a hierarchical "rendering" process. It starts with a high-level category and applies successive layers of latent "nuisance" transformations—such as rotation, lighting, and translation—to produce final pixel values. By treating a DCN forward pass as the inference step of this generative process, the authors establish a formal link between discriminative and generative modeling.

Technical Innovations

A key contribution is the Non-Negative DRMM (NN-DRMM). By enforcing non-negativity on intermediate templates, the model's generative mathematics align with the ReLU activation and Max-Pooling operations standard in DCNs. Training follows an Expectation-Maximization (EM) approach:

  • E-step: A bottom-up inference pass (DCN forward pass) estimates labels and latent variables.
  • M-step: A top-down reconstruction pass attempts to recreate the input image based on these estimates.
The DRMM framework illustrates the four-part loss function (A), the hierarchical generative process (B), and the relationship between top-down reconstruction and bottom-up inference (C).

The training objective is a composite loss function comprising supervised cross-entropy, unsupervised reconstruction error, a KL divergence penalty for feature disentanglement, and the non-negativity constraint.

Datasets and Experimental Setup

The model was benchmarked on MNIST (handwritten digits), SVHN (Street View House Numbers), and CIFAR10 (natural images). Additionally, the authors utilized a synthetic dataset rendered via Blender. This synthetic data provided ground-truth values for latent variables like orientation and position, enabling a precise evaluation of the model's ability to represent nuisance variations.

Key Results and Disentanglement

The DRMM-based approach achieved state-of-the-art results in low-label regimes. On MNIST, it reached a test error of 0.57% with only 100 labels. On SVHN, it achieved 6.78% error with 1,000 labels, outperforming contemporary generative models.

A significant finding was the model's ability to "disentangle" identity from nuisance factors. The inclusion of a KL divergence penalty was critical, as it forced the network to separate an object's class from its pose or lighting. Analysis of the synthetic dataset confirmed that as information flows through the layers, the representation of the object's class becomes increasingly dominant while nuisance information is discarded.

Linearly decodable information across layers shows that class information becomes more accessible in deeper layers, while nuisance variables like shift and rotation are gradually suppressed.

Conclusion

The DRMM provides a unified framework for supervised, unsupervised, and semi-supervised learning by grounding DCNs in probabilistic generative modeling. While the approach shows great promise, particularly in low-label settings, there is room for improvement. Future work may involve using more advanced optimizers, incorporating regularization techniques like Dropout, or exploring minimax training strategies to further enhance the generative quality and close the performance gap on complex datasets like CIFAR10.

Summary updated

BibTeX
@misc{nguyen2016semi,
  author = {Minh Tan Nguyen and Wanjia Liu and Ethan Perez and Richard G. Baraniuk and Ankit B. Patel},
  title = {{Semi-Supervised Learning with the Deep Rendering Mixture Model}},
  year = {2016},
  eprint = {1612.01942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.01942},
}
Figure