research(nightly): LoRANN — IVF with per-cluster SVD score approximation (NeurIPS 2024)#444
Draft
research(nightly): LoRANN — IVF with per-cluster SVD score approximation (NeurIPS 2024)#444
Conversation
…ore approximation (LoRANN NeurIPS 2024) Implements the LoRANN algorithm (Jääsaari, Hyvönen, Roos, NeurIPS 2024, arXiv:2410.18926) as a new standalone workspace crate. LoRANN replaces the O(d·m) per-cluster exact scorer in IVF-based ANN with a rank-r SVD factorisation costing O(r(d+m)), followed by exact inner-product reranking of the top candidate_set results. Measured results (x86_64 release, d=128, Gaussian-clustered data): n=5K, n_probe=8, r=32: recall@10 = 85.5%, QPS = 9,928 (5.8× vs brute-force) n=20K, n_probe=8, r=32: recall@10 = 64.1%, QPS = 5,733 (13.9× vs brute-force) n=50K, n_probe=8, r=32: recall@10 = 56.1%, QPS = 4,993 (30.9× vs brute-force) Acceptance test: recall@10 = 93.2% on n=2K, d=64. PASS. Deliverables: crates/ruvector-lorann/ — Rust crate (5 tests green, cargo build --release clean) docs/adr/ADR-193-lorann.md — Architecture Decision Record docs/research/nightly/2026-05-08-lorann/README.md — full SOTA survey + benchmark results https://claude.ai/code/session_01YbPfSVaUVL3JVHTQMUVXLP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Nightly research branch implementing LoRANN (Jääsaari, Hyvönen, Roos — NeurIPS 2024, arXiv:2410.18926): a clustering-based ANN index that replaces the per-cluster O(d·m) exact scorer with a rank-r SVD factorisation costing O(r(d+m)), followed by exact inner-product reranking.
docs/research/nightly/2026-05-08-lorann/README.mddocs/adr/ADR-193-lorann.mdcrates/ruvector-lorann/— 5 tests green,cargo build --releasecleanReal benchmark results (x86_64, rustc 1.94.1 release, d=128)
Acceptance test: recall@10 = 93.2% on n=2,000, d=64, n_probe=8, rank=32. ✅ PASS
How to run
Files changed
Topic selection
SOTA discovery via goal-planner agent confirmed LoRANN (NeurIPS 2024) as most novel and implementable:
ADR: ADR-193
See
docs/adr/ADR-193-lorann.mdfor full context, decision, and alternatives considered.https://claude.ai/code/session_01YbPfSVaUVL3JVHTQMUVXLP