Do Vendi Scores Converge with Finite Samples? Truncated Vendi Score for Finite-Sample Convergence Guarantees

Azim Ospanov, Farzan Farnia · DOI

Abstract

Evaluating the diversity of generative models without reference data poses methodological challenges. The reference-free Vendi and RKE scores address this by quantifying the diversity of generated data using matrix-based entropy measures. Among these two, the Vendi score is typically computed via the eigendecomposition of an $n \times n$ kernel matrix constructed from $n$ generated samples. However, the prohibitive computational cost of eigendecomposition for large $n$ often limits the number of samples used to fewer than 20,000. In this paper, we investigate the statistical convergence of the Vendi and RKE scores under restricted sample sizes. We numerically demonstrate that, in general, the Vendi score computed with standard sample sizes below 20,000 may not converge to its asymptotic value under infinite sampling. To address this, we introduce the $t$-truncated Vendi score by truncating the eigenspectrum of the kernel matrix, which is provably guaranteed to converge to its population limit with $n=\mathcal{O}(t)$ samples. We further show that existing Nyström and FKEA approximation methods converge to the asymptotic limit of the truncated Vendi score. In contrast to the Vendi score, we prove that the RKE score enjoys universal convergence guarantees across all kernel functions. We conduct several numerical experiments to illustrate the concentration of Nyström and FKEA computed Vendi scores around the truncated Vendi score, and we analyze how the truncated Vendi and RKE scores correlate with the diversity of image and text data. The code is available at https://github.com/aziksh-ospanov/truncated-vendi.

Introduction

Measuring the diversity of generative models—ensuring a model produces a wide variety of outputs rather than repetitive variations of a few modes—is critical for assessing model quality. The Vendi score has emerged as a leading reference-free metric for this purpose, utilizing the entropy of a kernel similarity matrix to quantify diversity. However, a significant practical challenge exists: calculating the Vendi score requires an eigendecomposition of an $n \times n$ matrix, a process with $O(n^3)$ complexity. Consequently, researchers typically limit sample sizes ($n$) to 20,000 or fewer.

This paper identifies a critical flaw in this practice: for kernels with infinite-dimensional feature maps (such as the Gaussian/RBF kernel), the Vendi score often fails to converge within these standard sample limits. Instead, the score continues to grow as $n$ increases, making the measured diversity a function of the computational budget rather than the model's inherent properties.

The $t$-Truncated Vendi Score

To resolve the convergence dilemma, the authors propose the $t$-truncated Vendi score. This modified metric focuses on the most significant components of the data's diversity by considering only the top-$t$ eigenvalues of the kernel matrix.

The method involves two primary steps:

  1. Truncation: The eigenspectrum is restricted to the largest $t$ eigenvalues.
  2. Redistribution: To maintain a valid probability distribution where eigenvalues sum to 1, the top-$t$ values are shifted by a constant, effectively redistributing the mass of the discarded tail eigenvalues.

Theoretical analysis proves that while the standard Vendi score may require infinite samples to stabilize with certain kernels, the $t$-truncated version is guaranteed to converge to its population limit with a manageable sample size of $n = O(t)$.

Theoretical and Practical Insights

Beyond the truncation method, the paper offers several key insights into diversity measurement:

  • The Infinite Kernel Trap: For kernels like Gaussian/RBF, the standard Vendi score is mathematically prone to "growing forever" in finite-sample settings. This renders it an unreliable benchmark for large-scale model comparison unless the sample size is massive.
  • Approximations as Truncations: The authors demonstrate that popular efficient computation methods, such as the Nyström method and Fast Kernel Entropy Approximation (FKEA), are actually providing estimates of the truncated Vendi score rather than the original. This explains why these approximations often appear more stable in practical applications.
  • RKE Stability: The Rényi Kernel Entropy (RKE) score, which utilizes order-2 Rényi entropy, is shown to possess "universal convergence." Unlike the standard Vendi score, RKE naturally stabilizes much faster without requiring explicit truncation, making it a theoretically robust alternative for finite-sample evaluation.

Experimental Evaluation

The authors validated their findings across multiple modalities, including images (ImageNet, FFHQ), text (synthetic GPT-4 paragraphs), and video (Kinetics400). They tested the scores on state-of-the-art generative models such as StyleGAN3, DALL-E 3, and Stable Diffusion XL.

Convergence behavior of Vendi and RKE scores. The top-right panel illustrates how the standard Vendi score (blue) fails to converge as sample size increases, while the truncated Vendi score (orange) and RKE scores (bottom row) reach stable plateaus.

Key results from these experiments include:

  • Convergence Failure: On ImageNet with a Gaussian kernel, the standard Vendi score continues to climb significantly at $n=20,000$, whereas the truncated version and RKE stabilize before $n=10,000$.
  • Diversity Correlation: Using StyleGAN's "truncation trick" to manually vary output diversity, the authors found that the $t$-truncated Vendi score correlates perfectly with ground-truth diversity levels, confirming that truncation does not sacrifice the metric's ability to rank models correctly.
  • Computational Efficiency: Estimating the truncated score via FKEA or Nyström is orders of magnitude faster than standard eigendecomposition. For $n=70,000$, FKEA takes approximately 2 minutes, while the standard Vendi score calculation is computationally prohibitive.

Conclusion

The $t$-truncated Vendi score provides a necessary correction to a popular diversity metric, ensuring that measurements are stable and reproducible across different sample sizes. While the choice of the truncation parameter $t$ remains a hyperparameter (with $t=10,000$ suggested as a robust default), the method aligns diversity evaluation with practical computational constraints and existing efficient approximation techniques.

Summary updated

BibTeX
@inproceedings{ospanov2025do,
  author = {Azim Ospanov and Farzan Farnia},
  title = {{Do Vendi Scores Converge with Finite Samples? Truncated Vendi Score for Finite-Sample Convergence Guarantees}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=Vb5sG3ZQjE},
}
Figure