Skip to main content
QUICK REVIEW

[Paper Review] ERNIE-Search: Bridging Cross-Encoder with Dual-Encoder via Self On-the-fly Distillation for Dense Passage Retrieval

Yuxiang Lu, Yiding Liu|arXiv (Cornell University)|May 18, 2022
Topic ModelingComputer Science19 citations
TL;DR

ERNIE-Search proposes a novel cross-architecture distillation framework that enhances dense passage retrieval by bridging cross-encoders and dual-encoders via self on-the-fly distillation and cascade distillation. It achieves state-of-the-art performance on MS MARCO and Natural Question benchmarks by effectively transferring knowledge from expressive interaction models (ColBERT and cross-encoders) to efficient dual-encoder retrievers.

ABSTRACT

Neural retrievers based on pre-trained language models (PLMs), such as dual-encoders, have achieved promising performance on the task of open-domain question answering (QA). Their effectiveness can further reach new state-of-the-arts by incorporating cross-architecture knowledge distillation. However, most of the existing studies just directly apply conventional distillation methods. They fail to consider the particular situation where the teacher and student have different structures. In this paper, we propose a novel distillation method that significantly advances cross-architecture distillation for dual-encoders. Our method 1) introduces a self on-the-fly distillation method that can effectively distill late interaction (i.e., ColBERT) to vanilla dual-encoder, and 2) incorporates a cascade distillation process to further improve the performance with a cross-encoder teacher. Extensive experiments are conducted to validate that our proposed solution outperforms strong baselines and establish a new state-of-the-art on open-domain QA benchmarks.

Motivation & Objective

  • Address the challenge of suboptimal knowledge transfer from complex teacher models (e.g., cross-encoders, ColBERT) to simpler dual-encoder students due to structural and interaction scheme mismatches.
  • Overcome limitations of conventional distillation methods that treat teacher and student models as independent, failing to account for differences in interaction mechanisms.
  • Improve dual-encoder performance by enabling effective distillation from late interaction (ColBERT) to metric interaction (dual-encoder), and further from cross-encoder to ColBERT via a cascaded pipeline.
  • Establish a new state-of-the-art in open-domain question answering by combining interaction distillation and cascade distillation for enhanced retrieval effectiveness.

Proposed method

  • Introduce interaction distillation: aligns the same transformer encoder between teacher (ColBERT) and student (dual-encoder), differing only in interaction mechanism—late interaction vs. metric interaction—enabling focused distillation of interaction knowledge.
  • Propose self on-the-fly distillation: performs distillation during training using dynamic, on-the-fly generated pseudo-labels from the teacher model without requiring pre-computed knowledge.
  • Implement cascade distillation: sequentially transfers knowledge from cross-encoder → ColBERT → dual-encoder, using ColBERT as an intermediate bridge to close the structural gap.
  • Apply multi-stage training with dual regulation (DualReg) and cross-batch (CB) sampling strategies to stabilize and improve distillation performance.
  • Leverage multiple loss functions in cascade distillation, including cross-entropy with hard labels and knowledge distillation losses, to jointly optimize retrieval and alignment.
  • Use a unified encoder backbone across teacher and student models in interaction distillation to ensure semantic consistency and reduce distribution shift.

Experimental results

Research questions

  • RQ1Can knowledge from a more expressive cross-encoder or ColBERT model be effectively transferred to a simpler dual-encoder model despite structural differences?
  • RQ2Does self on-the-fly distillation improve the alignment between late interaction and metric interaction in dual-encoder retrieval?
  • RQ3Can a cascaded distillation pipeline (cross-encoder → ColBERT → dual-encoder) outperform direct distillation from cross-encoder to dual-encoder?
  • RQ4How do different training strategies (e.g., Post-Train, CB, DualReg) affect the performance of the distilled dual-encoder?
  • RQ5To what extent does interaction distillation and cascade distillation jointly improve retrieval metrics like MRR@10 and R@1000?

Key findings

  • ERNIE-Search outperforms strong baselines such as PAIR and RocketQAv2 (retriever) on the MS MARCO passage ranking benchmark, achieving new state-of-the-art MRR@10 for base-sized dual-encoders.
  • ERNIE-Search 2.4B achieves new state-of-the-art performance on both MS MARCO and Natural Question (NQ) datasets, demonstrating scalability and effectiveness.
  • The combination of interaction distillation (ID´), cross-batch sampling (CB), and dual regulation (DualReg) yields the best performance, improving MRR@10 by 0.31 points over baseline.
  • Ablation studies confirm that all components in cascade distillation—multiple loss functions, sequential knowledge transfer—contribute to performance gains, with joint optimization yielding the best results.
  • Post-Train with ID´ (on all-gathered samples) improves MRR@10 and R@1000 over vanilla Post-Train and finetuning baselines, showing the benefit of global distillation signals.
  • The cascade distillation pipeline significantly enhances retrieval quality, with ablation showing that removing any loss component degrades performance across all metrics.

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.