Abstract
Learned Sparse Retrieval (LSR) is an effective IR approach that exploits pre-trained language models for encoding text into a learned bag of words. Several efforts in the literature have shown that sparsity is key to enabling a good trade-off between the efficiency and effectiveness of the query processor. To induce the right degree of sparsity, researchers typically use regularization techniques when training LSR models. Recently, new efficient -- inverted index-based -- retrieval engines have been proposed, leading to a natural question: has the role of regularization changed in training LSR models? In this paper, we conduct an extended evaluation of regularization approaches for LSR where we discuss their effectiveness, efficiency, and out-of-domain generalization capabilities. We first show that regularization can be relaxed to produce more effective LSR encoders. We also show that query encoding is now the bottleneck limiting the overall query processor performance. To remove this bottleneck, we advance the state-of-the-art of inference-free LSR by proposing Learned Inference-free Retrieval (Li-LSR). At training time, Li-LSR learns a score for each token, casting the query encoding step into a seamless table lookup. Our approach yields state-of-the-art effectiveness for both in-domain and out-of-domain evaluation, surpassing Splade-v3-Doc by 1 point of mRR@10 on MS MARCO and 1.8 points of nDCG@10 on BEIR.
Introduction
Modern Information Retrieval (IR) has seen a shift towards Learned Sparse Retrieval (LSR) models, such as SPLADE. These models leverage deep learning to expand queries and documents with semantically relevant terms, bridging the gap between traditional keyword search and neural understanding. However, two significant challenges persist: the computational bottleneck of neural query encoding and the rigid trade-off between sparsity and effectiveness.
Traditionally, heavy regularization is applied during training to ensure high sparsity, keeping search indices fast. However, with the advent of high-performance retrieval engines like Seismic, the necessity of extreme sparsity is called into question. Furthermore, the ~24ms required for BERT-based query inference on a CPU often dwarfs the actual search time, creating a new performance bottleneck.
Methodology: Li-LSR and Relaxed Regularization
To address these issues, the authors propose Learned Inference-free Retrieval (Li-LSR). Instead of performing on-the-fly neural inference for queries, Li-LSR learns static relevance scores for every token in the vocabulary during training. This transforms query encoding into a simple, high-speed table lookup.
Additionally, the study explores the impact of relaxing regularization across three model sizes: Small, Medium, and Big. By allowing for less sparse document representations, the "Big" models can capture richer context and generalize better to unseen topics.
As shown in Figure 2, increasing model size and relaxing regularization leads to significant gains in effectiveness. While query time increases slightly, it remains well within the millisecond range when using optimized engines.
Experimental Setup
The models were trained on the MS MARCO dataset using knowledge distillation from a cross-encoder teacher. Evaluation was conducted across several benchmarks:
- In-Domain: MS MARCO dev set and TREC-DL (2019/2020).
- Out-of-Domain: The BEIR benchmark, comprising 13 diverse datasets to test zero-shot generalization.
Key Results
The results demonstrate that static query weights can be remarkably effective. The Li-LSR approach eliminates the ~24ms CPU encoding penalty, with the Seismic engine completing searches in just 0.8ms to 1.3ms.
As detailed in Table 5, Li-LSR-Big achieves state-of-the-art performance for inference-free models. It outperforms Splade-v3-Doc by 1.0 point in mRR@10 on MS MARCO and 1.8 points in nDCG@10 on BEIR. These results are competitive with complex multi-vector models like ColBERTv2 while being significantly faster.
Conclusion and Future Work
Li-LSR proves that inference-free retrieval is a viable and highly efficient alternative for modern IR. While "Big" models require more storage—comparable to standard dense vectors—they offer superior generalization. Future research will focus on specialized compression techniques for these learned sparse representations to mitigate storage costs without compromising the effectiveness gains achieved through relaxed regularization.
Summary updated