SpectRAG: Weighted Chunk Graphs for Token-Budgeted Context Selection in Multi-Hop Retrieval-Augmented Generation
Abstract
Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.
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.
Results and benchmarks
Retrieval-augmented generation (RAG) systems ground large language models (LLMs) by retrieving external evidence and conditioning generation on the retrieved context.
| Task | Dataset | Metric | Value | Source |
|---|---|---|---|---|
| Retrieval / indexing | MultiHopRAG | Accuracy | 70.9 | paper-derived |
| Retrieval / indexing | LightRAG | R e c a l l Recall | 65.6 | paper-derived |
| Retrieval / indexing | Hybrid | M R R MRR. | 79.1 | paper-derived |
Audit each benchmark finding before selecting an implementation path. Evidence refs map to the disclosure below.
Evidence graph: 3 refs, 3 links.
Utility signals: depth 90/100, grounding 85/100, status high.
Implementation
Best maintained implementation now
Spectral graph-augmented retrieval for RAG. Augments dense vector search with a weighted chunk graph and its Laplacian spectrum, graph expansion, spectral diffusion, and cluster-aware selection, to retrieve context that is jointly relevant, non-redundant, and connected for multi-hop reasoning.
51 stars · 1 forks · Last push Nov 4, 2026 · MIT license
- License
- CI
- Dependencies
- Docker
Matched via arXiv identifier search · Strong overlap with paper title keywords · Community adoption signal (51 stars)
SightAndCite/SpectRAG is the best available implementation candidate based on ranking signals, but recommendation confidence is not yet high. CI workflows are present. License is declared (MIT).
Open SightAndCite/SpectRAG- No repository-level red flags were detected, but paper-specific preprocessing and hyperparameter details may still be under-specified.
- Selected SightAndCite/SpectRAG as the strongest maintained implementation for new work.
- Includes CI workflow signals.
- Includes dependency/environment manifest signals.
- Repository activity is within the last 24 months.
Compare implementation paths
Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.
- Maintenance
- Active
- Confidence
- Low
- Reproducibility
- Strong
- Stars
- 26
- Last push
- Nov 4, 2026 (18d)
Matched via arXiv identifier search · Community adoption signal (26 stars)
- No Docker setup
- Low confidence match
- Maintenance
- Active
- Confidence
- Medium
- Reproducibility
- Strong
- Stars
- 51
- Last push
- Nov 4, 2026 (18d)
Matched via arXiv identifier search · Strong overlap with paper title keywords
- No tagged releases
- No Docker setup
- Maintenance
- Active
- Confidence
- Low
- Reproducibility
- Moderate
- Stars
- 12
- Last push
- Nov 7, 2026 (15d)
Matched via arXiv identifier search
- No tagged releases
- No Docker setup
- Dependency manifest missing
Reproduction readiness
Ready to run
Ready to reproduce
- Clone SightAndCite/SpectRAG and install dependencies from requirements.txt.
- CI pipeline detected, so automated tests are in place.
- Last updated 18 days ago.
Quick start
git clone https://github.com/SightAndCite/SpectRAG.git
pip install -r requirements.txt Repositories and ecosystem
No additional verified repositories beyond the primary recommendation.
These repositories had low-confidence matching signals and are hidden by default.
- aion7891/SpectraFuse
Confidence: Low · 26 stars
- vishalmysore/advancedRagDemo
Confidence: Low · 12 stars
Hugging Face artifacts
No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.
Models
No trustworthy models matches right now.
Search models on Hugging FaceDatasets
- sightandcite/SpectRAG-eval-results
90 downloads · 0 likes · Updated Nov 5, 2026
Spaces
No trustworthy spaces matches right now.
Search spaces on Hugging FaceResearch context
Tasks
Retrieval / indexing
Methods
Transformer, Retrieval-augmented generation
Domains
Natural Language Processing, Large Language Models, Information Retrieval
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.