For decades, information retrieval was dominated by the inverted index. This structure, the backbone of engines like Lucene and Elasticsearch, is incredibly efficient: it maps every word (token) to a list of documents containing it. To search, you simply look up the lists for your query terms and intersect them. However, this "lexical" approach suffers from the vocabulary mismatch problem: if you search for "feline" and the document says "cat," the system finds nothing.
The deep learning revolution initially responded with Dense Retrieval. Models like DPR map text into a dense, 768-dimensional vector space. While this captures "cat" and "feline" as nearby points, it abandons the inverted index. Instead, it requires specialized vector databases and expensive Approximate Nearest Neighbor (ANN) searches that consume massive amounts of RAM and often require GPUs for inference.
Learned Sparse Retrieval (LSR) offers a third way. It uses the power of Transformers to "learn" a sparse, high-dimensional representation—often in the model's own vocabulary space—that can be plugged directly back into traditional, battle-tested inverted index infrastructure.
Bridging the Lexical Gap with Expansion
The core intuition behind LSR is to transform a document from a simple bag of words into a "weighted bag of concepts."
Traditional models like BM25 only know about the words explicitly present. In contrast, models like SPLADE, developed by Thibault Formal and Stéphane Clinchant, use a BERT-based architecture to predict which tokens in the entire vocabulary are relevant to a piece of text. If a document discusses "the king of France," SPLADE might assign high weights not just to "king" and "France," but also to "monarchy," "royalty," and "Paris."
This process, known as document expansion, effectively solves the vocabulary mismatch problem. By adding these "hallucinated" but relevant terms to the index, a simple keyword search can now find semantically related documents. Yuning Mao and colleagues demonstrated in Generation-Augmented Retrieval that even using a language model to generate potential answers and contexts before searching can allow BM25 to rival the performance of complex dense models.
The Efficiency of High-Dimensional Sparsity
Why not just use dense vectors? The answer lies in the hardware. Dense retrieval requires calculating the similarity between a query vector and millions of document vectors. Even with ANN, this is computationally heavy.
LSR models like uniCOIL, proposed by Jimmy Lin and Xueguang Ma, produce vectors where 99% of the dimensions are zero. When these are stored in an inverted index, the search engine only needs to touch a tiny fraction of the total data. Jimmy Lin notes that this can reduce index sizes by over 100 times compared to dense models while remaining fully compatible with CPU-based systems like Lucene.
To push this further, Junmo Kang introduced UHD-BERT, which uses ultra-high dimensional spaces (over 500,000 dimensions). By spreading information across a massive number of possible "buckets" but keeping only a few active, the model ensures that the "posting lists" in the inverted index remain short, leading to sub-100ms latencies even on massive datasets.
Learning to be Sparse
A key challenge in LSR is ensuring the model actually produces sparse vectors. If a model assigns a tiny weight to every word in the dictionary, the efficiency of the inverted index collapses.
Researchers use specialized regularization techniques to "force" the model to choose only the most important terms. Thibault Formal utilized a log-saturation mechanism and FLOPs-based regularizers in SPLADE to achieve this. More recently, Xinjie Shen and Yang Yang explored $\ell_0$ sparsification, which directly penalizes the number of non-zero elements, preventing the "model collapse" that often occurs when trying to balance accuracy and speed.
Another approach is the "lexicon bottleneck." In LexMAE, Tao Shen and Xiubo Geng pretrained a model by forcing it to reconstruct a text snippet using only a weighted bag-of-words representation. This forces the model to learn which keywords are truly essential for capturing the meaning of a sentence.
Parity with Dense Models
For a long time, it was assumed that sparse models were a "budget" version of dense models—faster, but less accurate. Recent evidence has overturned this.
SPLADE-v3 and LACONIC (which uses a Llama-3 backbone) have shown that learned sparse retrievers can match or even exceed the performance of state-of-the-art dense models and cross-encoders. Zhichao Xu demonstrated that LACONIC achieves elite performance on the MTEB benchmark while requiring 71% less memory than its dense counterparts.
This shift suggests that the "semantic" information we thought required dense vectors can actually be projected back onto the vocabulary. As Franco Maria Nardini argues in his keynote on LSR, we are entering an era where we can have the interpretability and efficiency of keyword search with the deep understanding of Large Language Models. By mapping the "hidden" logic of neural networks back onto human-readable tokens, LSR provides a path toward search systems that are not just faster, but more transparent and easier to deploy on standard hardware.