Introduction
Evaluating generative models such as Generative Adversarial Networks (GANs) and Variational Autoencoders (VAEs) remains a significant challenge in machine learning. Traditional metrics like the Fréchet Inception Distance (FID) rely on Gaussian assumptions that often fail to capture the complexity of real-world data distributions. While newer $k$-nearest neighbor ($k$-NN) based metrics like Improved Precision and Recall (IPR) and Density/Coverage (DC) have been proposed, they often lack theoretical convergence guarantees, are sensitive to hyperparameter choices, and produce non-normalized scores that are difficult to interpret.
The Precision Recall Cover (PRC) Metric
This paper introduces Precision Recall Cover (PRC), a statistically grounded framework for measuring the fidelity (Precision) and diversity (Recall) of generative models. PRC utilizes a "mutual coverage" approach:
- Precision Cover (PC): Measures the proportion of generated samples that fall within a region of high real-data density.
- Recall Cover (RC): Measures the proportion of the real data distribution that is adequately covered by the generated samples.
The innovation of PRC lies in its use of a fixed ratio between the number of neighbors $k$ and the total number of samples $k'$. By maintaining a ratio (e.g., $k/k' = 1/3$), the authors provide a local density test with provable convergence properties. Unlike previous metrics, PRC is strictly bounded between 0 and 1, providing a clear "thermometer" for model performance.
Convergence and Robustness in Synthetic Distributions
To validate the metric, the authors tested PRC against synthetic distributions where the ground truth overlap is known. As shown in the comparative analysis across dimensions, PRC (specifically Recall Cover) demonstrates superior convergence to the true recall value compared to IPR and Coverage, particularly as the dimensionality of the data increases.
Experimental Results on Real-World Data
The diagnostic power of PRC was further evaluated using the MNIST and FFHQ datasets. A key advantage of PRC is its ability to track model improvement during training more accurately than existing methods.
Tracking VAE Training
During the training of a VAE on MNIST, the authors observed that Precision Cover (PC) correctly identified the gradual improvement in image quality. In contrast, the Improved Precision (IP) metric saturated at 1.0 almost immediately, failing to distinguish between early-stage blurry outputs and late-stage crisp images. Furthermore, the "Density" metric produced values far exceeding 1.0, making it difficult to benchmark.
Sensitivity to Mode Collapse
In "digit dropping" experiments on MNIST, Recall Cover (RC) showed a linear decrease proportional to the number of missing modes. Older metrics like "Coverage" were found to be insensitive to diversity loss until a vast majority of modes were already missing, highlighting PRC's utility in detecting mode collapse early.
Conclusion and Future Work
Precision Recall Cover offers a robust, interpretable, and mathematically sound alternative for evaluating generative models. Its normalization and stability across hyperparameters make it a practical tool for researchers. While it still relies on feature embeddings to mitigate the curse of dimensionality in high-resolution image spaces, its theoretical foundations provide a more reliable basis for model assessment than previous $k$-NN heuristics. Future research may extend this coverage-based approach to non-visual domains such as audio and natural language processing.
Summary updated