A Study on the Efficiency and Generalization of Light Hybrid Retrievers

Man Luo, Shashank Jain, Anchit Gupta, Arash Einolghozati, Barlas Oguz, Debojeet Chatterjee, Xilun Chen, Chitta Baral, Peyman Heidari

This study, presented at ACL 2023, explores how to make hybrid document retrieval systems—those that combine traditional keyword matching with modern semantic search—drastically more memory-efficient without losing their "intelligence."

Abstract

The researchers introduce Hybrid-LITE, a retrieval system that combines sparse (BM25) and dense (neural) methods while using 13x less indexing memory than standard models like DPR. By using a novel joint training approach involving knowledge distillation and contrastive learning, they achieve 98% of the performance of heavy-duty retrievers while significantly improving generalization and adversarial robustness.

The Challenge: Memory vs. Intelligence

In Information Retrieval (IR), there are generally two paradigms:

  1. Sparse Retrievers (e.g., BM25): Excellent at keyword matching but lack semantic depth (e.g., failing to equate "sofa" and "couch").
  2. Dense Retrievers (e.g., DPR): Capture semantic meaning but require massive memory to store high-dimensional embeddings for every document.

While hybrid systems (Sparse + Dense) offer the best of both worlds, they are typically "indexing-heavy," making them difficult to deploy on-device or in cost-sensitive environments. This paper investigates whether it is possible to slash the indexing memory of hybrid retrievers without sacrificing performance.

Methodology: LITE and Joint Training

The authors propose a two-step solution to shrink the dense component of the hybrid system:

  • DrBoost (The Teacher): They utilize DrBoost, an existing "boosting" retriever that uses an ensemble of "weak learners" to create embeddings, which is already 6x more efficient than standard DPR.
  • LITE (The Student): They introduce LITE (Lightweight Jointly Trained Encoder). Unlike standard distillation where a student simply mimics a teacher, LITE is jointly trained on two tasks: a retrieval task (maximizing similarity using a small embedding dimension $D$) and knowledge distillation (mimicking complex teacher embeddings using a larger auxiliary dimension $N \times D$).
Architecture of the DrBoost teacher and LITE student models showing joint training with Knowledge Distillation (KD) and Contrastive (Con) losses.

During inference, LITE only uses the small embeddings. These scores are then combined with BM25 scores using MinMax normalization to produce the final ranking.

Experimental Results

The model was evaluated on NaturalQuestions (NQ) for standard performance and EntityQuestion (EQ) for out-of-domain (OOD) generalization. Additionally, a new adversarial benchmark was created to test robustness against character swaps, deletions, and back-translation.

Comparison of indexing memory (Index-M) and retrieval performance (R@20, R@100) on NQ and EntityQuestion datasets.

Key Findings

  • Memory Efficiency: Hybrid-LITE uses 13x less memory than a standard Hybrid-DPR system (4.9 GB vs. ~64 GB).
  • Performance Retention: Despite massive compression, Hybrid-LITE maintains 98.4% of the performance of its much heavier counterparts on the NQ dataset.
  • OOD Success: On the EntityQuestion dataset, light hybrid models significantly outperformed pure dense retrievers, with Hybrid-LITE scoring ~80.8% R@100 compared to LITE's ~48.1%.
  • Adversarial Resilience: Hybrid-LITE showed an average performance drop of only 5.1% under attack, compared to a 10.3% drop for standalone dense retrievers (DPR32).

Discussion and Insights

Joint training is the key differentiator; LITE learns a more "retrieval-aware" compressed representation than simple projection methods. Furthermore, the study reveals a "Hybrid Robustness" effect: hybrid models are significantly more robust to adversarial attacks than either sparse or dense models alone. If a typo confuses the dense retriever, the sparse retriever often acts as a safety net.

While hybrids are more resilient, the authors note that all current retrievers remain vulnerable to simple character-level attacks, suggesting significant room for future improvement in both robustness and on-device compute latency.

Summary updated

BibTeX
@inproceedings{luo2023study,
  author = {Man Luo and Shashank Jain and Anchit Gupta and Arash Einolghozati and Barlas Oguz and Debojeet Chatterjee and Xilun Chen and Chitta Baral and Peyman Heidari},
  title = {{A Study on the Efficiency and Generalization of Light Hybrid Retrievers}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-short.139},
}
Figure