Abstract
Embedding models are trained and evaluated as if retrieval were exact; in production they serve behind approximate indexes — HNSW, IVF, product quantization, or the fixed-dimensional encodings (FDEs) of late-interaction models — whose behavior the encoder’s benchmarks never see: one modern encoder recovers just 14% of its exact top-10 through its raw FDE index. Such failures surface only after an index is built, and the standard patches — corpus-fitted transforms such as whitening — must be fitted, stored, and refit as the corpus changes, and can silently rewrite what the encoder returns. This paper shows that index behavior is predictable before anything is built, from label-free statistics of the raw embeddings, through a ladder of instruments matched to what each index family consumes: (1) closed-form moment statistics for the fixed-grid quantizers (PQ, FDE); (2) simulation on a synthetic twin corpus — cluster statistics made generative, on which any index, composed production systems included, can be built and tested — for partition indexes; (3) size-extrapolated, lightly calibrated twins for graph indexes at million-document scale. Predictions land within 0.03 of measured recall on an unseen million-document corpus. The same geometry is trainable: targeting the one statistic no post-hoc transform can move — the score margin — lifts recall for every index family at once, at a small measured task cost. The result: index choice, correction pricing, and production recall forecast from one cheap measurement pass, on new corpora and new indexes alike; serving without per-corpus transform machinery, suited to continuously changing corpora; and a recall–compute frontier pushed by adapting encoders to geometry rather than coupling them to any single index.
At a Glance
The paper builds a ladder of instruments, each matched to what an index family actually consumes from the embedding distribution:
- Closed-form moment statistics for fixed-grid quantizers—product quantization and the fixed-dimensional encodings used to index late-interaction models.
- Simulation on a synthetic twin corpus—cluster statistics made generative, on which any index (composed production systems included) can be built and tested—for partition indexes such as IVF.
- Size-extrapolated, lightly calibrated twins for graph indexes such as HNSW at million-document scale.
Predictions land within 0.03 of measured recall on an unseen million-document corpus. The same geometry is also trainable: targeting the score margin—the one statistic no post-hoc transform can move—lifts recall for every index family at once.
The three core instruments, schematically. (a) A corrective transform moves points, so the transformed space’s own exact top-k (filled) is no longer the original top-k (rings): the overlap is fidelity p. (b) Within the transformed space, an index at a fixed budget scans only part of the corpus (ringed): the fraction of the space’s own top-N it finds is efficiency s, and end-to-end recall obeys r ≥ p + s − 1 at matched depth. (c) The score margin—the gap between the k-th exact score and the deeper field—is the ranking’s tolerance to the score noise an index injects; the two strips use the paper’s measured margins (native 0.069 vs. margin-sharpened 0.193, same top-10), and survival rises with the margin-to-noise ratio.
Related Writing
The posts below cover the ground this paper builds on: embedding geometry, quantization behavior, and the index families whose recall the paper predicts.
- When Geometry Is Everything: Multi-Vector Retrieval Beyond the MaxSim Monoculture
- The Reality of Vector Quantization: Does Product Quantization Deliver on Its Promises?
- When the Database Becomes the Bottleneck: The Economics of Vector Retrieval
Keywords approximate nearest neighbor search, vector databases, embedding geometry, synthetic twin corpora, anisotropy, product quantization, MUVERA, fixed-dimensional encodings, HNSW, whitening, exact-neighborhood preservation, recall–compute trade-off
