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.


翻译:暂无翻译

0
下载
关闭预览

相关内容

ACL 2025 | CKnowEdit:面向中文语言的知识编辑数据集
专知会员服务
9+阅读 · 2025年7月5日
【ICML2024】揭示Graph Transformers 中的过全局化问题
专知会员服务
21+阅读 · 2024年5月27日
【2023新书】决策支持系统和自动谈判, 240页pdf
专知会员服务
48+阅读 · 2023年6月24日
《信息技术计算机视觉术语》国家标准发布,48页pdf
专知会员服务
34+阅读 · 2023年1月2日
下载 | 最全中文文本分类模型库,上手即用
机器学习算法与Python学习
31+阅读 · 2019年10月17日
论文盘点:CVPR 2019 - 文本检测专题
PaperWeekly
14+阅读 · 2019年5月31日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
Reinforcement Learning: An Introduction 2018第二版 500页
CreateAMind
14+阅读 · 2018年4月27日
语义分割+视频分割开源代码集合
极市平台
35+阅读 · 2018年3月5日
读书报告 | Deep Learning for Extreme Multi-label Text Classification
科技创新与创业
48+阅读 · 2018年1月10日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
5+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
ACL 2025 | CKnowEdit:面向中文语言的知识编辑数据集
专知会员服务
9+阅读 · 2025年7月5日
【ICML2024】揭示Graph Transformers 中的过全局化问题
专知会员服务
21+阅读 · 2024年5月27日
【2023新书】决策支持系统和自动谈判, 240页pdf
专知会员服务
48+阅读 · 2023年6月24日
《信息技术计算机视觉术语》国家标准发布,48页pdf
专知会员服务
34+阅读 · 2023年1月2日
相关资讯
相关基金
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
5+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员