[Paper Review] Spurious samples in deep generative models: bug or feature?
This paper investigates whether spurious samples in deep generative models are inherent flaws or structural features by evaluating the trade-off between generating all real data modes and avoiding spurious ones. Using MNIST and HWRT datasets, it demonstrates that eliminating spurious samples inevitably leads to missing genuine data modes, indicating that such samples are not errors but a consequence of full distribution coverage in the models studied.
Traditional wisdom in generative modeling literature is that spurious samples that a model can generate are errors and they should be avoided. Recent research, however, has shown interest in studying or even exploiting such samples instead of eliminating them. In this paper, we ask the question whether such samples can be eliminated all together without sacrificing coverage of the generating distribution. For the class of models we consider, we experimentally demonstrate that this is not possible without losing the ability to model some of the test samples. While our results need to be confirmed on a broader set of model families, these initial findings provide partial evidence that spurious samples share structural properties with the learned dataset, which, in turn, suggests they are not simply errors but a feature of deep generative nets.
Motivation & Objective
- To investigate whether spurious samples in deep generative models can be entirely eliminated without sacrificing coverage of the true data distribution.
- To challenge the traditional view that spurious samples are failures by analyzing their structural similarity to real data.
- To develop a quantitative framework for evaluating the trade-off between spurious and missing modes in generative models.
- To propose a new metric, Δ(M), that balances in-class and out-of-class reconstruction rates for model selection.
Proposed method
- The authors introduce a metric Δ(M) defined as the difference between in-class reconstruction rate (IRR) and out-of-class recognition rate (ORR) to quantify the spurious/missing mode trade-off.
- They train variational autoencoders (VAEs) on MNIST and HWRT datasets to generate samples and evaluate reconstruction quality on real data and out-of-class symbols.
- A digit vs. symbol classifier is trained to objectively assess whether reconstructed samples are perceived as digits (in-class) or not (out-of-class), enabling quantification of spuriousness.
- The IRR and ORR are computed on held-out test sets and visualized in a 2D plane to identify models that balance coverage and sparsity.
- An interactive visualization tool is provided to explore model behavior across the IRR-ORR spectrum, allowing users to inspect individual samples.
- The method is validated by comparing Δ(M) against objectness score (Salimans et al., 2016), showing that objectness is insensitive to spurious modes due to classifier blind spots.
Experimental results
Research questions
- RQ1Can spurious samples be completely eliminated from deep generative models without losing coverage of the true data distribution?
- RQ2Do spurious samples share structural properties with real data, suggesting they are not mere errors but inherent features of the model?
- RQ3Is there a fundamental trade-off between generating all real data modes and avoiding spurious ones in variational autoencoders?
- RQ4Can the IRR-ORR plane and Δ(M) metric be used to select models that best balance spurious and missing mode generation?
- RQ5How do standard non-likelihood metrics like objectness score perform in detecting spurious samples compared to the proposed Δ(M) metric?
Key findings
- For the VAE models studied, eliminating all spurious samples results in the model failing to generate certain genuine data modes, indicating a fundamental trade-off.
- The in-class reconstruction rate (IRR) was 99.8% on MNIST, showing strong coverage of real digits, while the out-of-class recognition rate (ORR) was 12.3%, confirming that most generated samples are structurally similar but not real digits.
- The proposed Δ(M) metric successfully captures the spurious/missing mode trade-off, with models near (0,1) achieving the best balance of high IRR and low ORR.
- Objectness score showed poor correlation with human judgment and failed to detect spurious modes due to classifier overconfidence in assigning them to digit classes.
- Interactive visualizations confirmed that models with high Δ(M) values generate diverse, digit-like samples with minimal spurious content, while low Δ(M) models produce either low-variability digits or highly spurious symbols.
- The study provides empirical evidence that spurious samples are not random errors but structural byproducts of modeling complex data distributions, suggesting they may be features rather than bugs in deep generative models.
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.