[Paper Review] Studying Product Competition Using Representation Learning
This paper introduces Product2Vec, a representation learning method based on Word2Vec that generates low-dimensional product embeddings from shopping basket data to model product-level competition. By modifying Word2Vec to remove price influence and incorporating economic theory, the method enables accurate forecasting of demand and price elasticities, outperforming state-of-the-art models in speed and accuracy while distinguishing between complements and substitutes.
Studying competition and market structure at the product level instead of brand level can provide firms with insights on cannibalization and product line optimization. However, it is computationally challenging to analyze product-level competition for the millions of products available on e-commerce platforms. We introduce Product2Vec, a method based on the representation learning algorithm Word2Vec, to study product-level competition, when the number of products is large. The proposed model takes shopping baskets as inputs and, for every product, generates a low-dimensional embedding that preserves important product information. In order for the product embeddings to be useful for firm strategic decision making, we leverage economic theories and causal inference to propose two modifications to Word2Vec. First of all, we create two measures, complementarity and exchangeability, that allow us to determine whether product pairs are complements or substitutes. Second, we combine these vectors with random utility-based choice models to forecast demand. To accurately estimate price elasticities, i.e., how demand responds to changes in price, we modify Word2Vec by removing the influence of price from the product vectors. We show that, compared with state-of-the-art models, our approach is faster, and can produce more accurate demand forecasts and price elasticities.
Motivation & Objective
- To address the computational challenge of analyzing product-level competition across millions of products on e-commerce platforms.
- To develop a scalable, automated method that identifies both inter-brand and intra-brand competitive relationships without human input or predefined market segments.
- To improve demand forecasting and price elasticity estimation by integrating economic theory into representation learning.
- To differentiate between product complements and substitutes using learned embeddings, enabling strategic product line optimization.
- To reduce computational burden while maintaining or improving prediction accuracy compared to existing models.
Proposed method
- The method adapts Word2Vec to treat shopping baskets as sentences and products as words, generating low-dimensional embeddings that preserve co-occurrence patterns.
- It introduces two metrics—complementarity and exchangeability—derived from vector similarity to classify product pairs as complements or substitutes.
- To estimate price elasticities accurately, the model removes the influence of price from product embeddings using a control function approach to address price endogeneity.
- The embeddings are combined with random utility-based choice models to forecast consumer choices, improving prediction speed and accuracy.
- The approach is trained on large-scale basket data and operates efficiently on standard hardware, unlike GPU-dependent alternatives.
- The model is validated by comparing out-of-sample hit rates and price elasticity estimates against state-of-the-art models like SHOPPER.
Experimental results
Research questions
- RQ1How can representation learning be adapted to model product-level competition at scale across millions of products?
- RQ2Can product embeddings derived from shopping baskets effectively distinguish between complementary and substitutable products?
- RQ3To what extent can embedding-based models improve the accuracy and speed of demand forecasting compared to traditional fixed-effects or attribute-based models?
- RQ4How does removing price influence from product embeddings affect the estimation of price elasticities?
- RQ5How does the proposed method compare in performance and efficiency to recent large-scale choice models like SHOPPER?
Key findings
- The Product2Vec model reduces training time by 94% compared to traditional choice models with product fixed effects or observable attributes.
- The model increases out-of-sample hit rates by 4%, from 14.2% to 14.8%, when forecasting consumer choices.
- Compared to the SHOPPER model, Product2Vec achieves a higher out-of-sample hit rate of 14.1% versus 12.8% using 20-dimensional vectors.
- The model's estimated price elasticity coefficient is significantly higher (−3.166) than SHOPPER’s (−1.701), suggesting better handling of price endogeneity.
- The complementarity and exchangeability measures successfully identify top-3 complement and substitute products, validating their economic interpretability.
- The method is highly scalable and runs efficiently on standard personal computers, unlike GPU-dependent models such as SHOPPER.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.