计算机科学 > 信息检索
[提交于 2025年10月9日 (v1),最后修订于 2026年11月27日 (此版本, v2)]
标题:VersionRAG: Version-Aware Retrieval-Augmented Generation for Evolving Documents
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:Versioned corpora hold the same fact in mutually contradicting states, and the version identifier contributes only a weak signal for embedding similarity to separate them. Therefore, a Retrieval-Augmented Generation (RAG) system, when asked about a single version, usually retrieves all versions with similar scores. The result is that the answer can be arbitrary, rather than the correct one. To address this problem, we present VersionRAG, which models a text corpus as an explicit version lineage and routes queries to the relevant versions by intent. We evaluate our approach on two new datasets: VersionQA-Software (869 questions, 882 document versions) and VersionQA-Legal (547 questions, 355 versions of amended UK legislation). VersionRAG is the most accurate system in both domains across four LLMs and four baselines, reaching up to 94.4% accuracy in the question-answering task. Our ablations show that the version lineage alone contributes +21 to +47 points over flat retrieval. A change layer built on it adds a further +12 to +15 points on explicit-change and +21 to +36 on implicit-change questions. We find that indexing the changes in the documents is critical and outperforms both generic entity graphs and temporal entity graphs.
提交历史
来自:Jonathan Fürst[v1] 2025年10月9日 星期四 11:48:58 UTC (2,434 KB)
[v2] 2026年11月27日 星期五 09:42:38 UTC (1,764 KB)