Abstract
We study the problem of learning shared structure across a sequence of dynamic pricing experiments for related products. We consider a practical formulation where the unknown demand parameters for each product come from an unknown distribution (prior) that is shared across products. We propose a meta dynamic pricing algorithm that learns this prior online while solving a sequence of Thompson sampling pricing experiments (each with horizon $T$) for $N$ different products. Our algorithm addresses two challenges: (i) balancing the need to learn the prior (meta-exploration) with the need to leverage the estimated prior to achieve good performance (meta-exploitation), and (ii) accounting for uncertainty in the estimated prior by appropriately "widening" the estimated prior as a function of its estimation error. We introduce a novel prior alignment technique to analyze the regret of Thompson sampling with a mis-specified prior. Unlike prior-independent approaches, our algorithm's meta regret grows sublinearly in $N$, demonstrating that the price of an unknown prior in Thompson sampling can be negligible in experiment-rich environments. Numerical experiments on synthetic and real auto loan data demonstrate that our algorithm significantly speeds up learning compared to prior-independent algorithms.
Introduction
In modern e-commerce and financial services, firms frequently conduct thousands of pricing experiments. Traditionally, these experiments are treated as isolated learning problems. For instance, a retailer might start a pricing strategy from scratch for every new product, ignoring the fact that related items—such as different styles of apparel or various tiers of auto loans—often share underlying demand characteristics. This "isolated" approach is inefficient, leading to a persistent "cold start" problem where the algorithm explores excessively, resulting in lost revenue.
While Thompson Sampling (TS) is the gold standard for balancing exploration and exploitation in dynamic pricing, its efficiency depends heavily on an accurate "prior" distribution of demand parameters. In practice, this prior is rarely known. This research introduces a meta-learning framework designed to learn the shared prior across a sequence of products, effectively transferring knowledge from past experiments to accelerate learning for new ones.
Methodology: Meta-DP and Meta-DP++
The proposed framework introduces two primary algorithms designed to learn the shared structure of demand:
- Meta-DP: Optimized for settings where the covariance of the prior is known, but the mean remains unknown.
- Meta-DP++: A generalized version that learns both the unknown mean and the unknown covariance of the prior distribution.
The Two-Phase Learning Strategy
Both algorithms utilize a strategic two-phase approach to manage the transition from ignorance to informed pricing:
- Meta-Exploration: For the initial set of products, the algorithm employs a prior-independent version of Thompson Sampling. This phase ensures robust performance while gathering the necessary data to form a reliable initial estimate of the shared demand structure.
- Meta-Exploitation: For subsequent products, the algorithm utilizes Ordinary Least Squares (OLS) estimates from completed experiments to refine the estimate of the shared prior. It then executes standard Thompson Sampling using this learned prior to optimize pricing for the current product.
Technical Innovations
To ensure stability and theoretical convergence, the authors introduced two key innovations:
- Prior Widening: Early estimates of a prior are inherently noisy. If an algorithm is too confident in an inaccurate prior, it may converge on suboptimal prices. Meta-DP++ addresses this by "widening" the estimated prior covariance based on the current estimation error, gradually narrowing it as more products are observed and the estimate becomes more precise.
- Prior Alignment: The researchers developed a novel theoretical technique called "prior alignment" to analyze regret under a mis-specified prior. This technique proves that even with an imperfect initial prior, the algorithm’s internal beliefs (posteriors) will eventually align with those of an "oracle" that possessed the true prior from the beginning.
Empirical Evaluation
The effectiveness of the Meta-DP framework was validated using both synthetic and real-world datasets.
Synthetic Data
In a controlled environment involving 700 products and 300 time periods per product, Meta-DP demonstrated the ability to achieve nearly zero additional regret after the initial exploration phase. The total regret of standard prior-independent approaches was found to be 39% higher than the Meta-DP approach, highlighting the efficiency of meta-learning.
Real-World Auto Loan Data
The researchers applied Meta-DP++ to a dataset of 208,085 loan applications from a major US lender (2002–2004). By segmenting these into 589 unique "products" based on borrower geography, loan terms, and vehicle types, the study showed that Meta-DP++ significantly outperformed prior-free benchmarks and existing state-of-the-art algorithms like ILSX. This suggests that the learned shared prior is highly informative even in complex, real-world environments where demand may not perfectly follow a Gaussian distribution.
Key Insights and Conclusion
This research demonstrates that the "price of ignorance" regarding a prior distribution is negligible in experiment-rich environments. By learning the shared structure across experiments, firms can achieve sublinear meta-regret, meaning the average performance per product improves as the number of experiments increases.
A critical takeaway is the sensitivity of Thompson Sampling to covariance; while TS is robust to errors in the prior mean, it is highly sensitive to errors in covariance. This makes the "prior widening" mechanism essential for practical applications. Future work may extend these "prior alignment" techniques to other bandit problems, such as clinical trials, where historical data can significantly inform the treatment of new patient cohorts.
Summary updated