Studying Product Competition Using Representation Learning

Fanglin Chen, Xiao Liu, Davide Proserpio, Isamar Troncoso, Feiyu XiongSIGIR 2020

Introduction

In the rapidly expanding world of e-commerce, firms manage millions of Stock Keeping Units (SKUs). Understanding how these products compete—identifying which items are substitutes and which are complements—is critical for effective pricing, inventory management, and recommendation systems. However, traditional economic "choice models" often fail to scale to this magnitude. This paper introduces Product2Vec, a scalable framework that adapts Natural Language Processing (NLP) techniques to analyze product competition with high efficiency and accuracy.

The Scaling Problem in E-commerce

Standard economic models typically require a unique parameter for every product or rely on manually curated attributes (e.g., "organic" or "low-fat"). This approach is computationally prohibitive for millions of items and often fails to capture subjective qualities like brand prestige or aesthetic appeal. Furthermore, traditional models struggle to distinguish between complements (items purchased together, like cereal and milk) and substitutes (items purchased instead of each other, like two different cereal brands) when they appear in similar shopping contexts.

Methodology: From Word2Vec to Product2Vec

The authors build on the Word2Vec framework, treating shopping baskets as "sentences" and products as "words." The core principle is distributional similarity: products appearing in similar baskets likely share similar latent attributes. To make these embeddings economically robust, the researchers introduced three key innovations:

  1. Price De-biasing (rp2v): Standard embeddings can be biased by price similarities. The authors added price as an explicit, non-trainable dimension to "soak up" price effects, leaving other dimensions to represent intrinsic product attributes.
  2. Complementarity vs. Exchangeability: The model defines Complementarity based on co-occurrence frequency and Exchangeability using KL divergence to measure if products interact with the rest of the store in the same way. High exchangeability combined with low complementarity identifies likely substitutes.
  3. Choice Model Integration: These latent vectors are integrated into a "Mixed Logit" model, reducing the need to estimate thousands of individual parameters.
Table 2: Examples of product relationships identified by the model, distinguishing between complements (bought together) and exchangeable items (substitutes).

Performance and Accuracy

The study utilized the IRI scanner panel data, covering 30 product categories and over 13,000 unique products. The results demonstrate that representation learning captures subtle consumer preferences more effectively than manually selected attributes.

As shown in the performance comparison below, the rp2v model achieved a 94% reduction in run time compared to the "Target" model—dropping from nearly 9 hours to just over 30 minutes. Despite this speedup, it improved accuracy, achieving a 14.8% out-of-sample hit rate, outperforming both the gold-standard Target model (14.2%) and traditional attribute-based models (12.2%).

Table 1: Comparison of model performance across various metrics, highlighting the significant reduction in run time and improved hit rates for the rp2v model.

Conclusion

Product2Vec offers a powerful, scalable solution for demand forecasting and competitive analysis in large-scale retail environments. By isolating price effects and mathematically distinguishing between complements and substitutes, the model provides economically valid insights that outperform traditional methods in both speed and predictive power. While future work may explore dynamic preferences and sequential basket data, this framework represents a significant step forward in applying representation learning to economic choice modeling.

Summary updated

BibTeX
@inproceedings{chen2020studying,
  author = {Fanglin Chen and Xiao Liu and Davide Proserpio and Isamar Troncoso and Feiyu Xiong},
  title = {{Studying Product Competition Using Representation Learning}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2020},
  doi = {10.1145/3397271.3401041},
}
Figure