[Paper Review] Wacky Weights in Learned Sparse Representations and the Revenge of Score-at-a-Time Query Evaluation
This paper investigates query evaluation efficiency in retrieval systems using transformer-based learned sparse representations, finding that 'wacky' term weights—unintuitive, non-standard distributions—significantly reduce optimization opportunities in document-at-a-time (DaaT) methods. As a result, score-at-a-time (SaaT) approaches become more competitive, offering up to 3% effectiveness loss for substantial gains in mean and tail query latency, especially when using approximate evaluation with ρ=5.
Recent advances in retrieval models based on learned sparse representations generated by transformers have led us to, once again, consider score-at-a-time query evaluation techniques for the top-k retrieval problem. Previous studies comparing document-at-a-time and score-at-a-time approaches have consistently found that the former approach yields lower mean query latency, although the latter approach has more predictable query latency. In our experiments with four different retrieval models that exploit representational learning with bags of words, we find that transformers generate "wacky weights" that appear to greatly reduce the opportunities for skipping and early exiting optimizations that lie at the core of standard document-at-a-time techniques. As a result, score-at-a-time approaches appear to be more competitive in terms of query evaluation latency than in previous studies. We find that, if an effectiveness loss of up to three percent can be tolerated, a score-at-a-time approach can yield substantial gains in mean query latency while at the same time dramatically reducing tail latency.
Motivation & Objective
- To understand how learned sparse representations from transformers affect query evaluation performance.
- To investigate whether the 'wacky' term weight distributions in these models hinder traditional DaaT optimizations like skipping and early exiting.
- To compare DaaT and SaaT query evaluation strategies in the context of modern learned sparse retrieval models.
- To evaluate the tradeoff between retrieval effectiveness and query latency under approximate evaluation.
- To assess whether SaaT can outperform DaaT in practice when term weights are non-standard and unpredictable.
Proposed method
- Empirically evaluate four retrieval models based on transformer-generated learned sparse representations: BM25-T5, SPLADEv2, BERT-2021, and BERT-2022.
- Implement and compare document-at-a-time (DaaT) and score-at-a-time (SaaT) query evaluation strategies across these models.
- Use approximate query evaluation via a work-limiting parameter ρ to control computational cost and measure effectiveness loss.
- Measure mean query latency and tail latency (via Tukey boxplots) to assess performance predictability.
- Conduct experiments on the TREC-COVID and TREC-AP collections to evaluate effectiveness (mean RR@10) and efficiency.
- Analyze Pareto-optimal tradeoffs between effectiveness and latency across model/system combinations.
Experimental results
Research questions
- RQ1How do the term weight distributions in transformer-based learned sparse representations affect the performance of document-at-a-time (DaaT) query evaluation?
- RQ2To what extent do 'wacky' weights—such as high scores on stopwords or subwords—undermine standard DaaT optimizations like skipping and early exiting?
- RQ3Does score-at-a-time (SaaT) query evaluation outperform DaaT in terms of mean and tail query latency when applied to learned sparse representations?
- RQ4What is the tradeoff between retrieval effectiveness and query evaluation efficiency when using approximate query evaluation with a work-limiting parameter ρ?
- RQ5Can SaaT achieve better overall efficiency than DaaT despite its traditionally higher mean latency in prior studies?
Key findings
- The term weight distributions in learned sparse representations are highly non-standard, with high scores assigned to semantically uninformative terms like stopwords and subwords, which the authors term 'wacky'.
- These wacky weights severely limit the effectiveness of DaaT optimizations such as skipping and early exiting, reducing their performance advantage over SaaT.
- Score-at-a-time (SaaT) approaches achieve significantly lower mean query latency than DaaT when using approximate evaluation with ρ=5, especially on the TREC-COVID collection.
- With up to a 3% loss in mean RR@10, SaaT can reduce mean query latency to 52ms (a quarter of PISA’s latency) while also drastically lowering tail latency.
- The Pareto-optimal frontier shows that no single model or system dominates; instead, optimal choices depend on application-specific tradeoffs between effectiveness and efficiency.
- JASS-A (SaaT with approximate evaluation) achieves highly predictable latency with SPLADEv2 due to aggressive query expansion, resulting in consistent processing of ρ postings per query.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.