[Paper Review] Understanding the Limitations of Conditional Generative Models
This paper investigates whether class-conditional generative models can enable robust classification by detecting adversarial examples, ambiguous inputs, and mislabeled data. Despite theoretical promise, the authors show that maximum likelihood training inherently limits detectability of adversarial perturbations, and empirical results reveal that robustness on MNIST fails to generalize to CIFAR10 due to model properties induced by the likelihood objective.
Class-conditional generative models hold promise to overcome the shortcomings of their discriminative counterparts. They are a natural choice to solve discriminative tasks in a robust manner as they jointly optimize for predictive performance and accurate modeling of the input distribution. In this work, we investigate robust classification with likelihood-based generative models from a theoretical and practical perspective to investigate if they can deliver on their promises. Our analysis focuses on a spectrum of robustness properties: (1) Detection of worst-case outliers in the form of adversarial examples; (2) Detection of average-case outliers in the form of ambiguous inputs and (3) Detection of incorrectly labeled in-distribution inputs. Our theoretical result reveals that it is impossible to guarantee detectability of adversarially-perturbed inputs even for near-optimal generative classifiers. Experimentally, we find that while we are able to train robust models for MNIST, robustness completely breaks down on CIFAR10. We relate this failure to various undesirable model properties that can be traced to the maximum likelihood training objective. Despite being a common choice in the literature, our results indicate that likelihood-based conditional generative models may are surprisingly ineffective for robust classification.
Motivation & Objective
- To evaluate whether class-conditional generative models can robustly detect adversarial examples, ambiguous inputs, and incorrectly labeled in-distribution data.
- To investigate whether the maximum likelihood objective used in training these models supports reliable outlier detection.
- To understand why generative models succeed on MNIST but fail on CIFAR10 despite similar architectures and training setups.
- To explore the disconnect between high classification accuracy and poor likelihood-based detection in high-dimensional data.
Proposed method
- Theoretical analysis of the impossibility of guaranteeing adversarial example detection even for near-optimal generative classifiers under the maximum likelihood objective.
- Empirical evaluation of conditional generative models trained via maximum likelihood on MNIST and CIFAR10 using diverse adversarial attacks, including boundary attacks.
- Introduction of a new dataset, BG-MNIST, which combines MNIST digits with CIFAR10 backgrounds to decouple discriminative difficulty from generative complexity.
- Use of linear interpolation between real and generated images to assess likelihood behavior and model confidence across the input manifold.
- Application of reweighted discriminative objectives to maintain high classification accuracy while analyzing the resulting likelihood degradation.
- Comparison of likelihood and class probability behavior across interpolation paths to identify failure modes in generative modeling.
Experimental results
Research questions
- RQ1Can a near-optimal conditional generative model theoretically guarantee detection of adversarially perturbed inputs?
- RQ2To what extent does the maximum likelihood objective hinder the ability of generative models to detect out-of-distribution or adversarial inputs?
- RQ3Why does robustness on MNIST not generalize to CIFAR10 despite similar model architectures and training procedures?
- RQ4How do model behaviors—especially likelihood and confidence—change when interpolating between real and generated images on different datasets?
Key findings
- Theoretical analysis proves that even near-optimal conditional generative models cannot be guaranteed to reject adversarially perturbed inputs due to inherent limitations of the maximum likelihood objective.
- On MNIST, conditional generative models achieve high accuracy and show reasonable likelihood-based outlier detection, but this robustness collapses entirely on CIFAR10.
- Linear interpolation experiments reveal that for CIFAR10, interpolated images between different classes are assigned higher likelihood than real images, leading to high-confidence misclassification.
- The BG-MNIST dataset demonstrates that when generative complexity is increased to CIFAR10 levels while keeping discriminative difficulty low, the model exhibits the same failure modes as on CIFAR10, indicating that generative complexity is the root cause.
- Despite maintaining 99% classification accuracy on BG-MNIST, the log-likelihood degrades significantly (to 4.58 bits/dim), matching CIFAR10 levels and indicating poor generative quality.
- The study concludes that likelihood-based density modeling and robust classification are fundamentally at odds, as the maximum likelihood objective fails to capture critical aspects of robustness.
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.