HackerPapers

arXiv:2601.11557cs.DB

From HNSW to Information-Theoretic Binarization: Rethinking the Architecture of Scalable Vector Search

Seyed Moein Abtahi, Majid Fekri, Tara Khani, Akramul Azim

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Modern semantic search and retrieval-augmented generation (RAG) systems rely predominantly on in-memory approximate nearest neighbor (ANN) indexes over high-precision floating-point vectors, resulting in escalating operational cost and inherent trade-offs between latency, throughput, and retrieval accuracy. This paper analyzes the architectural limitations of the dominant "HNSW + float32 + cosine similarity" stack and evaluates existing cost-reduction strategies, including storage disaggregation and lossy vector quantization, which inevitably sacrifice either performance or accuracy. We introduce and empirically evaluate an alternative information-theoretic architecture based on maximally informative binarization (MIB), efficient bitwise distance metrics, and an information-theoretic scoring (ITS) mechanism. Unlike conventional ANN systems, this approach enables exhaustive search over compact binary representations, allowing deterministic retrieval and eliminating accuracy degradation under high query concurrency. Using the MAIR benchmark across 14 datasets and 10,038 queries, we compare this architecture against Elasticsearch, Pinecone, PGVector, and Qdrant. Results demonstrate retrieval quality comparable to full-precision systems, while achieving substantially lower latency and maintaining constant throughput at high request rates. We show that this architectural shift enables a truly serverless, cost-per-query deployment model, challenging the necessity of large in-memory ANN indexes for high-quality semantic search.

arXiv comments
16 Pages, 5 Figures, 3 Tables
Journal reference
DOI
Subjects
cs.DBDatabases cs.IRInformation Retrieval cs.ITInformation Theory cs.PFPerformance

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jun 2026 to Jun 2026.

Comments linking this paper, per year.

Discussed in comments1 thread

    • We have built our own infrastructure on moorcheh.ai, it was the first information-theoretic search engine before Google's research. Moorcheh whitepaper: https://arxiv.org/pdf/2601.11557

      majidfekriView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.