Skip to main content
QUICK REVIEW

[Paper Review] From Distillation to Hard Negative Sampling: Making Sparse Neural IR Models More Effective

Thibault Formal, Carlos Lassance|arXiv (Cornell University)|May 10, 2022
Topic ModelingComputer Science15 citations
TL;DR

This paper enhances sparse neural IR models by applying distillation, hard negative mining, and improved pre-trained language model initialization to SPLADE, achieving state-of-the-art performance on both in-domain (MS MARCO) and zero-shot (BEIR) benchmarks. The proposed SPLADE++ framework demonstrates that training improvements from dense models are transferable to sparse models, with additive gains from combining techniques and strong generalization via expressive architectures.

ABSTRACT

Neural retrievers based on dense representations combined with Approximate Nearest Neighbors search have recently received a lot of attention, owing their success to distillation and/or better sampling of examples for training -- while still relying on the same backbone architecture. In the meantime, sparse representation learning fueled by traditional inverted indexing techniques has seen a growing interest, inheriting from desirable IR priors such as explicit lexical matching. While some architectural variants have been proposed, a lesser effort has been put in the training of such models. In this work, we build on SPLADE -- a sparse expansion-based retriever -- and show to which extent it is able to benefit from the same training improvements as dense models, by studying the effect of distillation, hard-negative mining as well as the Pre-trained Language Model initialization. We furthermore study the link between effectiveness and efficiency, on in-domain and zero-shot settings, leading to state-of-the-art results in both scenarios for sufficiently expressive models.

Motivation & Objective

  • To investigate whether training improvements from dense neural IR models—such as distillation and hard negative mining—can enhance sparse neural retrievers.
  • To evaluate the impact of pre-trained language model initialization on the effectiveness and generalization of sparse models.
  • To analyze the trade-off between model effectiveness and inference efficiency (FLOPS) in sparse retrieval.
  • To determine whether combining multiple training techniques leads to additive performance gains in sparse neural IR.
  • To assess the generalization capability of enhanced sparse models on zero-shot settings using the BEIR benchmark.

Proposed method

  • Adapts the SPLADE model to incorporate knowledge distillation using a teacher model, with distillation loss based on logit matching (DistilMSE) or soft label distillation (SelfDistil).
  • Introduces hard negative mining by training with negatives sampled from a prior model's retrieval results, using both ensemble-based and self-distillation strategies.
  • Employs multiple pre-trained language model checkpoints (e.g., BERT-base, CoCondenser) to evaluate the impact of initialization on performance and generalization.
  • Applies sparse regularization during training to maintain high-dimensional sparsity while enabling term re-weighting and expansion.
  • Combines the best-performing configurations (e.g., CoCondenser-EnsembleDistil) to form the final SPLADE++ model, leveraging additive improvements.
  • Evaluates models using standard IR metrics (MRR@10, nDCG@10, R@1k) across in-domain (MS MARCO) and zero-shot (BEIR) settings.

Experimental results

Research questions

  • RQ1Can knowledge distillation significantly improve the performance of sparse neural IR models like SPLADE?
  • RQ2Does hard negative mining enhance the generalization and effectiveness of sparse neural retrievers?
  • RQ3How does the choice of pre-trained language model initialization affect the performance and zero-shot generalization of sparse models?
  • RQ4To what extent do distillation and hard negative mining provide additive improvements in sparse neural IR?
  • RQ5Is there a trade-off between model effectiveness and inference efficiency (FLOPS) in sparse retrieval, and how does it vary with model capacity?

Key findings

  • The CoCondenser-EnsembleDistil variant of SPLADE++ achieves a MRR@10 of 50.7 on the BEIR benchmark, setting a new state-of-the-art for zero-shot evaluation.
  • The CoCondenser-SelfDistil variant achieves 50.5 mean nDCG@10 on BEIR, outperforming all prior sparse models and demonstrating strong generalization.
  • Combining distillation with ensemble-based hard negative mining yields a 1.6-point MRR@10 improvement over simple training on MS MARCO.
  • The best model (CoCondenser-EnsembleDistil) achieves 52.1 mean nDCG@10 on BEIR when combined with BM25 via early element-wise sum, showing complementarity between lexical and neural methods.
  • Models with higher FLOPS (greater capacity) show stronger generalization, with the most expressive configurations outperforming simpler ones on zero-shot tasks.
  • The SelfDistil strategy, which uses only dense retrievers for mining, shows better zero-shot generalization than EnsembleDistil, possibly due to reduced overfitting to MS MARCO.

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.