[Paper Review] SHOPPER: A Probabilistic Model of Consumer Choice with Substitutes and Complements
SHOPPER is a sequential probabilistic model that captures consumer choice dynamics by modeling substitutability and complementarity between products through learned latent item attributes and customer preferences. It enables accurate prediction of purchase behavior under price interventions and identifies complementary and substitutable product pairs using efficient variational inference on large-scale grocery shopping data.
We develop SHOPPER, a sequential probabilistic model of shopping data. SHOPPER uses interpretable components to model the forces that drive how a customer chooses products; in particular, we designed SHOPPER to capture how items interact with other items. We develop an efficient posterior inference algorithm to estimate these forces from large-scale data, and we analyze a large dataset from a major chain grocery store. We are interested in answering counterfactual queries about changes in prices. We found that SHOPPER provides accurate predictions even under price interventions, and that it helps identify complementary and substitutable pairs of products.
Motivation & Objective
- To develop a scalable, interpretable model of consumer choice that captures complex interactions between products in shopping baskets.
- To estimate unobserved forces driving consumer behavior—such as preferences, price sensitivity, and seasonal effects—from large-scale transaction data.
- To enable accurate counterfactual predictions of demand changes under price interventions.
- To identify complementary and substitutable product pairs based on observed purchase patterns.
- To design an efficient inference algorithm capable of handling unordered, high-cardinality shopping baskets at scale.
Proposed method
- SHOPPER models sequential item selection in shopping baskets using a log-bilinear probability model conditioned on customer preferences and basket-level latent representations.
- Each item is associated with a latent attribute vector $\alpha_c$ and interaction coefficients $\rho_c$, which capture how items co-occur with others in baskets.
- Customer preferences $\theta_u$ are modeled as latent vectors that reflect individual purchasing tendencies toward specific item types.
- The model incorporates price and seasonal effects as observed covariates in the choice probability function.
- An unbiased variational lower bound (ELBO) is derived using subsampled permutations and items to handle the intractable sum over all basket orderings.
- Stochastic gradient estimation is used via Algorithm 2, which subsamples baskets, permutations, and candidate items to efficiently compute gradients for optimization.
Experimental results
Research questions
- RQ1How can we model the complex interdependencies between products in consumer shopping baskets, including complementarity and substitution?
- RQ2To what extent can a probabilistic model accurately predict consumer choices under counterfactual price changes?
- RQ3Can latent attributes and customer preferences be effectively learned from large-scale, unordered shopping data?
- RQ4How do price and seasonal effects influence item selection probabilities in a sequential choice framework?
- RQ5What types of product pairs are most likely to be complementary or substitutable, and can these be reliably identified from data?
Key findings
- SHOPPER provides accurate predictions of consumer choices even under price interventions, demonstrating strong generalization to counterfactual scenarios.
- The model successfully identifies meaningful complementary and substitutable product pairs based on latent interaction patterns in the data.
- The use of subsampled permutations and candidate items enables efficient and scalable inference on large-scale grocery datasets with high-dimensional item spaces.
- Latent attributes $\alpha_c$ and customer preferences $\theta_u$ capture interpretable patterns such as preferences for baby items or dog food.
- The model’s performance is robust to the intractability of summing over all possible basket orderings, thanks to the variational bound with unbiased gradient estimation.
- The inference procedure, based on stochastic optimization, scales effectively to datasets with thousands of customers and tens of thousands of items.
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.