Latent Variable Copula Inference for Bundle Pricing from Retail Transaction Data

Benjamin Letham, Wei Sun, Anshul SheopuriICML 2014

TL;DR: Retailers often want to offer bundle discounts but lack data on how consumers value items together. This paper introduces a statistically consistent method to infer the joint distribution of consumer valuations using only individual item transaction data, modeling their correlation via copulas.

The Bundle Pricing Challenge

To price a bundle optimally, a retailer needs to know the joint distribution of consumer valuations. For instance, if a customer is willing to pay $5 for a burger, how likely are they to also pay $2 for fries?

The challenge is that retailers rarely observe these internal "valuations." They only see binary transaction data: a customer either bought the item at a given price or they didn't. Most existing models either assume item valuations are independent—which is rarely true, as people who like burgers often like fries—or require expensive, biased consumer surveys. This paper bridges the gap by learning these hidden correlations directly from historical, individual sales data.

Methodology: Copulas and Latent Variables

The authors treat consumer valuations as latent variables. We don't observe the valuation $v$, only the purchase outcome $y=1$ if the valuation exceeds the price $x$.

The core of their approach relies on Copulas. Based on Sklar’s Theorem, a copula allows researchers to model marginal distributions (demand for individual items) separately from the dependency structure (how valuations of different items relate).

Key technical contributions include:

  • Two-Step Inference (IFM): Using "Inference Functions for Margins," the authors first fit individual demand models to get the marginals, then estimate the copula parameters to capture correlation.
  • Computational Tractability: Calculating likelihood with latent variables usually requires solving high-dimensional integrals. The authors use a "rectangular integral" formula to transform these into a simple sum of distribution function evaluations, making computation scale linearly with the number of transactions.
  • Gaussian Copula: They demonstrate the framework using the Gaussian copula, extending multivariate normal correlation structures to arbitrary marginal distributions.

Key Insights and Results

The model was evaluated using 31,500 synthetic datasets and the real-world Ta-Feng dataset (approx. 120,000 transactions from a Taiwanese warehouse club).

The Danger of the Independence Assumption

Assuming consumer valuations are independent can lead to highly suboptimal pricing. As demonstrated in the authors' simulations, an independence model predicts a completely different profit curve compared to the copula model. Ignoring correlation might cause a retailer to set a bundle price that actively hurts their bottom line, whereas the fitted copula closely tracks the true profit curve.

Profit relative to no bundling vs. bundle discount

Predictive Power on Real Data

On the Ta-Feng dataset, 10-fold cross-validation showed that the copula model consistently achieved a higher predictive log-likelihood than the independence model across all tested bundles.

Difference in log-likelihood for various bundles

Zero Bundle History Required

One of the most powerful aspects of this research is that it allows retailers to predict the success of a new bundle using only the sales history of the individual items. Because the inference is linear relative to the number of transactions, this method can be deployed on massive retail databases without specialized high-performance computing.

Limitations and Future Work

  • The "Curse of Dimensionality": While linear in transactions, the method is exponential in the number of items in the bundle ($2^n$). It works well for common 2- or 3-item bundles but won't scale to bundles of dozens of items.
  • Homogeneous Consumers: The current model assumes consumers are relatively homogeneous. While covariates can be added, the core experiments don't focus on highly segmented valuation distributions.
  • Alternative Copulas: Future work could explore copula families beyond Gaussian to better capture "tail dependencies"—situations where consumers with extremely high valuations for one item almost always have high valuations for another.

Summary updated

BibTeX
@inproceedings{letham2014latent,
  author = {Benjamin Letham and Wei Sun and Anshul Sheopuri},
  title = {{Latent Variable Copula Inference for Bundle Pricing from Retail Transaction Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2014},
  url = {https://openreview.net/forum?id=HyZRXn-ObB},
}
Figure