Robust Contextual Pricing

Anupam Gupta, Guru Guruganesh, Renato Paes Leme, Jon SchneiderNeurIPS 2025

Overview

Setting the right price for products based on their features is a fundamental challenge in economics and machine learning. This challenge is compounded when some buyers act irrationally or when an adversary corrupts the data. This paper presents a major leap in "robust contextual pricing," achieving a significantly tighter regret bound of $O(Cd \log \log T)$. By treating existing pricing algorithms as a "black box," the authors prove that while robust pricing is fundamentally harder than other search problems, it can be solved much more efficiently and simply than previously thought.

The Contextual Pricing Problem

Imagine a seller using machine learning to price items based on their features (the context). In each round $t$, the seller observes a product's feature vector $x_t$, posts a price $p_t$, and observes a binary outcome: whether the buyer purchased the item or not.

The goal is to maximize revenue, but the seller faces a classic "learn-and-earn" dilemma. Pricing too high yields no sale and no information about the buyer's true valuation; pricing too low guarantees a sale but leaves money on the table. This problem is notoriously difficult because the loss function is asymmetric and discontinuous—missing a sale by one cent is a total loss, while underpricing by one cent is merely a marginal reduction in profit.

The authors tackle the corrupted version of this problem. Out of $T$ total rounds, $C$ rounds feature arbitrary or adversarial buyer behavior (e.g., refusing a fair price or buying an overpriced item). Previous solutions to this noisy setting were mathematically bloated, requiring researchers to modify the internal logic of existing pricing algorithms, and yielded a regret bound of $O(d^3 C \log^2 T)$.

A Black-Box Reduction Methodology

The paper’s primary contribution is a black-box reduction. Instead of inventing a new pricing algorithm from scratch, the authors use existing "uncorrupted" algorithms (specifically, state-of-the-art methods) as subroutines.

The algorithm operates through the following mechanisms:

  1. Parallel Experts: The system maintains $C+1$ parallel copies of an uncorrupted pricing algorithm.
  2. The "Max-Price" Strategy: In each round, the seller queries every active copy for a suggested price and posts the maximum of these prices.
  3. Smart Updates:
    • If the item sells, the seller randomly picks one active copy to update with the "sale" feedback.
  4. If the item doesn't sell, the seller updates the specific copy that suggested the maximum price. If a copy suggests too many "no-sales," it is flagged as likely corrupted and discarded.
  5. Layering for Unknown $C$: If the total number of corruptions $C$ is not known beforehand, the authors employ a multi-layer approach where copies are updated with exponentially decreasing probabilities, ensuring at least one copy remains "clean" with high probability.

The brilliance of the "Max-Price" strategy lies in its risk mitigation: by posting the maximum price among experts, the loss in a "sale" round is at most the loss of any individual expert. This allows the seller to effectively "charge" the loss of the ensemble to a single optimal benchmark.

Key Theoretical Results

As a theoretical computer science paper, the results are established through mathematical proofs and complexity analysis rather than empirical datasets.

  • Improved Regret Bound: The new algorithm achieves a regret of $O(Cd \log \log T)$. This is a massive improvement over the previous best bound, scaling much better with the dimensionality $d$ and the time horizon $T$.
  • Pricing is Fundamentally Harder: The authors provide a lower bound proof showing that no deterministic algorithm can achieve $O(C + d \log \log T)$ regret. This proves that robustifying pricing is strictly harder than robustifying other search problems (like $\epsilon$-ball loss), where corruptions only add an additive overhead ($+C$). In pricing, the overhead must be multiplicative due to the "all-or-nothing" nature of a sale.
  • The Cautious Buyer: The paper identifies a specific behavioral model called the "cautious buyer"—someone who might not buy when they should, but never buys when they shouldn't. For this one-sided corruption, the authors discovered a much faster algorithm with only $O(C + \log T)$ regret.

Limitations and Future Directions

While the paper establishes strong theoretical foundations, several open questions remain:

  • Deterministic vs. Randomized: The lower bound specifically rules out deterministic algorithms. Whether a randomized algorithm could break the $O(C + \dots)$ barrier remains an open question for future research.
  • Contextual Cautious Buyers: The highly efficient $O(C + \log T)$ algorithm for the "cautious buyer" was established in a non-contextual setting. Extending this to high-dimensional contextual settings is a logical next step.
  • Computational Efficiency: While the regret is low, the algorithm requires running $C+1$ parallel instances of a pricing sub-routine. As the number of corruptions $C$ grows very large, this could become computationally intensive in practice.

Summary updated

BibTeX
@inproceedings{gupta2025robust,
  author = {Anupam Gupta and Guru Guruganesh and Renato Paes Leme and Jon Schneider},
  title = {{Robust Contextual Pricing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=eHm1EdLypn},
}
Figure