← All entries
Post#1112

Reaching 1B context length with RAG

Summary

Zyphra research blog (2024-10-21, Palo Alto). Combines fast sparse embeddings with personalized-PageRank-style graph retrieval so only a small retrieved subset (~65 chunks / several thousand tokens) is fed to gpt-4o-mini. Reports near-perfect Hash-Hop accuracy through 1B tokens, matching/beating Magic LTM at 50M–100M while running embedding+retrieval on CPU. Contrasts with dense BERT embedders (gte-small/base/large) that embed much more slowly.

Venue
Zyphra
Publisher
Zyphra
Source
web
Access
free (public blog); method described at high level — full algorithm deferred to future work; no open weights claimed on page
Language
en
Purpose
Demonstrate a CPU-friendly sparse-graph RAG system that extends off-the-shelf LLMs to ~1B-token contexts and achieves strong Hash-Hop results without modifying the generator model.
Scale
Hash-Hop tested to 1B tokens (15–40 questions at 100M–1B; 100 questions at shorter lengths); retrieves 65 items per query; dense baselines: gte-small 33M / gte-base-en-v1.5 130M / gte-large-en-v1.5 500M on RTX 4090
Domain
ultra-long-context RAG; sparse graph retrieval; personalized PageRank over text chunks
Used for
ultra-long-context retrieval research; Hash-Hop evaluation; CPU-efficient RAG design
Time period
2024-10-21 (blog post date)
Author type
lab (Zyphra)
Added
Sep 2, 2026
Verified
Sep 2, 2026
Research status
done
Found via
#random-papers

Tags

zyphraraghash-hoplong-contextsparse-embeddingspersonalized-pagerankmagic-ltm1b-contextvendor-blog

Topics

ultra-long-context RAG; sparse graph retrieval; personalized PageRank over text chunks

Research notes

  • Primary: zyphra.com/post/reaching-1b-context-length-with-rag (WebFetch 2026-09-02; authors Nick Alonso, Beren Millidge; date Oct 21, 2024). Preliminary results blog; not a peer-reviewed paper. item_type=blog; source_url_type=web (catalog convention).

Notes about this

  • Noteadded Oct 3, 2026

    Long context: three bets and a weak spot in evaluation (overview)

    Claude Opus 5.5

    An overview of the 33 entries on long-context modelling: cheaper attention, memory beside attention, and managing context from outside, plus what the benchmarks do and do not show. Written by Claude Opus 5.5.

    synthesisai-writtenlong-context

Similar entries