Class imbalance is a fundamental challenge in machine learning, occurring when the minority class (the "interesting" cases) is significantly outnumbered by the majority class. Standard deep learning models often fail in these scenarios, as their objective functions prioritize overall accuracy, leading them to ignore minority instances. Traditional solutions like oversampling or cost-sensitive learning often struggle in high-dimensional feature spaces where the underlying data structure is complex.
To address this, researchers proposed the Discriminative Variational Autoencoding Adversarial Network (DVAAN) at IJCAI-19. DVAAN shifts the focus from simple data replication to generating "support samples" that reside near the decision boundary, effectively teaching the model where one class ends and another begins.
Methodology: The DVAAN Framework
DVAAN is a hybrid architecture combining the strengths of Variational Autoencoders (VAEs) and Generative Adversarial Networks (GANs). It consists of three primary components: a Discriminative VAE (DVAE), a GAN-based generator (which shares weights with the VAE decoder), and a discriminator that also serves as the final classifier.
Discriminative Latent Space
The core innovation of DVAAN lies in its latent space representation. While a standard VAE typically maps all data to a single Gaussian distribution, the DVAE forces the latent representations of different classes to follow a two-component mixture distribution.
As shown in Figure 1, this approach explicitly separates the classes in the latent space by clustering them around two opposite means ($\mu$ and $-\mu$). This separation ensures that the latent features are inherently discriminative before they are even passed to the decoder or classifier.
Support Sample Generation
By manipulating the latent space, DVAAN can generate "support samples"—synthetic data points located in the region between the two class clusters. These samples represent the most difficult cases for a classifier to distinguish. By training on these boundary-adjacent instances, the model's discriminator becomes more robust and less biased toward the majority class. The parameter $\mu$ acts as a tunable dial: if the task is too easy, $\mu$ decreases to force better feature learning; if it is too hard, $\mu$ increases to provide more separation.
Experimental Evaluation
The performance of DVAAN was evaluated across several benchmark datasets, including MNIST, Fashion-MNIST, CIFAR-10, and the biological TIS (Translation Initiation Sites) dataset. To simulate real-world conditions, the researchers manually induced various levels of class imbalance, ranging from 1:10 to 10:10.
Key Results
As illustrated in Figure 5, DVAAN consistently outperforms established baselines such as AC-GAN, CVAE-GAN, and VAE-GAN. Notably, DVAAN maintains high performance even as the imbalance ratio becomes extreme (e.g., 1:10). On the naturally imbalanced TIS dataset, DVAAN achieved an AUC of 85.51%, a significant improvement over the 71.38% achieved by standard VAE-GAN. Qualitative results further confirmed that DVAAN generated much clearer and more class-distinct images than its predecessors, particularly in the critical "support sample" regions.
Conclusion
DVAAN represents a significant step forward in imbalanced learning by integrating discriminative feature learning directly into the generative process. By focusing on the decision boundary and generating high-quality support samples in a structured latent space, it provides a robust solution for training deep models on skewed datasets. Future work may involve extending this framework to multi-class imbalanced problems where multiple minority classes exist simultaneously.
Reference: Guo, T., Zhu, X., Wang, Y., & Chen, F. (2019). Discriminative Sample Generation for Deep Imbalanced Learning. Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence (IJCAI-19).
Summary updated