AIMech AI

RocketQA (Cross-Batch and Denoised Hard Negative Dense Passage Retrieval Training)

Algorithms AIMech:RocketQADenoisedHardNegativeSampling DRAFT
Aliases: RocketQA Dense Passage Retrieval Training, RocketQA Denoised Hard Negative Pipeline, RocketQA Multi-Stage Dual-Encoder Training
A four-step multi-stage training algorithm for dual-encoder dense passage retrieval that (1) trains an initial dual-encoder M_D^(0) on labeled data D_L using differentiable all-gather cross-batch negatives across A GPUs (yielding A*B - 1 negatives per question for per-GPU batch size B), (2) trains a cross-encoder M_C on top-k candidates retrieved by M_D^(0), (3) trains a second dual-encoder M_D^(1) using denoised hard negatives mined from M_D^(0)'s top ranks that M_C predicts as negative with high confidence (score < 0.1), and (4) trains a final dual-encoder M_D^(2) on D_L plus pseudo-labeled external questions D_U filtered by M_C (< 0.1 for negatives, > 0.9 for positives).
Identity Notes & Concept Scope Introduced by Qu, Ding, Liu, Liu, Ren, Zhao, Dong, Wu, and Wang (NAACL-HLT 2021, pp. 5835-5847, arXiv:2010.08191). Distinguished from DPR (Karpukhin et al., 2020), which uses single-GPU in-batch negatives and BM25 hard negatives, from ANCE (Xiong et al., 2021), which asynchronously mines top-k dense negatives without cross-encoder denoising (suffering from ~70% false negatives among unannotated top retrieved MS MARCO passages), and from GPL (Wang et al., 2022), which uses synthetic T5 query generation and MarginMSE soft-label distillation for unsupervised target domain adaptation.

Claims & Grounded Evidence

3 Claims
Mechanism #rocketqa-cross-batch-and-denoised-hard-negative-mechanism
RocketQA shares passage embeddings across A GPUs via a differentiable all-gather operator to expand the negative pool from B - 1 to A*B - 1 negatives per question (e.g., 8 * 512 - 1 = 4095 on MS MARCO), trains a cross-encoder M_C on M_D^(0)'s top-k retrieval distribution, and removes false negatives (which account for ~70% of top unannotated passages retrieved on MS MARCO, including 75% at rank 5 and 52% at rank 10) by retaining only top-retrieved passages with M_C(q, p) < 0.1 as denoised hard negatives and labeling unlabeled queries Q_U with M_C(q, p) > 0.9 as positives.
Scope #rocketqa-msmarco-and-nq-progressive-stage-gains
On MS MARCO Passage Ranking, RocketQA's consecutive stages improve Dev MRR@10 from 32.39 (in-batch negatives) to 33.32 (Step 1 cross-batch negatives), whereas un-denoised hard negatives collapse MRR@10 to 26.03; cross-encoder hard-negative denoising (Step 3) raises MRR@10 to 36.38 and cross-encoder data augmentation (Step 4) reaches 37.02 MRR@10 (and 82.7% Recall@20 on Natural Questions).
Limitation #rocketqa-large-batch-and-sequential-pipeline-limitation
RocketQA requires a costly four-stage sequential training and re-indexing pipeline (three dual-encoder training stages totaling 60 epochs on MS MARCO plus an ERNIE-large cross-encoder training and inference pass over millions of pairs), and increasing the random negative batch size beyond an optimal threshold (e.g., > 4096) degrades optimization performance on fixed-size datasets.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:ArtificialNeuralNetwork
Artificial Neural Network
related_match Optimizes neural transformer dual-encoder and cross-encoder retrieval architectures.

Evidence Sources & Primary Literature

3 Sources
Source ID Publication / Document Type / Access Reference & Checksum
r750-primary-pdf
Yingqi Qu, Yuchen Ding, Jing Liu, Kai Liu, Ruiyang Ren, Wayne Xin Zhao, Daxiang Dong, Hua Wu, Haifeng Wang
primary paper
full_text
ID: https://dblp.org/search/publ/api?q=RocketQA+An+Optimized+Training+Approach+to+Dense+Passage+Retrieval+Qu&h=5&format=xml
sha256:df8feee3c22d…
r750-arxiv-abs
Yingqi Qu, Yuchen Ding, Jing Liu, Kai Liu, Ruiyang Ren, Wayne Xin Zhao, Daxiang Dong, Hua Wu, Haifeng Wang
primary paper
abstract_only
ID: https://arxiv.org/abs/2010.08191
sha256:e0a43b0fc235…
r750-metadata-cr
Yingqi Qu, Yuchen Ding, Jing Liu, Kai Liu, Ruiyang Ren, Wayne Xin Zhao, Daxiang Dong, Hua Wu, Haifeng Wang
primary paper
abstract_only
ID: https://dblp.org/search/publ/api?q=RocketQA+An+Optimized+Training+Approach+to+Dense+Passage+Retrieval+Qu&h=5&format=xml
sha256:e49b8ac4f092…

Ontology & Grounding Topology

Open in interactive network graph →
CONCEPT KIND Algorithms AIMech:RocketQADenoisedHardNegativeSampling RocketQA (Cross-Batch... 3 claims · 3 sources AIO GROUNDING AIO:ArtificialNeuralNetwork (1)

Curation Provenance

Curator: Antigravity
Method: ai_assisted
Model: Gemini
Created: 2026-10-19T13:53:00Z
Updated: 2026-10-19T13:53:00Z
Source File: data/curated/RocketQADenoisedHardNegativeSampling.yaml · Schema: curated_concept.yaml

Explore across X-Mech

Related computational & biological Mechs: Embedding Map Network Graph ProteinTraitsMech (ESM-2 pLM) DUFMech (Domain pLM) TraitMech CultureMech All 14 X-Mech Repositories