“Exact” vector search fails Errpedia in every tested configuration
The new benchmark is a numerical stress test, not an estimate of everyday failure rates—but it exposes why exact search cannot automatically serve as unquestioned ground truth.
The result
A new benchmark challenges a quiet assumption behind vector-search evaluation: that exhaustive or “exact” k-nearest-neighbor search is a mathematically reliable oracle. On Errpedia’s applicable tests, every one of 20 evaluated library and database configurations returned at least one mathematically incorrect top-10 set.
That headline needs its denominator. Errpedia contains 1,616 queries, 21 error categories, 22,501 base vectors, 128 dimensions and a fixed k=10. Eighteen configurations searched the complete collection. Elasticsearch and MariaDB rejected 578 base vectors at ingestion, so the paper scored them on 1,565 applicable queries over 21,923 admitted vectors instead. The authors verify the reference sets with exact rational arithmetic and require the returned identifiers—not rounded distance values—to match the ten true nearest neighbors.
What the benchmark found
The failures are not one undifferentiated accuracy number. The paper groups cases into arithmetic precision, range limits, norm-dot-product evaluation, 16-bit computation, similarity mappings and input representation. All 20 configurations failed at least one arithmetic-precision case; 17 also failed range-limit cases, and 17 failed norm-dot-product cases. Five configurations failed cases in each of the 16-bit and similarity-mapping groups, while seven failed input-representation cases.
Failure severity varied. Among the 18 full-collection runs, SciPy failed 74 of 1,616 queries and SurrealDB failed 100 of 1,616, all in arithmetic precision; both passed every query in the other five groups. In contrast, OpenSearch, Apache Solr, MongoDB and Neo4j failed queries in all six groups. On the 109 range-limit queries, scikit-learn passed 102, OpenSearch and Solr each passed 4, and MongoDB passed 2.
One case is especially concrete: the paper reports that Faiss 1.15.1’s norm-dot-product path overflowed while processing ten exact copies of a query. It returned ten invalid identifier slots and omitted all ten zero-distance matches. Switching that local test to direct coordinate differences restored the matches.
How to read it
Errpedia is a purpose-built adversarial numerical suite, not a random sample of production vectors. Its construction deliberately retains cases where a positive top-10 boundary gap is lost by a targeted floating-point model. The results therefore establish existence and mechanism, not the frequency of errors in ordinary workloads.
That limitation does not make the benchmark academic. Exact search is commonly used to generate ANN ground truth; an incorrect oracle can contaminate recall measurements before an approximate index is evaluated. Teams should report the exact-search implementation and numeric path used for ground truth, retain raw neighbor identifiers, and add boundary re-evaluation when distances are uncertain or non-finite.
The artifact is public, but the repository currently exposes the data tree rather than a complete cross-system execution harness. Reproducing the paper’s 20-configuration matrix still requires implementation work. The strongest next evidence would be independent reruns and vendor fixes against the named cases—not a claim that every routine exact-search result is suspect.
sources
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026