Metraipolis › archive › dc_400fe82aa9e8
Modular and Efficient Approximate Nearest Neighbors Search with Vectorium and kANNolo — arXiv:2611.03927
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.03927
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-04T12:55:23.834Z
- SHA-256 of the archived text
ab87a390a03068608fa74967ffd1bf7e8d67ece6d410865ab562ec96cbf0c352- Stable URL of this page
https://metraipolis.com/documento/dc_400fe82aa9e8
How to cite
Modular and Efficient Approximate Nearest Neighbors Search with Vectorium and kANNolo — arXiv:2611.03927 — arXiv (en), https://arxiv.org/abs/2611.03927 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_400fe82aa9e8 (Metraipolis archive dc_400fe82aa9e8, sha256 ab87a390a03068608fa74967ffd1bf7e8d67ece6d410865ab562ec96cbf0c352)
BibTeX
@misc{dc400fe82aa9e8,
title = {Modular and Efficient Approximate Nearest Neighbors Search with Vectorium and kANNolo — arXiv:2611.03927},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.03927},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_400fe82aa9e8; sha256 ab87a390a03068608fa74967ffd1bf7e8d67ece6d410865ab562ec96cbf0c352},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.03927. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Approximate Nearest Neighbors (ANN) search over neural embeddings powers modern retrieval systems such as Retrieval-Augmented Generation. Embeddings come in three representations (dense, sparse and multi-vector), and efficient search combines an index structure, a similarity function and a quantization scheme. Existing libraries fix one combination, hard-code each one separately, or factor only one side of the problem, and none covers all three representations. We present Vectorium and kANNolo, two open-source Rust libraries that split this design space into a data-management layer and an indexing layer. Vectorium abstracts the vector, the distance function, the quantizer and the dataset independently, and provides 11 encoders, from 32-bit floats to sub-bit codes. On top of it, kANNolo implements Hierarchical Navigable Small-World (HNSW) graph and Inverted Vector File (IVF) indexes that are generic over representation, encoder and metric, and a two-stage index that composes any first-stage index with any rescoring dataset. Since every combination is specialized at compile time, this modularity adds no run-time overhead, and the resulting indexes reach state-of-the-art performance: our Product Quantization matches Faiss in accuracy at competitive speed, our RaBitQ and HNSW match or outperform their reference implementations, and our IVF outperforms Faiss. Against six dense and five sparse systems on seven public collections, our indexes give the best memory-throughput trade-off on dense data in 9 of 12 collection-accuracy pairs and perform well on out-of-distribution queries. On sparse data, the systems built on Vectorium lead on all three collections, with Seismic and SeismicWave the fastest and kANNolo's indexes the most compact. Tema degli esploratori: statistica e scienza dei dati (elenco arXiv cs.IR, nuovi lavori del giorno). Categorie arXiv: Information Retrieval (cs.IR) ; Databases (cs.DB). Pagina del lavoro: https://arxiv.org/abs/2611.03927 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-04T12:33:32.115Z dalla pagina https://arxiv.org/list/cs.IR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).