Applied AI research
Compact retrieval as infrastructure repurposing — and the headline I had to retract
A deployment-fit study of low-bit retrieval indexes, in which the fair comparison erased our own best number and produced a narrower, more defensible finding.
Read the paperDownload PDFThe full research briefing (v5) — including the corrected pipeline, the memory table, and the limitations register quoted throughout this case study. Section 9 sets out what the result is not: this is evidence about compact retrieval, not about ternary or low-bit language models, and not about a true binary neural network.
Context
Enterprise retrieval has to preserve the operating system around it — identity, authorization, evidence, citation lineage. Inside that boundary sat a narrower, more useful question: can a compact vector index hold a large evidence corpus inside a CPU and memory budget that a float32 index cannot fit, without giving up retrieval quality?
Decision
Treat retrieval quality and end-to-end speed as two separate claims that are routinely conflated, and refuse to publish either one without a control pipeline matched on every variable except the one under test.
How it fits together
Four things that each prove something different — and the retraction that came from separating them.
- method
Low-bit index
Compact vectors. The arm under test.
Says nothing about end-to-end speed on its own.
- method
Repair stages
Keyword search, fusion, precision recheck, reranker.
Were stacked on one arm only — that was the flaw.
- control
Control pipeline
Matched on every variable except the one under test.
Cannot be skipped without the result meaning nothing.
- data
Judged corpus
500,000 passages, 6,980 judged queries, paired tests.
Small differences are not results until the test says so.
- First comparison shows a large win
- Notice the arms are not matchedhuman
- Rebuild the control, matched variable by variable
- Reintroduce each repair stage one at a time
- Best number disappears — publish the retractionhuman
- Re-test the mechanism at scale with paired statistics
- Keep the narrower claim that survives
Approach
- Discovered the first comparison was not apples-to-apples: the low-bit arm had keyword search, fusion, a precision recheck, and a reranker stacked on it while the float32 baseline had none of them. Rebuilt the baseline with the identical pipeline so vector storage format was the only remaining variable.
- Reproduced a published 2025 result showing an unrepaired quality cliff, then reintroduced each repair stage one at a time to establish which stage was actually doing the work — rather than attributing recovery to the compression format.
- Stress-tested the mechanism instead of the headline: 128 dimensions, four rerankers including a deliberately untrained keyword-only rescorer, four index formats, and compression levels past the one being advocated for.
- Scaled the quality claim to a 500,000-passage corpus with 6,980 judged queries, using paired statistical tests so small differences were not read as real ones.
- Re-derived every stated number against raw per-query data before it was allowed to become a finding.
Outcomes
- Quality held: compact indexing matched the matched-pipeline float32 comparator across every corpus tested, including 99.92% retention at the largest scale with a confidence interval crossing zero.
- The memory result was the real one: a roughly one-million-vector index that a float32 build could not fit inside an 8 GB CPU envelope at all, fit with over 7.8 GB free — changing which existing machines can host the service without new hardware.
- Retracted our own headline. Fixing the pipeline asymmetry moved the end-to-end speed claim from a 2.38× win to 1.04× — a statistical tie that missed our own threshold for a meaningful result. It was published as a tie.
- Named the mechanism honestly: the reranker consumes roughly 93% of request time, which makes it both the reason compact retrieval is safe to use and the reason the speed win disappears. No tested configuration decoupled the two.
- Narrowed the recommendation against our own interest: the marketed format is not the one carrying the result — a simpler, more established 8-bit format delivers nearly all of the same benefit, so the aggressive option is only warranted when the extra memory reduction is genuinely the binding constraint.
- Refused to let an adjacent claim borrow this one's credibility. The same program separately tested ternary and low-bit language models for bounded local work, and no tested configuration won on both cost and quality at once. That strand is reported as an open negative in the brief rather than folded into the retrieval headline — the two questions share a program, not a result.
Figure 1 · §7
What actually changes is whether it fits at all.
Index footprint for a ~1M-vector, 3072-dimension index, measured under an 8 GB CPU limit.
Float32 could not run at all. The two smallest formats leave over 7.8 GB free — which is the whole finding, and it is a hardware-procurement result rather than a search-quality one.
Figure 2 · §8
Why the speed win had nowhere to come from.
Share of total end-to-end request time.
- Reranking · 93%
- Vector search, recheck, keyword, fusion · 7%
A faster index competes for the 7%. That is the structural reason a 2.38× isolated-lookup win produced a 1.04× end-to-end result — and the reranker is also the stage that makes compact retrieval trustworthy, so removing it to reclaim the time is not available.
Figure 3 · §3
The number we published against ourselves.
End-to-end speedup, before and after giving the baseline the identical pipeline.
baseline had no reranker, no fusion, no recheck
storage format the only remaining variable
A statistical tie, below our own 1.2× threshold for a meaningful result. It was published as a tie.
Control boundary
Co-authored with Pawel Zaloga; the manuscript is unpublished and the underlying corpora, per-query data, and evaluation harness stay private. Limits stated in the brief are restated here rather than smoothed over: one vector engine, an emulated four-vCPU/8 GB shape rather than a real cloud instance, and no independent audit of the corrected pipeline yet. Nothing here is a claim about production deployment.
What this taught me
The compression ratio was not the finding. The finding was that a plausible-looking comparison had an asymmetry hiding inside it, and that catching it cost us the number we most wanted to report. A result that survives its own fair control is worth more than one that needs the framing to hold it up.
Rules at work here
Each links to the rule and the other work it governs.
- A result needs a controlA suite that can only produce one kind of answer has not measured anything. Run the control that would catch a degenerate system passing.
- A boundary fitted on the suite cannot be validated by the suiteA configuration tuned against a set of cases cannot then be tested by those cases. The held-out stage is a separate artifact, not a longer version of the last one — and every pre-emptive adjustment spends some of the only unfitted evidence available.
- State limits in the product, not the disclaimerMaturity — production, pilot, prototype, research — belongs on the surface someone actually touches. What a system cannot support, it should decline to say.
Work with me
If this is the kind of problem you are trying to get moving — AI adoption that has to survive a security review, an audit, and the people who will actually operate it — I would like to hear about it.