arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.01403cs.IRcs.AIcs.CL
收藏

生成式检索与对齐模型:电商检索的新范式

Generative Retrieval and Alignment Model: A New Paradigm for E-commerce Retrieval

Ming Pang, Chunyuan Yuan, Xiaoyu He, Zheng Fang, Donghao Xie, Fanyi Qu, Xue Jiang, Changping Peng, Zhangang Lin, Ching Law, Jingping Shao

AI总结:

本文提出电商检索新范式GRAM,通过联合训练查询和产品文本生成共享标识符代码,并采用共同对齐策略和评分机制优化检索效率,显著优于传统及最新生成式检索模型。

摘要:

传统的稀疏和密集检索方法难以利用通用世界知识,且往往无法捕捉查询和产品的细微特征。随着大型语言模型(LLMs)的出现,工业搜索系统已开始采用LLMs为产品检索生成标识符。常用的标识符包括(1)静态/语义ID和(2)产品词项集合。第一种方法需要从头创建产品ID系统,错失了LLMs中嵌入的世界知识。第二种方法虽利用了这一通用知识,但查询与产品在词分布上的显著差异意味着基于产品的标识符往往与用户搜索查询对齐不佳,导致产品召回遗漏。此外,当查询包含大量属性时,这些算法会生成大量标识符,使其质量难以评估,从而导致整体召回效率低下。为了应对这些挑战,本文提出了一种新颖的电商检索范式:生成式检索与对齐模型(GRAM)。GRAM对来自查询和产品的文本信息进行联合训练,以生成共享的文本标识符代码,有效弥合了查询与产品之间的差距。这种方法不仅增强了查询与产品之间的联系,还提升了推理效率。该模型采用共同对齐策略来生成代码,以最大化检索效率。此外,它引入了一种查询-产品评分机制,用于比较不同代码间的产品价值,进一步提升检索效率。广泛的离线和在线A/B测试表明,GRAM显著优于传统模型和最新的生成式检索模型,证实了其有效性和实用性。

英文摘要:

Traditional sparse and dense retrieval methods struggle to leverage general world knowledge and often fail to capture the nuanced features of queries and products. With the advent of large language models (LLMs), industrial search systems have started to employ LLMs to generate identifiers for product retrieval. Commonly used identifiers include (1) static/semantic IDs and (2) product term sets. The first approach requires creating a product ID system from scratch, missing out on the world knowledge embedded within LLMs. While the second approach leverages this general knowledge, the significant difference in word distribution between queries and products means that product-based identifiers often do not align well with user search queries, leading to missed product recalls. Furthermore, when queries contain numerous attributes, these algorithms generate a large number of identifiers, making it difficult to assess their quality, which results in low overall recall efficiency. To address these challenges, this paper introduces a novel e-commerce retrieval paradigm: the Generative Retrieval and Alignment Model (GRAM). GRAM employs joint training on text information from both queries and products to generate shared text identifier codes, effectively bridging the gap between queries and products. This approach not only enhances the connection between queries and products but also improves inference efficiency. The model uses a co-alignment strategy to generate codes optimized for maximizing retrieval efficiency. Additionally, it introduces a query-product scoring mechanism to compare product values across different codes, further boosting retrieval efficiency. Extensive offline and online A/B testing demonstrates that GRAM significantly outperforms traditional models and the latest generative retrieval models, confirming its effectiveness and practicality.

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

↑