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

Azim Ospanov, Farzan Farnia

TL;DR

This paper identifies a critical flaw in the popular Vendi score: when using infinite-dimensional kernels (like the Gaussian RBF), the score fails to converge even with tens of thousands of samples. The authors propose the $t$-truncated Vendi score, which provides finite-sample convergence guarantees by focusing on the top-$t$ eigenvalues of the kernel matrix, effectively making diversity evaluation both theoretically sound and computationally feasible.

What Problem Does This Paper Address?

Evaluating the diversity of generative models (like GANs or LLMs) is notoriously difficult without a "gold standard" reference dataset. The Vendi score and Rényi Kernel Entropy (RKE) emerged as powerful reference-free metrics. They work by constructing a similarity matrix $K$ from $n$ generated samples and calculating its entropy.

However, two major hurdles remained:

  1. Computational Cost: Calculating the Vendi score requires an eigendecomposition of an $n \times n$ matrix, which scales at $O(n^3)$. This usually limits researchers to fewer than 20,000 samples.
  2. Statistical Convergence: Does a score calculated from 20,000 samples actually represent the "true" diversity of the model (the population limit)? The authors found that for complex, infinite-dimensional kernels, the Vendi score keeps growing as you add more samples, never settling on a stable value.

Methods

The authors introduce the $t$-truncated Vendi score. The core idea is to stop chasing the "long tail" of negligible eigenvalues that cause the standard score to drift.

  • Truncation: They take only the top-$t$ eigenvalues ($\lambda_1, \dots, \lambda_t$) of the normalized kernel matrix.
  • Redistribution: To ensure the eigenvalues still form a valid probability distribution (summing to 1), they shift each of the top-$t$ eigenvalues by a constant $c$.
  • Theoretical Bridge: They prove that this truncated score is guaranteed to converge to its population limit with $n = O(t)$ samples.

Crucially, they show that common speed-up techniques like the Nyström method and Fast Kernel Entropy Approximation (FKEA) are not just approximations of the original Vendi score—they are actually estimating this new, theoretically stable $t$-truncated version.

The proposed truncation process redistributes the mass of the tail eigenvalues to the top-t eigenvalues to ensure a valid, converging probability model.

Datasets

The authors validated their findings across multiple modalities:

  • Images: ImageNet and FFHQ (High-quality faces).
  • Text: A synthetic dataset of 400,000 paragraphs generated by GPT-4 regarding 100 different countries.
  • Video: The Kinetics400 dataset.
  • Generative Models: StyleGAN3 and StyleGAN-XL were used to simulate varying levels of diversity by adjusting their internal truncation parameters.

Key Insights and Ideas

  • The Infinite Dimension Trap: For kernels with finite dimensions (like Cosine Similarity), the Vendi score converges quickly once the sample size exceeds the feature dimension. But for infinite-dimensional kernels (like Gaussian/RBF), the score is a moving target.
  • RKE is Robust: Unlike the standard Vendi score (Order-1 entropy), the RKE score (Order-2 entropy) enjoys universal convergence guarantees. It settles down much faster, regardless of the kernel used.
  • Approximations are Features, not Bugs: Methods like Nyström are often viewed as "necessary evils" to save time. This paper reframes them as statistically superior because they implicitly perform the truncation needed for convergence.

Key Results

  • Convergence Failure: On ImageNet with a Gaussian kernel, the standard Vendi score continues to climb significantly at $n=20,000$, while the truncated version stabilizes around $n=10,000$.
  • Universal RKE Convergence: Experiments confirmed that RKE converges to its limit with fewer than 10,000 samples across all tested kernels.
  • Diversity Correlation: The truncated Vendi score strongly correlates with the ground-truth diversity of generative models. As the StyleGAN truncation factor $\psi$ increases (indicating more diversity), the truncated Vendi score rises accordingly.
Comparison of convergence: While RKE and Truncated Vendi stabilize, the standard Vendi score with a Gaussian kernel fails to converge within standard sample sizes.

Limitations and Future Work

  • Hyperparameter Selection: The truncation parameter $t$ and the kernel bandwidth $\sigma$ significantly impact the final score. While the paper provides intuition for selecting $\sigma$ (to distinguish inherent modes), more automated selection methods could be explored.
  • Computational Trade-offs: While $n=O(t)$ is a theoretical guarantee, the practical "sweet spot" for $t$ relative to the complexity of the dataset remains an area for further empirical study.
  • Broader Approximations: The authors suggest exploring how other kernel approximation techniques beyond Nyström and FKEA relate to the truncated population Vendi.

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