Competitive Pricing Using Model-Based Bandits

Lukasz Sliwinski, Tanut Treetanthiploet, David Šiška, Łukasz SzpruchComputational 2025

Abstract

The use of learning algorithms for automatic price adjustments in markets is on the rise. However, these algorithms often assume that reward distributions for actions are uncorrelated and stationary, a condition that does not hold in competitive pricing environments. In this paper, we introduce a pricing environment, find conditions under which a unique Nash equilibrium exists and verify the assumptions numerically. Then, we propose a bandit algorithm that approximates the structure of the environment and extend it to accommodate non-stationary settings. We perform numerical tests in both stationary and competitive pricing environments, analysing the potential benefits and drawbacks of incorporating the structure of the environment within learning algorithms. While modelling the stationary environment improves the algorithm's performance in a stationary setting, it does not offer an advantage in pricing competitions between non-stationary learning agents.

Introduction

In modern electronic markets, prices are increasingly determined by autonomous algorithms. While these agents aim to maximize profit, their interactions create complex feedback loops. Traditional Multi-Armed Bandit (MAB) approaches often treat price points as independent "arms," ignoring the underlying economic structure where price and demand are intrinsically linked. This paper explores a model-based bandit approach that leverages this structure to improve learning efficiency, while also investigating its behavior in competitive, non-stationary settings.

The Model-Based Bandit Approach

The core innovation presented is a Stationary Logistic Model for the bandit. Unlike model-free algorithms that learn about each price point in isolation, this approach uses logistic regression to estimate the probability of a sale. By assuming that higher prices generally lead to lower sales probabilities, the agent can generalize information across the entire price space.

Probability of sale and expected reward as a function of price ($S^1$), illustrating the structural relationship used by the model-based bandit.

As shown in the figure above, the probability of a sale follows a sigmoid curve. The resulting expected reward function (price $\times$ probability) typically exhibits a single peak, providing a clear objective for optimization. To handle the non-stationarity inherent in competition—where opponents also adjust their strategies—the authors implement a Sliding Window (SW) mechanism, allowing the agent to prioritize recent data.

Theoretical and Experimental Framework

The study establishes a rigorous foundation by proving the existence and uniqueness of a Nash Equilibrium within the defined pricing environment. This provides a theoretical benchmark for evaluating the performance of learning agents.

The researchers utilized synthetic simulations to observe the interactions between agents. These simulations included:

  1. A "bottom-up" environment derived from auction micro-structures.
  2. A modified environment based on the work of Calvano et al. (2020), a benchmark in algorithmic collusion studies.

Key Findings

1. Efficiency in Stationary Environments

In stable markets where a competitor's price is fixed, the model-based logistic bandit significantly outperforms classical model-free versions. By exploiting the demand curve's structure, it reaches the optimal price point with far fewer samples. For instance, in a setup with 129 possible actions, the logistic variant achieved cumulative rewards nearly 20% higher than its classical counterpart.

2. The Paradox of Competition

When two model-based agents compete, a phenomenon termed "unfounded optimism" emerges. Because the agents "forget" older data to adapt to changes, they may erroneously conclude that higher prices are more sustainable than they truly are. This leads to a "tacit inefficiency" where both agents converge to prices above the Nash Equilibrium. While this results in higher rewards for the agents (e.g., a steady-state reward of 0.19 vs. 0.04 for classical agents), it reduces consumer surplus.

3. The "Entering Agent" Advantage

A model-based agent entering a market dominated by a classical agent possesses a distinct advantage. Its ability to rapidly learn the current market state allows it to outmaneuver the slower-adapting incumbent.

Conclusion

Incorporating environmental structure into pricing bandits offers a clear path to faster optimization in stationary settings. However, in the "moving target" of competitive markets, these smarter models can lead to unexpected outcomes, including higher market prices. Future research should focus on agents that explicitly model opponent strategies rather than treating them as environmental noise.

Reference: Sliwinski, L., Treetanthiploet, T., Siska, D., & Szpruch, L. (2025). Competitive Pricing Using Model-Based Bandits. Computational Economics, 66:4813–4867.

Summary updated

BibTeX
@inproceedings{sliwinski2025competitive,
  author = {Lukasz Sliwinski and Tanut Treetanthiploet and David Šiška and Łukasz Szpruch},
  title = {{Competitive Pricing Using Model-Based Bandits}},
  booktitle = {Computational},
  year = {2025},
  doi = {10.1007/s10614-024-10816-w},
}
Figure