Skip to main content
QUICK REVIEW

[论文解读] Adversarial Retriever-Ranker for dense text retrieval

Hang Zhang, Yeyun Gong|arXiv (Cornell University)|Oct 7, 2021
Topic ModelingComputer Science参考文献 47被引用 37
一句话总结

AR2 在一个极小极大对抗设置中联合训练双编码器检索器和跨编码器排序器,产生更难的负例,以提升密集文本检索,并在 Natural Questions、TriviaQA 和 MS-MARCO 上取得了最先进的结果。

ABSTRACT

Current dense text retrieval models face two typical challenges. First, they adopt a siamese dual-encoder architecture to encode queries and documents independently for fast indexing and searching, while neglecting the finer-grained term-wise interactions. This results in a sub-optimal recall performance. Second, their model training highly relies on a negative sampling technique to build up the negative documents in their contrastive losses. To address these challenges, we present Adversarial Retriever-Ranker (AR2), which consists of a dual-encoder retriever plus a cross-encoder ranker. The two models are jointly optimized according to a minimax adversarial objective: the retriever learns to retrieve negative documents to cheat the ranker, while the ranker learns to rank a collection of candidates including both the ground-truth and the retrieved ones, as well as providing progressive direct feedback to the dual-encoder retriever. Through this adversarial game, the retriever gradually produces harder negative documents to train a better ranker, whereas the cross-encoder ranker provides progressive feedback to improve retriever. We evaluate AR2 on three benchmarks. Experimental results show that AR2 consistently and significantly outperforms existing dense retriever methods and achieves new state-of-the-art results on all of them. This includes the improvements on Natural Questions R@5 to 77.9%(+2.1%), TriviaQA R@5 to 78.2%(+1.4), and MS-MARCO MRR@10 to 39.5%(+1.3%). Code and models are available at https://github.com/microsoft/AR2.

研究动机与目标

  • 通过解决同 Siamese 双编码器中的逐项术语交互的次优问题,推动密集文本检索的改进。
  • 引入一个对抗性检索器-排序器框架,迭代地让排序器暴露于更难的负样本。
  • 使来自跨编码器排序器的渐进式反馈引导检索器优化。
  • 引入蒸馏正则化以稳定对抗训练并鼓励探索。
  • 在标准密集检索基准上展示最先进的性能。

提出的方法

  • 提出 AR2,其双编码器检索器 G_theta 和跨编码器排序器 D_phi。
  • 将检索器分数定义为查询和文档嵌入的内积,将排序器分数定义为对 [q, d] 的学习型跨编码器。
  • 形成一个极小极大目标,检索器试图检索负样本以愚弄排序器,而排序器则区分真值与检索到的负样本。
  • 通过最大化候选集中选择真值文档的对数似然来训练排序器,该候选集包含检索到的负样本。
  • 通过对对抗损失的上界进行最小化来训练检索器,并通过采样负样本分布来估计梯度;包含一个蒸馏正则化项 H(p_phi, p_theta)。
  • 定期刷新 ANN 索引(FAISS),以保持负样本的时效性;模型以连续预训练(ERNIE-2.0 变体)进行初始化,并在迭代循环中微调。

实验结果

研究问题

  • RQ1能否让检索器和排序器之间的极小极大对抗框架在超越传统负样本采样的情况下提升密集文本检索?
  • RQ2跨编码器排序器是否提供渐进式反馈,稳定并引导在对抗训练中的双编码器检索器?
  • RQ3负样本规模和正则化对最终检索性能和训练稳定性有何影响?
  • RQ4AR2 训练的检索器和排序器是否与现有最佳密集检索管道在标准基准上具有竞争力或优于它们?

主要发现

  • AR2 始终优于以往的密集检索器,并在 Natural Questions、TriviaQA 和 MS-MARCO 上取得新的 SOTA。
  • AR2-G(对抗性训练的检索器)在 Natural Questions 上达到 R@5 = 77.9,在 TriviaQA 上达到 R@5 = 78.2,MS-MARCO 的 MRR@10 = 39.5(报告结果中的最佳)。
  • 排序器组件 AR2-D 在对抗性检出检索器之后使用时提供显著增益,表明两阶段排序的有效性。
  • 通过蒸馏在排序器和检索器之间实现的正则化平滑了检索概率并提高了稳定性。
  • 与 IRGAN 相比,在匹配的模型配置下,AR2 提供显著更好的检索性能。
  • AR2 表明对抗训练产生逐步更难的负样本,帮助检索器和排序器在迭代中改进。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。