arXiv(opens in a new tab)cs.IROct 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2610.12300

Compact and Efficient Indexes for Learned Sparse Retrieval

Franco Maria Nardini, Luca Rizzo, Cosimo Rulli, Rossano Venturini

Franco Maria Nardini

ISTI-CNR

Pisa, Italy

francomaria.nardini@isti.cnr.it

Luca Rizzo

University of Pisa

Pisa, Italy

1.rizzo11@studenti.unipi.it

Cosimo Rulli

Linkup ∗^{*}

Paris, France

cosimo@linkup.so

Rossano Venturini

University of Pisa

Pisa, Italy

rossano.venturini@unipi.it

Abstract—This paper investigates how to substantially reduce the memory footprint of learned sparse retrieval indexes without sacrificing the efficiency of state-of-the-art retrieval data structures. Building on SEISMIC, we revisit both levels of its design: the inverted index used to select candidates and the forward index used to score them. For the inverted index, we replace costly per-block summaries with medoids, namely existing documents elected as block representatives, collapsing the per-block metadata from a sparse vector to a single document identifier. For the forward index, we compress both components and values. We reorder the vocabulary to place co-occurring components closer together and encode the resulting Δ\Delta-gaps with DOTPACKING8, a SIMD-friendly bit-packing scheme that fuses decompression with dot-product evaluation; values are quantized with compact per-component 4-bit codebooks fitted to each component's distribution. We further introduce JUMPDOT, a blocked dot-product kernel tailored for queries that contain only a few non-zero entries. Our forward-index compression is independent of SEISMIC and can be plugged into any system relying on forward-index-based scoring, as we demonstrate by integrating it into KANNOLO. A comprehensive evaluation on MS MARCO with three state-of-the-art learned sparse encoders shows that our solutions markedly improve the speed-space trade-off of learned sparse retrieval: at equal accuracy, our indexes answer queries up to 5.3×5.3\times faster than the best competitor while using about 3×3\times less memory, and in the most memory-constrained regime, they remain up to 1.9×1.9\times faster while using up to 3.9×3.9\times less memory.

Index Terms—learned sparse retrieval, compression, efficiency.

I. INTRODUCTION

Vector search is a core primitive in modern data-management and machine-learning systems, where applications from semantic search to retrieval-augmented generation reduce to finding the vectors most similar to a query in a learned space. For text, learned sparse representations (LSR) are especially attractive: they encode queries and documents in a high-dimensional space but activate only a few dimensions, each with a non-zero weight [1]-[6]. LSR attains very high effectiveness [3], [5], [7]-[9] while staying interpretable—active dimensions are vocabulary terms with contextualized importance weights—and generalizing well out of domain through learned query and document expansion, which mitigates the classic vocabulary mismatch problem [3], [7], [10].

Despite their effectiveness, LSR vectors are hard to index: their activated dimensions and weights depart from the skewed Zipfian patterns that classical inverted indexes exploit [11]-[13], so traditional machinery struggles to deliver low-latency top-k retrieval. This was reflected in the 2023 Big ANN Sparse Track [14], whose winning solutions were adaptations of the graph-based HNSW [15] rather than inverted-index engines. Since 2024, a wave of methods tailored to LSR—SEISMIC [16]-[19], BMP [20], DSP [21], and SINDI [22]—has cut retrieval latency from hundreds of milliseconds to hundreds of microseconds while keeping search almost exact. For instance, SEISMIC answers queries on SPLADE-encoded MS MARCO in about 200 μ\mus single-threaded, yet requires a data structure of about 7 GiB. As latency enters the microsecond regime, memory rather than latency becomes the first-order bottleneck, echoing the history of inverted-index compression [23], making the footprint of these structures the natural next frontier.

Modern LSR indexes typically follow a two-level design. A selector index rapidly identifies a small set of promising candidate documents, while a forward index stores the sparse document representations and supports the dot products needed to score the selected candidates. In SEISMIC, for example, the selector consists of pruned inverted lists equipped with block summaries, whereas the forward index stores the sparse vectors used to compute exact scores. Making learned sparse retrieval compact, therefore, requires reducing the memory footprint of both components.

