Abstract
Shannon entropy is not the only entropy that is relevant to machine-learning datasets, nor possibly even the most important one. Traditional entropies such as Shannon entropy capture information represented by elements’ frequencies but not the richer information encoded by their similarities and differences. Capturing the latter requires similarity-sensitive entropy (“sentropy”). Sentropy can be measured using either the recently developed Leinster-Cobbold-Reeve framework (LCR) or the newer Vendi score (VS). This raises the practical question of which one to use: LCR or VS. Here we address this question theoretically and numerically, using 53 large and well-known imaging and tabular datasets. We find that LCR and VS values can differ by orders of magnitude and are complementary, except in limiting cases. We show that both LCR and VS results depend on how similarities are scaled, and introduce the notion of “half-distance” to parameterize this dependence. We prove the VS provides an upper bound on LCR for all non-negative values of the Rényi-Hill order parameter, as well as for negative values in the special case that the similarity matrix is full rank. We conclude that VS is preferable only when a dataset’s elements can be usefully interpreted as linear combinations of a more fundamental set of “ur-elements” or when the system that the dataset describes has a quantum-mechanical character. In the broader case where one simply wishes to capture the rich information encoded by elements’ similarities and differences as well as their frequencies, we propose that LCR should be favored; nevertheless, for certain half-distances the two methods can complement each other.
I. INTRODUCTION
Entropy is the foundational quantitative descriptor of information, disorder, and uncertainty in a system and finds applications across not only science and engineering but in commerce and law [1–4]. Traditional entropy, as formulated by Shannon [5] and generalized by Rényi [6] and later Tsallis [7], depends exclusively on the frequency distribution of a system’s unique elements: these entropies represent the number of bits (or nats) required to encode the shape of the distribution, with skew distributions requiring fewer bits and flatter distributions requiring more (Fig. 1). These entropies rely solely on frequencies and therefore ignore a rich additional source of information about the system: the pairwise similarities and differences among its elements (Fig. 1).
FIG. 1.
The concepts of element, frequency distribution, traditional entropy (here calculated at q = 1), similarity function, similarity measure (zij, with examples), similarity matrix (Z), and sentropy (here calculated as LCR, also at q = 1 for the most direct comparison). Entropy values are expressed in effective-number form, i.e. in units of the effective number of images present in the dataset. The choice of similarity measure is up to the investigator (see Section V B); in this example, the similarity measure is defined as the normalized sum of the shared colors (0, 1, or 2) and shared features (outside color, inside color, and shape).
Incorporating similarity into the calculation results in so-called similarity-sensitive entropy or sentropy. This was first accomplished by Leinster and Cobbold [8] and extended by Reeve and colleagues [9], in a framework we refer to as LCR [10]. By incorporating similarity, LCR can differentiate between systems that have identical frequency distributions but whose elements vary in how alike they are (Fig. 1). This capability is valuable in many domains [11], especially in machine learning (ML) [12, 13] (for example, to achieve state-of-the-art performance more efficiently [14]), where datasets generally consist of all-unique elements, meaning any two datasets that are the same size will have the same traditional (i.e. similarity-insensitive) entropies because their frequency distributions are both flat, even though they may differ dramatically in composition. Sentropy has proven to provide valuable insights into highly heterogeneous biological systems such as antibody and T-cell receptor (TCR) repertoires [15, 16], in which the vast majority of elements are unique, making the distributions heavy/long-tailed or nearly flat, such that traditional entropies are less informative.
More recently, an alternative form of sentropy to LCR has been described, consisting of the Vendi score [17, 18] and its variants or “cousins” [19]—hereafter collectively VS. This alternative raises the practical question of which form of sentropy to choose for a given system or dataset: LCR or VS. The present work addresses this question from several angles—conceptual, empirical, and mathematical—including by measuring LCR and VS on a wide variety of medical and non-medical imaging and tabular datasets commonly used for ML research, and comparing their values.
II. RELATED WORK
Entropies fall into two classes: (i) traditional, i.e. similarity-insensitive, and (ii) similarity-sensitive, a.k.a. sentropy. Although the literature often refers to “the” entropy (either as a shorthand or referring specifically to Shannon entropy), both classes are actually families of measures; individual members are distinguished by how they weight frequencies and, for sentropy, by their similarity matrix as well (see Table I).
TABLE I.
Summary of ma jor entropy families, their frequency-weighting forms, similarity sensitivity, and main applications.
| Entropy type and formula | Frequency weighting | Similarity-sensitive? | Notes and applications |
|---|---|---|---|
|
Shannon (Boltzmann–Gibbs)
|
q = 1 | No | Information theory, Ecology, ML loss functions, Thermodynamics |
|
Rényientropy (α)
|
Any q | No | Info-theoretic security, Ecology, Fractal analysis, Physics |
|
Tsallis entropy (q-entropy) |
Any q | No | Non-extensive statistical mechanics, Turbulence, Astrophysics |
|
Quantum (von Neumann) entropy
|
q = 1 | No | Quantum information, Entanglement, Quantum thermodynamics |
|
| |||
|
LCR
for for |
Any q | Yes | Phylogenetic, attribute, and functional diversity are special cases. Biodiversity, microbiomes, language… |
|
Vendi score
|
q = 1 | Yes | are eigenvalues of (positive semi-definite). ML diversity, Generative model evaluation, Ecology |
|
Cousins of the Vendi score
|
Any q | Yes | Quantum-inspired stats, Class diversity profiling |
|
| |||
|
Other variants Burg: KL: CRE: |
Partly | Partly | Spectral estimation (Burg); Bayesian inference (KL); Survival analysis (CRE) |
A. Traditional, similarity-insensitive entropy
The best known traditional entropy is Shannon entropy: [5], where pi is the frequency of unique element i. Shannon entropy can be thought of as a weighted average of elements’ frequencies, with the weights being the logarithms of the frequencies themselves (logpi). Rényi [6] generalized this into a family of entropies Hα of order α—“deformations” of Shannon entropy—in which α > 1 represents greater up-weighting of more-frequent elements relative to Shannon entropy; Shannon entropy itself is Hα=1
Hill showed that exponentiating Rényi entropy yields the “effective number” of distinct elements in the dataset or system [20]. Effective numbers, denoted Dq, use a parameter q (identical to Rényi’s α) such that q = 0 counts the distinct types (by giving zero consideration to frequencies), while larger q down-weight less-frequent elements. D1 = exp(H1) is Shannon entropy in effective-number form. Hill demonstrated that several other familiar statistics correspond to special cases of Dq for different q, including Simpson’s index for q = 2 and the Berger–Parker index for q = ∞ [20]. For this reason, Hill’s formulation is often described as a unifying framework. Dq are known as the Hill numbers or D numbers (for “diversity”) and are given by
| (1) |
where p denotes the frequency distribution of unique elements. Other generalizations such as Tsallis entropy [7] also exist. What these traditional entropies have in common is that they are similarity-insensitive: they depend solely on p and ignore any relationships among the elements.
B. Similarity-sensitive entropy: sentropy
1. The Leinster-Cobbold-Reeve framework (LCR)
LCR [10] extends Hill’s framework by incorporating information about the similarities and differences of the elements within the system, which traditional entropies do not. A similarity matrix Z is introduced, with entries Zij ∈ [0, 1] that quantify the similarity between elements i and j. The similarity of each element to itself is set to 1, making Z’s diagonal entries 1. The resulting quantities, denoted , are the exponentials of similarity-sensitive versions of the Rényi entropies and are given by
| (2) |
where is the frequency-weighted average similarity of element i to all the elements (including itself). When this average is large, element i is considered ordinary, making Eq. 2 interpretable as the average “ordinariness” [8] across all elements. appears widely in the recent literature, where it is variously known as:
phylogenetic diversity [21] in the special case where zij forms an ultrametric, typically derived from a phylogenetic tree;
functional diversity [22] when the similarity pertains to elements’ function, for example the binding similarity between pairs of antibodies or TCRs [16];
attribute diversity [22] when interpreting the system as a set of attribute contributions instead of frequencies; and
similarity-sensitive or similarity-aware diversity more generally [11], for which “sentropy” is a convenient shorthand.
LCR has proven useful for describing many complex systems whose empirical samples are uniform or close to uniform—i.e., where unique elements’ frequency distribution is flat or nearly so—a regime where traditional entropies become less informative (Fig. 1). Representative applications in the life sciences include high-throughput immunology (immunomes) [16], microbiome research (metagenomics) [11], and medical imaging [12]. Specifically in ML contexts, where training sets (e.g., image collections) are often composed of unique observations (images), LCR has been shown to help identify performance predictors beyond dataset size or class balance [12].
2. The Vendi score and its variants (VS)
VS constitutes a related but separate class of sentropic measures. Like LCR, VS entropies are functions of a similarity matrix, but now the matrix has dimensions n × n, where n is the number of observations or total elements; for this reason we refer to it as Zn to distinguish it from the Z used in LCR, which has one row/column per unique element. (When all elements are unique, Z = Zn.) We can define Zn in terms of Z as
| (3) |
where s(i) is the unique element of which the ith overall element is an instance or example.
The original VS is defined as the exponential of the Shannon entropy of the eigenvalues of (where λi are the eigenvalues of Z):
| (4) |
The division by n normalizes Zn to unit trace (because as in Z, the diagonals of Zn equal 1). VS is to this similarity matrix what the von Neumann entropy is to the quantum density matrix. Replacing the Shannon term in Eq. 4 with a Rényi entropy of order q yields the so-called “cousins” [19] of the Vendi score:
| (5) |
VSq is a 1-parameter family of scores with q as in .
Note that LCR can also be written as a function of Zn if desired:
| (6) |
where is the uniform distribution on the n elements.
III. THEOREM: VS BOUNDS LCR
We now present our main theoretical result:
Theorem 1. Let Z be an n × n (n > 0) positive semidefinite (PSD) similarity matrix, i.e. a PSD symmetric matrix with entries between 0 and 1 whose diagonal entries equal 1. Denote LCR and VS at order q as and VSq (Z), respectively, on the uniform distribution. Then for q ≥ 0 (and for q < 0 if Z is full rank):
| (7) |
Following recent work [23–27], large language models (LLMs; especially Claude Opus 4.6) contributed to the proofs below. All results were manually checked.
Lemma 1. Let Z be an n-by-n (n > 0) non-negative symmetric matrix. Denote by λi the (ordered) eigenvalues of Z, define , and let R be the diagonal matrix defined by Rii = ri. Then Z ⪯ R, i.e. R – Z is PSD.
Proof. We must show that for any complex valued vector v, . Computing, we find
| (8) |
| (9) |
| (10) |
| (11) |
where we have used the symmetry of Z, and the final inequality follows since Z is non-negative, i.e. Zij ≥ 0.
Lemma 2. Let Z be as in Theorem 1 and define λi, ri, and R w.r.t. Z as in Lemma 1. Construct
| (12) |
(Note that since each ri ≥ 1, R is invertible). Then M is a PSD matrix with the same rank as Z, all of whose eigenvalues fall in the range [0, 1].
Proof. Because multiplication by an invertible matrix preserves the rank, given that is invertible, rank(M) = rank(Z).
Note that Z, R, and are real symmetric matrices, and hence Hermitian, and furthermore by assumption Z is PSD. Consequently is also PSD, as follows. Consider arbitrary complex vector v. Because , it is true that
| (13) |
But since Z is PSD, we have
| (14) |
Since v was arbitrary, this proves M is PSD.
To show that the eigenvalues of M are bounded above by 1, it suffices to show that M ⪯ I, i.e. that I – M is PSD. This follows because Z ⪯ R, as proved in Lemma 1, but . We thus find that all the eigenvalues of M must be in [0, 1].
An alternative demonstration that the eigenvalues are bounded above by 1 follows from the Perron-Frobenius theorem [28, 29]. Since M is non-negative, the Perron-Frobenius theorem guarantees that M has a (not necessarily unique) non-negative eigenvector, and that all non-negative eigenvectors have a single eigenvalue corresponding to the spectral radius of M. Such an nonnegative eigenvector is provided by (with 1 being the all-ones vector), which we confirm by computing
| (15) |
Since the associated eigenvalue is 1, and since we have already shown that M is PSD, we find that all the eigenvalues of M must be in [0, 1].
Lemma 3. Let Z be as in Theorem 1. Then for real q ≥ 1,
| (16) |
Likewise, for real 0 < q < 1,
| (17) |
Proof. Let M be as in Lemma 2. Lemma 2 established that M is PSD and has eigenvalues in [0, 1]. Note that . By the Araki-Lieb-Thirring inequality [30–32], for any PSD matrices A and B, and for any p ≥ 0 and q ≥ 1, we have:
| (18) |
Substituting , B = M, and p = 1, for q > 1:
| (19) |
where the equality is by the cyclicity of the trace. However, because the eigenvalues of M are in the range [0, 1] we have for q > 1 that Mq ⪯ M , meaning
| (20) |
proving the claim for q > 1. For 0 < q < 1, the direction of the Araki-Lieb-Thirring inequality reverses, yielding
| (21) |
but also M ⪯ Mq (since xq ≥ x for 0 ≤ x ≤ 1 and q ≤ 1) yielding
| (22) |
proving the claim for 0 < q < 1.
Proof of Theorem 1. We can now prove Theorem 1 case by case.
The proof is an application of the Gershgorin circle inequality. First note that
| (23) |
| (24) |
where λmax is the largest eigenvalue of Z, i.e. , and likewise . However, by the Gershgorin circle inequality, every eigenvalue of Z must fall within a Gershgorin interval, i.e. in one of the intervals . As such, noting that , we must have that every eigenvalue of Z is bounded by . But from Lemma 3, this means that
| (25) |
We now compute
| (26) |
But since is monotonically decreasing for q > 1 (and is a positive constant), by Lemma 3 we get
| (27) |
On the other hand, since is monotonically increasing for 0 < q < 1, but the inequality from Lemma 3 reverses in this case, we get the same inequality in this case.
We have proven the inequality for q > 1 and 0 < q < 1. Because both sides of the inequality are continuous functions of q [10] [19], the result for q = 1 follows by continuity.
We begin by computing
| (28) |
| (29) |
Construct M as in Lemma 2. The entries of M are given by
| (30) |
with diagonal entries
| (31) |
Consequently,
| (32) |
However, Lemma 2 established that the eigenvalues of M lie in the [0, 1] and that M shares the same rank with Z. Letting k = rank(Z) and μi be the eigenvalues of M (in descending order), we have
| (33) |
proving Theorem 1 for q = 0, completing the proof for all q ≥ 0.
By definition, V S0 (Z) = rank(Z) = n. Rényi entropies are known to decrease monotonically with q [10]. Generalized VS is simply the Rényi entropy of the eigenvalues of Z/n. As such we have for q ≤ 0
| (34) |
Finally, for q = −∞, [10] proves that the LCR diversities likewise decrease monotonically in q, implying
| (35) |
Define . Then ri ≥ 1, since the entries of Z are non-negative, and the diagonal entries (one of which contributes to ri) are all 1. Thus
thereby completing the proof.
IV. EXPERIMENTAL TESTS
A. Datasets and definitions
The following imaging and tabular datasets were used for numerical experiments comparing LCR and VS:
Image datasets. 22 large (≥ 10, 000-image) medical and non-medical vision benchmarks were used: MNIST [33], Fashion-MNIST [34], CIFAR-10 and CIFAR-100 [35] (from the torchvision [36] Python package); BloodMNIST, ChestMNIST, OctMNIST, OrganAMNIST, OrganCMNIST, OrganSMNIST, PathMNIST, and TissueMNIST from the MedMNIST collection [37, 38]; the Amphibia, Insecta, Mammalia, Plantae, and Reptilia subsets from iNaturalist [39]; the computed tomography (CT) and ultrasound (US) subsets from RadImageNet [40], the NIH ChestXRay dataset [41]; COCO (Common Objects in Context) [42]; and MIDRC COVIDx CXR-4 [43]. For computational convenience while still preserving content, images in the iNaturalist collection as well as the MIDRC COVIDx CXR-4 dataset and the NIH ChestXRay dataset were downscaled to 250 × 250 pixels, and images in the COCO dataset were scaled to 100 × 100 pixels; also for convenience, for each dataset, 10,000 images were selected uniformly at random for LCR and VS calculations.
Tabular datasets. After selecting for a maximum of 30 columns and 200,000 rows, the 31 most frequently downloaded datasets from the University of California Irvine Machine Learning Repository (UCIML) were retrieved [44]. For each dataset, identifier columns and any features containing nonnumeric strings or time-series data were removed.
The terms “system” and “dataset” are used interchangeably (Fig. 1). The elements of image and tabular datasets are single images and single rows, respectively. Each element appears only once in these datasets; i.e. each element is also a unique element.
B. Similarity matrices
Similarity between each two (unique) elements xi and xj was calculated from the Euclidean distance (L2 norm) as follows:
| (37) |
where k is a parameter that was varied during experiments to test for effects on results. This similarity measure was chosen for its simplicity and for being provably positive-definite (PSD), guaranteeing valid similarity matrices for VS (see Section VI); LCR has no such restriction [10]. Imaging datasets were first embedded into a two- or three-dimensional space using uniform manifold approximation and projection (UMAP) [45] and the default k taken to be 2−1/2 (varying random seeds to verify robustness), making the norm in Eq. 37 equivalent to the root-mean-square distance (RMSD). UMAP embeddings avoid the high dimensionality of raw pixel values, which has adverse effects on distance-based algorithms [46]. Note that UMAP projections are most often chosen to be in two dimensions. Empirically, UMAP embeddings generally place similar images near each other and different images further from each other (e.g. Figure 2), rationalizing the use of these embeddings in the literature and validating their use here. We present 2D UMAP results in the main text and 3D in the appendix A.
FIG. 2.
The first 10,000 images of the MNIST digits dataset colored (a) by digit (labeled using representative images), (b) by HDBSCAN cluster, and (c) by similarity to one of the images (a “9”). The effective number of images in this dataset is 12.5 by LCR and 95.9 by VS.
Unlike images, the dimensionality of the tabular datasets used here is low, rationalizing direct Euclidean distance. The default k for tabular datasets was 1.
C. Entropy and sentropy calculations
The sentropy Python package [11] was used to compute LCR as the γ diversity; this is the effective-number form of the corresponding entropy (see Section II A). The package accepts a user-provided similarity matrix and returns results for any q; we primarily report results for q = 1 (Shannon-type LCR) for direct comparison with the default VS (see Section II B 2). VS was calculated using the vendi-score package [17, 19]. This implementation computes the eigenvalues of the similarity matrix, retains the positive spectrum, and evaluates the exponential of the Shannon entropy of those eigenvalues, yielding a scalar appropriate for comparison to LCR. Similarity matrices were calculated on a GPU-enabled workstation equipped with multi-core CPUs. LCR and VS computations were performed on a 2024 M4 Apple Mac mini with 64GB unified memory.
D. Clustering
HDBSCAN (Hierarchical Density-Based Spatial Clustering of Applications with Noise) [47] was used to obtain a non-entropic estimate of the effective number of unique elements as the number of clusters present in each dataset. HDBSCAN adapts to varying densities and does not require a priori specification of the cluster count, making it well-suited for heterogeneous data.
E. Speed tests
As a practical comparison, empirical run times for sentropy and vendi-score were calculated using the Python timeit package with 5-fold replications and measured on a 2024 M4 Apple Mac Mini with 64GB unified memory.
F. LCR and VS of imaging and tabular datasets
We first compared LCR to VS, both at q = 1, on a simple, well-known imaging dataset: MNIST handwritten digits. The results below are for a random 10,000-image subset, taken for computational convenience. Both quantities were expressed in their effective-number forms to enable comparison with an independent benchmark: the number of clusters obtained by the state-of-the-art clustering algorithm HDBSCAN.
Fig. 2a displays a UMAP embedding of the data, coloring each digit by its label. HDBSCAN detects six clusters, successfully grouping together digits that appear visually similar (Fig. 2b). LCR yields the effective number of unique images after accounting for pairwise image similarity; it allows visually similar images to each contribute less to the entropy than if they were completely distinct from each other (Fig. 2c). Consequently, points that lie close together count less toward the total, whereas points separated by some distance contribute more independently, even for points that happen to be in the same cluster. Taken together, these considerations suggest that LCR should approximate the number of clusters—potentially exceeding it slightly when clusters are somewhat loose. Indeed, the similarities among the images in this 10,000-image subset result in it having an effective number of just 12.5 images according to LCR: roughly twice the number of clusters and 25% greater than the number of classes (10). Mathematically, this indicates that this MNIST subset possesses the same entropy as a hypothetical dataset containing 12-13 completely dissimilar elements (i.e. with zero pairwise similarity). This result can be rationalized as follows: the many stylistic variations of certain digits—e.g., the different ways to write a 1, 4, or 7—increase the sentropy, while visual similarities among digits—such as the similarity between many 4s, 7s, and 9s, which cluster together per HDBSCAN—decrease it relative to a scenario in which all 10 digit classes were entirely distinct.
In contrast, VS for this dataset was substantially higher, yielding an effective number of 95.9 elements. However, its interpretation differs from that of LCR: the VS value indicates that the images possess the same traditional entropy as a collection of roughly 96 mutually orthogonal eigen- or “ur”-images, each actual image in the dataset being a linear combination of these. Fig. 3a displays the 100 eigen-images with the largest eigenvalues, which dominate the total entropy (Fig. 3b, gray). Some of these eigen-images resemble recognizable digits, whereas others resemble superpositions of multiple digits that do not otherwise correspond to anything obviously familiar. VS is precisely the entropy of the eigenvalue spectrum, which can be interpreted as the frequency distribution of a hypothetical dataset composed of eigen-images at frequencies given by the eigenvalues. The total number of eigen-images equals the total number of images in the subset (10,000); the fact that the VS effective number is much smaller than this implies that only a handful of eigenvalues are large, while most are small, as confirmed by Fig. 3b.
FIG. 3.
(a) Top 100 eigenimages for the MNIST digits dataset and (b) their eigenvalues (in the gray region), alongside the full eigenvalue spectrum. Note the log axes.
Fig. 4 shows LCR and VS values for 53 well known machine-learning datasets, including medical and non-medical imaging and tabular datasets, demonstrating large differences for imaging datasets (embedded in 2D UMAP pro jections) and smaller (and sometimes no) differences for tabular datasets (in their native space).
FIG. 4.

