Skip to project
All projects
Project overview

Quiver

A vector index that spends work where each query needs it

Project focus
ANN Index
Project status
Research
Year
2025-2026

Project context

A query-adaptive ANN index with recall-targeted scanning, online updates, and cost-based partition maintenance.

Quiver builds on Quake by Jason Mohoney and the Marius team. It explores how much of an index to scan for each query, and when to reorganize partitions as vectors are inserted or removed.

SYSTEM PATH

Route, estimate, then stop

  1. 1Centroid routing
  2. 2Ordered candidate partitions
  3. 3Recall-estimate updates
  4. 4Top-k IDs and distances

BUILT WITHC++20, Python, PyTorch, Faiss, pybind11, CMake

Key decisions

Maintenance follows observed cost

After the rolling hit window fills, an explicit maintenance checkpoint combines scan-latency profiles, partition size, and observed hits. It can split a costly partition, delete and reassign another, then refine only the affected neighborhood without a full rebuild.

Recall targets replace a fixed scan budget

Adaptive partition scanning recomputes an online recall estimate as the current kth-neighbor radius changes, then stops when that estimate reaches the declared target. Easy and difficult queries no longer inherit the same scan depth.

Index structure and compute co-design

The C++ search path combines batched and multithreaded scanning with optional AVX-512 and NUMA locality. Structural decisions and the distance-compute path are tuned as one system instead of two separate layers.

Principles and honest boundaries

  • Observe workload change
  • Stop on an estimated recall target
  • Make maintenance decisions online
  • Design index and compute together
Next projectImageGenArt