Doubly Fair Dynamic Pricing

Jianyu Xu, Dan Qiao, Yu-Xiang Wang

Dynamic pricing—the practice of adjusting prices in real-time based on demand—is a powerful tool for revenue optimization. However, it often raises significant ethical and legal concerns regarding fairness. If a seller offers different prices to different demographic groups, they risk reputational damage and legal scrutiny. This paper introduces the concept of "Doubly Fair" dynamic pricing, a framework that ensures fairness in both the prices offered and the prices actually paid.

The Challenge: Procedural vs. Substantive Fairness

Traditional approaches to fair pricing often focus on procedural fairness, which requires that the distribution of prices offered to different groups be identical. While this prevents overt discrimination in offers, it ignores the outcome.

Different groups often have distinct "valuation distributions"—varying levels of willingness or ability to pay. If Group A is generally wealthier than Group B, they might accept higher prices more frequently. Consequently, even if both groups are offered the same set of prices, Group A might end up paying a higher average price. This discrepancy is known as substantive unfairness.

The goal of "Doubly Fair" pricing is to maximize revenue while satisfying both constraints:

  1. Procedural Fairness: The price distribution offered must be the same for all groups.
  2. Substantive Fairness: The expected price paid by a customer, conditional on them making a purchase, must be equal across groups.

The Necessity of Randomization

A key theoretical contribution of this work is the proof that randomized pricing strategies are essential for achieving double fairness while maintaining high revenue. In a deterministic setting (where a single fixed price is chosen), the only way to be doubly fair is to charge everyone the exact same price. However, by using randomized policies—such as offering a mix of prices with specific probabilities—a seller can extract more revenue while maintaining fairness in expectation.

Acceptance rates for different groups at specific price points.

Consider a scenario with two groups, $G_1$ and $G_2$, with different acceptance rates at various price points, as shown in the table above. A fixed price might maximize revenue for one group but create significant substantive unfairness.

Expected revenue curves for two groups and their weighted average.

As illustrated in the revenue curves, the optimal "fair" strategy often involves a distribution over multiple prices. By carefully balancing these probabilities, the seller can align the expected prices paid by both groups, overcoming the limitations of a single-price approach.

The Fairly Pricing Algorithm (FPA)

To solve this problem in a learning environment where demand curves are unknown, the authors propose the Fairly Pricing Algorithm (FPA). The algorithm operates in epochs, using "buy" or "no-buy" feedback to refine its estimates.

Key Components of FPA:

  • Policy Elimination: At the end of each epoch, FPA eliminates pricing policies that are either significantly less profitable or likely to violate fairness constraints based on current demand estimates.
  • Exploration vs. Exploitation: The algorithm maintains a set of "good-and-exploratory" policies. This ensures that while the algorithm pursues profit, it also gathers enough data to accurately estimate demand at various price points.
  • Efficient Optimization: Substantive fairness constraints are non-convex and computationally challenging. The authors developed a specialized oracle that uses linear search and linear programming to find near-optimal fair policies efficiently.

Results and Performance

The FPA algorithm provides strong theoretical guarantees:

  • Zero Procedural Unfairness: The algorithm is designed to never violate procedural fairness during the learning process.
  • Optimal Regret and Substantive Fairness: FPA achieves a cumulative regret (revenue loss compared to the optimal fair policy) of $\tilde{O}(\sqrt{T})$ and a cumulative substantive unfairness of $\tilde{O}(\sqrt{T})$ over $T$ rounds.
  • Information-Theoretic Optimality: The authors prove that $\Omega(\sqrt{T})$ is the lower bound for both regret and unfairness in this setting, making FPA optimal up to logarithmic factors.

Conclusion and Future Directions

This research highlights that randomness is not just a tool for exploration, but a fundamental requirement for social justice in dynamic pricing. While FPA provides a robust framework for two-group scenarios with discrete prices, future work remains. Extending these models to handle continuous price ranges, strategic customer behavior (where buyers wait for lower random prices), and complex multi-group fairness metrics will be critical for real-world deployment.

Summary updated

BibTeX
@inproceedings{xu2023doubly,
  author = {Jianyu Xu and Dan Qiao and Yu-Xiang Wang},
  title = {{Doubly Fair Dynamic Pricing}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
}
Figure