LCR and VS for (a) imaging and (b) tabular datasets, sorted by VS (q = 1; default values of k for each dataset type).
G. Trends with LCR and VS
Fig. 5 presents comparisons among LCR, VS, and the number of HDBSCAN clusters across all datasets (for default k at q = 1; Figs. 6 and 7 investigate other ks and qs), with imaging and tabular datasets evaluated separately. As observed for MNIST, both LCR and VS were generally larger than the cluster count. The principal exceptions were the CIFAR image datasets, where the absence of meaningful substructure produced hundreds of very small clusters. Correlations between the number of clusters and LCR, and between the number of clusters and VS, were both low (R2 = 0.05 and 0.06, respectively), indicating that these entropy measures capture information not captured by clustering. In contrast, LCR and VS correlated strongly with each other for both imaging and tabular datasets (R2 = 1.00 and 0.90, respectively). Fig. 7 shows results for q = 0 and ∞.
FIG. 5.
Correlations among LCR, VS, and HDBSCAN for (a) imaging (2D UMAP; 10 different random seeds) and (b) tabular datasets. Each point represents a dataset. All entropies are effective-number forms at q = 1. Red line = linear regression fit; gray line = 1:1 (off the scale to the left for (a), far right). Select datasets are labeled. (c) UMAPs for labeled imaging datasets, colored by cluster. Gray points = unclustered elements.
FIG. 6.

