UC Berkeley's LEANN Vector Index Shrinks a 60M-Chunk RAG Index from 201 GB to 6 GB
UC Berkeley's Sky Computing Lab released LEANN, an open-source vector index that stores a pruned graph instead of full embeddings and recomputes embeddings only for nodes on the search path. Benchmarks show a 60 million chunk Wikipedia index dropping from 201 GB to 6 GB, and the paper won Best Research Paper at MLSys 2026. LEANN matches HNSW downstream accuracy on NQ at 25.5% while using 4 GB instead of 188 GB, but retrieval is slower: 2.48 seconds versus 0.05 seconds. The MIT-licensed project is designed to make semantic search and RAG feasible on laptops and personal data.
Why it matters: LEANN offers a practical storage-saving approach for RAG and vector search, with a clear tradeoff between dramatically reduced index size and slower query latency.