SPLADE: Sparse Lexical and Expansion Model for First Stage Ranking

Thibault Formal, Benjamin Piwowarski, Stéphane Clinchant

Introduction

Modern information retrieval typically employs a two-stage pipeline. A fast first-stage retriever identifies a subset of candidate documents from a massive corpus, which are then processed by a computationally expensive re-ranker. Traditionally, first-stage retrieval has relied on sparse models like BM25. These models are highly efficient due to inverted indexes but suffer from "vocabulary mismatch"—failing to retrieve a document about a "feline" if the query uses the word "cat."

To address this, researchers developed dense retrieval models using BERT embeddings. While these models capture semantic meaning, they require significant memory and complex Approximate Nearest Neighbor (ANN) infrastructures. SPLADE (SParse Lexical AnD Expansion) bridges this gap by learning to represent documents and queries as highly sparse vectors within the full BERT vocabulary space, combining the semantic richness of neural models with the efficiency of traditional inverted indexes.

Methodology

SPLADE leverages the BERT architecture, specifically the Masked Language Model (MLM) layer, to predict importance weights for every token in the BERT vocabulary (approximately 30,000 tokens). The model introduces two primary innovations to ensure both effectiveness and efficiency:

1. Log-Saturation Mechanism

Rather than a linear sum of term weights, SPLADE employs a logarithmic transformation: $$w_j = \sum \log(1 + \text{ReLU}(w_{ij}))$$ This mimics the "term frequency saturation" found in classic Information Retrieval (IR) axioms. It prevents a few dominant terms from overwhelming the document representation and naturally encourages sparsity.

2. FLOPS Regularization

To maintain search speed, the authors utilize a "FLOPS" regularizer during training. Unlike standard $\ell_1$ regularization, which simply minimizes vector magnitude, the FLOPS regularizer minimizes the expected number of floating-point operations required for a search. This results in a balanced inverted index where no single term possesses an excessively long document list, optimizing the model for real-world retrieval latency.

Performance and Efficiency

The researchers evaluated SPLADE on industry-standard benchmarks, including MS MARCO Passage Ranking and TREC DL 2019.

Figure 4: MRR@10 vs. # FLOPS trade-off for SPLADE and baseline models on the MS MARCO dev set.

As shown in the performance analysis, SPLADE significantly outperforms previous sparse neural models and remains competitive with state-of-the-art dense models. On MS MARCO, SPLADE achieved an MRR@10 of 0.322, nearly matching top-tier dense models like ANCE (0.330) while far exceeding BM25 (0.184). By adjusting the regularization strength, developers can explicitly trade off search speed for accuracy, making the model as lean as BM25 or as rich as a dense retriever.

Automatic Document Expansion

A key advantage of SPLADE is its ability to perform "expansion" automatically. The model does not just weight existing words; it activates related terms not present in the original text to solve the vocabulary mismatch problem.

Figure 6: Example of document expansion where SPLADE adds relevant terms like "treatment" and "exercise" to a document about "bow legs."

For instance, a document discussing "bow legs" might have terms like "treatment," "exercise," and "bones" added to its sparse representation. This allows the model to retrieve the document even if the query uses these related semantic terms rather than the exact original phrasing.

Conclusion

SPLADE represents a significant step forward in first-stage retrieval. By achieving a Recall@1000 of 0.955 on MS MARCO, it proves exceptionally capable of identifying relevant candidates for second-stage re-rankers. While the training process is more intensive than traditional baselines, the resulting sparse representations offer a highly interpretable and efficient solution for large-scale search tasks.

Summary updated

BibTeX
@inproceedings{formal2021splade,
  author = {Thibault Formal and Benjamin Piwowarski and Stéphane Clinchant},
  title = {{SPLADE: Sparse Lexical and Expansion Model for First Stage Ranking}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  doi = {10.1145/3404835.3463098},
}
Figure