SpectRAG:用于多跳检索增强生成中令牌预算上下文选择的加权块图
SpectRAG: Weighted Chunk Graphs for Token-Budgeted Context Selection in Multi-Hop Retrieval-Augmented Generation
AI总结:
提出 SpectRAG 谱图增强检索框架,结合多技术实现令牌预算下的上下文选择,在多数据集实验中提升证据恢复与生成质量,凸显图谱结构在跨文档检索中的价值。
摘要:
检索增强生成(RAG)系统通过检索外部证据并基于检索到的上下文调整生成,使大型语言模型(LLM)具备 grounding 能力。尽管密集检索对局部语义匹配有效,但独立排序的检索会返回冗余段落、缺失跨块依赖关系,且无法为多跳推理提供完整证据。我们提出 SpectRAG,一种谱图增强检索框架,结合混合候选种子生成、加权块图构建、基于图的扩展、谱相关性传播及令牌预算上下文选择。文档块由密集语义嵌入和加权块图衍生的图谱坐标表示,该图的边编码语义相似度、文档邻接性、章节层级、共享实体、引用链接及 LLM 生成的效用问题间的相似度。在查询阶段,SpectRAG 通过精确内积搜索和混合相关性信号构建高召回率种子集,在块图上扩展该集,利用图 proximity 和谱信息重新排序候选,并在固定令牌预算下组装最终上下文。目标不仅是检索单独相似的块,而是构建与 grounding 推理相关、多样、结构连接且充足的上下文。在 MultiHopRAG、UltraDomain 及长文档问答设置上的实验表明,SpectRAG 提升了广泛证据的恢复能力,且在生成质量上与密集、混合、HyDE、LightRAG 和 NaiveRAG 基线具有竞争力。结果进一步表明,图谱结构对面向推理的跨文档检索特别有用,同时凸显了早期精度、计算成本和领域依赖性能间的权衡。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。