HackerPapers

arXiv:2405.01117cs.IR

Faster Learned Sparse Retrieval with Block-Max Pruning

Antonio Mallia, Torten Suel, Nicola Tonellotto

HN submission. Found in a submission link or body. Submitters do not count as commenters in the main ranking; a submission is not an endorsement.

Abstract

Learned sparse retrieval systems aim to combine the effectiveness of contextualized language models with the scalability of conventional data structures such as inverted indexes. Nevertheless, the indexes generated by these systems exhibit significant deviations from the ones that use traditional retrieval models, leading to a discrepancy in the performance of existing query optimizations that were specifically developed for traditional structures. These disparities arise from structural variations in query and document statistics, including sub-word tokenization, leading to longer queries, smaller vocabularies, and different score distributions within posting lists. This paper introduces Block-Max Pruning (BMP), an innovative dynamic pruning strategy tailored for indexes arising in learned sparse retrieval environments. BMP employs a block filtering mechanism to divide the document space into small, consecutive document ranges, which are then aggregated and sorted on the fly, and fully processed only as necessary, guided by a defined safe early termination criterion or based on approximate retrieval requirements. Through rigorous experimentation, we show that BMP substantially outperforms existing dynamic pruning strategies, offering unparalleled efficiency in safe retrieval contexts and improved tradeoffs between precision and efficiency in approximate retrieval tasks.

arXiv comments
SIGIR 2024 (short paper track)
Journal reference
DOI
Subjects
cs.IRInformation Retrieval

On Hacker News

No comments linking this paper were found in the collected sources. Found in 1 HN submission from Jun 2025 to Jun 2025. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments0 threads

No comments linking this paper were found in the collected sources. Open submission discussions.

Submitted to Hacker News

  • Show HN: BMP – Fast, Exact Learned Sparse Retrieval for RAG

    We built BMP, a fast and memory-efficient search engine for learned sparse retrieval — written in Rust and with Python bindings. It supports exhaustive (non-approximate) search over large collections like MS MARCO, without dropping query terms or pruning the index. Features: - Full support for SPLADE, uniCOIL, CSV, and similar models - No static pruning – keeps full index fidelity - No term dropping – every token counts - Runs fast thanks to block-max pruning - Usable from Python - Pre-built…

Connected through shared HN threads, not inferred similarity or a recommendation.