Skip to content

PROSPER: LLMs as sparse retrievers for product search

optionalextendedfrontierpaperrubric 8/122026 · WSDM '27 / arXiv (Nov 2026) · ~20 min

Hongru Song, Yu-An Liu, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke, Sen Li, Wenjun Peng, Fuyu Lv, Xueqi Cheng (ICT/CAS, UvA, Alibaba Taobao & Tmall)

Read first: SPLADE-v3: New baselines for SPLADE · SPARSEUP: an open SPLADE-style sparse retriever (Linkup)

Status

Intuition. Replacing BERT with a 3B LLM inside SPLADE sounds like an easy upgrade for e-commerce product search, but it barely helps: LLMs love semantic associations, so on short ~6-term queries they underweight exact brands or model numbers and hallucinate noisy expansions (turning an old Jaguar car coolant-tank query into animal terms). Worse, Qwen2.5’s >150k vocabulary makes early sparse training unstable. PROSPER fixes both problems with two lightweight mechanisms: a Literal Residual Network that anchors input tokens against the strongest expansion weight, and a Lexical Focusing Window that auto-disables once representations become sparse.

Source: arXiv (accepted at WSDM ‘27, submitted November 21, 2026; HTML full text), by Hongru Song et al. (ICT/CAS, University of Amsterdam, Taobao & Tmall Group of Alibaba).

First read: focus on the two failure modes of LLM-SPLADE on short keyword-heavy queries, the LRN residual formula, and the production hybrid-stack trade-offs. Skip the exhaustive variant tables on a first pass.

Section titled “Why naive LLM-SPLADE struggles on product search”

Product queries average about 6 terms and product titles average ~25 tokens, packed with non-fluent brands, model codes, and modifiers. On Multi-CPR E-commerce, BERT-base-chinese SPLADE (21,128 vocab) hits only 89.6% Hit@1000 (below DPR’s 92.1%), and swapping in Qwen2.5-3B hits two walls:

  1. Lexical expansion hallucination: semantic expansions overpower literal brand/model tokens, flooding recall with superficially similar items from the wrong brand or sense.
  2. 150k-vocab early instability: projecting into Qwen2.5’s >150,000-token vocabulary starts too dense for soft FLOPS regularization to tame quickly.

1. Last-token pooling + Literal Residual Network (LRN). Because causal LLMs aggregate context at the final token, PROSPER replaces SPLADE’s max-pooling with last-content-token pooling on log⁡(1+ReLU(⋅))\log(1 + \text{ReLU}(\cdot)) logits to get base sparse weights w\mathbf{w} and pooled hidden state h~last\tilde{h}_{\text{last}}. A linear head w′=FC(h~last)∈R∣V∣\mathbf{w}' = \text{FC}(\tilde{h}_{\text{last}}) \in \mathbb{R}^{|V|} then calibrates only literal tokens present in the input (indicator mask I\mathbf{I}):

