Papers
arxiv:2610.36991

SpectRAG: Weighted Chunk Graphs for Token-Budgeted Context Selection in Multi-Hop Retrieval-Augmented Generation

Published on Oct 27

Abstract

SpectRAG improves retrieval-augmented generation by using graph-spectral methods to retrieve diverse, structurally connected evidence for multi-hop reasoning.

Retrieval-augmented generation (RAG) systems ground large language models (LLMs) by retrieving external evidence and conditioning generation on the retrieved context. Although dense retrieval is effective for local semantic matching, independently ranked retrieval can return redundant passages, miss cross-chunk dependencies, and provide incomplete evidence for multi-hop reasoning. We propose SpectRAG, a spectral graph-augmented retrieval framework that combines hybrid candidate seeding, weighted chunk graph construction, graph-based expansion, spectral relevance propagation, and token-budgeted context selection. Document chunks are represented by dense semantic embeddings and graph-spectral coordinates derived from a weighted chunk graph whose edges encode semantic similarity, document adjacency, section hierarchy, shared entities, citation links, and similarity between LLM-generated utility questions. At query time, SpectRAG builds a high-recall seed set using exact inner-product search and hybrid relevance signals, expands it over the chunk graph, re-scores candidates using graph proximity and spectral information, and assembles the final context under a fixed token budget. The goal is not merely to retrieve individually similar chunks, but to construct a context that is relevant, diverse, structurally connected, and sufficient for grounded reasoning. Experiments on MultiHopRAG, UltraDomain, and long-document question-answering settings show that SpectRAG improves broad evidence recovery and achieves competitive generation quality against dense, hybrid, HyDE, LightRAG, and NaiveRAG baselines. The results further indicate that graph-spectral structure is particularly useful for inference-oriented and cross-document retrieval, while highlighting trade-offs in early precision, computational cost, and domain-dependent performance.

Community

Hi everyone! Author here 👋

Problem: top-k retrieval ranks chunks one by one. On multi-hop questions it fills the context with near-duplicates and misses the "bridge" passages that connect the evidence.

Idea: treat retrieval as context-set selection. We build a weighted chunk graph from 6 signals (semantic, adjacency, section, entity, LLM utility questions, citations). Each chunk gets 32-d spectral coordinates from the normalized Laplacian, query relevance diffuses over the graph (spectral closeness + PPR), and a 12k-token budget is filled with a protected core and a coverage-aware tail.

💥SpectRAG replaces top-k chunk ranking with graph-spectral context-set selection, reaching 91.8% gold-evidence recall on MultiHopRAG with a ~6× smaller index than LightRAG.

💻 Code: https://github.com/SightAndCite/SpectRAG
🎬 Visual walkthrough: https://huggingface.co/spaces/sightandcite/SpectRAG

Happy to answer any questions!
00_cover

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2610.36991
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2610.36991 in a model README.md to link it from this page.

Datasets citing this paper 1

Spaces citing this paper 1

Collections including this paper 1