PROD: Progressive Distillation for Dense Retrieval

Zhenghao Lin, Yeyun Gong, Xiao Liu, Hang Zhang, Chen Lin, Anlei Dong, Jian Jiao, Jingwen Lu, Daxin Jiang, Rangan Majumder, Nan Duan

Introduction

In the field of dense retrieval, the primary objective is to develop models that are both highly accurate and computationally efficient. This is typically achieved through Knowledge Distillation (KD), where a large, sophisticated "teacher" model (such as a Cross-Encoder) supervises the training of a smaller, faster "student" model (such as a Dual-Encoder).

While the conventional wisdom suggests that a more powerful teacher leads to a superior student, recent research identifies a significant "capacity gap." If the teacher is too complex, the student may fail to mimic its logic because their knowledge distributions are too divergent—a phenomenon analogous to a university professor struggling to teach a kindergartner. PROD (PROgressive Distillation) addresses this gap by gradually increasing the complexity of both the teacher and the training data.

The PROD Framework

PROD bridges the capacity gap using two progressive mechanisms and a specialized loss function designed to maintain training stability.

The PROD framework: Teacher Progressive Distillation (TPD) evolves the teacher model complexity, while Data Progressive Distillation (DPD) focuses on increasingly difficult training samples.

Teacher Progressive Distillation (TPD)

Instead of exposing the student to the most complex teacher immediately, TPD guides the student through a curriculum of increasing architectural difficulty:

  1. Stage 1 (12-layer Dual-Encoder): This isomorphic distillation helps the student master basic retrieval and "easy negatives."
  2. Stage 2 (12-layer Cross-Encoder): This stage introduces fine-grained semantic correlations.
  3. Stage 3 (24-layer Cross-Encoder): The student finally receives supervision from the most sophisticated model.

Data Progressive Distillation (DPD)

Beyond model complexity, PROD argues that the difficulty of training data should also evolve. In the DPD phase, the framework identifies "confusing" samples—queries where the teacher is highly confident (predicting the positive sample as top-1) but the student continues to struggle. The student is then specifically reinforced on this difficult subset to refine its performance.

Regularization for Stability

To prevent "catastrophic forgetting," where the student loses knowledge from earlier stages while adapting to more complex teachers, PROD includes a regularization term. This term constrains the current student to remain consistent with its previous iteration, ensuring a stable learning trajectory.

Experimental Results

The authors evaluated PROD across seven major benchmarks, including MS MARCO, TREC Deep Learning tracks, and Natural Questions (NQ), as well as industry datasets from Microsoft Bing (Bing-Rel and Bing-Ads).

Performance comparison on MS MARCO Passage (MS-Pas) and TREC-Pas-19. PROD's 6-layer student outperforms larger 12-layer state-of-the-art models.

Key Findings

  • Efficiency vs. Power: As shown in the results table, PROD’s 6-layer student (66M parameters) consistently outperforms existing 12-layer models (110M parameters). On MS MARCO Passage, PROD achieved an MRR@10 of 39.3, surpassing the previous 12-layer state-of-the-art, RocketQA v2 (38.8).
  • State-of-the-Art on NQ: On the Natural Questions benchmark, PROD reached a Recall@5 of 75.6, setting a new performance standard for compact retrieval models.
  • Ablation Success: TPD alone improved the student's MRR@10 by 7.7% compared to a non-distilled baseline. The addition of the DPD stage provided a further consistent boost across all evaluated metrics.

Discussion and Limitations

PROD demonstrates that the "Teacher Paradox"—where a better model can be a worse teacher—is a real hurdle in dense retrieval. By starting with a teacher that shares the student's architecture (Dual-Encoder to Dual-Encoder), the student is better prepared for subsequent, more complex supervision.

However, the framework introduces significant training complexity. The requirement to train multiple teachers and execute multiple distillation passes makes the offline pipeline more computationally expensive than standard single-stage distillation. Additionally, the DPD stage is sensitive to hyperparameters; excessive iterations on "confusing" data can lead to overfitting. Future research may focus on automating the selection of the optimal teacher curriculum to further streamline the process.

Summary updated

BibTeX
@inproceedings{lin2022prod,
  author = {Zhenghao Lin and Yeyun Gong and Xiao Liu and Hang Zhang and Chen Lin and Anlei Dong and Jian Jiao and Jingwen Lu and Daxin Jiang and Rangan Majumder and Nan Duan},
  title = {{PROD: Progressive Distillation for Dense Retrieval}},
  booktitle = {The Web Conference},
  year = {2022},
}
Figure