Abstract
Sparse Neural Retrievers (SNRs) have significantly advanced the state-of-the-art in information retrieval by leveraging transformer-based models for document expansion and term weighting. However, these improvements often lead to increased index density and higher query latency. This study investigates the application of static pruning—a classic technique from traditional information retrieval—to modern SNRs like SPLADE, DeepImpact, and uniCOIL. Our findings demonstrate that static pruning can achieve a 2x speedup with less than a 2% drop in accuracy, and up to a 4x speedup with less than an 8% drop, making high-performance neural search viable for production environments.
Introduction
In modern Information Retrieval (IR), there is a notable shift from traditional keyword matching (e.g., BM25) toward Sparse Neural Retrievers (SNRs). Models such as SPLADE utilize BERT-based architectures to learn term importance and perform document expansion, adding relevant keywords that may not have been present in the original text. While these models offer superior accuracy, they impose a "latency tax." The expansion process results in heavier, denser inverted indexes, which significantly slows down query processing compared to classical methods.
This research explores whether static pruning—the process of removing low-impact entries from the search index before query time—can reclaim this lost speed without sacrificing the retrieval quality inherent in neural models.
Methodology
The study evaluates three distinct, low-complexity pruning strategies designed to reduce the size of the inverted index:
- Term-centric (T): This approach focuses on the posting lists of individual terms. Entries are removed based on a specific score quantile (e.g., deleting the bottom 50% of document scores for a given term).
- Document-centric (D): This strategy limits the number of terms stored per document. Only the top-$k$ most important terms (e.g., the 32 highest-scoring terms) are retained for each document.
- Agnostic (A): A global thresholding approach where any term-document pair with a score below a universal value is deleted, regardless of the specific term or document context.
These methods were applied to several state-of-the-art retrievers, including SPLADE, DeepImpact, and uniCOIL, and benchmarked against a pruned BM25 baseline.
Experimental Setup
To ensure the robustness of the findings, the researchers utilized several high-standard benchmarks:
- MSMARCO Passage: The primary industry standard for large-scale web search ranking.
- TREC-DL (2019 & 2020): Datasets featuring rich, human-labeled annotations for deep evaluation.
- TripClick: A large-scale health search log dataset used to evaluate the zero-shot generalization of these pruning techniques in new domains.
Key Insights
Neural Resilience to Pruning
One of the most striking findings is that neural retrievers are more resilient to pruning than traditional BM25. Because models like SPLADE are trained with sparsity constraints, the scores they assign are highly informative. Static pruning effectively completes the work the model started during training, removing the "noise" while preserving the signal.
The Reranker Safety Net
In multi-stage retrieval pipelines, a neural reranker typically follows the initial retrieval step. The study found that these rerankers are incredibly robust to the minor losses in recall caused by pruning. Even if static pruning removes some relevant documents from the top results of the first stage, the reranker is often still able to identify and promote the correct documents from the remaining set.
Superiority of Document-Centric Pruning
While all three strategies were effective, document-centric pruning (keeping the top-$k$ terms per document) emerged as the most robust and easily implementable method. It showed particular strength when generalizing to new datasets like TripClick, where it maintained high performance even in zero-shot scenarios.
Results and Performance
Across all tested neural models, the trade-off between efficiency and effectiveness was highly favorable:
- 2x Speedup: Achievable with a negligible effectiveness loss of ≤ 2%.
- 4x Speedup: Achievable with an effectiveness loss of ≤ 8%.
- Zero-Shot Performance: On the TripClick dataset, pruning occasionally resulted in a positive effect on MRR@10 (ranking quality) while providing a 4.6x speedup.
- Comparison to BM25: Pruning BM25 proved to be far more aggressive; accuracy dropped significantly faster than it did for neural retrievers, highlighting that the "intelligence" baked into neural weights makes the index more resilient to data removal.
Conclusion and Future Work
Static pruning is a highly effective tool for making modern sparse neural retrievers production-ready. It offers a simple path to massive latency gains with minimal impact on search quality.
Future research may explore "pruning-aware training," where models are explicitly taught during the training phase that they will eventually be pruned. This could potentially lead to even more optimized trade-offs between index size, speed, and retrieval accuracy. Additionally, combining static pruning with hardware-level optimizations like quantization remains a promising avenue for achieving state-of-the-art performance at scale.
Summary updated