W=w+I⊙(max⁡(w)−w′).\mathbf{W} = \mathbf{w} + \mathbf{I} \odot \big(\max(\mathbf{w}) - \mathbf{w}'\big).

Using max⁡(w)\max(\mathbf{w}) as an input-dependent anchor lets weak literal terms compete directly with the strongest expansion without flattening all literals to the same weight (which self-compensation max⁡(w)−w\max(\mathbf{w}) - \mathbf{w} would do). Expansion weights outside I\mathbf{I} remain untouched.

2. Conditional Lexical Focusing Window (LFW) + base FLOPS. During training, FLOPS regularization (Eq. 13) penalizes the base vectors wq,wd\mathbf{w}_q, \mathbf{w}_d, while LFW applies a conditional hard cutoff TopKk(W)\text{TopK}_k(\mathbf{W}) to the LRN-adjusted vectors Wq,Wd\mathbf{W}_q, \mathbf{W}_d only when ∥W∥0>k\|\mathbf{W}\|_0 > k. In early dense steps, LFW concentrates contrastive gradients on top-kk dimensions; once FLOPS sparsifies representations so ∥W∥0≤k\|\mathbf{W}\|_0 \le k, LFW turns itself off and FLOPS smoothly refines weights. Similarity uses asymmetric query-only ℓ2\ell_2 normalization:

sLFW(Wq,Wd)=TopKkq(Wq)∥TopKkq(Wq)∥2⋅TopKkd(Wd).s_{\text{LFW}}(\mathbf{W}_q, \mathbf{W}_d) = \frac{\text{TopK}_{k_q}(\mathbf{W}_q)}{\|\text{TopK}_{k_q}(\mathbf{W}_q)\|_2} \cdot \text{TopK}_{k_d}(\mathbf{W}_d).

All figures are author-reported (Qwen2.5-3B offline with contrastive loss + FLOPS, no cross-encoder distillation; Qwen2.5-1.5B online trained on ~330M click records, serving 170M precomputed query vectors truncated to top-16 query terms):

SettingComparisonHeadline result
Multi-CPR E-commerce (1M+ items)PROSPER vs. Qwen-BM25 / BERT-BM25 / SPLADE-v2 / best Qwen sparse93.9% Hit@1000 (+10.2 over Qwen-tokenized BM25’s 83.7%, +8.4 over BERT-tokenized BM25’s 85.5%, +4.3 over SPLADE-v2’s 89.6%, +1.5 over Qwen sparse’s 92.4%); beats BGE-base-zh-v1.5 (93.7%)
Real-world click logs (1.07M pairs)PROSPER (last-pool) vs. PROSPER BERT / max-pool94.08% Recall@1000 (vs. 93.68% BERT, 93.75% max-pool)
Online A/B test (1 month, 1% traffic, ~80M products)Added as a parallel sparse channel alongside dense + legacy channels+1.60% net GMV (direct-guided; +1.53% total), +0.31% net transactions, +0.24% net UV, +0.36% CVR
Online serving footprint (80M products)PROSPER 1.5B sparse channel vs. dense channel93 GB index (vs. 152 GB dense), ~20 ms matching latency with 170M cached queries & top-16 query terms (vs. ~10 ms dense)
  • Additive channel, not a drop-in replacement: the online A/B compares the production hybrid stack with PROSPER against without PROSPER; dense retrieval remained active in parallel.
  • 2× matching latency under cached queries: inverted-index matching took ~20 ms (with 170M precomputed queries and top-16 query terms, excluding online 1.5B encoding cost) versus ~10 ms for a heavily tuned dense ANN engine—acceptable in parallel multi-channel recall, and a natural fit for exact LSR engines like the abc index.
  • Domain and language scope: offline and online evaluations target short Chinese e-commerce queries (about 6 terms); generalization to long English reasoning queries is untested. Contrastive-only training was chosen deliberately to isolate LRN/LFW from distillation gains.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    PROSPER computes its final sparse vector as W = w + I ⊙ (max(w) − w'), where I is 1 on literal input tokens and 0 on expansion tokens, and w' = FC(h̃_last). Suppose a query has two literal tokens with base weights w_brand = 0.6 and w_cat = 2.4, and an expansion token with w_exp = 3.0 (so max(w) = 3.0). Compare W under (a) PROSPER's LRN when w'_brand = 0.2, w'_cat = 1.5, (b) self-compensation W = w + I ⊙ (max(w) − w), and (c) direct addition W = w + I ⊙ w'. Why does self-compensation fail?

    What a strong answer covers
    • (a) Under PROSPER's LRN: W_brand = 0.6 + (3.0 − 0.2) = 3.4, W_cat = 2.4 + (3.0 − 1.5) = 3.9, and W_exp stays 3.0. Both literal tokens are anchored against the input's strongest activation max(w) while retaining learned relative importance.
    • (b) Under self-compensation: W_brand = 0.6 + (3.0 − 0.6) = 3.0 and W_cat = 2.4 + (3.0 − 2.4) = 3.0 (W_exp = 3.0). Every literal token is flattened to the exact same value max(w), erasing the distinction between a crucial brand/model modifier and a generic category word.
    • (c) Under direct addition: W_brand = 0.6 + 0.2 = 0.8, W_cat = 2.4 + 1.5 = 3.9, W_exp = 3.0 — without the max(w) anchor, w' alone must guess the activation scale across inputs with widely varying max(w), leaving weak literal tokens far below expansion terms; both ablations underperform LRN on Multi-CPR.
  2. Mechanism

    Explain how PROSPER's Lexical Focusing Window (LFW) interacts with FLOPS regularization across training—including which vectors FLOPS vs. LFW operate on—and why naive SPLADE training destabilizes when moving from BERT-base-chinese (~21k vocab) to Qwen2.5 (>150k vocab) on ~6-term product queries.

    What a strong answer covers
    • With >150k vocabulary dimensions (over 7× BERT-base-chinese's 21,128 vocab) and short ~6-term queries, early dense LLM logits leave far too many active vocabulary entries for smooth FLOPS penalties to sparsify quickly, so noisy expansions dominate early contrastive gradients.
    • Eq. 13 applies FLOPS regularization to the *base* representations w_q, w_d, while LFW applies a conditional hard cutoff TopK_k(W) to the *LRN-adjusted* representations W_q, W_d only while ||W||_0 > k—focusing early ranking gradients on top-k candidates.
    • Once FLOPS drives the active support down to ||W||_0 ≤ k, LFW automatically turns off (becomes the identity) so FLOPS smoothly refines weights and active counts without hard-cutoff artifacts.
    • PROSPER also applies L2 normalization only to the query vector in s_LFW(W_q, W_d), stabilizing matching scores while preserving document-side term magnitude signals.
  3. Critique

    PROSPER's 1.5B online deployment across 80M products reports +1.60% net GMV, a smaller index than the dense channel (93 GB vs. 152 GB), and ~20 ms matching latency (vs. ~10 ms dense) using 170M precomputed query vectors and 16 retained query terms. Evaluate what this A/B test proves and what it does not prove about replacing dense retrieval with LLM sparse retrieval.

    What a strong answer covers
    • It proves additive value as an extra recall channel inside an existing hybrid stack (alongside inverted-index, dense, multimodal, generative, and personalized channels)—not that PROSPER alone beats or replaces the dense channel.
    • The ~20 ms figure measures inverted-index matching with precomputed query representations (170M cached queries) truncated to top-16 query terms, not online 1.5B LLM encoding latency; because recall channels run in parallel, ~20 ms fits the SLA, whereas single-channel or uncached tail-query serving faces both encoding and matching latency.
    • Offline benchmarks are Chinese e-commerce datasets (Multi-CPR and Taobao/Tmall click logs) with short queries (about 6 terms) and contrastive-only training (no cross-encoder distillation); transfer to long natural-language English passage retrieval is not established.

Done with this page?

Status