Suppose a database stores compressed "signatures" of vectors instead of the vectors themselves. A query should get back every stored item within a squared distance $D$, with no misses, and as few extra items as possible. Information theory gives a sharp answer for how many bits per coordinate this takes. The answer comes from high-dimensional sphere geometry, and it carries a strong promise: Gaussian data is the hardest case. A scheme designed for Gaussians is therefore claimed to be safe for any data with the same variance. That promise has never been checked on a single real dataset. It was proved only as the dimension goes to infinity, and it assumes a query that is independent of the database.
This note proposes to check it directly. We will build zero-miss signature schemes that run in polynomial time. We will measure their false-positive rates on real embeddings (GloVe-200, SIFT-128) at their true finite dimensions. We will then trace any failure of the Gaussian guarantee to a specific property of real data, using a ladder of synthetic surrogates that add one realistic property at a time: anisotropy, heavy tails, clustering. The result is either the first empirical confirmation of a theoretical "universal robustness" claim, or a precise account of which real-data property breaks it and by how much.
Core Claim
Compression for Similarity Queries and Compression for Quadratic Similarity Queries establish the identification rate for Gaussian sources. This is the minimum bits per coordinate for a signature scheme that never misses a true match (they call such schemes $D$-admissible) while driving false positives to zero:
$$R_{ID}(D) = \log \frac{2\sigma_X\sigma_Y}{\sigma_X^2+\sigma_Y^2-D}.$$
Here $\sigma_X^2$ and $\sigma_Y^2$ are the per-coordinate variances of database and query vectors, and $D$ is the per-coordinate squared-distance threshold. They also prove that this Gaussian rate upper-bounds the rate for any source with the same variances. Both papers contain no empirical evaluation.
We claim that the extremality statement contains two hidden quantities, and that real data can violate the guarantee through them. The first is the finite-dimension gap. The proof relies on spherical measure concentration via Lévy's lemma, which only bites as $n\to\infty$. The second is the lower tail of the pairwise-distance distribution. Clustered data puts far more database points just outside the $D$-ball of a query than a variance-matched Gaussian does. Every such near-miss is a candidate false positive for any finite-rate scheme.
Our prediction is testable. At $d=128$ and $d=200$, the false-positive rate of a Gaussian-designed zero-miss scheme on real embeddings will exceed its rate on a variance-matched Gaussian surrogate. The excess will be explained mainly by the near-pair mass, not by the heavy-tailed marginals. If the opposite holds, the Gaussian worst-case design is empirically validated at practical dimensions. That would also be a useful and unreported result.
Where the Extended Isoperimetric Inequality Enters
The extended isoperimetric inequality comes from An Isoperimetric Result on High-Dimensional Spheres, where it was developed to solve Cover's relay problem in "The Capacity of the Relay Channel": Solution to Cover's Problem in the Gaussian Case. It says the following. Among all subsets of the sphere with a given area, a spherical cap is the one whose overlap with a randomly placed cap is smallest, with high probability. The statement holds only asymptotically, and the authors list non-asymptotic versions as open.
In a signature scheme, each codeword defines a cell. A query's search region is a cap around the query. False positives are the database points that fall in cells overlapping that cap. The inequality therefore supplies the Gaussian-theory reference for the overlap between a cell and a query region.
We will compute that reference exactly at finite $d$. The overlap volume $V$ of two caps with angular radii $\theta$ and $\omega$ on $\mathbb{S}^{d-1}$ reduces to a one-dimensional integral. We will also estimate the probability that it holds, by Monte Carlo over random query centres. This yields the first finite-dimensional table of how close the asymptotic statement is at $d\in\{128,200\}$, which addresses the limitation the authors themselves list.
We then compare two quantities on real data:
- the realised overlap of empirical cells with query caps, measured as a count of database points;
- the cap-shaped prediction.
The gap between them, which we call the isoperimetric deficit, is our proposed finite-$d$ predictor of false-positive inflation.
The inequality is used for a concrete reason. An Isoperimetric Result on High-Dimensional Spheres shows that the overlap measure jumps discontinuously as the cap moves. Ordinary Lipschitz concentration therefore does not bound it. That is why a rearrangement-based statement is the right reference, rather than a generic tail bound.
Research Program
Constructive schemes. The original schemes rest on random sphere coverings with exponentially large codebooks, and are non-constructive. We make them tractable by splitting each $d$-dimensional vector into blocks of dimension $b$, with $b$ between 8 and 32. Each block is quantized to the nearest of $2^{bR}$ random codewords on a sphere of matched radius. Each signature stores the codeword index plus a scalar norm.
The zero-miss guarantee comes from the triangle inequality. Per-block quantization radii give a certified lower bound on the true distance, and an item is discarded only if that bound exceeds $D$. No true match can therefore ever be dropped. The block dimension $b$ interpolates between scalar quantization ($b=1$) and the ideal spherical-cap construction ($b=d$). Sweeping it measures how much of the theoretical cap advantage survives at buildable sizes.
Surrogate ladder. For each real dataset we generate five matched synthetic versions:
- an isotropic Gaussian with the dataset's average per-coordinate variance, which is exactly the theory's setting;
- a Gaussian with the full empirical covariance;
- a Student-t with that covariance, fitted to the tail index;
- a Gaussian mixture fitted to the data's clusters;
- the real data after whitening.
Running every scheme on every rung isolates which property moves the false-positive rate. This directly tests the concern raised in Scaling Laws for Grid-Based Approximate Nearest Neighbor Search in High Dimensions that theoretical models rely on a "mean-field" uniformity assumption that real embeddings violate.
Query regime. The theory assumes queries independent of the database. The ANN benchmark queries come from the same distribution and have true near neighbours. We run both regimes:
- the benchmark's held-out queries;
- queries drawn from the covariance-matched Gaussian and projected back.
This separates distributional mismatch from query–database dependence.
Baselines
The naive reference points are two trivial schemes, and every result is placed between them. Exact scan on uncompressed float vectors has zero false positives at 32 bits per coordinate. Rate zero returns the whole database, so all non-matches are false positives. The theoretical reference is the Gaussian $R_{ID}(D)$ curve itself, computed with the dataset's variances. Every scheme's rate–false-positive curve is reported as a gap in bits from it.
The strongest practical competitor is a grid, or scalar, quantizer with interval distance bounds after a PCA rotation. It is the zero-miss analogue of the multiprobe grid method of Scaling Laws for Grid-Based Approximate Nearest Neighbor Search in High Dimensions. That paper reports a query-scaling exponent of $\alpha_N=-0.94$ at recall@10 of 0.80 on GloVe-200-angular, and index build times of 4–36 seconds against 206 seconds for FAISS-IVF, at $N=1.18\times10^6$. These are recall-and-throughput numbers, not zero-miss false-positive rates. For our metric there is no reported result found on Lacuna for GloVe-200 or SIFT-128, and we will generate it.
The grid is the strongest competitor for three reasons: it is cheap, it is already known to handle real embedding geometry well, and it inherits the zero-miss property from coordinatewise bounds. For fairness, grid and cap schemes get the same bits per vector, including norm storage. Both use the same PCA rotation. Both get an equal hyperparameter search over step size or block size on a held-out split. Both run on the same hardware.
We also include FAISS-IVF operated at full recall as a heuristic reference. We report its empirical miss rate at matched memory rather than treating it as zero-miss.
The key ablation varies block dimension $b$ with everything else fixed. The cap construction beats the grid only if false positives at fixed rate fall as $b$ grows, beyond what whitening alone achieves. Our threshold for a win is a statistically significant rate reduction at equal false-positive rate, over five random codebook seeds. If whitening plus grid closes the gap, the cap geometry adds nothing in practice.
Why not just…?
Why not just use standard sub-Gaussian or Lipschitz concentration to predict false positives? We will test this directly. Such bounds describe smooth functions of a random point. Per An Isoperimetric Result on High-Dimensional Spheres, however, the cell–query overlap jumps discontinuously, so these bounds apply only to crude proxies such as pairwise-distance tails. We include a sub-Gaussian distance-tail predictor alongside the isoperimetric deficit and compare their rank correlation with measured false-positive rates across the surrogate ladder. If the simpler predictor explains the data equally well, we will report that. The finite-$d$ cap-overlap table would then remain a theoretical contribution only.
Why not just use FAISS, HNSW or product quantization at high recall? These methods give no zero-miss guarantee, and the zero-miss constraint is exactly what the extremality theorem is about. Measuring their miss rates at matched memory quantifies the cost of dropping that guarantee. It does not answer whether the Gaussian worst case holds.
Why not just a scalar grid quantizer with interval bounds? This is the real threat. It is simple, provably zero-miss, and the grid ANN results suggest it handles real data well. We therefore make it the primary baseline rather than arguing around it. If it matches the cap schemes on real data at every rate, the constructive part of the proposal collapses to "use a grid". The finding that survives is the measurement of whether real data is easier or harder than its Gaussian twin, and that finding does not depend on which scheme wins.
Why not just stay with synthetic Gaussians, since they are provably the worst case? Gaussians are the worst case only asymptotically and only for independent queries. Our decisive experiment checks whether the rung 1 surrogate false-positive rate upper-bounds the real-data rate. If it does, synthetic evaluation is vindicated for this problem. If it does not, it is not.
Proposed Experiments
We use GloVe-200-angular and SIFT-128-euclidean under the ann-benchmarks protocols referenced in Scaling Laws for Grid-Based Approximate Nearest Neighbor Search in High Dimensions. As a third, cluster-heavy case we use pretrained visual features from CUB, whose manifold structure was exploited in Zero Shot Learning with the Isoperimetric Loss. That paper applies a graph-cut isoperimetric regularizer to zero-shot classification. It does not study compression or the extended, intersection form of the inequality. Here we use it only as evidence that such embeddings are strongly clustered.
$D$ is set at three levels, chosen so that the true-match set is 10, 100 and 1000 items per query. The metrics are:
- false positives per query as a function of bits per coordinate;
- the gap in bits to $R_{ID}(D)$;
- certified miss count, which must be zero;
- encode and query time.
There are three decisive checks. First, whether the real-data false-positive curve lies below the variance-matched Gaussian curve, as extremality predicts, or above it. Second, which surrogate rung first reproduces the real curve, which assigns blame to anisotropy, tails or clustering. Third, whether the isoperimetric deficit, measured on a 10% sample, predicts the full-database false-positive rate better than the sub-Gaussian distance-tail predictor.
A secondary check is the finite-$d$ cap-overlap computation on synthetic spheres. It reports the probability that overlap exceeds $(1-\epsilon)V$ for $\epsilon\in\{0.05, 0.1\}$ at $d$ from 32 to 1024. This gives the first numerical estimate of how quickly the asymptotic inequality takes effect.
References
- Compression for Similarity Queries
- Compression for Quadratic Similarity Queries
- An Isoperimetric Result on High-Dimensional Spheres
- "The Capacity of the Relay Channel": Solution to Cover's Problem in the Gaussian Case
- Scaling Laws for Grid-Based Approximate Nearest Neighbor Search in High Dimensions
- Zero Shot Learning with the Isoperimetric Loss