arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.02555cs.IR
收藏

相关性至关重要:一种多任务和多阶段大型语言模型方法用于电子商务查询重写

Relevance Matters: A Multi-Task and Multi-Stage Large Language Model Approach for E-commerce Query Rewriting

Tsinghua University(清华大学);JD.com, Beijing, China(京东)

Aijun Dai, Jixiang Zhang, Haiqing Hu, Guoyu Tang, Lin Liu, Ziguang Cheng

AI总结:

本文提出一种基于多任务和多阶段的大型语言模型方法,用于提升电子商务查询重写的相关性和用户转化效果。

摘要:

对于电子商务搜索,用户体验是通过用户对返回产品的行为反应来衡量的,例如点击通过率和转化率,以及返回产品与搜索查询之间的相关性。因此,相关性和用户转化构成了查询重写中的两个主要目标,这是一种弥合用户表达与产品描述之间语义差距的策略。本研究提出了一种基于大型语言模型(LLMs)的多任务和多阶段查询重写框架。关键在于,与以往主要强调重写查询生成的研究不同,我们将相关性任务注入到查询重写中。具体而言,利用在京东.com上预训练的模型,该方法首先进行多任务监督微调(SFT),包括重写查询生成任务和查询与重写之间的相关性标记任务。随后,我们采用分组相对策略优化(GRPO)对模型的目标进行对齐,以增强相关性和刺激用户转化。通过离线评估和在线A/B测试,我们的框架展示了电子商务查询重写效果的显著提升,从而提高了搜索结果的相关性并提高了每位用户的购买数量(UCVR)。自2025年8月起,我们的方法已在京东.com,中国领先的在线购物平台之一上实施。

英文摘要:

For e-commerce search, user experience is measured by users' behavioral responses to returned products, like click-through rate and conversion rate, as well as the relevance between returned products and search queries. Consequently, relevance and user conversion constitute the two primary objectives in query rewriting, a strategy to bridge the lexical gap between user expressions and product descriptions. This research proposes a multi-task and multi-stage query rewriting framework grounded in large language models (LLMs). Critically, in contrast to previous works that primarily emphasized rewritten query generation, we inject the relevance task into query rewriting. Specifically, leveraging a pretrained model on user data and product information from JD.com, the approach initiates with multi-task supervised fine-tuning (SFT) comprising of the rewritten query generation task and the relevance tagging task between queries and rewrites. Subsequently, we employ Group Relative Policy Optimization (GRPO) for the model's objective alignment oriented toward enhancing the relevance and stimulating user conversions. Through offline evaluation and online A/B test, our framework illustrates substantial improvements in the effectiveness of e-commerce query rewriting, resulting in elevating the search results' relevance and boosting the number of purchases made per user (UCVR). Since August 2025, our approach has been implemented on JD.com, one of China's leading online shopping platforms.

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

↑