Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Retriever-Ranker for dense text retrieval

Hang Zhang, Yeyun Gong|arXiv (Cornell University)|Oct 7, 2021
Topic ModelingComputer Science47 references37 citations
TL;DR

AR2 jointly trains a dual-encoder retriever and a cross-encoder ranker in a minimax adversarial setup, producing harder negatives to improve dense text retrieval and achieving state-of-the-art results on Natural Questions, TriviaQA, and 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.

Motivation & Objective

  • Motivate improvements in dense text retrieval by addressing sub-optimal term-wise interactions in siamese dual-encoders.
  • Introduce an adversarial retriever-ranker framework that iteratively exposes the ranker to harder negatives.
  • Enable progressive feedback from a cross-encoder ranker to guide retriever optimization.
  • Incorporate distillation regularization to stabilize adversarial training and encourage exploration.
  • Demonstrate state-of-the-art performance on standard dense retrieval benchmarks.

Proposed method

  • Propose AR2 with a dual-encoder retriever G_theta and a cross-encoder ranker D_phi.
  • Define retriever score as the inner product between query and document embeddings, and ranker score as a learned cross-encoder over [q, d].
  • Formulate a minimax objective where the retriever tries to retrieve negatives to fool the ranker, while the ranker distinguishes ground-truth from retrieved negatives.
  • Train ranker by maximizing the log-likelihood of selecting the ground-truth document from the candidate set that includes retrieved negatives.
  • Train retriever by minimizing an upper-bound of the adversarial loss, with gradients estimated via a sampled negative distribution; include a distillation regularization term H(p_phi, p_theta).
  • Periodically refresh the ANN index (FAISS) to keep negatives up-to-date; initialize models with continuous pre-training (ERNIE-2.0 variants) and fine-tune in an iterative loop.

Experimental results

Research questions

  • RQ1Can a minimax adversarial framework between a retriever and a ranker improve dense text retrieval beyond traditional negative sampling?
  • RQ2Does a cross-encoder ranker provide progressive feedback that stabilizes and guides the dual-encoder retriever during adversarial training?
  • RQ3What impact does negative sample size and regularization have on final retrieval performance and training stability?
  • RQ4Are AR2-trained retrievers and rankers competitive with or superior to existing state-of-the-art dense retrieval pipelines on standard benchmarks?

Key findings

  • AR2 consistently outperforms prior dense retrievers and achieves new SOTA on Natural Questions, TriviaQA, and MS-MARCO.
  • AR2-G (retriever trained adversarially) achieves R@5 = 77.9 on Natural Questions, R@5 = 78.2 on TriviaQA, and MS-MARCO MRR@10 = 39.5 (best among reported results).
  • Ranker component AR2-D provides notable gains when used after the adversarial retriever, indicating effective two-stage ranking benefits.
  • Regularization via distillation between ranker and retriever smooths retriever probabilities and improves stability.
  • Compared to IRGAN, AR2 yields significantly better retrieval performance under matched model configurations.
  • AR2 demonstrates that adversarial training yields progressively harder negatives that help both the retriever and ranker improve over iterations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.