NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reliable Measures of Spread in High Dimensional Latent Spaces

Anna C. Marbut, Katy McKinney-Bock, Travis J. Wheeler

TL;DR

Current metrics for measuring how data "fills" high-dimensional latent spaces—such as Average Cosine Similarity and the $I(V)$ ratio—are surprisingly unreliable and often fail to distinguish between vastly different data distributions. This paper introduces a suite of more robust alternatives, recommending Eigenvalue Early Enrichment (EEE) and Vasicek Ratio MSE (VRM) as the new gold standards for quantifying data spread across models of varying sizes and dimensions.

The Problem: Measuring "Spread" in Latent Space

In Natural Language Processing (NLP), models represent words or concepts as vectors in a high-dimensional "latent space." Ideally, a model should use this space efficiently, spreading data points out evenly to maximize expressive capacity. However, many models suffer from "representation degeneration," where vectors crowd into narrow cones (anisotropy), leaving most of the latent space empty.

To diagnose and fix this, researchers need reliable ways to measure "spread." Until now, the community has relied heavily on two metrics: Average Cosine Similarity (ACS) and $I(V)$ (a ratio based on principal components).

The authors demonstrate that these metrics are deeply flawed:

  • $I(V)$ is mathematically unstable: It is highly sensitive to the arbitrary sign of a principal component; simply flipping a sign can change the score entirely.
  • ACS lacks structural awareness: It cannot reliably differentiate between a well-distributed sphere of data and a messy set of isolated clusters.

Proposed Methods

To address these shortcomings, the authors propose and test six alternative measures, categorized into two main groups:

1. Principal Component (PC) Measures

These metrics analyze eigenvalues to determine how variance is distributed across dimensions.

  • Eigenvalue Early Enrichment (EEE): Instead of just looking at the minimum and maximum eigenvalues, EEE calculates the area under the cumulative sum curve of all eigenvalues. A "well-spread" distribution yields a linear curve (low EEE), while a "poorly spread" distribution relies heavily on a few components (high EEE).

2. Entropy-Based Measures

These metrics leverage Information Theory to determine how "predictable" (and thus poorly spread) the data is.

  • Vasicek Ratio MSE (VRM): Uses the Vasicek entropy approximation to compare the observed data distribution against an "ideal" multivariate normal distribution.
  • Nearest Neighbor Entropy Ratio (NNR): Estimates entropy based on the distance between a point and its closest neighbor.
  • KL-Divergence Measures: Directly measures the statistical "distance" between the observed data distribution and a reference normal distribution.

Experimental Setup

Because real-world latent spaces lack a definitive "ground truth" for spread, the authors created a benchmark of seven synthetic distributions across varying dimensions ($d \in \{2, 10, 50, 100\}$):

  • Spherical (Well-Spread): Shell, Nested Shell, Sphere, and Cone.
  • Clustered (Poorly-Spread): Symmetric Clusters, Shifted Clusters, and Uneven Clusters.

To ensure practical applicability, they also validated their top metrics on a real-world dataset: 75,000 word embeddings from a pre-trained Word2Vec model (300 dimensions). They tested how the metrics reacted as uniform noise was manually added to artificially increase the data spread.

Key Insights and Results

Isotropy $\neq$ Spread

A distribution can be "isotropic" (looking the same in all directions, like the shell of a hollow ball) but still fail to "fill" the space because the center is empty. The authors argue that true "spread" must account for both direction and density.

The "Curse" of High Dimensions

In high dimensions, data naturally migrates to the "shell" of a sphere. The authors show that even a uniformly filled sphere starts looking like a hollow shell as dimensions increase. This geometric quirk breaks many metrics that rely solely on Euclidean distances.

EEE and VRM Emerge as Winners

  • Synthetic Benchmarks: EEE and VRM consistently ranked the synthetic distributions according to human intuition across all dimensions. They correctly identified clusters as "poorly spread" and spheres as "well-spread," whereas ACS and $I(V)$ often assigned them similar, misleading scores.
  • Real-World Sensitivity: When noise was added to Word2Vec embeddings, EEE and VRM showed a smooth, predictable improvement in spread. This confirms they are sensitive enough for monitoring model training or fine-tuning.
  • High-Dimensional Failures: Metrics based purely on nearest-neighbor distances (like NNR) became unreliable in 100-dimensional space because the concept of "distance" between points becomes less meaningful as dimensionality explodes.

Limitations and Future Work

While EEE and VRM offer significant improvements, they come with trade-offs:

  • Reference Dependency: The entropy and KL-divergence measures require a reference distribution (typically a Multivariate Normal). If the "ideal" shape for a specific task is not a sphere or normal distribution, these metrics may require adjustment.
  • Computational Cost: Measures involving nearest-neighbor calculations or large-scale KL-divergence are more computationally expensive than simple cosine similarity.

Next Steps: The authors suggest using these newly validated metrics to re-evaluate existing "de-biasing" and regularization techniques in NLP, determining whether they actually improve latent space usage as much as previously claimed.

Summary updated

BibTeX
@inproceedings{marbut2023reliable,
  author = {Anna C. Marbut and Katy McKinney-Bock and Travis J. Wheeler},
  title = {{Reliable Measures of Spread in High Dimensional Latent Spaces}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=sGvHRYUPeA},
}
Figure