Vectorium and kANNolo: modular Rust libraries unify dense, sparse and multi-vector ANN search
_reachsumit · x · 2026-11-05
Researchers released two open-source Rust libraries, Vectorium and kANNolo, for approximate nearest neighbor search over neural embeddings, the backbone of RAG systems.
- Problem: Existing libraries like Faiss hard-code combinations of representation, index, similarity and quantization, and none covers dense, sparse and multi-vector embeddings at once.
- Design: Vectorium abstracts vectors, distance functions, quantizers and datasets independently, with 11 encoders from 32-bit floats to sub-bit codes; kANNolo builds generic HNSW and IVF indexes over any representation/encoder/metric, plus a two-stage index composing any first-stage index with any rescoring dataset.
- Performance: All combinations are specialized at compile time with zero runtime overhead; their Product Quantization matches Faiss in accuracy, RaBitQ and HNSW match or beat reference implementations, and their IVF outperforms existing ones.
More from Research
- GCMP: a LoRA replacement 14-55x smaller that serves 256 fine-tunes on one GPU — textclf · 2026-11-23
- GPT-4's real training compute, 1.235×10²⁵ FLOP, sat hidden on OpenAI's own page since 2023 — YouJiacheng · 2026-11-23
- Looping the same layers 3 times fixes the bat-and-ball riddle: an Inkling-2-Mini experiment — Sauers_ · 2026-11-23
- Looped Transformers Boost No-CoT Reasoning: Result Replicated on Thinking Machines' 26B Model — scaling01 · 2026-11-23
- Researcher: manuscript errors 'bottom out' to RH-equivalent claim; Claude found new angle — aran_nayebi · 2026-11-23
- Train a small transformer from random weights in a purpose-built harness for fast agents — andreisavu · 2026-11-23