IterQR:一种基于大语言模型的电子商务搜索系统查询改写迭代框架
IterQR: An Iterative Framework for LLM-based Query Rewrite in e-Commercial Search System
AI总结:
本文提出IterQR迭代框架,结合RAG、CoT与在线信号收集及多任务后训练,自动生成并自纠正融合领域知识与现实世界知识的查询改写,已在美团配送搜索系统部署并显著提升效果。
摘要:
现代电子商务搜索系统的核心在于根据用户查询匹配用户意图与可用候选,从而提供个性化和精准的服务。然而,由于输入歧义和拼写错误,用户查询可能不准确,导致搜索结果不准确。这些情况可以通过查询改写来缓解:将查询修改为其他表示形式或进行扩展。然而,传统的查询改写依赖于静态改写词表,该词表是人工建立的,同时缺乏与电子商务系统中领域知识以及现实世界常识的交互。在本文中,借助大语言模型(LLMs)的文本生成能力,我们提出了一个迭代框架来生成查询改写。该框架在每次迭代中包含三阶段流程:通过检索增强生成(RAG)结合领域知识进行改写生成,并通过思维链(CoT)进行查询理解;在线信号收集,自动更新正向改写;以多任务目标对大语言模型进行后训练,以生成新的改写。我们的工作(命名为IterQR)提供了一个综合框架,用于生成结合领域知识和现实世界知识的查询改写(Query Rewrite)。它在迭代过程中自动更新并自我纠正改写。IterQR已部署在美团配送的搜索系统中(中国领先的外卖配送平台),为用户提供服务并带来了显著改进。
英文摘要:
The essence of modern e-Commercial search system lies in matching user's intent and available candidates depending on user's query, providing personalized and precise service. However, user's query may be incorrect due to ambiguous input and typo, leading to inaccurate search. These cases may be released by query rewrite: modify query to other representation or expansion. However, traditional query rewrite replies on static rewrite vocabulary, which is manually established meanwhile lacks interaction with both domain knowledge in e-Commercial system and common knowledge in the real world. In this paper, with the ability to generate text content of Large Language Models (LLMs), we provide an iterative framework to generate query rewrite. The framework incorporates a 3-stage procedure in each iteration: Rewrite Generation with domain knowledge by Retrieval-Augmented Generation (RAG) and query understanding by Chain-of-Thoughts (CoT); Online Signal Collection with automatic positive rewrite update; Post-training of LLM with multi task objective to generate new rewrites. Our work (named as IterQR) provides a comprehensive framework to generate \textbf{Q}uery \textbf{R}ewrite with both domain / real-world knowledge. It automatically update and self-correct the rewrites during \textbf{iter}ations. \method{} has been deployed in Meituan Delivery's search system (China's leading food delivery platform), providing service for users with significant improvement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。