Introduction
In traditional dynamic pricing, demand is often modeled as "memoryless," where the quantity sold depends solely on the current price. However, real-world consumer behavior is frequently influenced by price history—a phenomenon known as reference effects. Consumers often compare current prices to past observations (anchoring) or wait for anticipated discounts (strategic waiting). This creates a complex environment for sellers where every pricing decision has delayed consequences: a deep discount today might spike immediate sales but lower the "reference price," potentially hurting future revenue.
This paper introduces Thompson Pricing (TP), a reinforcement learning framework designed to navigate this exploration-exploitation trade-off in the presence of time-varying dependencies. By accounting for the long-term impact of current prices, TP provides a systematic approach to maximizing revenue over multiple sales cycles.
The Thompson Pricing (TP) Framework
The authors frame dynamic pricing with reference effects as an episodic reinforcement learning problem. Unlike standard Thompson Sampling, which often focuses on immediate rewards, Thompson Pricing optimizes for the entire trajectory of prices within an episode (e.g., a sales season).
Algorithm Overview
The core of the TP algorithm involves maintaining and updating a belief about the demand model. At the start of each episode $k$, the seller samples a candidate model $\hat{\theta}_k$ from the current posterior distribution. This sampled model is treated as the ground truth for the duration of the episode. The seller then solves a dynamic programming (DP) problem to find the optimal sequence of prices $\mathbf{p}_k$ that maximizes expected revenue under the sampled model.
After executing the price sequence and observing the resulting demand, the seller updates the history $\mathcal{H}_{k+1}$ and refines the posterior distribution for the next episode. For linear demand models, the authors demonstrate that the DP step can be simplified into a computationally efficient quadratic optimization problem, making the approach tractable for practical applications.
Theoretical Foundations and Complexity
A significant contribution of this work is the establishment of strong theoretical guarantees. The authors utilize advanced mathematical tools to bound the "regret"—the difference between the revenue earned by TP and the revenue that would have been earned by an omniscient seller knowing the true demand model.
Regret Bounds and Dimension Metrics
The paper establishes a regret bound of $O(\sqrt{K} \log K)$, where $K$ represents the number of episodes. This indicates that as the seller gains more experience, the average loss per period converges to zero. To prove these bounds, the authors employ two complexity metrics:
- Kolmogorov Dimension: Measures the difficulty of fitting the demand model class.
- Eluder Dimension: Quantifies the complexity of exploring the model space to reduce uncertainty.
These metrics allow the framework to handle demand functions with long-term dependencies, where the effect of a price choice may persist across multiple time steps.
Experimental Evaluation
Since real-world datasets with granular price-history dependencies are scarce, the authors evaluate TP using sophisticated simulated environments. These simulations cover various scenarios, including linear demand regimes, varying consumer memory durations (from 2 to 14 periods), and multi-product settings with cross-price elasticities.
Key Findings
- Strategic Sequencing: TP learns to "invest" in lower prices early in a season to build favorable reference effects, eventually reaping higher rewards. This contrasts with memoryless models that often converge to a sub-optimal constant price.
- Failure of Myopic Strategies: The study shows that "greedy" versions of Thompson Sampling, which only optimize for the next immediate period, fail to converge to the global optimum. Planning for future consequences is essential.
- Impact of Consumer Memory: As the memory duration ($n$) increases, the learning problem becomes more difficult, leading to higher initial regret. However, TP consistently converges to the optimal strategy regardless of the memory length.
- Superiority over Baselines: TP outperforms "certainty equivalence" strategies (which ignore exploration) and "dithering" strategies (which use random noise for exploration), demonstrating the efficiency of posterior sampling in high-dimensional pricing spaces.
Conclusion and Future Directions
Thompson Pricing provides the first tractable framework for dynamic pricing that explicitly accounts for reference effects. By integrating reinforcement learning with dynamic programming, the authors bridge the gap between theoretical regret minimization and practical revenue management.
While the current work focuses on linear models and simulated environments, future research could explore non-linear demand functions where the DP step might require more complex optimization techniques. Additionally, validating these algorithms in live e-commerce settings—where data is often non-stationary and noisy—remains a critical next step for the field.
Summary updated