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

Bridge-Aware KV Caches for Multi-Hop Retrieval

Retrieval-augmented language models answer questions by pasting retrieved documents into their prompt. To make this fast, serving systems pre-compute and store each document's internal attention state, its "key-value cache" (the per-token vectors a Transformer reuses instead of re-reading the text). Each document is cached on its own, so at query time the model sees documents that never "read" each other. Recent systems fix part of this by baking cross-document attention into the cache offline, choosing which documents to pair by textual similarity. Multi-hop questions break that choice. For "In what city was the director of Inception born?", the two documents that must be read together, one about the film and one about Christopher Nolan's birth, are not similar to each other. They are connected only through a shared entity. We propose to organize the offline cache by these entity bridges rather than by similarity. Each stored document gets pre-attended against the documents it links to through shared entities, and in iterative retrieval loops the system prefetches the bridge neighbors of the documents already in context while the model is still writing its reasoning.

This is a hardware–software mismatch argument applied to reasoning. KV caches were designed around a linear, shared-prefix, similarity-clustered view of context that suits single-hop lookup. Multi-hop evidence has graph structure, and the cache layout and storage-to-GPU transfer schedule should follow that structure. The core claim is falsifiable. The quality that current fused caches still lose relative to full attention is concentrated on bridge-type questions, and bridge-organized fusion recovers it at the same recomputation cost and a bounded storage cost.

What prior work establishes and leaves open

The closest work is FusionRAG. It pre-computes cross-attention between similar chunks offline, then at query time recomputes about 15% of tokens chosen by query attention, using a custom sparse-attention kernel and an asynchronous cache scheduler. It motivates and constrains this proposal. It already reports multi-hop results on HotpotQA, MuSiQue and 2WikiMultiHopQA: Normalized-F1 up to 70% higher than baselines at a 15% recomputation ratio, recovering over 80% of the quality loss relative to full attention, with 2.66–9.39× lower time-to-first-token (TTFT). So the claim is not that FusionRAG fails on multi-hop. The claim is narrower: the remaining ~20% gap is mostly caused by bridge pairs that similarity clustering cannot co-locate. We keep FusionRAG's online token-selection stage and change only which neighbors are fused offline and how they are fetched.

Two storage-and-scheduling systems supply method. Cake overlaps GPU prefill from the start of the prompt with backward loading of cached KV from storage, reporting 2.6× TTFT reduction. HyperRAG stores per-chunk caches on NVMe or Redis for a reranker with exact masking, and reports that such caches can reach roughly 40 TB for MS MARCO. Both assume a single-turn prompt known in advance, and HyperRAG's footprint warns that any scheme multiplying cached variants per chunk needs a hard neighbor budget.

On the reasoning side, IRCoT interleaves one chain-of-thought sentence with one retrieval call, improving retrieval recall by 11–21 points. L-RAG avoids generating text queries by mapping middle-layer hidden states to the retriever's embedding space. It reports ~2.8 s per query versus over 20 s for IterRetGen on 2WikiMultiHopQA, and 0.352 accuracy on MuSiQue. Both show that hop-2 documents arrive only at query time. Neither considers that each new document is then prefilled from scratch, with no attention to the hop-1 evidence it must be joined with. The intermediate-entity bottleneck described by Bordes et al. and Gong et al. is the reason similarity is the wrong key for pairing documents.

Core Claim

For multi-hop retrieval, the neighbors a chunk should be pre-attended against are its entity-bridge neighbors, not its nearest embedding neighbors. The same bridge graph also predicts which chunks an iterative loop will request next. That lets the system prefetch those chunks' fused caches from host memory or SSD while the GPU is still decoding. The result should be multi-hop answer quality close to full attention, at FusionRAG-level TTFT and IRCoT-level retrieval quality, with lower per-hop latency than recomputing each newly retrieved chunk.

Research Program

The offline stage builds a bridge graph over the corpus chunks. An edge joins chunk $a$ to chunk $b$ when an entity mentioned in $a$ is the subject of $b$. Entities come from an off-the-shelf entity linker, not from Wikipedia hyperlinks. HotpotQA bridge questions were constructed from hyperlinked article pairs, so using hyperlinks would leak the benchmark's construction.

We also build a second, learned variant that counts hop transitions (chunk $a$ retrieved at hop $k$, chunk $b$ at hop $k+1$) in IRCoT traces on training questions only. Each chunk keeps at most $m$ neighbors, with $m$ swept from 1 to 8. For each neighbor we store a fused cache of the chunk computed with that neighbor as preceding context, following FusionRAG's preliminary cross-attention recipe exactly, so only the neighbor choice differs. Storage grows linearly in $m$, and we report it in bytes per chunk against the similarity-fused and independent-chunk caches.

