mlsanityData to 14 Oct 2026

Mixture-of-PageRanks: Replacing Long-Context with Real-Time, Sparse GraphRAG

arXiv 2412.06078 ↗First posted 8 Dec 2024cs.IR cs.LGcited by 2

On the map: Retrieval-augmented generation → Knowledge-graph and structured-knowledge RAG

Abstract (arXiv)

Recent advances have extended the context window of frontier LLMs dramatically, from a few thousand tokens up to millions, enabling entire books and codebases to fit into context. However, the compute costs of inferencing long-context LLMs are massive and often prohibitive in practice. RAG offers an efficient and effective alternative: retrieve and process only the subset of the context most important for the current task. Although promising, recent work applying RAG to long-context tasks has two core limitations: 1) there has been little focus on making the RAG pipeline compute efficient, and 2) such works only test on simple QA tasks, and their performance on more challenging tasks is unclear. To address this, we develop an algorithm based on PageRank, a graph-based retrieval algorithm, which we call mixture-of-PageRanks (MixPR). MixPR uses a mixture of PageRank-based graph-retrieval algorithms implemented using sparse matrices for efficent, cheap retrieval that can deal with a variety of complex tasks. Our MixPR retriever achieves state-of-the-art results across a wide range of long-context benchmark tasks, outperforming both existing RAG methods, specialized retrieval architectures, and long-context LLMs despite being far more compute efficient. Due to using sparse embeddings, our retriever is extremely compute efficient, capable of embedding and retrieving millions of tokens within a few seconds and runs entirely on CPU.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Knowledge-graph and structured-knowledge RAG, one of 15 directions in Retrieval-augmented generation. Builds on 31 of its 45 references that are in the map. First posted on arXiv 8 Dec 2024.

Builds on

31 of 45 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024LightRAG: Simple and Fast Retrieval-Augmented Generation8 Oct
  2. 2024Graph Retrieval-Augmented Generation: A Survey15 Aug
  3. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarization24 Apr

Other references · 28

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2024GPT-4o System Cardcited by 4,588
  5. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  6. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  7. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  8. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
  9. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
  10. 2024The Faiss librarycited by 376
  11. 2023Adapting Language Models to Compress Contextscited by 356
  12. 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 314
16 more
  1. 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 281
  2. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
  3. 2022Recurrent Memory Transformercited by 203
  4. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 197
  5. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 152
  6. 2024Long Context Compression with Activation Beaconcited by 104
  7. 2024Michelangelo: Long Context Evaluations Beyond Haystacks via Latent Structure Queriescited by 88
  8. 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 80
  9. 2024Human-inspired Episodic Memory for Infinite Context LLMscited by 62
  10. 2024In Defense of RAG in the Era of Long-Context Language Modelscited by 53
  11. 2024LongRAG: A Dual-Perspective Retrieval-Augmented Generation Paradigm for Long-Context Question Answeringcited by 49
  12. 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densitiescited by 32
  13. 2024Is It Really Long Context if All You Need Is Retrieval? Towards Genuinely Difficult Long Context NLPcited by 27
  14. 2024Associative Recurrent Memory Transformercited by 15
  15. 2015Efficient Algorithms for Personalized PageRankcited by 4
  16. 2024Extended Mind Transformerscited by 1

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025TERAG: Token-Efficient Graph-Based Retrieval-Augmented Generation
  2. 2024textttMixGR: Enhancing Retriever Generalization for Scientific Domain through Complementary Granularity
  3. 2025In-depth Analysis of Graph-based RAG in a Unified Framework
  4. 2026DA-RAG: Dynamic Attributed Community Search for Retrieval-Augmented Generation
  5. 2026Use Graph When It Needs: Efficiently and Adaptively Integrating Retrieval-Augmented Generation with Graphs
  6. 2025RAG vs. GraphRAG: A Systematic Evaluation and Key Insights
  7. 2025NodeRAG: Structuring Graph-based RAG with Heterogeneous Nodes
  8. 2025Stronger Baselines for Retrieval-Augmented Generation with Long-Context Language Models