Abstract
Semi-supervised variational autoencoders (VAEs) have obtained strong results, but have also encountered the challenge that good ELBO values do not always imply accurate inference results. In this paper, we investigate and propose two causes of this problem: (1) The ELBO objective cannot utilize the label information directly. (2) A bottleneck value exists, and continuing to optimize ELBO after this value will not improve inference accuracy. On the basis of the experiment results, we propose SHOT-VAE to address these problems without introducing additional prior knowledge. The SHOT-VAE offers two contributions: (1) A new ELBO approximation named smooth-ELBO that integrates the label predictive loss into ELBO. (2) An approximation based on optimal interpolation that breaks the ELBO value bottleneck by reducing the margin between ELBO and the data likelihood. The SHOT-VAE achieves good performance with 25.30% error rate on CIFAR-100 with 10k labels and reduces the error rate to 6.11% on CIFAR-10 with 4k labels.
Introduction
Variational Autoencoders (VAEs) are powerful tools for semi-supervised learning, capable of learning from both labeled and unlabeled data. However, a persistent challenge is the "Good ELBO, Bad Inference" paradox: a model can achieve a high evidence lower bound (ELBO) while failing to classify data accurately. This suggests that the standard ELBO objective may be misaligned with the goal of accurate inference.
The authors identify two primary causes for this disconnect. First, in standard frameworks like the M2 model, the classification loss and ELBO are optimized separately, meaning the generative objective does not directly "see" label information. Second, an "ELBO bottleneck" exists where further optimization of the ELBO no longer improves—and may even degrade—classification performance.
The ELBO Bottleneck
The ELBO bottleneck: Accuracy plateaus or drops even as negative ELBO continues to improve. Source, p. 2
As shown in Figure 2, empirical evidence on CIFAR-10 and CIFAR-100 confirms this bottleneck. While the negative ELBO continues to decrease, indicating better generative performance, the top-1 and top-5 accuracies reach a plateau or begin to fluctuate. This indicates that the model may be focusing on fine-grained image details irrelevant to semantic classification.
Methodology: SHOT-VAE
To overcome these limitations, the authors propose SHOT-VAE (SmootH-ELBO Optimal InTerpolation VAE), which introduces two key innovations:
1. Smooth-ELBO
Instead of using rigid one-hot labels, SHOT-VAE employs label smoothing. The authors derive a new ELBO objective that mathematically integrates the label predictive loss. This ensures that as the model optimizes its generative capability, it simultaneously aligns its latent representations with the smoothed labels, bridging the information gap between the classifier and the generator.
2. Optimal Interpolation (OT) Approximation
To break the ELBO bottleneck, SHOT-VAE utilizes a data augmentation technique inspired by Mixup. It creates "pseudo-inputs" by interpolating between real data points. Crucially, it derives an "optimal" interpolation for labels in the latent space using KL divergence. This forces the model to maintain a smooth transition between classes in its internal representation, helping it escape local minima and improve robustness.
Experimental Results
SHOT-VAE was evaluated on MNIST, SVHN, CIFAR-10, and CIFAR-100, focusing on low-label scenarios.
As shown in Figure 3, SHOT-VAE significantly outperforms existing semi-supervised VAE methods. On CIFAR-100 with 10,000 labels, it achieved a 25.30% error rate, a substantial improvement over the standard M2 model (~31%). On CIFAR-10 with 4,000 labels, it reduced the error rate to 6.11%. The model also demonstrated high parameter efficiency; a version with only 1.5M parameters outperformed much larger models on CIFAR-10.
Conclusion
SHOT-VAE addresses the "Good ELBO, Bad Inference" problem by integrating label information directly into the generative objective and using optimal interpolation to break optimization bottlenecks. While the method introduces some computational complexity in the matching step and requires careful hyperparameter tuning for interpolation schedules, it sets a new standard for semi-supervised generative models on complex image benchmarks.
Summary updated