The online stage has two modes. In single-round mode, the retrieved top-$k$ set is assembled from the stored variant whose baked-in neighbor is also in the set. When no such variant exists, the stage falls back to the plain chunk cache and FusionRAG's query-guided recompute. In iterative mode, which wraps IRCoT and optionally L-RAG's hidden-state queries, the scheduler ranks each hop's retrieved chunks' bridge neighbors by edge weight while the model generates the next reasoning sentence. It streams their fused caches from host RAM or NVMe using a Cake-style overlap, so that the likely hop-$(k+1)$ chunks are already on GPU when their retrieval call returns. Prefetch is useful only if the retriever's actual hop-$(k+1)$ result is among the prefetched neighbors, so we measure prefetch hit rate directly.

Baselines

The naive reference point is independent per-chunk caching with no cross-chunk attention: the fastest option and the lower bound on quality. The quality ceiling is full attention over the concatenated retrieved chunks, recomputed per query and per hop, which is also the TTFT worst case.

The strongest existing method is FusionRAG. It is the only system in the file that fuses cross-chunk attention into caches and reports multi-hop numbers: up to 70% higher Normalized-F1 than baselines at 15% recomputation, over 80% recovery of full-attention quality, and 2.66–9.39× TTFT reduction, all from FusionRAG. We will rerun it ourselves with the same model (Llama-3.1-8B-Instruct), the same Contriever retriever, the same top-$k$, the same 15% recomputation ratio and the same GPU and storage tier. Its offline neighbor count is set so that its cache occupies the same bytes as ours. Beating it means higher Normalized-F1 on bridge-type questions at equal recomputation ratio and equal storage, with TTFT within 10% of FusionRAG's.

In iterative mode, the reference is IRCoT with per-hop full recompute. The latency reference is L-RAG, which reports ~2.8 s per query versus over 20 s for IterRetGen on 2WikiMultiHopQA and 0.352 accuracy on MuSiQue. We rerun both on our hardware rather than comparing against those absolute numbers.

The key ablation replaces bridge neighbors with random neighbors and with similarity neighbors, at identical $m$ and storage. This isolates whether neighbor choice, rather than simply having more fused variants, drives any gain. A second ablation disables prefetch and keeps bridge fusion, separating the quality effect from the latency effect.

Why not just…?

Why not just raise FusionRAG's recomputation ratio? This is the real threat. If recomputing 25–30% of tokens already recovers bridge-question quality, bridge fusion buys nothing that a single knob does not. We will plot Normalized-F1 against recomputation ratio for FusionRAG and for our method. The proposal survives only if our curve dominates at matched TTFT, meaning we reach a given quality with fewer recomputed tokens. If the curves coincide, we will report that as the finding.

Why not just use full attention with a long context? Full attention is our quality ceiling, so it cannot be beaten on accuracy, only on cost. FusionRAG's 2.66–9.39× TTFT gap already shows the cost, and in iterative loops that cost is paid at every hop. ParisKV further shows full attention becoming impractical at very long contexts. A wider context also does not retrieve the hop-2 document, which is the retrieval failure IRCoT addresses.

Why not just use L-RAG and skip caching? L-RAG removes the cost of generating query text but, as it stands, still prefills retrieved documents from scratch after retrieval. The two are complementary, so we test L-RAG with and without bridge-fused prefetched caches. If prefill turns out to be a small fraction of L-RAG's 2.8 s, the latency half of our claim weakens and only the quality half remains.

Why not just reorder the documents so the bridge document comes first? Reordering changes positions but not the fact that independently cached chunks never attended to each other. We include a reordered independent-cache baseline. If it matches our quality, cross-attention was not the missing ingredient.

Proposed Experiments

We will evaluate on HotpotQA (paper), stratified into bridge and comparison questions; MuSiQue (paper), stratified by 2, 3 and 4 hops; and 2WikiMultiHopQA (paper). TriviaQA is included as a single-hop control where we expect no gain. Metrics are Normalized-F1 and exact match, TTFT, end-to-end latency per query, cache bytes per chunk, and prefetch hit rate.

The decisive first check is diagnostic and cheap. Using released FusionRAG settings, we measure its gap to full attention separately on bridge and comparison questions. If the gap is not concentrated on bridge questions and does not grow with hop count on MuSiQue, the premise is wrong and we stop.

If it is concentrated, the main test is the random, similarity and bridge neighbor comparison at matched storage and recomputation. Success means bridge fusion closes at least half of FusionRAG's remaining bridge-question gap, with no loss on comparison questions or TriviaQA.

The iterative-mode test succeeds if prefetch hit rate exceeds 50% and per-hop latency falls below IRCoT with recompute at equal answer quality. As a leakage check, the learned transition graph must be built only from training-split traces and must not outperform the entity-linker graph by a margin that would suggest it memorized test chains.