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

面向亿级语义产品搜索的数据包容结构

Embracing Structure in Data for Billion-Scale Semantic Product Search

Amazon(亚马逊)

Vihan Lakshman, Choon Hui Teo, Xiaowen Chu, Priyanka Nigam, Abhinandan Patni, Pooja Maknikar, SVN Vishwanathan

摘要:

我们提出了原则性的方法,训练和部署二元神经嵌入模型在十亿规模,集中我们的调查语义产品搜索的应用。当训练二元模型时,人们试图嵌入两种不同类型的实体(例如,查询和文档或用户和电影),使得具有高相关性的对被定位在附近。在推断期间,给定一种类型的嵌入(例如,查询或用户),人们寻求检索另一类型的实体(例如,文件或电影)的高度相关。在这项工作中,我们表明,利用现实世界数据集的自然结构有助于有效地解决这两个挑战。具体来说,我们将二元数据建模为二分图,其中对之间具有正关联的边。然后,我们建议将该网络划分为语义一致的集群,从而减少我们的搜索空间集中在一个小的子集,这些分区为一个给定的输入。在训练过程中,这种技术使我们能够有效地挖掘困难的否定示例,而在推理过程中,我们可以快速找到给定嵌入的最近邻居。我们提供了离线实验结果,证明了我们的技术在十亿级Amazon.com产品搜索数据集上进行训练和推理的有效性。

英文摘要:

We present principled approaches to train and deploy dyadic neural embedding models at the billion scale, focusing our investigation on the application of semantic product search. When training a dyadic model, one seeks to embed two different types of entities (e.g., queries and documents or users and movies) in a common vector space such that pairs with high relevance are positioned nearby. During inference, given an embedding of one type (e.g., a query or a user), one seeks to retrieve the entities of the other type (e.g., documents or movies, respectively) that are highly relevant. In this work, we show that exploiting the natural structure of real-world datasets helps address both challenges efficiently. Specifically, we model dyadic data as a bipartite graph with edges between pairs with positive associations. We then propose to partition this network into semantically coherent clusters and thus reduce our search space by focusing on a small subset of these partitions for a given input. During training, this technique enables us to efficiently mine hard negative examples while, at inference, we can quickly find the nearest neighbors for a given embedding. We provide offline experimental results that demonstrate the efficacy of our techniques for both training and inference on a billion-scale Amazon.com product search dataset.

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

↑