Lune

ICDE2026顶会

HaS: Accelerating RAG Through Homology-Aware Speculative Retrieval

Peng Peng, Weiwei Lin, Wentai Wu, Xinyang Wang, Yongheng Liu

摘要

Retrieval-Augmented Generation (RAG) expands the knowledge boundary of large language models (LLMs) at inference by retrieving external documents as context. However, retrieval becomes increasingly time-consuming as the knowledge databases grow in size. Existing acceleration strategies either compromise accuracy through approximate retrieval, or achieve marginal gains by reusing results of strictly identical queries. We propose HaS, a homology-aware speculative retrieval framework that performs low-latency speculative retrieval over restricted scopes to obtain candidate documents, followed by validating whether they contain the required knowledge. The validation, grounded in the homology relation between queries, is formulated as a homologous query re-identification task: once a previously observed query is identified as a homologous re-encounter of the incoming query, the draft is deemed acceptable, allowing the system to bypass slow full-database retrieval. Benefiting from the prevalence of homologous queries under real-world popularity patterns, HaS achieves substantial efficiency gains. Extensive experiments demonstrate that HaS reduces retrieval latency by 23.74% and 36.99% across datasets with only a 1-2% marginal accuracy drop. As a plug-and-play solution, HaS also significantly accelerates complex multi-hop queries in modern agentic RAG pipelines. Source code is available at: https://github.com/ErrEqualsNil/HaS.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective Augmentation 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection 引用了 When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories
  • Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper17

  1. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
  2. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil 等ICLR 2024 · 1,798 次引用
  3. Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng 等ICML 2020 · 539 次引用
  4. RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective AugmentationFangyuan Xu, Weijia Shi, Eunsol ChoiICLR 2024 · 260 次引用
  5. When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric MemoriesAlex Mallen, Akari Asai, Victor Zhong, Rajarshi Das 等ACL 2023 · 233 次引用

相关 Paper

  1. Speculative RAG: Enhancing Retrieval Augmented Generation through DraftingZilong Wang, Zifeng Wang, Long T. Le, Huaixiu Steven Zheng 等ICLR 2025 · 7 次引用
  2. FastV-RAG: Towards Fast and Fine-Grained Video QA with Retrieval-Augmented GenerationGen Li, Peiyu LiuACL 2026 · 1 次引用
  3. RAPID: Long-Context Inference with Retrieval-Augmented Speculative DecodingGuanzheng Chen, Qilong Feng, Jinjie Ni, Xin Li 等ICML 2025
  4. DReX: Accurate and Scalable Dense Retrieval Acceleration via Algorithmic-Hardware CodesignDerrick Quinn, E. Ezgi Yücel, Martin Prammer, Zhenxing Fan 等ISCA 2025 · 10 次引用
  5. Accelerating Inference of Retrieval-Augmented Generation via Sparse Context SelectionYun Zhu, Jia-Chen Gu, Caitlin Sikora, Ho Ko 等ICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