Close Menu
NCIJ Network NCIJ Network
    What's Hot

    The maths bust-up fuelling fears that AI is undermining science

    October 28, 2026

    FactChecking Claims from Trump’s Midterm Rallies

    October 28, 2026

    External Teams Chats Anchor 15-Minute Malware Delivery

    October 28, 2026
    Facebook X (Twitter) Instagram
    Trending
    • The maths bust-up fuelling fears that AI is undermining science
    • FactChecking Claims from Trump’s Midterm Rallies
    • External Teams Chats Anchor 15-Minute Malware Delivery
    • Smithsonian scientists just recreated the first 2 billion years of the Universe
    • The Cost of Lagging Global Climate Action Is Lost Lives and Poor Health
    • Trump Tariffs Under Smoot-Hawley Face Legal Challenge
    • Did Trump post ‘Why are we wasting time counting ballots?’ Don’t be fooled
    • The US and Canada are talking trade. That doesn’t mean they’re near a deal. – POLITICO
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Wednesday, October 28
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Artificial Intelligence

    Meet LEANN: An Open-Source Vector Index that Shrinks a 60M-Chunk RAG Index from 201 GB to 6 GB

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKOctober 28, 2026 Artificial Intelligence No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email





    UC Berkeley’s Sky Computing Lab built LEANN, an open-source vector index that stores almost no embeddings. The LEANN vector index recomputes embeddings at query time instead of saving them to disk. The repo benchmark shows a 60 million chunk Wikipedia index dropping from 201 GB to 6 GB. The research paper won the Best Research Paper award at MLSys 2026. So, it brings semantic search and RAG over personal data, on a laptop.

    TL;DR

    • Size: 6 GB for 60M chunks (repo); 4 GB in the paper’s 76 GB Wikipedia setup. Default embedder: Contriever (110M params). It is an index, not an LLM, so no context length applies.
    • Runs on: laptops and workstations. The paper tested an RTX 4090 box with 32 GB RAM and an M1 Ultra Mac. A CPU-only Linux install exists, with no published CPU latency.
    • Performance: matches HNSW downstream accuracy at 90% recall, using under 5% of raw-data storage.
    • Best: 25.5% NQ accuracy, identical to HNSW, using 4 GB instead of 188 GB.
    • Worst: HotpotQA retrieval takes 44.80 s on the Mac, 50.1% of total pipeline time.

    What is LEANN?

    LEANN is a low-storage approximate nearest neighbor (ANN) index built on top of FAISS. It targets one problem: vector indexes are often bigger than the data they index. The research paper shows a 76 GB corpus needs 173 GB of embeddings plus a 15 GB HNSW graph. That more than doubles the raw data.

    LEANN keeps a pruned graph, drops the full vectors, and rebuilds them on demand. The code is MIT licensed and installs with uv pip install leann.

    How does LEANN recompute embeddings without stalling search?

    Graph indexes like HNSW visit only a small set of nodes per query. LEANN exploits that. It stores the graph plus a compact product quantization (PQ) table. At query time, it re-embeds only nodes on the search path.

    3 techniques keep this practical:

    • Two-level search: cheap PQ distances rank neighbors first. Only top candidates get exact recomputation.
    • Dynamic batching: candidates from several hops are grouped, for example 64 at once, for GPU efficiency.
    • High-degree preserving pruning: most nodes keep few edges, while the top 2% “hub” nodes keep more.

    In ablations, two-level search gives an average 1.4x speedup. Adding batching raises it to 1.8x. Embedding recomputation still accounts for about 76% of query latency.

    60MChunk Index LEANN Meet OpenSource RAG Shrinks Vector
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Mirendil Launches Fern 0.1, Its First Model, With 10M-Token Context

    Baidu Open-Sources Unlimited OCR 2 for Hundred-Page Document Parsing

    vLLM Semantic Router Releases d3-ultra: A 27B Open Multimodal Decision Model

    OpenAI Launches GPT-6.1 Terra, Halving GPT-6.1 Sol’s API Price for Agent Work

    Nace AI Releases Drex for Search for AI Agents: 92.05% on BrowseComp-Plus With 12.6 Search Calls

    Tsinghua AI Open-Sources AKV, a Cache Engineering Server for LLM Agents on SGLang

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    The maths bust-up fuelling fears that AI is undermining science

    October 28, 2026

    FactChecking Claims from Trump’s Midterm Rallies

    October 28, 2026

    External Teams Chats Anchor 15-Minute Malware Delivery

    October 28, 2026

    Smithsonian scientists just recreated the first 2 billion years of the Universe

    October 28, 2026
    Latest Posts

    Bitcoiners Warned Of Wrench Attacks After Tax Authority Leak

    August 15, 2026

    Why tech bosses keep sharing their manifestos about AI

    August 15, 2026

    Westminster council threatens Charing Cross soup kitchen with closure | Homelessness

    August 15, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    The maths bust-up fuelling fears that AI is undermining science

    October 28, 2026

    FactChecking Claims from Trump’s Midterm Rallies

    October 28, 2026

    External Teams Chats Anchor 15-Minute Malware Delivery

    October 28, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.