arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.18213cs.IRcs.AI
收藏

超越双塔匹配:学习可稀疏检索的交叉交互用于推荐

Beyond Two-Tower Matching: Learning Sparse Retrievable Cross-Interactions for Recommendation

Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Zhejiang University(浙江大学)

Liangcai Su, Fan Yan, Jieming Zhu, Xi Xiao, Haoyi Duan, Zhou Zhao, Zhenhua Dong, Ruiming Tang

AI总结:

针对双塔模型特征交互受限和在线精度不足的问题,本文提出SparCode匹配范式,通过全对全交互模块和联合训练的离散稀疏倒排索引,在保持检索效率的同时显著提升候选物品匹配准确性。

摘要:

双塔模型是推荐系统中一种主流的匹配框架,已在工业界得到广泛应用。双塔匹配的成功归因于其在大规模物品集合中进行检索的高效性,因为物品塔可以预先计算并用于快速的近似最近邻(ANN)搜索。然而,它面临两大主要挑战:特征交互能力有限以及在线服务中的准确性下降。现有方法尝试设计新颖的后期交互来替代点积,但仍然无法支持复杂的特征交互,或者会损失检索效率。为了解决这些挑战,我们提出了一种名为SparCode的新匹配范式,它不仅支持复杂的特征交互,还能实现高效检索。具体而言,SparCode引入了一个全对全交互模块来建模细粒度的查询-物品交互。此外,我们设计了一种基于离散编码的稀疏倒排索引,并与模型联合训练,以实现有效且高效的模型推理。在公开基准数据集上进行了大量实验,以证明我们框架的优越性。结果表明,SparCode在保持与双塔模型相同检索效率水平的同时,显著提高了候选物品匹配的准确性。我们的源代码将在MindSpore/models上公开。

英文摘要:

Two-tower models are a prevalent matching framework for recommendation, which have been widely deployed in industrial applications. The success of two-tower matching attributes to its efficiency in retrieval among a large number of items, since the item tower can be precomputed and used for fast Approximate Nearest Neighbor (ANN) search. However, it suffers two main challenges, including limited feature interaction capability and reduced accuracy in online serving. Existing approaches attempt to design novel late interactions instead of dot products, but they still fail to support complex feature interactions or lose retrieval efficiency. To address these challenges, we propose a new matching paradigm named SparCode, which supports not only sophisticated feature interactions but also efficient retrieval. Specifically, SparCode introduces an all-to-all interaction module to model fine-grained query-item interactions. Besides, we design a discrete code-based sparse inverted index jointly trained with the model to achieve effective and efficient model inference. Extensive experiments have been conducted on open benchmark datasets to demonstrate the superiority of our framework. The results show that SparCode significantly improves the accuracy of candidate item matching while retaining the same level of retrieval efficiency with two-tower models. Our source code will be available at MindSpore/models.

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

↑