Skip to main content
QUICK REVIEW

[Paper Review] Performance Analysis of Semi-supervised Learning in the Small-data Regime using VAEs

Varun Mannam, Arman Kazemi|arXiv (Cornell University)|Feb 26, 2020
Generative Adversarial Networks and Image SynthesisComputer Science12 references9 citations
TL;DR

This paper proposes a semi-supervised learning framework using Variational Autoencoders (VAEs) to improve classification performance in the small-data regime. By pre-training a VAE on unlabeled CIFAR-10 data to learn a compressed, probabilistic latent representation, and then fine-tuning a small classifier on a limited set of labeled data, the method achieves improved accuracy—peaking at 10,000 latent dimensions, where it outperforms both smaller (6,400) and larger (14,400) latent spaces.

ABSTRACT

Extracting large amounts of data from biological samples is not feasible due to radiation issues, and image processing in the small-data regime is one of the critical challenges when working with a limited amount of data. In this work, we applied an existing algorithm named Variational Auto Encoder (VAE) that pre-trains a latent space representation of the data to capture the features in a lower-dimension for the small-data regime input. The fine-tuned latent space provides constant weights that are useful for classification. Here we will present the performance analysis of the VAE algorithm with different latent space sizes in the semi-supervised learning using the CIFAR-10 dataset.

Motivation & Objective

  • Address the challenge of low accuracy in deep learning when labeled data is scarce, particularly in biomedical imaging where data collection is limited by radiation exposure.
  • Overcome the limitations of traditional autoencoders and RBMs by using VAEs to learn a probabilistic, lower-dimensional latent representation that captures meaningful features.
  • Investigate the impact of varying latent space size on semi-supervised classification performance using the CIFAR-10 dataset.
  • Demonstrate that fine-tuning a small classifier on a VAE-learned latent representation significantly improves accuracy compared to training from scratch on small labeled sets.
  • Identify the optimal latent dimension for balancing representational capacity and model complexity in small-data scenarios.

Proposed method

  • Pre-train a VAE on the full CIFAR-10 training set (50,000 images) using a dense-net architecture to learn a compressed, probabilistic latent representation.
  • Use the reparameterization trick to enable backpropagation through the stochastic latent variables, allowing end-to-end training of the VAE.
  • Fix the encoder and decoder weights after pre-training to preserve the learned latent space representation, preventing catastrophic forgetting during fine-tuning.
  • Fine-tune a small fully connected neural network on a small subset of labeled CIFAR-10 data, using the VAE-embedded features as input.
  • Optimize both pre-training and fine-tuning stages using the Adam optimizer with a learning rate of 1e-4 and weight decay of 1e-3.
  • Evaluate performance using reconstruction loss (MSE) during pre-training and cross-entropy loss during fine-tuning, with early stopping based on validation RMSE.

Experimental results

Research questions

  • RQ1How does the size of the latent space in a VAE affect the quality of the learned representation in the small-data regime?
  • RQ2What is the optimal latent dimension for achieving the highest classification accuracy in a semi-supervised learning setup with limited labeled data?
  • RQ3Does pre-training a VAE on all available data (labeled and unlabeled) improve downstream classification performance compared to training a classifier directly on small labeled sets?
  • RQ4How does the trade-off between representational capacity (larger latent space) and model complexity (overfitting risk) influence classification accuracy?
  • RQ5Can a fixed, pre-trained VAE encoder serve as an effective feature extractor for fine-tuning a lightweight classifier in low-data regimes?

Key findings

  • The VAE pre-training process converged after approximately 50 epochs for all tested latent space sizes (6,400, 10,000, and 14,400), with similar reconstruction losses across all configurations.
  • Despite differences in latent space size, the reconstructed image density estimates were close to the actual input data, with the 10,000-dimensional latent space showing the closest match to the true data distribution.
  • During fine-tuning, the model with a 10,000-dimensional latent space achieved the highest classification accuracy, outperforming both the 6,400 and 14,400-dimensional variants.
  • Smaller latent spaces (6,400) led to underfitting due to insufficient feature capacity, while larger spaces (14,400) resulted in higher test error, likely due to increased model complexity and overfitting.
  • The performance gap between latent space sizes was most pronounced in the fine-tuning phase, indicating that the quality of the latent representation directly impacts downstream classification.
  • The results suggest that a balance between representational capacity and generalization is critical, with 10,000 latent dimensions providing the optimal trade-off for the CIFAR-10 small-data regime.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.