[Paper Review] A Test of Relative Similarity For Model Selection in Generative Models
This paper proposes a non-parametric statistical hypothesis test, Relative MMD, to compare generative models by assessing which produces samples significantly closer to a real reference dataset. Using the difference in Maximum Mean Discrepancy (MMD) values between each model's samples and the reference, the method derives a joint asymptotic distribution to test significance, enabling reliable model selection when likelihoods are intractable—demonstrated to align with likelihood, accuracy, and variational bounds in deep generative models.
Probabilistic generative models provide a powerful framework for representing data that avoids the expense of manual annotation typically needed by discriminative approaches. Model selection in this generative setting can be challenging, however, particularly when likelihoods are not easily accessible. To address this issue, we introduce a statistical test of relative similarity, which is used to determine which of two models generates samples that are significantly closer to a real-world reference dataset of interest. We use as our test statistic the difference in maximum mean discrepancies (MMDs) between the reference dataset and each model dataset, and derive a powerful, low-variance test based on the joint asymptotic distribution of the MMDs between each reference-model pair. In experiments on deep generative models, including the variational auto-encoder and generative moment matching network, the tests provide a meaningful ranking of model performance as a function of parameter and training settings.
Motivation & Objective
- To address the challenge of model selection in deep generative models where likelihoods are intractable or computationally expensive to compute.
- To develop a statistically rigorous, low-variance method for comparing two generative models based on their relative similarity to a real reference dataset.
- To provide a hypothesis test that determines whether one model's samples are significantly closer to the reference than another's, without relying on likelihoods or expensive cross-validation.
- To extend the utility of Maximum Mean Discrepancy (MMD) beyond training to include model evaluation and selection with statistical significance.
Proposed method
- The test uses the difference in MMD values between each model's generated samples and a real reference dataset as the test statistic.
- It derives the joint asymptotic distribution of two correlated MMDs (from two models to the same reference) under unequal distributions, enabling significance testing.
- The null hypothesis states that the second model is not significantly closer to the reference than the first; the alternative is that the first model is closer.
- The method is non-parametric and based on U-statistics, allowing generalization to multiple dependent statistics and robust asymptotic behavior.
- It uses a characteristic kernel to ensure MMD is a proper metric on probability distributions, enabling unique embedding of each distribution.
- The test is applied across various training regimes and hyperparameters in VAEs and GMMNs to rank model performance.
Experimental results
Research questions
- RQ1Can a statistical test be developed to determine whether one generative model produces samples significantly closer to a real data distribution than another, when likelihoods are intractable?
- RQ2How can the joint asymptotic distribution of two MMDs (from different models to the same reference) be derived under unequal distribution assumptions?
- RQ3Does the Relative MMD test produce rankings of model performance that align with established metrics like likelihood, classification accuracy, and variational lower bounds?
- RQ4Can the test reliably detect performance differences across varying model architectures and training settings without requiring likelihood computation?
Key findings
- The Relative MMD test correctly identifies the model with better sample quality in synthetic experiments under both the null and alternative hypotheses.
- On MNIST, models with fewer GMMN layers and more hidden nodes were significantly preferred by the test, which aligned with higher likelihoods and better classification accuracy.
- The test showed strong agreement with Parzen-window log-likelihoods and variational lower bounds, validating its reliability as an evaluation metric.
- The method provides statistical significance guarantees without requiring expensive cross-validation or permutation testing.
- The test is computationally efficient (quadratic time) and consistent, with theoretical justification based on convergence to a moment-matching comparison of distributions.
- The results demonstrate that MMD can be used not only for training but also for principled, significance-based model selection 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.