In this paper, we study how to make learned sparse retrieval indexes substantially more compact while preserving the efficiency achieved by state-of-the-art data structures. We build on SEISMIC and revisit its selector-index/forward-index components. On the selector side, we propose a memory-efficient alternative to the costly block summaries used by SEISMIC. In detail, we replace the summaries with medoids, i.e., existing documents selected as representatives of the corresponding blocks. This reduces the per-block metadata from a sparse vector to a single document identifier. We also revisit the dot-product computation used during candidate reranking. While densified scoring [16] is effective for expanded-query encoders, it becomes less suitable for inference-free retrievers, where queries have a small support (i.e., contain only a few non-zero entries), and documents, conversely, are highly

*Work done while at ISTI–CNR, Pisa, Italy.

expanded. We introduce a blocked dot-product algorithm (JUMPDOT) that combines support-proportional computation with SIMD-friendly block matching, enabling query-driven skipping of non-matching document blocks. On the forward-index side, we build on the compression framework of Bruch et al. [24] and further reduce the space needed to store document vectors by compressing both their components and their values. For components, we exploit the fact that document supports are stored as sorted sequences of identifiers: after reordering the vocabulary to make co-occurring components closer, we encode the resulting Δ\Delta-gaps with SIMD-friendly bit-packing schemes tailored to the short and locally variable sequences produced by learned sparse encoders. For values, we fit quantizers to the value distribution of each component; we study both uniform scalar quantization and centroid-based non-uniform quantization, with a particular focus on compact 4-bit representations. The resulting design targets the main sources of memory consumption in modern learned sparse retrieval indexes while retaining the ability to efficiently identify and score candidates. Since the forward index is not specific to SEISMIC, our compression is orthogonal to the selector index and can be plugged into other forward-index-based systems; we demonstrate this by integrating it into KANNOLO [25], an HNSW implementation supporting sparse vectors, which is the second-fastest solution in our experiments.

We conduct an extensive experimental evaluation on MS MARCO [26] with three learned sparse encoders, SPLADE [2], LILSR [27], and SPLADE-v3 [3], covering different sparsity regimes and query/document length values. We compare against state-of-the-art learned sparse retrieval indexes, including SINDI [22], KANNOLO [25], and the original SEISMIC, and evaluate latency, retrieval effectiveness, and memory consumption under multiple memory budgets.

The results show that our compressed indexes substantially improve the speed–space trade-off. At equal accuracy, SEISMIC is up to 5.3×5.3\times faster than SINDI while using about 3×3\times less memory; in the most memory-constrained regime, it remains up to 1.9×1.9\times faster while using up to 3.9×3.9\times less memory. Moreover, applying the same forward-index compression to KANNOLO nearly halves its memory footprint on SPLADE-v3 and reduces it by 41% on SPLADE, without any deterioration in efficiency.

To summarize, the novel contributions of this paper are:

• We propose a medoid-based selector index for SEISMIC. Instead of storing a synthetic per-block summary vector, we select an existing document of the block as its representative, collapsing the per-block metadata to a single document identifier, thus shrinking the inverted index.

• We introduce JUMPDOT, a blocked dot-product algorithm for regimes where only queries are extremely sparse, like inference-free retrievers, where queries contain only a few non-zero entries while documents remain highly expanded. JUMPDOT combines support-proportional computation with SIMD-friendly block matching, enabling query-driven skipping of non-matching document blocks.

• We design a compressed forward index for learned sparse vectors. We compress component identifiers by reordering the vocabulary and encoding the resulting Δ\Delta-gaps with fine-grained bit-packing extended to support SIMD-integrated decoding and scoring over the short, locally variable supports of LSR vectors, yielding DOTPACKING8 and DOTPACKINGDP, their reference-compressed variants CDOTPACKING8 and CDOTPACKINGDP, and DOTPACKING8-J, which integrates JUMPDOT with compressed-block skipping. We compress values with per-component quantization, studying both uniform scalar and centroid-based 4-bit codebooks. Being independent of the selector, this contribution can be plugged into any forward-index-based retrieval engine.

• We conduct an extensive experimental evaluation on MS MARCO with three learned sparse encoders—SPLADE, LILSR, and SPLADE-v3—covering different sparsity regimes, and against state-of-the-art baselines (SINDI, KANNOLO, and SEISMIC). The results show that our techniques improve the speed–space trade-off beyond SEISMIC: SEISMIC preserves practical query efficiency while moving to substantially lower memory regimes, and the same forward-index compression makes KANNOLO markedly more compact while retaining its latency profile without sacrificing efficiency. On LILSR, the JUMPDOT kernel and its compressed variant DOTPACKING8-J further makes SEISMIC the fastest and most memory-efficient specialized method.

