NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LP-RAG: Learning to Retrieve with Link Predictors

Erik Jhones Freitas do Nascimento, Jorge Luiz Franco, Amauri H SouzaNeurIPS 2026

TL;DR

Standard Retrieval-Augmented Generation (RAG) treats documents like isolated islands, while newer graph-based RAG methods weave them into webs of information—yet still struggle to dynamically connect a brand-new user question to the right nodes. LP-RAG reframes information retrieval as an inductive link prediction problem: when you ask a question, the system drops your query into the document graph as a new node and uses a Graph Neural Network (GNN) to predict which edges should snap into place. Best of all, it learns how to do this entirely via self-supervision using synthetic questions, outperforming existing graph-based RAG systems while actually reducing token costs.

What Problem Does This Paper Address?

Large Language Models (LLMs) are brilliant, right up until you ask them about private data or yesterday’s news. RAG solves this by fetching relevant text chunks to feed the LLM alongside your prompt. Traditional RAG relies on vector similarity—essentially matching the "vibe" of your question to individual text chunks. That works for simple facts, but falls flat on multi-hop questions where the answer requires connecting clues scattered across three different documents.

To fix this, Graph-based RAG organizes text into networks where nodes are chunks (or entities) and edges represent relationships. However, actually retrieving from these graphs remains clunky. Most methods still rely on simple vector similarity to find a starting node and then wander around using heuristics (like PageRank). They don't explicitly learn how an incoming, unseen user query relates to the broader structural web of the documents. The authors ask: What if we directly trained a graph model to predict links between a new question and the exact chunks needed to answer it?

Methods

LP-RAG turns retrieval into inductive link prediction—predicting missing connections for a node the graph has never seen before.

Figure 1: Overview of LP-RAG. For training, we leverage LLMs to obtain atomic chunks — from which we build a similarity chunk graph — and chunk-conditioned synthetic queries. These are used to train a GNN for link prediction (LP-GNN). During inference, we feed only the chunk graph (synthetic queries are removed) and the user query to LP-RAG to obtain chunks for generation.

Here is how the pipeline comes together:

  1. Atomic Chunking & Graph Building: Instead of blindly slicing text every 500 words, LP-RAG prompts an LLM to extract self-contained, atomic facts (even resolving pronouns like "he" into "Harry Potter"). Each chunk is embedded (via Contriever) and connected to its mutual top-$k$ most similar neighbors, forming a semantic chunk graph.
  2. Self-Supervision via Synthetic Queries (The Secret Sauce): Training a link predictor requires knowing which questions connect to which chunks, so the authors manufacture their own training labels. They prompt an LLM to generate plausible, human-like questions from batches of chunks. These synthetic queries are temporarily wired into the graph, creating a Query-Chunk Graph.
  3. Training & Inference: A link-prediction GNN (like NCN) is trained on this hybrid graph to distinguish real edges from fake ones. At inference time, the synthetic training queries are stripped away. When a real user asks a question, it enters the chunk-only graph as a temporary node. The frozen GNN scores potential links, and any chunk scoring above a probability threshold $\tau$ is handed to the LLM to generate the final answer.

Fast LP-RAG: Because prompting an LLM to chunk massive datasets gets expensive, the authors also introduce a lightweight variant. It uses a fast BERT-based Named Entity Recognition (NER) model to build a compact entity-relation graph, uses random walks to group multi-hop entities for synthetic query generation, and feeds deduplicated (entity, relation, entity) triples to the LLM instead of raw text.

Datasets

No newly created benchmarks are introduced, though the authors create sampled 20-to-50 document mini-splits (denoted with -S) of existing datasets to run controlled open-source LLM ablations. Across three experimental setups, they evaluate on ten benchmarks:

  • Multi-hop Q&A: HotpotQA, MuSiQue, 2WikiMultiHopQA, and MultiHop-RAG.
  • Large-scale Arena Benchmarks: Writing, Tech, Science, and Recreation domains.
  • Domain/General Q&A: RAG-QA and ICLR Papers.

Key Insights and Ideas

  • Synthetic queries bridge the semantic gap: If you train a GNN solely on chunk-to-chunk connections without synthetic queries, performance plunges all the way down to basic NaiveRAG levels (dropping from 89.3% to 69.2% accuracy on HotpotQA-S). Synthetic queries teach the GNN how questions structurally map to answers.
  • Graph topology is doing real heavy lifting: Swapping the GNN out for a standard Multilayer Perceptron (MLP) causes accuracy to crater (down to 32.5% on HotpotQA-S). Passing messages across the neighborhood structure is critical for multi-hop reasoning.
  • Thresholding beats rigid Top-$k$: Instead of forcing the retriever to always grab, say, $k=5$ bulky paragraphs, LP-RAG grabs atomic facts whose link probability crosses a threshold. You get higher signal with far less noise—and lower LLM token bills.

Key Results

Across the board, LP-RAG—and especially Fast LP-RAG—pushes past strong baselines like HippoRAGv2, NodeRAG, LinearRAG, and GFM-RAG.

Table 2: Results: Q&A performance. Fast LP-RAG is the best method in both metrics for all datasets.
  • Multi-Hop Mastery: On HotpotQA, MuSiQue, and 2Wiki, Fast LP-RAG takes the crown in end-to-end Q&A, beating HippoRAGv2 in Exact Match (EM) by 1.6%, 2.4%, and 13.3%, respectively. For retrieval, it hits 96.6% Recall@5 on HotpotQA (a 16.2% Recall@2 jump over LinearRAG).
  • Large-Scale Efficiency: On the million-token Arena benchmarks, Fast LP-RAG achieves the highest win-tie ratio in 3 out of 4 domains (hitting 0.953 in Tech and 0.941 in Science) while averaging ~3.1k–3.2k retrieved tokens—less than all competing baselines—and clocking the fastest query latency (~2.15s) on half the datasets.
  • Open-Source Controlled Runs: Using Llama-3.3 70B on the -S splits, standard LP-RAG sweeps all five benchmarks, hitting 91.16% accuracy on ICLR-S (vs. NodeRAG's 77.92%) while slashing token usage from 6.2k down to 2.4k.

Limitations and Future Work

The authors note two primary limitations. First, due to compute and budget constraints, LP-RAG is trained per-corpus rather than scaled up as a massive, pre-trained "graph foundation model" (though it still beats GFM-RAG when trained on the same data). Second, the pipeline's ceiling is tied to prompt engineering: if the LLM prompts used for atomic chunking or synthetic query generation are poorly designed—or run on a weak model—errors can trickle down into the graph structure. Exploring LP-RAG as a large-scale pretrained foundation retriever remains an open avenue.

Summary updated

BibTeX
@inproceedings{nascimento2026lp,
  author = {Erik Jhones Freitas do Nascimento and Jorge Luiz Franco and Amauri H Souza},
  title = {{LP-RAG: Learning to Retrieve with Link Predictors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=pu2fC26MV8},
}
Figure