LCR vs. VS at a very small half-distance, an intermediate half-distance with low correlation, and large halfdistance for q = 0, 1, and ∞ for (a-b) imaging and (c-d) tabular datasets. The scatterplots in (a) and (c) are for q = 1. Red line = linear regression fit; gray line = 1:1. Each point represents a dataset. (b) and (d): vertical gray lines = the k values plotted in (a) and (c).
FIG. 7.
LCR vs. VS for q = 0 and ∞ for (a-b) imaging and (c-d) tabular datasets at their default k values (1 and ≈ 2−1/2, respectively). Each point represents a dataset.
The picture changed when the similarity matrix Z was scaled by varying the parameter k in Eq. 37. Fig. 6 shows results for tabular datasets for three k values spanning 15 orders of magnitude—2.6 × 10−8, 2.0 × 10−1 , and 8.4 × 107—selected to bracket the reciprocals of the minimal and maximal entries of the distance matrices. We refer to k as the half-distance (by analogy with half-life): consider elements i and j separated by a distance dij with similarity zij ; increasing their separation by an additional k halves the similarity zij/2.
The half-distance k has a major impact on the correlation between LCR and VS. When k is very small, all zij approach 1, collapsing the system to a single individual for both LCR and VS (Fig. 6a and c, left), yielding a perfect correlation (R2 = 1.00). When k is very large, all off-diagonal zij approach 0, making every element essentially unique; consequently, both LCR and VS converge to the number of elements in the dataset, and the correlation again is perfect (R2 = 1.00) (Fig. 6a and c, right). Only at intermediate k values do LCR and VS provide independent information (Figs. 6a and 6c, middle).
To further illustrate this effect, Figs. 6b and 6d display R2 , the Pearson correlation, and the corresponding covariance as functions of k for imaging and tabular datasets. For tabular datasets at q = 1, the R2 and correlation curves exhibit several relative minima; the absolute minima—R2 = 0.68 and correlation = 0.83—did not occur at the same k value that yields the maximal covariance, near k = 0.2. This k value for the middle panels of Fig. 6a and c was chosen for this reason. We observed different-shaped curves for q = 0 and q = ∞, and the values of k at the extrema had no obvious connection to each other or to the extreme regimes and also differed between the tabular and imaging datasets; it is unclear how to predict their location for the general case of a generic similarity matrix Z.
V. DISCUSSION
Quantifying the information contained in a system is essential for virtually any complex system. This includes ML datasets, where the fact that most elements are generally unique—no repeated images (in image datasets) or rows (in tabular datasets)—renders traditional entropy (Shannon entropy and the other Rényi entropies) uninformative. This is because traditional entropy measures information encoded by the shape of the elements’ frequency distribution, but when the elements each appear only once, this distribution is flat (Fig. 1): there is no additional information there. Traditional entropy is used to measure the distribution of class sizes, which often vary; this is class balance. However, there is no obvious way to use class balance to measure the information contained within or between classes, which is a property of the elements themselves.
A. Sentropy as a measure of dataset composition
One way to get at this missing information is to use clustering algorithms to quantify dataset substructure as the number of clusters and possibly clusters’ relative sizes (which can be measured by traditional entropy). Like LCR and VS, which require a choice of similarity measure and q, clustering algorithms require choices about parameters; for example, HDBSCAN requires choosing min_cluster_size, min_samples, etc.
Conceptually, the main difference between clustering and sentropy is that sentropy accounts for similarities both within and between clusters, whereas most clustering algorithms (and classifiers) lack this ability: effectively, the within-cluster (or intra-class) similarity is always 1 and the between-cluster similarity is always 0. The exception is fuzzy clustering, in which each element can belong to more than one cluster, with each element being parameterized by its strength of membership for one or more clusters. One can view LCR as carrying fuzzy-clustering to its logical limit, with each unique element being its own cluster and the similarities giving other elements’ strength of membership in that cluster and thereby contributing to the size of the cluster. This is a fuzzy-clustering interpretation of the ordinariness, Zpi : a big cluster to which many unique elements belong fairly strongly would be considered “ordinary” (Fig. 2c). This perspective provides another way of seeing that LCR is the entropy of a system after accounting/adjusting/correcting for the similarity among its elements.
Traditional entropy accounts for frequency; LCR accounts for both frequency and similarity. In this way, LCR is a richer, more complete measure of the information in a system. Note that, regardless of whether they are represented as effective numbers (as we [11] and others [10, 20, 48] have advocated) or as bits of information, LCR is always bounded above by the corresponding traditional entropy [10]; for example, at q = 1 LCR never exceeds Shannon entropy. Thus, similarity can be seen as sapping individual elements of some of their uniqueness. However, in doing so, it reveals differences between datasets that traditional entropy cannot (Fig. 1).
How do LCR and VS compare with the number of clusters (as identified by HDBSCAN)? Predicting the relationship is difficult: large clusters whose peripheral elements are relatively distinct tend to increase the LCR/VS values, whereas strong similarities among elements—both within a cluster and across neighboring clusters—tend to reduce them (see Figs. 1, 5c). Indeed, many of the datasets we examined exhibited a pronounced difference in magnitude between tabular and imaging datasets when comparing the HDBSCAN cluster count with LCR and VS. For tabular data sets, both LCR and VS almost always surpassed the HDBSCAN cluster count, often by 1-2 orders of magnitude, reflecting that many rows remain unclustered by hard clustering (these do not contribute to the HDBSCAN total).
In contrast, for imaging datasets, LCR and VS were typically 1-2 orders of magnitude lower than the number of clusters, indicating substantial similarity among elements across clusters, which hard clustering does not capture (Fig. 2c). We interpret these systematic differences as evidence of the advantages of sentropy relative to hard clustering, for describing a system’s structure. We do not regard this as a failure of HDBSCAN; a limitation of our study is that we did not explore a range of HDBSCAN hyperparameters, since the goal was simply to illustrate the general relationship between similarity-sensitive entropy and clustering. However, we note that by the “eye test,” UMAP plots validate HDBSCAN’s clustering, suggesting hyperparameter search is unlikely to meaningfully affect the findings or conclusions presented.
B. The effect of scaling Z
We demonstrated that the relationship between LCR and VS depends strongly on how the similarity-matrix values are scaled, which we illustrated by introducing the half-distance parameter k. Recall that similarity between two elements ranges from 0 to 1; scaling modifies this relationship by raising the values to a power, thereby shifting the curve in the middle of this range, while maintaining the anchoring at each end (at 0 and 1).
Why should one need to scale the similarity between elements? Should scaling be permitted at all? When similarity is derived from external knowledge or some principle or outside requirement, we argue that scaling should not be applied: the external knowledge defines and thereby constrains the similarity function a priori, its output for any given pair is fixed, and the similarity matrix simply collects these values for all pairs. An example is binding similarity in immune repertoires, defined as the relative dissociation constants of two antibodies (or TCRs) for a given antigen (or set of antigens) [16]. This is the unique definition that preserves biophysical additivity; arbitrary scaling would break this relationship and thereby produce a similarity matrix that is objectively incorrect.
In contrast, when similarity is heuristic and not constrained by such knowledge, as with the Euclidean-distance-based similarity measures used here (across different embeddings), there is no a priori reason to privilege the default similarity (k = 1) over other values of k. For instance, RMSD provides a perfectly valid similarity definition and corresponds to Euclidean distance with , where d is the dimension of the underlying data (number of columns for tabular data, number of pixels × number of color channels for image data, 2 for the umap embedding, etc). Therefore, in heuristic cases, scaling can serve as a reasonable dial that investigators can adjust to obtain values that make the most sense given the context/are maximally informative about the system. Such choices arise often in measurement. For example, the parameter q is an analogous dial in traditional entropy (as well as sentropy), allowing investigators to adjust the emphasis on frequency. As with k , prior information can constrain choice of q; for example, when the measurement has to do with collision frequency, q = 2 should be used, consistent with q = 2 corresponding to Simpson’s index. Whether specific values of k might similarly be linked to known quantities of interest is a question left for future investigation.
A key feature of scaling is that it interpolates sentropy between 1 (for small k) and traditional entropy (for large k). When k is small, the off-diagonal entries of the similarity matrix approach 1, implying that all unique elements are mutually similar; in the limit the system behaves as if it contained a single unique element. Conversely, for large k the off-diagonal entries approach zero, yielding the identity matrix in the limit; the unique elements become completely dissimilar, and traditional entropy is recovered. In a system where the n elements are all unique—typically the case for ML data sets, including the imaging and tabular data sets examined here—the effective-number form of traditional entropy equals the dataset size. Consequently, for such uniform systems k interpolates both LCR and VS from 1 to n. Other scaling approaches may exhibit the same property.
Which k should one choose? Qualitatively, the answer is a value roughly midway between the extremes (Fig. 6). However, our empirical studies indicate that the optimal choice is not obvious. We found that the correlation between LCR and VS is minimized at k = 0.2 for the tabular data sets and 3.4 for the imaging data sets we tested—not at any obvious definition of the midpoint of the range (defined for example as the geometric mean of the k values where the correlation first falls to 0.99 on each side). Moreover, the shapes of these curves, with their multiple extrema, do not appear to follow a simple parametric form, making it difficult to predict precisely where the two metrics are maximally mutually informative. We also observed that even at the k that minimizes the LCR-VS correlation, the R2 between LCR and VS remained relatively high in absolute terms, at 0.68. Perhaps this was to be expected, since both metrics quantify the effective number of elements using the same underlying similarity measure, albeit in different ways (see Section VI). The dependence on k, however, was quite strong.
Our results suggest first testing whether the entropy lies near 1 or n; if so, to explore, if possible, different k values to delineate a non-trivial range; and finally to select a k approximately in the middle of this range (on a logarithmic scale). Both the choice of similarity measure and the value of k have effects on the resulting entropy that cannot be ignored. Thus to some extent, from a quantitative perspective, the information in a system is in the eye of the beholder.
VI. CONCLUSION
So, which sentropy: LCR or VS? Our results support defaulting to LCR when the goal is to measure the similarity-adjusted entropy of a system, and to prefer VS only in one of two special cases: (i) when the elements are usefully thought of as linear combinations of a set of mutually orthogonal ur-elements/eigen-elements, or (ii ) when the system possesses a quantum-mechanical character (see below). If the aim is a more general multidimensional characterization, there is no clear reason to avoid employing both metrics; keeping in mind that they are likely to correlate, our findings recommend selecting k within the non-trivial range (see Section VB) to maximize their independence and thereby their combined informativeness.
We note that, quantitatively, VS ≥ LCR for any given k and q . We proved this relationship for all q ≥ 0 and for q < 0 when Z is full rank. This relationship can be rationalized by recognizing that, although VS is a similarity-sensitive entropy, its computation includes a traditional entropy component: after incorporating similarity to derive the eigen-elements, VS is the traditional entropy of the resulting eigenvalues; traditional entropy is always greater than or equal to similarity-sensitive entropy.
From a practical perspective, LCR has three advantages. First, its time complexity is whereas computing eigenvalues—which is required to obtain the VS—has time complexity [17]. Empirically, we observed a speed advantage of the sentropy package over the vendi-score package even when all elements were unique, as is often the case in ML datasets (Fig. 8). In addition, computing the LCR is less computationally expensive whenever elements appear multiple times (i.e., when p is not flat/uniform), because the similarity matrix for LCR has order equal to the number of unique elements, whereas VS requires a matrix whose order equals the total number of elements.
FIG. 8.
Compute times for all 53 datasets for LCR (using the sentropy Python package [11]) vs. VS (using vendi-score). Imaging datasets (blue) were all 10,000 images. Smaller datasets were faster. Note the different timescales.
Second, LCR does not require the similarity matrix to be PSD, whereas VS does. Similarity matrices need not be PSD; a perfectly reasonable set of similarity measurements can produce a matrix that fails the PSD condition, which would complicate the use of VS. Even symmetric similarity matrices—the most common and most natural type, satisfying zij = zji , so that similarity is reciprocal—are not guaranteed to be PSD, even when their entries obey the triangle inequality. The prevalence of such non-PSD cases in practice is unknown; we note that all similarity matrices examined for our datasets were PSD (a consequence of how we chose our similarity measures; this follows from Theorem 2.11 in [49]). Thus, PSD-ness is irrelevant for LCR but must be checked to apply VS.
And third, LCR in its various forms [21, 22] (Table I) is part of an extensively characterized framework [10] that provides similarity-sensitive analogs of mutual information, relative entropy, and cross-entropy and offers methods for partitioning the overall similarity-sensitive entropy (γ) into within-class (α) and between-class (β) components. In entropic terms, α is the (effectivenumber form of the) joint entropy of the elements together with their class label; β is the mutual information between the elements and the class label; and γ is the marginal entropy of the elements irrespective of class. In this work we computed LCR in its γ form; when only a single class is present, γ coincides with α. Measuring the full α, β , and γ decomposition across ML classes is a promising direction for future research. (The sentropy package computes α, β, and γ.)
The necessary mathematics for extending this decomposition to VS exists, because VS is based on von Neumann (quantum) entropy, for which quantum mutual information, quantum relative entropy, and related quantum quantities are well understood [50]. However, computing these quantities requires a matrix that simultaneously encodes each element and its class membership. If there are n total elements and k classes, the VS decomposition demands either an nk × nk matrix or an n × k × n×k 4-dimensional tensor (which can be reduced to n × n and k × k matrices by taking a partial trace). In contrast, LCR requires only the similarity matrix Z. Consequently, VS needs an explicit notion of similarity both between classes and between elements, whereas in LCR any class-level similarity arises purely from element-level similarities within the classes. In principle, the VS formulation would permit the confusing situation in which two classes contain exactly the same individuals but nonetheless have zero similarity—a scenario that cannot occur under LCR, in which the similarity between classes is purely a function of similarities among the elements they contain.
In sum, LCR and VS provide complementary descriptions of similarity-sensitive entropy, a unifying concept that is likely to find applications in many domains in which traditional entropy is currently a mainstay. We anticipate that the deeper understanding of their relationship and properties will aid such investigations.
VII. ACKNOWLEDGEMENTS
This work was supported by the Gordon and Betty Moore Foundation and by the NIH under grants R01HL150394, R01HL150394-SI, R01AI148747, and R01AI148747-SI.
Appendix A: Comparison to 3D UMAP embedding
Fig. 9 shows results of the same analysis as in the right-hand panel of Fig. 5a but with the UMAP embeddings in three dimensions instead of two. This supports the lower-dimensional observations that VS and LCR tend to correlate to each other, but do contain independent information (R2 = 0.37).
FIG. 9.
Results from 10 replicates with different random seeds for each dataset. Legend as in Fig. 5a.
Appendix B: Other mathematical results
Lemma 1 has an interesting consequence which is not used in our proof of Theorem 1, namely
Corollary 1. Let Z, λi, and ri be as in Lemma 1. Denote by r(i) the ith row-sum of Z ordered from largest to smallest, so that e.g. . Then r(i) ≥ λi for all i in {1, . . . , n}
Proof. This is an immediate consequence of Lemma 1 and the Weyl monotonicity theorem [51].
This would seem a good basis for proving Theorem 1 except depends on , but depends on rather than . It is clear, however, that Corollary 1 leads to some bound involving and . Further computation reveals that the relevant bound is Corollary 2.
| (B1) |
for q > 0;
| (B2) |
Proof. This is a direct consequence of Corollary 1. Since r(i) ≥ λi, and since x → xq is monotonically increasing for q > 0, we have for each that
| (B3) |
| (B4) |
| (B5) |
However, for q ≠ 1,
| (B6) |
| (B7) |
thereby establishing the claim for q ≠ 1. The q = 1 case then follows by continuity in q.
Note that this bound is weaker than Lemma 3 for , since . On the other hand, for 0 < q < 1 it provides an upper (rather than lower) bound on V Sq(Z),, since 1 − q > 0, but this bound is also weaker than this simple bound that V Sq(Z) < n. As an illustrative example, consider the case of . Then Corollary 2 leads to
| (B8) |
This is clearly much weaker than , since means the right hand side is never smaller than n5. In fact, this is in a sense the best case. Taking the inequality at general 0 < q < 1, namely
| (B9) |
means the right hand side is bounded below by . Minimizing the exponent (with the restriction that 0 < q < 1) gives , so this right hand side is always bounded below by n5, where as the left hand side is bounded above by n—a very weak bound.
Another bound can be proven:
Lemma 4. Let Z, VSq(Z), and be as in Theorem 1. Then
| (B10) |
Proof. We begin by constructing the diagonal matrix W according to
| (B11) |
| (B12) |
Notice that W is positive definite (since the entries of Z are non-negative and the diagonal entries are 1) and tr W = 1. Treating W and Z/n as quantum density matrices, the quantum relative entropy between them should be positive, i.e.
| (B13) |
| (B14) |
However, since W is diagonal we have that
| (B15) |
| (B16) |
| (B17) |
| (B18) |
As such, we have that
| (B19) |
Exponentiating both sides, and recognizing that , we have that
| (B20) |
proving the theorem.
Appendix C: Notes on previous versions and alternative proofs
1. Proof that for
In a previous version of this paper, Theorem 1 was left as a conjecture except for q ∈ 2, 3,+∞, and q ∈ [−∞, 0] when Z is full rank. The proofs for q = +∞ and for q ∈ [−∞, 0] were as currently presented in Section III. The previous proofs for q ∈ {2, 3} are presented below
Proof of Theorem 1 in the special cases of and . We will consider the cases separately. For convenience, in what follows, denote by the eigenvalues of Z and the row sums of Z, i.e. .
At q = 2,
| (C1) |
However, since 0 ≤ Zij ≤ 1∀(i, j), it follows that and so . Therefore,
| (C2) |
However, is simply , proving the q = 2 case.
For q = 3, we have that
| (C3) |
| (C4) |
This gives
| (C5) |
proving the q = 3 case.
2. Hoffman 1966 and a proof for integer
A previous version of this paper conjectured the following result, noting that it would help in proving Lemma 3 (which was also stated as a conjecture).
Theorem 2 (Hoffman 1966). Denote by 1 the n dimensional vector each of whose entries are 1, Let M be any symmetric matrix with non-negative entries, and denote by (i.e. ) the row-sums of M. Then for any integer α ≥ 0
| (C6) |
Since then we have learned that this result was proved by Hoffman in [52] following up on earlier work by London in [53], which had proved the special cases of n ≤ 3 for all integers α ≥ 1, and 5 ≥ α ≥ 1 for arbitrary n > 0. This result leads to an alternative proof of Lemma 3 for integer q ≥ 1 (and thus a proof of Theorem 1 for integer q ≥ 2), which is essentially what we had in mind in the earlier version of this work. This proof is as follows:
Proof of Lemma 3 in the special case of integer q ≥ 1. Consider that
| (C7) |
since Z is symmetric, 0 ≤ Zi,j ≤ 1 for each i, j, and Zq−1 is non-negative (since it is the product of q – 1 non-negative matrices). But since Z is symmetric and non-negative, and by assumption q − 1 ≥ 0 is an integer,by Theorem 2
| (C8) |
3. Python code to search for counterexamples
In a previous version of this paper, we discussed a numerical search for counterexamples to Theorem 1 (partly inspred by [54]). The code used for that search is provided below.
Note this does not search over the whole space of nonnegative PSD similarity matrices. Rather, by construction, it only searches over completely positive matrices. For by matrices with n ≤ 4, all non-negative PSD matrices are completely positive, but for n ≥ 5 this is not the case [55]. Given the improvements in what we have proven over that version, we no longer see a need for such a numerical counterexample search; the code is provided only for archival reasons.
import numpy as np
import pandas as pd
from scipy . optimize import minimize
from tqdm import tqdm, trange
from multiprocessing import Pool
n_workers = 96
def uniform_div(Z, q ):
p = (1.0/Z.shape[0])*np.ones_like(Z[0])
Zp = Z@p
if q==1:
h1 = −np.sum(p*np . l o g (Zp))
return np . exp (h1)
else :
X = np.sum(p*(Zp**(q—1)))
h = (1/(1—q))*np.log(X)
return np.exp(h)
def vendi_score(Z, q):
evals = np.linalg.eigvalsh(Z/Z.shape[0])
# keep only the support
evals = np.array(
[e for e in evals if e > 0])
if q==1:
h1 = −np.sum(evals*np.log(evals))
return np.exp(h1)
else :
X = np.sum(evals**q)
h = (1/(1—q)) * np . l o g (X)
return np.exp(h)
def func(x, n, r, q):
Z = x_to_Z(x, n, r)
# Compute vendi score
ret = vendi_score(Z, q)
# Compute and subtract
# uniform diversity
ret —= uniform_div(Z, q)
return ret
def x_to_Z(x, n, r):
# map from reals to positive
# reals, reshape
w = (x**2).reshape(r, n)
# normalize rows
w = w/np.sqrt((w**2).sum(0))
Z = w.transpose()@w
return Z
def find_min(n, r, q, scale):
args = (n, r , q)
x0 = scale*np.random.normal(0, 1, n*r)
min_obj = minimize(func, x0, args)
ret = dict(min_obj)
ret.update({
‘x0’: x0,
‘Z0’: x_to_Z(x0, n, r),
‘Z’: x_to_Z ( min_obj.x, n, r), })
return ret
qlist = [
−10,
−2.7,
−2,
−1,
−0.3,
0,
0.3,
1,
2.7,
3.4,
4,
5,
2*np.pi,
7,
8,
9.1,
10,
]
sizes = [3, 5, 10, 20]
scales = [0.1 , 1 , 2 , 10]
replicates = [i for i in range(1 ,6)]
combos = [{
‘q’: q, ‘n’: n,
‘r’: r,
‘rep’: rep,
‘scale’: s, }
for q in qlist for n in sizes for s in scales
for rep in replicates
for r in set ([x for x in [2, n//2, n] if x>1])]
def map_func(combo):
q = combo[ ’q’ ]
r = combo[ ’r’ ]
n = combo[ ’n’ ]
rep = combo[ ’rep’ ]
scale = combo[ ’scale’]
row = combo
try :
row.update(find_min(n , r, q, scale))
return row
except np.linalg.LinAlgError:
return row
results = []
np.random.shuffle(combos)
n_batches = len(combos)//n_workers
if n_batches*n_workers < len(combos):
n_batches +=1
pool = Pool(n_workers)
outfile = ’counterexample_search.pkl’
for batch in trange(n_batches) :
ix_start = batch*n_workers
ix_end = ix_start + n_workers
rows = pool.map(
map_func,
combos [ix_start :ix_end], )
results = results + rows
results_df = pd.DataFrame(results)
results_df.to_pickle(outfile)
References
- [1].Leinster T. and Meckes M.W., Maximizing diversity in biology and beyond, Entropy 18 (2016) 88 [1512.06314]. [Google Scholar]
- [2].Shannon C.E., Prediction and entropy of printed english, Bell System Technical Journal (1951). [Google Scholar]
- [3].Montemurro M.A. and Zanette D.H., Entropy of natural languages: Theory and experiment, Scientific Programming (1994). [Google Scholar]
- [4].Tawil M. and DiGiorgio A.M., Competition in California’s Medi-Cal Managed Care Market Assessed by Herfindahl-Hirschman Index, Inquiry: A Journal of Medical Care Organization, Provision and Financing 59 (2022) 469580221127063. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [5].Shannon C.E., A mathematical theory of communication, The Bell system technical journal 27 (1948) 379. [Google Scholar]
- [6].Rényi A, On Measures of Entropy and Information, in Proceedings of the Fourth Berkeley Symposium on Mathematical Statistics and Probability, Volume 1: Contributions to the Theory of Statistics, vol. 4.1, pp. 547–562, University of California Press; (1961), https://projecteuclid.org/ebooks/berkeley-symposium-on-mathematical-statistics-and-probability/Proceedings-of-the-Fourth-Berkeley-Symposium-on-Mathematical-Statistics-and/chapter/On-Measures-of-Entropy-and-Information/bsmsp/1200512181. [Google Scholar]
- [7].Tsallis C., Possible generalization of boltzmann-gibbs statistics, Journal of statistical physics 52 (1988) 479. [Google Scholar]
- [8].Leinster T. and Cobbold C.A., Measuring diversity: the importance of species similarity, Ecology 93 (2012) 477. [DOI] [PubMed] [Google Scholar]
- [9].Reeve R., Leinster T., Cobbold C.A., Thompson J., Brummitt N., Mitchell S.N. et al. , How to partition diversity, arXiv:1404.6520 (2016). [Google Scholar]
- [10].Leinster T., Entropy and Diversity: The Axiomatic Approach, Cambridge University Press; (2021), [2012.02113]. [Google Scholar]
- [11].Nguyen P., Arora R., Hill E.D., Braun J., Morgan A., Quintana L.M. et al. , sentropy: A python package for revealing hidden differences in complex datasets, arXiv:2401.00102 (2026). [Google Scholar]
- [12].Couch J., Arnaout R. and Arnaout R., Beyond size and class balance: Alpha as a new dataset quality metric for deep learning, arXiv:2407.15724 (2024). [Google Scholar]
- [13].Couch J., Li M., Arnaout R. and Arnaout R., X-factor: Quality is a dataset-intrinsic property, arXiv:2505.22813 (2025). [Google Scholar]
- [14].Chinn E., Arora R., Arnaout R. and Arnaout R., ENRICHing medical imaging training sets enables more efficient machine learning, Journal of the American Medical Informatics Association: JAMIA 30 (2023) 1079. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [15].Arnaout R.A., Prak E.T.L., Schwab N., Rubelt F. and the Adaptive Immune Receptor Repertoire Community, The Future of Blood Testing Is the Immunome, Frontiers in Immunology 12 (2021) 626793. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [16].Arora R. and Arnaout R., Repertoire-scale measures of antigen binding, Proceedings of the National Academy of Sciences 119 (2022) e2203505119. [Google Scholar]
- [17].Friedman D. and Dieng A.B., The vendi score: A diversity evaluation metric for machine learning, Transactions on Machine Learning Research (2023) [2210.02410]. [Google Scholar]
- [18].Pasarkar A.P. and Dieng A.B., The vendiscope: An algorithmic microscope for data collections, arXiv:2502.10828 (2025). [Google Scholar]
- [19].Pasarkar A.P. and Dieng A.B., Cousins of the vendi score: A family of similarity-based diversity metrics for science and machine learning, in International Conference on Artificial Intelligence and Statistics, pp. 3808–3816, PMLR, 2024. [2310.12952]. [Google Scholar]
- [20].Hill M.O., Diversity and evenness: a unifying notation and its consequences, Ecology 54 (1973) 427. [Google Scholar]
- [21].Chao A., Chiu C.-H. and Jost L., Phylogenetic diversity measures based on hill numbers, Philosophical Transactions of the Royal Society B: Biological Sciences 365 (2010) 3599. [Google Scholar]
- [22].Chao A., Chiu C.-H., Villéger S., Sun I.F, Thorn S, Lin Y et al. , An attribute-diversity approach to functional diversity, functional beta diversity, and related (dis)similarity measures, Ecological Monographs (2019). [Google Scholar]
- [23].Aaronson S., Harris P. and Witteveen F., Limits to black-box amplification in qma, arXiv:2509.21131 (2025). [Google Scholar]
- [24].Guevara A., Lupsasca A., Skinner D., Strominger A. and Weil K., Single-minus gluon tree amplitudes are nonzero, arXiv:2602.12176 (2026). [Google Scholar]
- [25].Knuth D.E., “Claude’s cycles.” https://www-cs-faculty.stanford.edu/~knuth/papers/claude-cycles.pdf, Feb., 2026. [Google Scholar]
- [26].Wang E.Y., Motwani S., Roggeveen J.V., Hodges E., Jayalath D., London C. et al. , Horizonmath: Measuring ai progress toward mathematical discovery with automatic verification, 2026. [Google Scholar]
- [27].Chang E.Y., Exploring collatz dynamics with human-llm collaboration, arXiv:2603.11066 (2026). [Google Scholar]
- [28].Perron O., Zur Theorie der Matrices, Mathematische Annalen 64 (1907) 248. [Google Scholar]
- [29].Frobenius F.G., Uber matrizen aus nicht negativen elementen, . [Google Scholar]
- [30].Lieb E.H. and Thirring W.E., Inequalities for the Moments of the Eigenvalues of the Schrodinger Hamiltonian and their Relation to Sobolev Inequalities,. [Google Scholar]
- [31].Araki H., On an inequality of Lieb and Thirring, Letters in Mathematical Physics 19 (1990) 167. [Google Scholar]
- [32].Audenaert K.M.R., On the araki-lieb-thirring inequality, 2007. [Google Scholar]
- [33].LeCun Y., Cortes C., Burges C. et al. , Mnist handwritten digit database, 1998, 1998. [Google Scholar]
- [34].Xiao H., Rasul K. and Vollgraf R., Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms, 2017. [Google Scholar]
- [35].Krizhevsky A., Hinton G. et al. , Learning multiple layers of features from tiny images.(2009), 2009. [Google Scholar]
- [36].Marcel S. and Rodriguez Y., Torchvision the machine-vision package of torch, in Proceedings of the 18th ACM International Conference on Multimedia, MM ’10, (New York, NY, USA: ), p. 1485–1488, Association for Computing Machinery, 2010, DOI. [Google Scholar]
- [37].Yang J., Shi R. and Ni B., MedMNIST Classification Decathlon: A Lightweight AutoML Benchmark for Medical Image Analysis, in 2021 IEEE 18th International Symposium on Biomedical Imaging (ISBI), pp. 191–195, Apr., 2021, DOI [2010.14925]. [Google Scholar]
- [38].Yang J., Shi R., Wei D., Liu Z., Zhao L., Ke B. et al. , Medmnist v2-a large-scale lightweight benchmark for 2d and 3d biomedical image classification, Scientific Data 10 (2023) 41 [2110.14795]. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [39].visipedia, inat_comp/2017/README.md at master · visipedia/inat_comp, GitHub. [Google Scholar]
- [40].Mei X., Liu Z., Robson P.M., Marinelli B., Huang M., Doshi A. et al. , RadImageNet: An open radiologic deep learning research dataset for effective transfer learning, Radiology: Artificial Intelligence 4 (2022) e210315. [DOI] [PMC free article] [PubMed] [Google Scholar]
- [41].Wang X., Peng Y., Lu L., Lu Z., Bagheri M. and Summers R.M., ChestX-Ray8: Hospital-Scale Chest X-Ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseases, in 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 3462–3471, July, 2017, DOI [1705.02315]. [Google Scholar]
- [42].Lin T.-Y., Maire M., Belongie S., Bourdev L., Girshick R., Hays J. et al. , Microsoft coco: Common objects in context, arXiv:1405.0312 (2015). [Google Scholar]
- [43].Wu Y., Gunraj H., en Amy Tai C. and Wong A., Covidx cxr-4: An expanded multi-institutional open-source benchmark dataset for chest x-ray image-based computer-aided covid-19 diagnostics, arXiv:2311.17677 (2023). [Google Scholar]
- [44].Ge K., Nguyen P. and Arnaout R., lucie: An improved python package for loading datasets from the uci machine learning repository, arXiv:2410.09119 (2024). [Google Scholar]
- [45].McInnes L., Healy J. and Melville J., Umap: Uniform manifold approximation and projection for dimension reduction, arXiv:1802.03426 (2020). [Google Scholar]
- [46].Aggarwal C.C., Hinneburg A. and Keim D.A., On the surprising behavior of distance metrics in high dimensional space, in International conference on database theory, pp. 420–434, Springer, 2001. [Google Scholar]
- [47].McInnes L., Healy J. and Astels S., hdbscan: Hierarchical density based clustering, Journal of Open Source Software 2 (2017) 205. [Google Scholar]
- [48].Jost L., Entropy and diversity, Oikos 113 (2006) 363. [Google Scholar]
- [49].Leinster T., The magnitude of metric spaces, Documenta Mathematica 18 (2013) 857 [1012.5857]. [Google Scholar]
- [50].Nielsen M. and Chuang I., Quantum Computation and Quantum Information: 10th Anniversary Edition, Cambridge University Press; (2010). [Google Scholar]
- [51].Weyl H., Das asymptotische Verteilungsgesetz der Eigenwerte linearer partieller Differentialgleichungen (mit einer Anwendung auf die Theorie der Hohlraumstrahlung), Mathematische Annalen 71 (1912) 441. [Google Scholar]
- [52].Hoffman A.J., Three observations on nonnegative matrices, Journal of Research of The National Bureau of Standards-B. Mathematics and Mathematical Physics 71B (1966) 39. [Google Scholar]
- [53].London D., Two inequalities in nonnegative symmetric matrices, Pacific Journal of Mathematics 16 (1966) 515. [Google Scholar]
- [54].Couch J., Nguyen P., Racz S., Stratis G. and Zhang Y., Possibility of entanglement of purification to be less than half of the reflected entropy, Phys. Rev. A 109 (2024) 022426 [2309.02506]. [Google Scholar]
- [55].Maxfield J.E. and Minc H., On the matrix equation x′x = a, Proceedings of the Edinburgh Mathematical Society 13 (1962) 125. [Google Scholar]







