[论文解读] WebFAQ 2.0: A Multilingual QA Dataset with Mined Hard Negatives for Dense Retrieval
WebFAQ 2.0 扩展到跨 104 种语言的约 198 百万对问答,并新增 mined hard negatives 数据集用于密集检索器训练,展示了带有多语言影响的对比学习(Contrastive Learning with MultipleNegativesRanking)与 MarginMSE 的训练策略。
We introduce WebFAQ 2.0, a new version of the WebFAQ dataset, containing 198 million FAQ-based natural question-answer pairs across 108 languages. Compared to the previous version, it significantly expands multilingual coverage and the number of bilingual aligned QA pairs to over 14.3M, making it the largest FAQ-based resource. Unlike the original release, WebFAQ 2.0 uses a novel data collection strategy that directly crawls and extracts relevant web content, resulting in a substantially more diverse and multilingual dataset with richer context through page titles and descriptions. In response to community feedback, we also release a hard negatives dataset for training dense retrievers, with 1.25M queries across 20 languages. These hard negatives were mined using a two-stage retrieval pipeline and include cross-encoder scores for 200 negatives per query. We further show how this resource enables two primary fine-tuning strategies for dense retrievers: Contrastive Learning with MultipleNegativesRanking loss, and Knowledge Distillation with MarginMSE loss. WebFAQ 2.0 is not a static resource but part of a long-term effort. Since late 2025, structured FAQs are being regularly released through the Open Web Index, enabling continuous expansion and refinement. We publish the datasets and training scripts to facilitate further research in multilingual and cross-lingual IR. The dataset itself and all related resources are publicly available on GitHub and HuggingFace.
研究动机与目标
- 将多语言问答覆盖扩展到跨 104 种语言的约 198 百万对问答,以支持多语言密集检索。
- 提供超过 1430 万条双语问答对齐与一个高质量的 hard negatives 数据集(125 万个五元组),用于训练检索器。
- 为密集检索器启用两种微调策略:带 MultipleNegativesRanking 损失的对比学习,以及带 MarginMSE 损失的知识蒸馏。
- 评估 mined hard negatives 对跨语言检索性能的影响,并在各语言之间识别权衡。
- 通过 Open Web Index 与开放资源,推动 WebFAQ 的持续扩展,以实现可重复的多语言信息检索研究。
提出的方法
- 通过爬取包含 FAQPage schema.org 标记的 URL(使用 OWLer),获取更丰富的上下文与多语言链接以进行数据收集。
- 使用 FastText 进行语言检测,并利用 Jina v3 的多语言问答嵌入来获得相似性信号与测试集构建。
- 使用 LaBSE 嵌入在 3,970 对语言中进行双语问答对齐,最小相似性阈值为 0.9。
- 通过两阶段的 hard negatives 生成:先用 BM25 检索前 200 个候选,再用 cross-encoder 重新排序,使用 BGE-m3 在 20 种语言中形成 1.25M 个五元组。
- 为密集检索器提供两种训练范式: (i) 使用 Top4 或去噪负样本的 MultipleNegativesRankingLoss 的对比学习,(ii) 使用 cross-encoder 分数作为软目标的 MarginMSE 知识蒸馏。

实验结果
研究问题
- RQ1WebFAQ 2.0 相较原始 WebFAQ 在多语言问答数据规模方面有何提升?
- RQ2 mined hard negatives 对跨语言家族的密集检索器训练有何影响?
- RQ3用 WebFAQ 2.0 数据训练时,对比学习与知识蒸馏在提升跨语言检索性能方面各自表现如何?
- RQ4在使用 cross-encoder 指导的蒸馏时,英文与非英文性能的权衡是什么?
- RQ5WebFAQ 2.0 与 Open Web Index 能否促成多语言问答基准的持续、及时扩展?
主要发现
- WebFAQ 2.0 在 104 种语言中大约包含 198 百万对问答,规模比原始版本翻了一番多。
- 跨语言问答对齐提升至超过 1430 万,对 3,970 对语言有对齐覆盖,其中 1,282 对包含至少 4,000 条样本。
- 发布一个包含 20 种语言的 125 万个五元组的 hard negatives 数据集,用于训练密集检索器。
- 评估了两种训练方法:带 MultipleNegativesRankingLoss 的对比学习,以及 MarginMSE 知识蒸馏,各自具有语言相关的收益与注意事项。
- mined hard negatives 中存在大量假阴性,在对比学习中随机负样本有时优于 hard negatives;而 MarginMSE 受益于使用 cross-encoder 分数,但可能降低英文表现。
- 知识蒸馏通常在非英文检索中提升更为一致,但由于硬负样本中的英文数据偏多,可能在英文性能上存在权衡。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。