Generative Retrieval under Real-Time Supply Constraints in Local Commerce
Shaopeng Liang, Biao Zhang, Hongzhen Ye, Zeyang Hou, Ma Jiang, Jintao Tu, yunxi. hz, Zhijia Fang,
Key points
From the paper's conclusion- We study retrieval over an explicitly materialized, request-time supply snapshot, where short output sequences leave little opportunity to amortize online constraint preparation.
Abstract
Generative retrieval predicts semantic identifiers for candidate entities. In local retail and food delivery, candidates must also be serviceable for a particular user at a particular time. Location, weather, and traffic reshape merchant and product supply, so a catalog-valid identifier may be infeasible for the current request. Post-generation filtering removes such candidates only after beam capacity and inference computation have been spent. We study retrieval over an explicitly materialized, request-time supply snapshot, where short output sequences leave little opportunity to amortize online constraint preparation. Our RTP-LLM pipeline compiles eligible residual-quantization identifiers into a compressed sparse row prefix index, overlaps CPU compilation with model prefill, and shares the uploaded index across beams. Legal expansions retain original-model log probabilities, and constraint states follow selected beam parents. We formalize snapshot-relative identifier validity and distinguish it from entity-level eligibility and freshness. The implementation generates three-token merchant identifiers. Historical evidence covers daily catalog constraints and subsequent request-scoped serving evaluations. In one matched-beam daily-constraint case, filtered merchants decrease from 170 of 299 candidates to 29 of 299; residual distance filtering motivates request-specific constraints. A different-host comparison with 30,000 supplied entries reports a 0.6 ms service-side latency increment, while client measurements expose additional request costs. Captured requests from three geographic settings characterize behavior across supply sizes and output widths. These observations span development stages and measurement boundaries. They establish a practical implementation and identify bottlenecks, but do not establish compute savings at matched retrieval quality.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TS-GEAR: Taobao Shangou GEnerative Ad RetrievalarXiv · 2026
- RoutingTrie: Metadata Routing for Constrained Generative RetrievalarXiv · 2026
- ReuseGR: Offline--Online Decoupled Generative Retrieval via Adaptive Prefix ReusearXiv · 2026
- RecoGEM: A Serving System for Production-Scale Generative RecommendationarXiv · 2026
- Balancing Trial and Reorder: A Hybrid Sequential Transformer-GBDT Ranker for On-Demand DeliveryarXiv · 2026
- Efficient Wide-Beam Generative Retrieval with Model-Native Trie Decoding and Shared-Context AttentionarXiv · 2026