TL;DR
This paper introduces two novel statistical tests, RelPSI and RelMulti, for comparing multiple candidate models simultaneously. These tests offer robust control over different types of errors (false positives and false discoveries), outperforming naive model comparison methods and providing a principled way to assess model quality when the "best" model is unknown.
What Problem Does This Paper Address?
When evaluating multiple candidate models (e.g., generative models, density estimators), a common approach is to pick the model that performs best on a chosen metric. However, this "winner-takes-all" strategy can be misleading due to noise in the data and the inherent uncertainty in estimating model performance. It's difficult to definitively say if a model is truly worse than the best, or if its slightly lower score is just due to random chance. This paper tackles the problem of multiple model comparison in a non-parametric way, aiming to determine for each candidate model whether it's significantly worse than the best model in the set, or if it's indistinguishable from the best. This is crucial for reliable model selection and understanding the relative strengths of different approaches.
Methods
The authors propose two new statistical tests: RelPSI and RelMulti. Both tests leverage kernel-based discrepancy measures like Maximum Mean Discrepancy (MMD) and Kernel Stein Discrepancy (KSD) to quantify the difference between a model and the true data distribution.
- RelPSI (Post Selection Inference): This test controls the False Positive Rate (FPR). It uses the entire dataset for both selecting a reference model (the one with the lowest estimated discrepancy) and for performing the statistical tests. This approach is designed to maximize the power of the test but requires careful handling of the conditional null hypotheses, which is achieved using a framework called post-selection inference.
- RelMulti (Multiple Correction): This test controls the False Discovery Rate (FDR). To simplify the statistical analysis and ensure independence between selection and testing, RelMulti splits the data into two sets: one for selecting the reference model and another for performing the tests. This approach is more conservative but provides a clear control over the proportion of models incorrectly identified as worse than the best.
Both methods are designed to work with an arbitrary number of candidate models ($l > 2$) and can utilize either MMD (suitable for implicit models represented by samples) or KSD (suitable for explicit models with known density functions).
Datasets
The paper evaluates its methods on both synthetic and real-world datasets:
- Synthetic Datasets:
- Mean shift problems (1D and higher dimensional)
- Blobs problem (mixture of Gaussians)
- Restricted Boltzmann Machine (RBM) models with varying perturbations
- Mixture of Gaussians with different mixing proportions
- Rotating Gaussian distributions
- Real-world Datasets:
- CelebA: Used for comparing image generation models (GANs). The models generate images of celebrities, and the comparison is based on annotated features.
- Chicago Crime Dataset: Used for density estimation models (Mixture of Gaussians, MADE, MAF).
Key Insights and Ideas
- Principled Multiple Model Comparison: The paper moves beyond simple score-based selection by providing statistical tests that control specific error rates, making model comparison more reliable.
- RelPSI vs. RelMulti Trade-off: RelPSI offers potentially higher power (True Positive Rate) by using all data for testing, but at the cost of more complex statistical inference. RelMulti, by splitting data, offers simpler inference and FDR control but might have lower power.
- KSD's Advantage with Density Information: When candidate models provide density functions, KSD-based tests generally outperform MMD-based tests, especially for detecting subtle differences.
- Naive Selection is Problematic: The experiments clearly show that simply picking the model with the lowest score without statistical correction leads to a high rate of false positives.
- Importance of Reference Model Selection: The performance of both RelPSI and RelMulti is influenced by the selection of the reference model, and the statistical framework accounts for this uncertainty.
Key Results
- Controlled Error Rates: Both RelPSI and RelMulti successfully control their respective error rates (FPR for RelPSI, FDR for RelMulti) at the desired significance level ($\alpha$).
- Higher TPR for RelPSI: Under certain conditions, RelPSI demonstrates a higher True Positive Rate (TPR) than RelMulti, especially when the number of samples is large. This is empirically validated in experiments.
- KSD Outperforms MMD: In experiments where density information is available (e.g., RBM, Chicago Crime dataset), KSD-based tests generally achieve higher rejection rates (indicating better detection of worse models) and TPR.
- Real-world Performance: The proposed methods show promising results on CelebA and Chicago Crime datasets, demonstrating their applicability to complex, real-world problems. For instance, in the CelebA experiment, the naive FID score selection incorrectly identified the best model 73% of the time, whereas the proposed methods provided more reliable assessments.
Limitations and Future Work
- Sample Size Dependence: The theoretical guarantees and performance of the tests are asymptotic, meaning they rely on a sufficiently large number of samples. The paper notes that for smaller sample sizes, the performance might be affected.
- Kernel Choice: The performance of MMD and KSD heavily relies on the choice of the kernel function and its bandwidth. While the median heuristic is used, it might not be optimal for all datasets, as seen in the "blobs" experiment.
- Computational Cost: While linear-time estimators for MMD and KSD are used, the overall computational cost can still be significant, especially with a large number of candidate models.
- Future Work: The authors suggest exploring other discrepancy measures beyond MMD and KSD, and further investigating the performance of these tests in scenarios with more complex dependencies or different types of models. The paper also hints at the possibility of extending these methods to other statistical inference tasks.
Summary updated