References (68)

  • SPLADE: Sparse lexical and expansion model for first stage ranking
  • SPLADE v2: Sparse lexical and expansion model for information retrieval (opens arXiv in a new tab)
  • SPLADE-v3: New baselines for SPLADE (opens arXiv in a new tab)
  • Expansion via prediction of importance with contextualization
  • Towards effective and efficient sparse neural information retrieval
  • Neural lexical search with learned sparse retrieval
  • From distillation to hard negative sampling: Making sparse neural IR models more effective
  • A unified framework for learned sparse retrieval
  • Sparton: Fast and memory-efficient Triton kernel for learned sparse retrieval
  • BEIR: A heterogeneous benchmark for zero-shot evaluation of information retrieval models
  • Wacky weights in learned sparse representations and the revenge of score-at-a-time query evaluation (opens arXiv in a new tab)
  • An approximate algorithm for maximum inner product search over streaming sparse vectors
  • Bridging dense and sparse maximum inner product search
  • Results of the Big ANN: NeurIPS’23 competition
  • Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs
  • Efficient inverted indexes for approximate retrieval over learned sparse representations
  • Pairing clustered inverted indexes with kNN graphs for fast approximate retrieval over learned sparse representations
  • Investigating the scalability of approximate sparse retrieval algorithms to massive datasets
  • Efficient sketching and nearest neighbor search algorithms for sparse vector sets (opens arXiv in a new tab)
  • Faster learned sparse retrieval with block-max pruning
  • Dynamic superblock pruning for fast learned sparse retrieval
  • SINDI: An efficient index for sparse vector approximate maximum inner product search
  • Techniques for inverted index compression
  • Forward index compression for learned sparse retrieval
  • kANNolo: Sweet and smooth approximate k-nearest neighbors search
  • MS MARCO: A human generated Machine Reading Comprehension dataset
  • Effective inference-free retrieval for learned sparse representations
  • From neural re-ranking to neural ranking: Learning a sparse representation for inverted indexing
  • SparTerm: Learning term-based sparse representation for fast text retrieval (opens arXiv in a new tab)
  • SPARTA: Efficient open-domain question answering via sparse transformer matching retrieval
  • COIL: Revisit exact lexical match in information retrieval with contextualized inverted list
  • A few brief notes on DeepImpact, COIL, and a conceptual framework for information retrieval techniques (opens arXiv in a new tab)
  • An efficiency study for SPLADE models
  • Exploring $\ell_{0}$ sparsification for inference-free sparse retrievers
  • Compressing graphs and indexes with recursive graph bisection
  • Faster index reordering with bipartite graph partitioning
  • Non-metric similarity graphs for maximum inner product search
  • DiskANN: Fast accurate billion-point nearest neighbor search on a single node
  • Finding near neighbors through cluster pruning
  • Incremental cluster-based retrieval using compressed cluster-skipping inverted files
  • Exploiting cluster-skipping inverted index for semantic place retrieval
  • Product quantization for nearest neighbor search
  • Optimized product quantization
  • Locally optimized product quantization for approximate nearest neighbor search
  • Accelerating large-scale inference with anisotropic vector quantization
  • Multiscale quantization for fast similarity search
  • Sketching as a tool for numerical linear algebra
  • Sampling methods for inner product sketching
  • Universal codeword sets and representations of the integers
  • Some practical aspects of the Rice algorithm
  • Codes for the World-Wide Web
  • Decoding billions of integers per second through vectorization
  • Performance of compressed inverted list caching in search engines
  • Index compression using 64-bit words
  • Super-scalar RAM-CPU cache compression
  • Inverted index compression and query processing with optimized document ordering
  • Efficient storage and retrieval by content and address of static files
  • On the number of bits required to implement an associative memory
  • Partitioned Elias-Fano indexes
  • Binary interpolative coding for effective index compression
  • Clustered Elias-Fano indexes
  • Compression, SIMD, and postings lists
  • FastPFOR-rs
  • dsi-bitstream
  • SIMD compression and the intersection of sorted integers
  • BERT: Pretraining of deep bidirectional transformers for language understanding
  • Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
  • Lossless compression of proximity graph indexes for efficient approximate nearest neighbors search