Online two-sided markets: many buyers enhance learning

Anna Lunghi, Matteo Castiglioni, Alberto Marchesi

TL;DR

This paper demonstrates that adding multiple buyers to a repeated two-sided market provides a massive informational advantage that makes optimal trading mechanisms learnable. By leveraging competition in a second-price auction, the authors design an adaptive grid algorithm that breaks established single-buyer lower bounds, achieving an assumption-free $\tilde{O}(T^{2/3})$ regret bound for strong budget-balanced markets.

What Problem Does This Paper Address?

The authors study online mechanism design for two-sided markets consisting of a single seller and multiple buyers. The goal of the mechanism designer is to maximize the Gain From Trade (GFT)—the difference between the winning buyer's valuation and the seller's valuation—over $T$ rounds, without knowing the underlying valuation distributions.

Crucially, the designer must satisfy budget balance constraints to ensure they do not lose money subsidizing the market. This can be enforced per round (Strong Budget Balance - SBB) or over the entire time horizon (Global Budget Balance - GBB).

In classic bilateral trade (1 buyer, 1 seller), learning an optimal mechanism is notoriously difficult because the designer only receives "two-bit" feedback: did the buyer and seller accept or reject the proposed prices? Prior work proved that without strict assumptions (like a bounded probability density), the optimal mechanism is completely unlearnable, resulting in a linear $\Omega(T)$ regret bound. This paper investigates whether expanding the market to multiple buyers can provide enough of an informational advantage to break these impossibility results.

Methods

The core innovation is exploiting the asymmetric feedback generated by multiple buyers. Instead of proposing a fixed price to a single buyer, the mechanism designer runs a second-price auction with a reserve price $q_t$ among the buyers before proposing a price $p_t$ to the seller. Because buyers must compete to win, those with valuations above the reserve price are forced to reveal their exact valuations.

To turn this feedback into low-regret pricing strategies, the authors introduce three main algorithmic techniques:

  1. An Adaptive Grid for GFT: Standard uniform grids fail when valuation distributions contain sharp, unknown discontinuities ("needles in a haystack"). The authors design an initial exploration phase ($q_t = 0$) to gather exact buyer valuations and construct an adaptive grid. This grid places more points in regions with high probability mass and fewer points in low-density areas, mimicking a bounded density condition.
  2. Successive Arm Elimination with Precedences (SAE-P): For the two-dimensional GBB setting, the authors model the problem as a constrained Multi-Armed Bandit (MAB) with a feedback graph. They exploit the monotonicity of costs (revenue): if a specific price pair is unfeasible, more aggressive pricing options on that same line are also unfeasible, allowing the algorithm to safely prune the action space.
  3. An Additive-Multiplicative Grid for Revenue: To satisfy GBB constraints without violating the budget early on, the authors introduce a specialized grid ($F_K$) designed to maximize revenue during the initial rounds, building a financial buffer to absorb the costs of later exploration.

Datasets

Not discussed in the paper. This is a purely theoretical work; the algorithms are evaluated using mathematical proofs and synthetic adversarial distribution designs (such as the counterexample presented in Example 1).

Key Insights and Ideas

  • Competition as a Data Source: Counterintuitively, adding more participants to the market makes the optimization problem easier to learn, not harder. The strategic behavior of competing buyers converts a blind bandit problem into a highly informative asymmetric feedback setting.
  • Adaptive Discretization Beats Uniform Grids: When dealing with continuous, discontinuous reward functions, uniform sampling is highly inefficient. Constructing a grid dynamically based on observed sample density allows the algorithm to bypass the need for a "bounded density" assumption on the buyer side.
  • Monotone Constraints in MABs: The paper introduces a novel perspective on constrained MABs with feedback graphs. By showing that budget constraints behave monotonically across pricing lines, they prove that you can achieve sublinear regret even when the classic "Slater condition" (the existence of a strictly strictly-positive revenue action) is violated.

Key Results

The paper's main results are summarized in Table 1, which compares their bounds against prior single-buyer literature:

Table 1: Comparison with prior works in the literature.
  • SBB Setting: The proposed algorithm achieves a regret upper bound of $\tilde{O}(T^{2/3})$ without any assumptions on the valuation distributions. This completely circumvents the $\Omega(T)$ lower bound of the single-buyer case.
  • GBB Setting: The authors provide the first-ever sublinear regret guarantees ($\tilde{O}(T^{2/3})$) relative to a GBB baseline. This holds under two alternative conditions: either the buyers' and seller's valuations are independent, or their joint distribution has a bounded density.

Limitations and Future Work

While the SBB mechanism is entirely assumption-free, the GBB mechanism still requires either independence or bounded density to guarantee sublinear regret.

The authors provide a mathematical counterexample (Example 1) demonstrating that finding an optimal fixed pair of prices under GBB without these assumptions is fundamentally impossible because it reduces to an infinite binary search problem. However, they leave open an exciting frontier: could a more sophisticated, dynamic mechanism—one that adjusts the seller's price on the fly based on the bids observed during the auction—achieve assumption-free sublinear regret under global budget constraints?

Summary updated

BibTeX
@inproceedings{lunghi2025online,
  author = {Anna Lunghi and Matteo Castiglioni and Alberto Marchesi},
  title = {{Online two-sided markets: many buyers enhance learning}},
  booktitle = {WiML @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=FIh0DDUGB0},
}
Figure