NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Efficiency Study for SPLADE Models

Carlos Lassance, Stéphane Clinchant · DOI

Abstract

Latency and efficiency are critical yet often overlooked dimensions in the evaluation of Information Retrieval (IR) models based on Pretrained Language Models (PLMs). While these models achieve state-of-the-art results, their computational overhead frequently prevents deployment in real-world scenarios. This paper focuses on improving the efficiency of the SPLADE (Sparse Lexical and Expansion) model, which has demonstrated exceptional zero-shot performance. We propose several techniques to reduce the latency gap between SPLADE and traditional retrieval systems, including L1 regularization for queries, the separation of document and query encoders, FLOPS-regularized middle-training, and the utilization of faster query encoders. Our benchmarks demonstrate that these adaptations drastically improve efficiency while maintaining, or even increasing, performance on in-domain data. We present the first neural models that achieve latency comparable to traditional BM25 (within a 4ms difference) while maintaining competitive performance (less than 10% MRR@10 reduction) compared to state-of-the-art single-stage neural rankers.

Introduction

In the field of Information Retrieval, there is a persistent trade-off between effectiveness (the accuracy of results) and efficiency (the speed of retrieval). Modern neural search models, particularly those leveraging BERT-style architectures, have revolutionized accuracy but are often too computationally expensive for standard CPU-based production environments.

Sparse retrieval models like SPLADE offer a promising compromise. By utilizing inverted indices—the same technology powering engines like Lucene and Elasticsearch—SPLADE expands queries and documents with relevant latent terms. However, previous iterations of SPLADE were primarily optimized for multi-threaded or GPU-heavy environments. When restricted to a single CPU core, the standard unit for scaling search infrastructure, a significant "latency gap" remained between neural sparse models and traditional keyword-based methods like BM25. This study introduces architectural and training refinements designed to close this gap.

Proposed Methodology

To optimize SPLADE for low-latency environments, we implemented a sequence of six improvements, ranging from baseline refinements to novel architectural adaptations:

  1. Hyperparameter Optimization: We transitioned to using KL Divergence for distillation, which provided greater training stability compared to previous loss functions.
  2. Enhanced Training Data: We utilized a more diverse set of "hard negatives" during the training phase to improve the model's discriminative power.
  3. Asymmetric Encoders: Traditionally, SPLADE used a shared encoder for both queries and documents. We decoupled these, allowing the model to balance the distinct requirements of short, keyword-heavy queries versus longer, context-rich documents.
  4. Query-Specific L1 Regularization: Rather than relying solely on complex FLOPS penalties, we applied a simple L1 penalty to the query encoder. This specifically targets the reduction of active terms in the query representation, which is the primary bottleneck for CPU-based retrieval latency.
  5. FLOPS-Regularized Middle-Training: We introduced an intermediate training step on the target domain using a Masked Language Model (MLM) task that incorporates sparsity constraints from the outset.
  6. Accelerated Query Encoders: We replaced the standard DistilBERT query encoder with BERT-tiny. Because query encoding must happen in real-time for every search request, using a significantly smaller model here slashes latency with minimal impact on retrieval accuracy.

Experimental Setup

We evaluated our models using two primary benchmarks:

  • MS MARCO (Passage Ranking): The industry standard for in-domain evaluation, consisting of 8.8 million passages.
  • BEIR Benchmark: A collection of 18 diverse datasets (including BioASQ and TREC-COVID) used to measure zero-shot generalization across different domains.

Key Insights and Results

The Query Bottleneck

Our analysis revealed that in mono-threaded CPU retrieval, the number of active terms in the query representation is a far more significant factor for latency than total theoretical FLOPS. By aggressively shrinking the query representation through L1 regularization and smaller encoders, we unlocked massive speedups.

Performance vs. Latency

The optimized SPLADE models achieved a 10x reduction in latency compared to previous versions within the PISA retrieval framework. Specifically, our "Small" configuration (BT-SPLADE-S) achieved a latency of 7ms, remarkably close to the 4ms benchmark of traditional BM25. Despite this speed, it maintained a high performance of 35.8 MRR@10 on MS MARCO, more than doubling the effectiveness of BM25 (19.7 MRR@10).

Competitive Efficiency

These models are the first neural rankers to achieve "BM25-like" latency while remaining within 10% of the performance of "heavy" state-of-the-art rankers like ColBERTv2. This makes them highly viable for production systems that cannot afford the compute costs of massive transformer ensembles.

Discussion and Limitations

While the optimized models are highly effective in-domain, we observed an "out-of-domain tax." On specific BEIR datasets like Quora, the smallest query encoders showed a performance dip, likely because tiny models struggle with the complex linguistic variety found in diverse datasets. However, this can be mitigated by ensembling the neural model with traditional BM25, which restores much of the generalization power.

Conclusion

This study demonstrates that neural search does not have to be synonymous with high latency. By focusing on query-side sparsity and asymmetric architectures, we can bridge the gap between the "neural magic" of PLMs and the industrial-grade speed of traditional keyword search. Future work will explore further compression techniques, such as quantization, to push the boundaries of efficient IR even further.

Summary updated

BibTeX
@inproceedings{lassance2022efficiency,
  author = {Carlos Lassance and Stéphane Clinchant},
  title = {{An Efficiency Study for SPLADE Models}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2022},
  doi = {10.1145/3477495.3531833},
}
Figure