NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Regret Analysis of Bilateral Trade

Nicolò Cesa-Bianchi, Tommaso Cesari, Roberto Colomboni, Federico Fusco, Stefano Leonardi · DOI

TL;DR

This paper casts the classic economic problem of bilateral trade into an online learning framework, analyzing how an intermediary can maximize the "gain from trade" over $T$ rounds without any prior knowledge of buyer and seller valuations. The authors provide a complete characterization of the regret regimes, proving that tight bounds range from $\widetilde{\Theta}(\sqrt{T})$ under full feedback to $\widetilde{\Theta}(T^{2/3})$ under realistic posted-price feedback, alongside several linear regret impossibility results.

What Problem Does This Paper Address?

Bilateral trade is a foundational problem in economics involving a strategic seller and a strategic buyer looking to trade a single good. The seller has a private valuation $s$ (the minimum they will accept), and the buyer has a private valuation $b$ (the maximum they will pay). An intermediary sets a price $p$; a trade successfully occurs if and only if $s \le p \le b$.

A famous impossibility result by Myerson and Satterthwaite (1983) proved that no trade mechanism can be simultaneously efficient, incentive-compatible, individually rational, and budget-balanced. To circumvent this, researchers have long studied fixed-price mechanisms that approximate optimal efficiency. However, traditional approaches assume the intermediary either knows the probability distributions of the valuations beforehand or has black-box sample access to them.

This paper removes these unrealistic assumptions by framing bilateral trade as a regret minimization problem over $T$ sequential rounds. The goal is to determine how close an online algorithm can get to the performance of the best fixed price chosen in hindsight, without any prior knowledge of the valuation distributions.

Methods

The authors analyze the problem under two distinct feedback models:

  1. Full Feedback (Direct Revelation): The mechanism learns the exact valuations $(s_t, b_t)$ at the end of each round.
  2. Realistic Feedback (Posted-Price): The mechanism only learns whether the seller and buyer accepted or rejected the posted price $p_t$ (i.e., binary indicators $\mathbb{I}\{s_t \le p_t\}$ and $\mathbb{I}\{p_t \le b_t\}$).

They introduce two novel algorithms to handle these settings:

  • Follow the Best Price (FBP): Designed for the full-feedback setting, this algorithm uses historical valuation data to construct an empirical distribution and sequentially selects the price that maximizes the expected gain from trade based on past observations.
  • Scouting Bandits (SB): Designed for the more challenging realistic-feedback setting. It works by splitting the timeline. First, a global exploration phase ("scouting") uniformly samples prices across the $[0,1]$ interval to estimate the global integral components of the expected gain from trade. Second, it feeds these estimates into a standard multi-armed bandit algorithm (like UCB or Action Elimination) to optimize the remaining local components of the price space.

For proving lower bounds, the authors develop two general structural tools for sequential games—an Embedding Lemma and a Simulation Lemma—to formally reduce partial monitoring games to their bilateral trade settings.

Datasets

Not discussed in the paper. The work is purely theoretical and does not use empirical datasets or experimental evaluations.

Key Insights and Ideas

  • The Feedback Penalty: Moving from full feedback to realistic posted-price feedback fundamentally changes the complexity of the learning problem, shifting the optimal regret bound from $\sqrt{T}$ to $T^{2/3}$.
  • Observability & Concentration Pathologies: Under realistic feedback, achieving sublinear regret requires two strict conditions: independent valuations (iv) and bounded densities (bd). Dropping independence causes a lack of observability where distinct joint distributions look identical to the mechanism. Dropping bounded density creates a needle in a haystack problem, where valuation distributions can be so infinitely concentrated that finding the single optimal price becomes statistically impossible in finite time.
  • Adversarial Impossibility: In many online learning settings, moving from a stochastic to an adversarial environment merely degrades the regret rate. In bilateral trade, an adversarial environment completely breaks the ability to learn, forcing a linear $\Theta(T)$ regret even if the mechanism receives full feedback.

Key Results

The paper completely maps out the minimax regret landscape across different environments and feedback types, as summarized in the table below:

Summary of Regret Bounds for Fixed-Price Mechanisms
  • Full Feedback (Stochastic): Achieves a tight regret bound of $\widetilde{\Theta}(\sqrt{T})$ using the Follow the Best Price algorithm.
  • Realistic Feedback (Stochastic + Independent + Bounded Density): Achieves a tight regret bound of $\widetilde{\Theta}(T^{2/3})$ via the Scouting Bandits algorithm.
  • Impossibility Results: The authors prove that if either independence or bounded density is dropped under realistic feedback, or if the environment is adversarial, no algorithm can achieve sublinear regret, resulting in a worst-case linear regret of $\Theta(T)$.

Limitations and Future Work

  • Single Buyer/Seller Focus: The current framework is strictly limited to bilateral trade (one buyer, one seller). A natural next step is extending this regret analysis to larger two-sided markets with multiple buyers and sellers.
  • Strict Budget Balance: The paper focuses on fixed-price mechanisms that maintain strong budget balance. The authors note that exploring weak budget balance mechanisms might unlock sublinear regret rates for settings where valuations are correlated.
  • Horizon Dependence: The Scouting Bandits algorithm requires knowing the time horizon $T$ in advance to balance the scouting and bandit phases appropriately (though the authors note a standard doubling trick can mitigate this).

Summary updated

BibTeX
@misc{cesabianchi2021regret,
  author = {Nicolò Cesa-Bianchi and Tommaso Cesari and Roberto Colomboni and Federico Fusco and Stefano Leonardi},
  title = {{A Regret Analysis of Bilateral Trade}},
  year = {2021},
  eprint = {2102.08754},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.08754},
}
Figure