From HNSW to Information-Theoretic Binarization: Rethinking the Architecture of Scalable Vector Search
Seyed Moein Abtahi, Majid Fekri, Tara Khani, Akramul Azim
TL;DR
The work addresses the high cost of in-memory vector search driven by the HNSW+float32+cosine stack and the ineffectiveness of common cost-cutting tactics. It proposes an information-theoretic serverless paradigm built on Maximally Informative Binarization, Efficient Distance Metric, and Information-Theoretic Score, enabling exhaustive search over compact binary representations with deterministic results. Empirical evidence on MAIR shows competitive retrieval quality relative to full-precision baselines while delivering lower latency and scalable throughput, supported by a total cost of ownership analysis favoring per-query pricing. This approach signals a potential paradigm shift away from the in-memory index monopoly toward scalable, cloud-native vector search with strong semantic performance guarantees.
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.
