生成无知识泄露的RAG评估数据集,解决旧基准过时问题
Generating Leakage-Free Benchmarks for Robust RAG Evaluation

- 基于原始数据构建推理图,通过实体替换生成新样例
- 新数据保留原任务逻辑,且90%以上无法靠模型记忆回答
- 适合评估真实检索能力,尤其对训练后模型有效
检索增强生成(RAG)广泛用于为大语言模型注入外部知识,但现有评估基准中大量问题可仅凭模型参数记忆回答,导致评估不可靠。这种现象称为知识泄露,且随时间加剧——因基准被反复使用,其内容逐渐被模型吸收。为此,本文提出SeedRG半合成基准生成管道:从种子数据集中提取问题-上下文对的推理图,捕捉其深层推理结构,并通过类型约束的实体替换生成新样本。新样本在结构上与原题相似,但内容新颖,极难存在于模型参数知识中,同时保留原有推理模式。为保证质量,引入双重验证:一是推理图一致性检查以维持难度,二是知识泄露过滤器排除无需检索即可回答的样本。
原文摘要 · Abstract (English)
Retrieval-augmented generation (RAG) is widely used to augment large language models (LLMs) with external knowledge. However, many benchmark datasets, designed to test RAG performance, comprise many questions that can already be answered from an LLM's parametric memory. This leads to unreliable evaluation. We refer to this phenomenon as knowledge leakage: cases where RAG tasks are solvable without retrieval. This issue worsens over time due to benchmark aging. As benchmarks are reused for training, their contents are increasingly absorbed into model parameters, making them less effective for evaluating retrieval. We introduce SeedRG, a semi-synthetic benchmark generation pipeline that mitigates knowledge leakage and addresses the issue of benchmark aging. Starting from a seed benchmark dataset, SeedRG extracts a reasoning graph from question-context pairs to capture their underlying reasoning structure, and then generates new examples via type-constrained entity replacement. This process produces structurally similar but novel instances that are unlikely to exist in the model's parametric knowledge, while preserving the original reasoning patterns. To ensure quality, we incorporate two verification steps: (1) a reasoning-graph consistency check to maintain task difficulty, and (2) a knowledge-leakage filter to exclude instances answerable without retrieval.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。