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, Jianqiang Cao, Junxue Rao, Jia Jia
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.
Create a lesson
Related papers
WISE: An Agentic Framework for Whole-page Multimodal Search Experience Attribution
Wenyi Xu, Renzhe Zhou, Songyang Li et al.
Deliberate Latent Reasoning for Sequential Recommendation
Haobo Zhang, Qiannan Zhu, Yutao Zhu et al.
PMRecBench: A Benchmark for Personalization in Recommendation Agents under Multimodal Queries
Xiaoyu Zhang, Yougang Lyu, Bin Wu et al.
Do Search-Augmented Recommenders Use the Latest Search Episode?
Jiandong Ding
One Basket, Many Experts: Decorrelated Re-ranking for Financial Asset Recommendation
Ryuki Unno, Keigo Sakurai, Koshi Watanabe et al.
Optimal Re-Ranking Depth
Siqing Huo, Andrew Parry, Debasis Ganguly et al.