Reproduce “FINGER: Fast Inference for Graph-based Approximate Nearest Neighbor Search” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Patrick H. Chen, Chang Wei-cheng, Yu Hsiang-fu, Inderjit S. Dhillon, Hsieh Cho-jui

FINGER improves graph-based approximate nearest neighbor search by optimizing the inference phase, decomposing distance calculations and approximating expensive components using residual vector decomposition, low-rank angle estimation, and distribution matching. This approach enables 20%-60% higher throughput compared to standard HNSW implementations across various datasets, with no loss in recall accuracy.

Key insights

  • During graph-based AKNNS, over 80% of distance computations yield values larger than the current upper bound, indicating significant opportunities for approximation.
  • Decomposing distance calculations into projection and residual components allows for efficient approximation, particularly for angles between residual vectors whose distributions are predictable.
  • Applying distribution matching to approximate angle estimations can effectively correct discrepancies between estimated and true angle distributions, enhancing accuracy.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.