[Paper Review] Open Set Recognition with Conditional Probabilistic Generative Models
This paper proposes Conditional Probabilistic Generative Models (CPGM) for open set recognition, integrating class-specific conditional Gaussian distributions into variational and adversarial autoencoders to enable both known-class classification and unknown sample detection. The method achieves state-of-the-art performance on benchmark datasets by learning discriminative, class-conditional latent representations that outperform standard VAEs and AAEs in both clustering compactness and decision boundary clarity.
Deep neural networks have made breakthroughs in a wide range of visual understanding tasks. A typical challenge that hinders their real-world applications is that unknown samples may be fed into the system during the testing phase, but traditional deep neural networks will wrongly recognize these unknown samples as one of the known classes. Open set recognition (OSR) is a potential solution to overcome this problem, where the open set classifier should have the flexibility to reject unknown samples and meanwhile maintain high classification accuracy in known classes. Probabilistic generative models, such as Variational Autoencoders (VAE) and Adversarial Autoencoders (AAE), are popular methods to detect unknowns, but they cannot provide discriminative representations for known classification. In this paper, we propose a novel framework, called Conditional Probabilistic Generative Models (CPGM), for open set recognition. The core insight of our work is to add discriminative information into the probabilistic generative models, such that the proposed models can not only detect unknown samples but also classify known classes by forcing different latent features to approximate conditional Gaussian distributions. We discuss many model variants and provide comprehensive experiments to study their characteristics. Experiment results on multiple benchmark datasets reveal that the proposed method significantly outperforms the baselines and achieves new state-of-the-art performance.
Motivation & Objective
- To address the limitation of standard deep generative models like VAEs and AAEs, which cannot perform discriminative classification due to a shared latent distribution across all classes.
- To develop a unified framework that enables both open set recognition (unknown detection) and known-class classification using probabilistic generative models.
- To explore how conditioning the latent space on class labels improves representation learning for both reconstruction and discrimination.
- To compare the effectiveness of CPGM-VAE and CPGM-AAE variants in terms of clustering quality, decision boundary clarity, and overall OSR performance.
Proposed method
- Introduces a conditional posterior distribution $ q_{\bm{\phi}}(\bm{z}|\bm{x},k) $ in the latent space, where $ k $ denotes the known class, to model class-specific features.
- Forces each class's latent representation to approximate a distinct multivariate Gaussian $ \mathcal{N}(\bm{z}; \bm{\mu}_k, \mathbf{I}) $, with $ \bm{\mu}_k $ predicted via a fully connected layer from the class label.
- Adapts the probabilistic ladder architecture in CPGM-VAE to preserve information across layers and improve feature representation quality.
- Uses adversarial training in CPGM-AAE to match the posterior distribution to class-conditional priors, enhancing generative and discriminative capacity.
- Employs reconstruction error and conditional Gaussian distance as dual detection signals at test time to distinguish known from unknown samples.
- Explores three AAE-based variants to analyze trade-offs between reconstruction fidelity, clustering compactness, and decision boundary sharpness.
Experimental results
Research questions
- RQ1Can conditioning the latent space of generative models on class labels improve both known-class classification and unknown sample detection in open set recognition?
- RQ2How does the use of class-conditional Gaussian priors affect the clustering structure and decision boundary in the latent space compared to shared priors?
- RQ3What is the relative performance of CPGM-VAE versus CPGM-AAE in terms of reconstruction quality, cluster compactness, and detection accuracy?
- RQ4To what extent does combining reconstruction error with conditional Gaussian distance improve unknown detection beyond either signal alone?
- RQ5How do architectural choices like the probabilistic ladder in CPGM-VAE influence the representational capacity and OSR performance?
Key findings
- CPGM-VAE and CPGM-AAE both significantly outperform baseline VAE and AAE models on multiple benchmark datasets, achieving new state-of-the-art results in open set recognition.
- CPGM-AAE produces more compact and well-separated clusters for known classes in the latent space compared to CPGM-VAE, indicating better representation learning.
- The reconstruction error histogram in CPGM-AAE shows a clearer decision boundary between known and unknown samples than in CPGM-VAE, enabling more effective detection.
- Adding reconstruction error as a detection signal improves performance on CPGM-AAE but yields only marginal gains on CPGM-VAE, suggesting CPGM-AAE’s reconstruction process is more aligned with detection goals.
- Visualizations confirm that reconstructions of known samples preserve more structural details, while unknown samples produce ambiguous or incorrect reconstructions (e.g., a ship reconstructed as a cat), supporting their rejection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.