A nested, content-addressed benchmark family for vector search at 10⁶–10¹² rows, with three independent notions of a correct answer.
Status: the RC-1 validation program is complete (2026-08), and its registered terminus is a measurement. Corpus-side geometry — including the density response — is essentially achieved by a frozen, bit-exact, random-access generator under the registered bands. The query-side battery is bounded at ×2.0–2.6 for the deterministic generator class this benchmark mandates: the admission rule turned out to be a memorization-sensitivity probe. The family stops at the seam, as pre-registered, with the reason measured rather than suspected; no tier is published. → Status and results
A 10¹² corpus is ~128 TB — too big to host or hand out. So the corpus is a signed manifest of kilobytes: you rebuild the bytes yourself, and every one is hash-verified against the manifest either way.
flowchart LR
A["Signed Merkle manifest<br/>(kilobytes)"] --> B{"per shard:<br/>first source<br/>that verifies"}
B -->|deterministic| R["Regenerate<br/>from seed · no network"]
B -->|or| F["Fetch a mirror<br/>only the shards you need"]
R --> V{"hash ==<br/>manifest root?"}
F --> V
V -->|yes| S["Byte-identical shard"]
V -->|"no — cache miss"| B
S --> GT["Exact ground truth<br/>computed once · a few MB"]
classDef ok fill:#d1f0d1,stroke:#2e7d32,color:#14320f;
class S,GT ok;
Every tier is a strict subset of the next, so a recall change is about N, not the data; ground truth and per-query difficulty strata are published per tier.
pip install -e ".[dev]" # numpy + scipy (+ ruff/black/pytest for dev)
pytest -q # manifest, generator determinism, geometry battery
# Rebuild a corpus end to end, credential-free (publish → delete → regenerate → verify):
jupyter notebook notebooks/reproduce.ipynb
# …or the registered §6 reconstruction experiment with machine-readable pass criteria:
python harness/distribution/reconstruct_experiment.py --helpThree problems with how vector search is currently benchmarked:
1. Scale and distribution are confounded. Results at 10⁶ and 10⁹ are reported on different corpora, so when recall falls between them, nobody can separate "search got harder with N" from "the data changed". Here every tier is a strict subset of the next — the distribution is fixed and only N varies.
2. Billion-scale corpora cannot be distributed, so few people evaluate at scale. A 10¹² corpus is ~128 TB. This benchmark distributes a signed Merkle manifest instead: fetch kilobytes, then either regenerate shards deterministically or fetch only the shards you need, every byte hash-verified. The expensive artifact — exact ground truth for a fixed query set — is computed once and published as a few MB.
3. One metric is reported where three differ. A system can reproduce its own ranking almost perfectly while diverging from true nearest neighbours, and preserve true neighbours while degrading actual relevance. Measurements motivating this benchmark found recall 0.999 against an index's own exact ranking and 0.592 against fp32 truth for the same queries at the same instant. A benchmark that reports one number cannot see that.
| layer | what it is | scale | cost |
|---|---|---|---|
| L1 geometric | exact k-NN under the frozen metric | every tier | one exhaustive pass per tier |
| L2 structural | relevance from links, citations, Q→A, cross-language pairs | corpus-scale | free, but biased — bias statistics ship with the labels |
| L3 human | independent relevance judgments | 10³–10⁴ queries | reuse existing judged sets where licensing permits |
Queries carry difficulty strata (local intrinsic dimension, neighbour margin, hubness exposure, neighbour dispersion, L1/L2 disagreement) so results are reported by stratum — average recall conceals exactly the failures worth studying.
T6 … T12 (10⁶ … 10¹² rows), each a strict subset of the next. Membership is
a published content-addressed permutation, not a prefix — sources arrive
ordered by language, dump, or crawl date, and a prefix would make the small
tiers monolingual and poison every cross-scale comparison.
The real/procedural seam is labelled per tier. No public corpus of real neural embeddings exists much beyond 10⁹. Tiers above the seam are procedurally generated and are legitimate only insofar as the registered validations hold:
- RC-1 — is the generated corpus geometrically equivalent to real
embeddings on the properties that govern ANN search, over a prespecified
grid of sample size and neighbourhood scale? (
spec/PREREG_RC1.md) - RC-2 — does matching that geometry predict ANN behaviour never used in fitting (IVF recall curves, cell occupancy, margin distributions, rerank depth)? Sealed; opened once against one hashed generator.
Ground truth is not nested — a query's true neighbours change as the corpus grows — so GT is computed and published per tier.
Design-and-validation stage: the instrument is built and the seam is being tested. No tier is published — nothing above the real/procedural seam ships until RC-1 and RC-2 hold. Where each piece stands, with every artifact committed as produced:
| Milestone | What it proves | Status | Evidence |
|---|---|---|---|
| Geometry battery (RC-1 instrument) | the battery tells real embeddings from wrong ones | ✅ passed | 3/3 frozen nulls rejected · RC1_ROUND1.md |
| §6 reconstruction | a corpus regenerates byte-identically from a kB manifest | ✅ passed | 4/4 criteria · experiment · notebook |
| Distribution at scale | regenerate-from-seed works at 10¹¹, zero data movement | 🟡 in progress | sibling turboquant-pro fleet build (systems evidence) |
| Frozen generator | a bit-exact, random-access, chunk-invariant family exists and is hashed | ✅ shipped | openvector_bench/segment_gen.py — identity e8423665… (RC-3), prior 80d94f61… recoverable · spec/RC3_FREEZE.md |
| RC-2 — one-shot held-out geometry | the frozen family judged once on real blocks no round touched | ⛔ excluded, as pre-stated | mandatory trio failed on g6; the negative is registered and held-out · results/RC2_VERDICT.md · spec/RC2_FREEZE.md |
| RC-3 — second campaign + one-shot | one new mechanism (pool spectrum) against honest 10-block bands | 🟡 8/10 held-out — the mandatory trio passes | first family ever to hold g1/g5/g6 on unseen data; misses g4 (+15%) and the G1-vs-n exponent, both pre-declared · results/RC3_VERDICT.md |
| RC-4 / RC-5 — five mechanisms | can the residual misses be fixed inside this family? | ⛔ all refuted; frontier stands | 80 arms, five registered kills, one trade surface; no freeze, no one-shot spent · results/RC4_VERDICT.md · results/RC5_VERDICT.md |
| ANN-behaviour characterization | does geometric admission predict index behaviour? | ⛔ no — 25× probe-depth divergence | open (non-sealed) IVF study: real needs nprobe 47–50 for 95% recall, the generator needs 2 — margins and occupancy nearly match while the operational curve diverges; the Goodhart concern is now measured · results/R80_ANN.md |
| RC-11/12 — echo mechanism | the density response, solved and certified | ✅ held-out | g1exp/gspan/rspan/trend in band on the final 8-block draw; mandatory g5 missed by 0.0006 · results/RC12_VERDICT.md |
| RC-13/14 — the original battery | where generation ends | 🏁 the boundary, measured | battery A essentially achieved under registered bands; battery B bounded at ×2–2.6 for any non-memorizing generator — the admission bar is a memorization detector · results/RC14_VERDICT.md |
| RC-2 (sealed ANN prediction) | geometry predicts ANN behaviour it never fit | 🔒 sealed, preserved as a matter of record | the §5 bound makes admission unreachable data-free; §6 additionally waits on partition scatter (R80) |
| Published tier (T6–T12) | a usable benchmark above the real/procedural seam | ⛔ gated | requires full admission and the sealed prediction test |
flowchart LR
B["Geometry battery<br/>✅ discriminates"] --> R1{"RC-1<br/>generator matches<br/>real geometry?"}
R1 -->|"🟡 frontier: 8/10 held-out,<br/>mandatory trio passes (RC-3);<br/>residuals proven family-level (RC-4)"| FIT["Architecture change<br/>(RC-5, if attempted)"]
FIT --> R1
R1 -->|pass| SEAL["Hash + seal<br/>the generator"]
SEAL --> R2{"RC-2 (sealed,<br/>one shot):<br/>predicts ANN<br/>behaviour?"}
R2 -->|pass| PUB["Publish tier<br/>T6 … T12"]
R2 -->|fail| STOP["Stop at the seam,<br/>say so"]
classDef done fill:#d1f0d1,stroke:#2e7d32,color:#14320f;
classDef block fill:#ffe0b2,stroke:#e65100,color:#4a2600;
class B done;
class R1,R2 block;
Twenty-two pre-registered campaigns (2026, results/R21–R105, every
arm, kill, and one-shot committed; budgets disclosed in the freeze
documents) ran the seam question to a measured conclusion:
- Corpus-side geometry: essentially achieved. The frozen family
(
openvector_bench/segment_gen.py, three recoverable hashed identities) passes the original registered battery's corpus-side cells nearly everywhere, with the density response — the axis eleven campaigns of registered kills established as the hard part — certified held-out (results/RC12_VERDICT.md). Two long-standing anomalies dissolved under the original protocol: ball-growth heat was a missing-mean artifact; the deconvolved hubness skew matches at the level (results/RC13_VERDICT.md). - Query-side geometry: bounded, and the bound is the result. Real
query vectors carry local placement information that only the data
contains. Across the full licensed mechanism hierarchy — train-fitted
rotation, mean restoration, spectral matching, and compressed-density
placement under a declared memorization guard — the query-side
battery's core is invariant at ×2.0–2.6
(
results/RC14_VERDICT.md). Scoped precisely: within deterministic, byte-reproducible generators using at most compressed low-order train statistics, the registered all-cells admission rule is unpassable — query-side batteries detect data-dependence that no corpus-side statistic reveals (paper §15). The closing measurement (results/R105_CURVE.md, paper §16) traced battery-B closure against artifact description length, from 64 mixture components to literal row-anchoring: the curve is flat — closure saturates by K≈1024 and even the full-train-set memorization endpoint stops at ×2.0 at corpus-compatible doses. The wall is dose-limited, not bits-limited. - ANN behaviour: its own boundary. Matched geometry diverges 25× in
IVF probe depth (
results/R80_ANN.md); the sealed §6 prediction battery is preserved unopened, with the §5 bound making a data-free open pointless — recorded as the registered terminus the pre-registration itself anticipated. The boundary has since narrowed from the inside: the frozen candidate family's echo groups move IVF difficulty 5× off the self-similar floor (np@95 10–11 vs the old 2; real 47–50) with no ANN-targeted tuning (results/R106_S1_DIFFICULTY.md). - Cross-corpus replication done. The profile's shape — density
response, rank saturation, contrast rise — replicates on MSMARCO-v2
(same encoder) and DBpedia under two OpenAI encoders; levels are
corpus×encoder-specific. The query-side battery's signal replicates
at full strength on the second large ordered corpus (×3.46 vs wiki's
×3.01) and vanishes on the small exchangeable ones — battery B
measures corpus-region non-exchangeability. Real corpora spread
np@95 18–51, so ANN-difficulty multiples are corpus-relative
(
results/R107_REPLICATION.md, paper §17). - Fleet-scale tooling shipped. Regeneration now has a bit-exact GPU
path (
openvector_bench/segment_gen_gpu.py: reductions stay on CPU in reference order, hashing/gathers on GPU; verified byte-identical against the frozen identities; ~53 MB/s per GV100 vs ~3 MB/s per CPU core), and every tier of a fleet run gets a difficulty label fromopenvector_bench/difficulty_audit.py— the R80 IVF panel packaged with the frozen real-Wikipedia reference band, so synthetic tiers report where they sit between self-similar-easy and real-hard.
The scientific product is written up in
paper/profile/PROFILE_PAPER.md
(§1–§15): the dimension profile as corpus assembly, the constructive
generator campaigns, the verdict-lottery methodology finding, the
ANN-behaviour boundary, and where generation ends. Target venues:
TMLR / NeurIPS Datasets & Benchmarks for the profile and boundary
results; VLDB-adjacent venues for the benchmark-realism findings.
Finding that generator is itself a search problem with a registered fitness —
so we attack it with a searcher, an adversary, and the registered judge. A
discovery engine (Theory Radar)
proposes generators that minimise geometry mismatch;
structural-fuzzing then
mutates each candidate's parameters to find where its geometry breaks — the
anti-Goodhart step, since a generator that only games the eight gates fails
under perturbation while one with the right mechanism survives; and RC-1
admission + the sealed RC-2 stay the judges, never optimised against. Both
engines share one contract, which reuses this repo's own geometry battery so
the objective is RC-1, not a proxy:
from openvector_bench import make_evaluate_fn, measure_corpus
target = measure_corpus(real_base, real_queries) # RC-1 battery on real embeddings
evaluate_fn = make_evaluate_fn(target, dim=1024) # structural-fuzzing signature
score, per_gate_errors = evaluate_fn(params) # searcher minimises; fuzzer attacksMethod, rationale, and the binding integrity guardrails (the seal stays
sealed; search on train/validation only; report the budget):
spec/GENERATOR_SEARCH.md. Status: four
campaigns closed (rounds through R77 in results/, each
pre-registered, misses included). The method delivered what it promised:
mechanisms found by structured search, wrong mechanisms killed by
registered falsifiers, and two one-shot held-out verdicts — one negative
(RC-2), one 8/10 with the mandatory trio passing (RC-3). Full admission
remains open; the residuals are proven family-level, not tuning gaps.
The 10¹¹ fleet build above validates distribution (regenerate-from-seed at
scale, zero corpus movement, resumable preemptible workers). Its retrieval
numbers, though, are measured on that same low-rank synthetic corpus — the
null_lowrank class RC-1 rejects — so they are a systems result and live
with the systems tool, not as an OpenVector Bench tier. Distribution scales
now; a real-retrieval benchmark tier at that scale waits on RC-2.
spec/ registered specifications (prereg, distribution, family design)
harness/ measurement code: geometry battery, distribution/verification
notebooks/ reproduce.ipynb — publish → delete → reconstruct → verify, end to end
results/ measured outputs, committed as produced
A corpus is a signed Merkle manifest; the bytes come from deterministic
regeneration or any mirror, verified chunk-by-chunk either way. Run
notebooks/reproduce.ipynb top to bottom with no credentials for the
whole cycle in miniature, or
harness/distribution/reconstruct_experiment.py for the registered §6
experiment with machine-readable pass criteria. Credentials, when you point
at real mirrors, are ambient only: boto3's standard chain for s3:// (with
OVB_S3_ENDPOINT for non-AWS endpoints such as NRP Ceph) — never pasted
into a cell.
- Registered before measured. Thresholds, nulls, and pass rules are fixed in advance; deviations are recorded with dates and reasons rather than silently applied. Misses are published as misses.
- Exact, never approximate, where it gates. Admission filters computed with approximate neighbours would be circular.
- Verification over trust. Regeneration is an optimization checked against a hash; a mismatch is a cache miss that falls through to a byte source, not an error. Correctness comes from the manifest either way.
- No single point of failure. A durable copy independent of any one provider; caches are replaceable by construction.
Code: MIT (LICENSE). Specifications, manifests, ground truth, and labels:
CC-BY-4.0 (LICENSE-DATA). Third-party corpora are referenced by manifest and
hash under their own terms — this project distributes pointers and hashes,
not other people's data.
CITATION.cff (populated on first release).