Skip to content
Blog

Reading ANN-Benchmarks Plots: What Those Recall-vs-Latency Curves Really Say

How to interpret ANN-Benchmarks recall-vs-QPS plots: what the curves mean, where algorithms win, and how to read index size and build time.

Published on • November 22, 2026

AI Assistant

Introduction

ANN-Benchmarks (ann-benchmarks.com) is the closest thing the vector search field has to a neutral referee: standard datasets, shared ground truth, and one canonical chart per configuration — recall versus queries per second. Knowing how to read that chart tells you more about an algorithm than any vendor page.

What the Plot Axes Mean

  • Y-axis: recall — the fraction of true nearest neighbours found, averaged over all queries (for a fixed k, e.g., k=10 or k=100). 1.0 means perfect.
  • X-axis: queries per second — throughput achieved at that setting (some views show latency instead; the relationship is inverse).

Each curve is one algorithm: every point along it is the same algorithm at a different quality setting (efSearch, nprobe, list count…). Moving up the curve means raising quality knobs: recall up, speed down.

How to Read a Curve

  1. Top-right is best. High recall and high QPS. A curve dominating another (strictly above and to the right) means that algorithm wins at every quality point.
  2. Curves cross → workload decides. If HNSW beats IVF-PQ at recall > 0.95 but loses at 0.85, the “winner” depends on your recall target. Pick your target first, then read the QPS at that height.
  3. The knee matters. Most curves flatten: beyond a point, buying the last 0.02 of recall costs disproportionately much speed. Production usually lives just past the knee.
  4. Flat left-edge segments are settings where the algorithm is saturated — more quality knob no longer helps recall, it only costs speed.

The Details Panels

Clicking a plot reveals the finer metrics:

  • Approximate recall per setting (along the curve)
  • Index size — a 3× faster algorithm with a 5× bigger index may lose on cost
  • Build time — critical if your data changes often; a graph index that takes hours to build vs minutes of k-means matters for refresh SLAs

Dataset and Distance Caveats

Results are split by distance measure (angular, Euclidean, dot) and dataset (GloVe-100, SIFT, deep1B, etc.). Read the plot for your regime:

  • Small, high-dimensional text embeddings behave differently from 128-dim SIFT descriptors.
  • An algorithm that wins on angular GloVe may not win on Euclidean SIFT.
  • Datasets differ in size and clustering structure — one strong result does not generalise blindly.

Using the Plots in Practice

  1. Shortlist algorithms, not databases — ANN-Benchmarks evaluates methods; databases wrap them with filtering, persistence, and distributed layers you must still test.
  2. Find your recall target on the Y-axis, draw a horizontal line, and see which algorithm gives the highest QPS at that line.
  3. Check index size/build time panels against your memory and freshness budgets.
  4. Re-verify on your data — your corpus and query distribution are the only final judge.

Conclusion

An ANN-Benchmarks plot is a map of the speed–quality frontier: curves higher and further right dominate, crossings mean the winner depends on your recall target, and the side panels keep you honest about memory and build cost. Read it with your own workload in mind, and it becomes one of the most useful charts in vector search.

References