English

Embracing Structure in Data for Billion-Scale Semantic Product Search

Information Retrieval 2021-10-13 v1 Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2110.06125,
  title  = {Embracing Structure in Data for Billion-Scale Semantic Product Search},
  author = {Vihan Lakshman and Choon Hui Teo and Xiaowen Chu and Priyanka Nigam and Abhinandan Patni and Pooja Maknikar and SVN Vishwanathan},
  journal= {arXiv preprint arXiv:2110.06125},
  year   = {2021}
}

Comments

10 pages

R2 v1 2026-06-24T06:49:54.131Z