arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.06323cs.IR
收藏

本地商务中实时供应约束下的生成式检索

Generative Retrieval under Real-Time Supply Constraints in Local Commerce

Rajax Network Technology (Taobao Shangou of Alibaba)(拉加克斯网络技术(淘宝商狗/阿里巴巴))

Shaopeng Liang, Biao Zhang, Hongzhen Ye, Zeyang Hou, Ma Jiang, Jintao Tu, yunxi. hz, Zhijia Fang, Jianqiang Cao, Junxue Rao, Jia Jia

AI总结:

本研究针对本地商务实时供应约束问题,提出RTP-LLM流水线实现生成式检索,通过索引优化等方式降低过滤成本,在三词商户标识符生成场景中验证了方法的有效性。

摘要:

生成式检索会为候选实体预测语义标识符。在本地零售与外卖配送场景中,候选实体还必须能在特定时间为特定用户提供服务。位置、天气和交通状况会改变商户与商品的供应情况,因此目录中有效的标识符可能无法满足当前请求的需求。生成后过滤仅在消耗了束容量和推理计算资源后才会移除此类候选实体。我们研究基于明确物化的请求时间供应快照的检索,其中短输出序列几乎没有机会分摊在线约束准备的成本。我们的RTP-LLM流水线将合格的残差量化标识符编译为压缩稀疏行前缀索引,将CPU编译与模型预填充重叠执行,并在多个束间共享上传的索引。合法扩展保留原始模型的对数概率,约束状态遵循所选束的父节点。我们将快照相关的标识符有效性形式化,并将其与实体级别的合格性和新鲜度区分开来。该实现生成三词商户标识符。历史证据涵盖每日目录约束和后续请求范围的服务评估。在一个匹配束的每日约束案例中,过滤后的商户从299个候选中的170个减少到299个中的29个;残差距离过滤为请求特定约束提供了依据。与包含30000个供应条目的不同主机的比较显示,服务端延迟增加了0.6毫秒,而客户端测量则暴露了额外的请求成本。来自三个地理区域的捕获请求表征了不同供应规模和输出宽度下的行为。这些观察结果涵盖了开发阶段和测量边界,它们确立了一种实用的实现方式并识别出瓶颈,但在匹配的检索质量下未确立计算节省。

英文摘要:

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 T+1 daily-refresh 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