SpecUBench
收藏资源简介:
LLM-Specific Utility Benchmark (SpecUBench) 是一个专门用于衡量检索增强生成(RAG)中检索段落对特定 LLM 效用的基准测试。该基准测试打破了传统“相关段落对所有读者同样有用”的假设,而是为每个检索段落标注其对指定 LLM 的“黄金效用”——即该段落实际帮助模型生成正确答案的程度。数据来源于六个广泛使用的开放域问答/检索数据集:Natural Questions (NQ)、HotpotQA、TriviaQA、FEVER、MS MARCO 和 2WikiMultiHopQA。对于每个数据集,基准测试提供了查询、真实答案、由稠密检索器(BGE)检索的每个查询的 top-200 段落,以及针对四个 LLM(Qwen3-8B、Qwen3-14B、Qwen3-32B 和 Llama-3.1-8B-Instruct)的段落级黄金效用标签。数据以 JSONL 和 TREC qrel 格式存储,并包含完整的评估脚本(排名评估和集合评估)。该基准测试可用于训练或评估效用感知的检索器和重排序器,促进 RAG 系统中更精准的段落选择。
LLM-Specific Utility Benchmark (SpecUBench) is a benchmark specifically designed to measure the utility of retrieved passages for a specific LLM in Retrieval-Augmented Generation (RAG). It breaks the traditional assumption that relevant passages are equally useful to all readers, instead annotating each retrieved passage with its golden utility for a specified LLM—i.e., the degree to which the passage actually helps the model generate the correct answer. The data comes from six widely used open-domain question answering/retrieval datasets: Natural Questions (NQ), HotpotQA, TriviaQA, FEVER, MS MARCO, and 2WikiMultiHopQA. For each dataset, the benchmark provides queries, ground-truth answers, top-200 passages retrieved by a dense retriever (BGE) for each query, and passage-level golden utility labels for four LLMs (Qwen3-8B, Qwen3-14B, Qwen3-32B, and Llama-3.1-8B-Instruct). The data is stored in JSONL and TREC qrel formats, and includes complete evaluation scripts (ranking evaluation and set evaluation). This benchmark can be used to train or evaluate utility-aware retrievers and rerankers, promoting more accurate passage selection in RAG systems.
LLM专用效用基准(SpecUBench)
SpecUBench是一个用于衡量检索增强生成(RAG)中检索段落LLM专用效用的基准数据集。该基准不假设"相关"段落对每个读者同样有用,而是标注每个检索段落对特定LLM的实际帮助程度——即该段落是否真正帮助模型生成正确答案。
核心特性
- 效用定义:通过模型在有/无检索段落时的性能差异(精确匹配/F1分数)计算段落级黄金效用标签
- 覆盖模型:Qwen3-8B、Qwen3-14B、Qwen3-32B、Llama-3.1-8B-Instruct
- 许可协议:Apache License 2.0
- 语言:英语
来源数据集
基准基于六个广泛使用的开放域问答/检索数据集:
| 数据集 | 类型 | 来源 |
|---|---|---|
| Natural Questions (NQ) | 开放域问答 | KILT / DPR |
| HotpotQA | 多跳问答 | KILT / DPR |
| TriviaQA | 开放域问答 | KILT / DPR |
| FEVER | 事实验证 | KILT / DPR |
| MS MARCO | 段落检索/问答 | Microsoft MS MARCO |
| 2WikiMultiHopQA (2WikiQA) | 多跳问答 | 官方2WikiQA |
每个数据集提供查询、标准答案,以及由稠密检索器(BGE,经Tevatron)检索出的每查询前200个段落。
数据内容与结构
UtilityBench/ ├── source_datasets/ # 查询、答案、检索段落、相关性判断 ├── Golden_utility_passage/ # 各模型的黄金效用段落标签 │ └── {model}_utility_passages.jsonl # 段落级效用标签 │ └── {model}_utility_passages_qrel.txt # TREC格式qrel文件 └── evaluation/ # 评估与显著性检验脚本及结果
- source_datasets/:包含每数据集的查询(dev.jsonl)、标准答案(gt_answer.jsonl)、每查询前200个检索段落(top_200_passages.jsonl)及相关性判断文件
- Golden_utility_passage/:JSONL文件携带段落级效用信号,配套的.txt文件以TREC qrel格式提供相同信息
- evaluation/:包含基于排序和基于集合的评估脚本、精确匹配/F1计算脚本及统计显著性检验脚本
使用方式
黄金效用标签可直接用于训练或评估效用感知的检索器和重排序器。完整的标注与评估流程详见官方代码仓库,涵盖黄金效用标注、LLM专用效用判断方法及评估工具。




