Introduction
Deep Neural Networks (DNNs) are notoriously data-hungry. When trained on small datasets, they tend to overfit—memorizing training noise rather than learning generalizable features. While standard techniques like dropout and batch normalization help, they don't fundamentally change how the model represents data. The Generative-Discriminative Variational Model (GDVM) addresses this by rethinking supervised classification as a generative process. By introducing a stochastic latent variable and regularizing its distribution, the model significantly reduces overfitting and improves class separation, especially when training data is scarce.
Methods
The core of the framework is the Generative-Discriminative Variational Model (GDVM). Unlike standard discriminative models that map an input $x$ directly to a label $y$, GDVM infers a latent variable $z$ as a distribution: $Q(z|x) = \mathcal{N}(\mu(x), \Sigma(x))$.
The model treats classification as a generative task: $P(y|x) = \int P(y|x, z)P(z)dz$. This asks: "Given this input and its possible latent representations, what is the most likely label?" The training objective combines a standard classification loss (e.g., cross-entropy) with a KL-Divergence regularizer that forces the latent distribution $Q(z|x)$ to stay close to a standard Gaussian prior. By sampling $z$ during training using the reparameterization trick, the model effectively injects data-dependent noise, forcing the network to learn robust features.
Key Insights: Implicit Margin Maximization
A critical advantage of GDVM is its ability to achieve separation implicitly. Unlike Support Vector Machines (SVMs) that explicitly calculate margins, GDVM's stochasticity prevents the model from "cheating" by placing different classes too close together in the latent space. The overlap caused by the variance $\Sigma(x)$ would lead to high classification error, thus forcing the model to maximize the distance between class clusters.
Experimental Results
The authors evaluated GDVM across several distinct visual recognition tasks, demonstrating significant gains in data efficiency:
- CIFAR10: With only 20,000 training samples, GDVM (with dropout) achieved 76.05% accuracy, a massive 10% boost over a standard baseline CNN (66.39%).
- Multi-Label Classification (NUS-WIDE LITE): GDVM outperformed both standard CNNs and Gaussian Stochastic Neural Networks (GSNN), proving its latent space is better at capturing complex, overlapping concepts.
- Zero-Shot Learning (AWA): Integrating GDVM into a Cross-Modal Transfer (CMT) framework improved accuracy from 58.4% to 66.5%.
Conclusion and Future Work
GDVM bridges the gap between generative and discriminative models to boost performance on small-data regimes. While it introduces some computational overhead due to variance estimation and sampling, the qualitative and quantitative results show much tighter, more distinct class clusters. Future work may explore more complex priors, such as Mixture of Gaussians, to better capture the multi-modal nature of real-world data across non-visual domains.
Summary updated