The Index Is a Cache: Rethinking Vector Search for Edge AI

Retrieval for AI is leaving the data center. Assistants, agents and retrieval-augmented generation (RAG) now run on laptops, phones, robots and air-gapped machines, where a vector store must live inside the host process, survive being killed, and fit a few hundred megabytes. Today’s vector search research optimizes the index as if it were the database. We argue the opposite: the index is a cache. Full vectors are checksummed primary data on local storage; every index is derived, rebuildable and as small as accuracy allows; exact reranking from primary data closes the gap. We present SrvDB, an embedded vector database written in Rust that realizes this design with RaBitQ quantization at 1, 2 and 4 bits, SIMD fast-scan kernels, error-bound certified search, and a byte-level memory budget. On four datasets, including 1536-dimensional OpenAI embeddings, 4-bit codes match exhaustive search on every dataset, and 1-bit codes reach recall@10 = 0.9999 while scanning 200 instead of 6,144 bytes per vector (30.7× less). Running FAISS and TurboQuant on identical data, we find that at high dimension the rerank, not the quantizer, carries recall: even plain sign bits reach 0.9994. We also introduce VecCrash, the first crash-consistency benchmark for vector stores: across 3,600 SIGKILL trials, transactional stores never lost acknowledged data, while three widely used index libraries left unopenable files in up to 1.5% of trials, losing every earlier save. Finally, we measure the deployment footprint: SrvDB installs in 6.0 MiB with no dependencies, 75× smaller than common alternatives. All code, data and results are open.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24568280
Primary Topic
Advanced Database Systems and Queries
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

The Index Is a Cache: Rethinking Vector Search for Edge AI

Srinivas Nampalli
Zenodo (CERN European Organization for Nuclear Research)
Advanced Database Systems and Queries
preprint

The Index Is a Cache: Rethinking Vector Search for Edge AI

Srinivas Nampalli
preprint en

Abstract

Retrieval for AI is leaving the data center. Assistants, agents and retrieval-augmented generation (RAG) now run on laptops, phones, robots and air-gapped machines, where a vector store must live inside the host process, survive being killed, and fit a few hundred megabytes. Today’s vector search research optimizes the index as if it were the database. We argue the opposite: the index is a cache. Full vectors are checksummed primary data on local storage; every index is derived, rebuildable and as small as accuracy allows; exact reranking from primary data closes the gap. We present SrvDB, an embedded vector database written in Rust that realizes this design with RaBitQ quantization at 1, 2 and 4 bits, SIMD fast-scan kernels, error-bound certified search, and a byte-level memory budget. On four datasets, including 1536-dimensional OpenAI embeddings, 4-bit codes match exhaustive search on every dataset, and 1-bit codes reach recall@10 = 0.9999 while scanning 200 instead of 6,144 bytes per vector (30.7× less). Running FAISS and TurboQuant on identical data, we find that at high dimension the rerank, not the quantizer, carries recall: even plain sign bits reach 0.9994. We also introduce VecCrash, the first crash-consistency benchmark for vector stores: across 3,600 SIGKILL trials, transactional stores never lost acknowledged data, while three widely used index libraries left unopenable files in up to 1.5% of trials, losing every earlier save. Finally, we measure the deployment footprint: SrvDB installs in 6.0 MiB with no dependencies, 75× smaller than common alternatives. All code, data and results are open.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Database Systems and Queries
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon