Parameter-Efficient Sparse Retrievers and Rerankers using Adapters

Vaishali Pal, Carlos Lassance, Hervé Déjean, Stéphane Clinchant · DOI

Abstract

Modern Information Retrieval (IR) relies heavily on large Pretrained Language Models (PLMs), yet the standard practice of full fine-tuning presents significant computational and storage challenges. This paper investigates the efficacy of Adapters—small, trainable bottleneck modules—within the context of sparse retrieval, specifically the SPLADE framework. By updating only approximately 2% of the model's parameters, the authors demonstrate that "Adapters-SPLADE" not only matches the performance of full fine-tuning on benchmarks like MS MARCO but often exceeds it in terms of stability and domain adaptation. This approach offers a scalable, efficient alternative for deploying state-of-the-art IR systems across diverse domains.

Introduction

The transition to transformer-based architectures has significantly improved IR effectiveness, but at the cost of high resource consumption. Full fine-tuning of models like BERT requires updating millions of parameters, which is storage-intensive and prone to "catastrophic forgetting," where a model loses its general linguistic capabilities while specializing in a specific task.

In multi-stage IR pipelines—consisting of a fast first-stage retriever and a precise reranker—adapting to niche domains (e.g., medical or financial) typically requires separate, fully fine-tuned models for every task. This paper explores whether Parameter-Efficient Fine-Tuning (PEFT) via Adapters can mitigate these hurdles for sparse retrievers, providing a more sustainable path for domain-specific search optimization.

Methodology

The researchers focused their efforts on SPLADE (Sparse Lexical and Expansion Model), a state-of-the-art retriever that represents documents and queries as sparse vectors over a vocabulary.

Technical Implementation

  1. Houlsby Adapters: The team inserted small bottleneck modules (consisting of a down-projection, a non-linearity, and an up-projection) after the self-attention and feed-forward layers of the transformer. During training, the original PLM weights remain frozen, and only these tiny adapter layers are updated.
  2. Bi-Adapter Configuration: To address the inherent asymmetry in IR—where queries are typically short and documents are long—the authors introduced a "Bi-Adapter" setting. In this setup, the query and document encoders share the same frozen backbone but utilize distinct sets of adapters, allowing for specialized linguistic processing for each input type.
  3. Distillation: To maximize performance, adapter training was combined with MarginMSE distillation. A powerful cross-encoder served as a "teacher" to guide the adapter-based "student" model.
  4. Layer Ablation: The study systematically removed adapter layers to identify where task-specific knowledge is stored. They found that retrieval effectiveness is primarily driven by the later layers of the transformer; removing adapters from the first half of the model had negligible impact on performance while reducing training time by approximately 22%.

Experimental Setup

The effectiveness of the adapter approach was evaluated across several rigorous benchmarks:

  • MS MARCO & TREC DL: Standard datasets for large-scale passage ranking.
  • BEIR Benchmark: A collection of diverse datasets (FEVER, FiQA, NFCorpus) used to evaluate zero-shot and out-of-domain performance.
  • TripClick: A health-domain dataset specifically chosen to test adaptation on "tail" (low-frequency) queries.

Key Results and Discussion

Performance and Efficiency

On the MS MARCO benchmark, the DistilBERT-based adapter model achieved an MRR@10 of 0.373, surpassing the 0.371 achieved by full fine-tuning. This was accomplished by training only 1.5M to 3M parameters, a fraction of the 67M to 111M required for full backbone updates.

Sparsity and Speed

Interestingly, the adapter-tuned models often produced more sparse representations (measured by R-FLOPS) than their fully fine-tuned counterparts. This increased sparsity translates directly to faster retrieval speeds during the search phase, providing a secondary efficiency benefit beyond reduced training costs.

Domain Adaptation and Stability

Adapters proved particularly robust when moving to new domains. While full fine-tuning often overfits quickly on small, specialized datasets, adapters remained stable. On the TripClick dataset, adapters outperformed full fine-tuning on "Torso" and "Tail" queries, suggesting that the constrained parameter space of adapters helps the model retain generalizable knowledge while learning domain-specific nuances.

Conclusion

This research demonstrates that the knowledge required for effective sparse retrieval is relatively low-rank and can be captured efficiently by small adapter modules. Adapters-SPLADE provides a win-win scenario: it reduces the storage and computational footprint of IR models while maintaining or improving retrieval accuracy. Future work will look toward scaling these methods to even larger language models and exploring unsupervised domain adaptation to further reduce the need for labeled data in niche fields.

Summary updated

BibTeX
@inproceedings{pal2023parameter,
  author = {Vaishali Pal and Carlos Lassance and Hervé Déjean and Stéphane Clinchant},
  title = {{Parameter-Efficient Sparse Retrievers and Rerankers using Adapters}},
  booktitle = {ECIR},
  year = {2023},
  url = {https://openreview.net/forum?id=OuUj1V2HhBa},
}
Figure