In a typical market mediation scenario, a platform sits between a buyer and a seller. The platform’s goal is to set prices that facilitate trade, maximizing the "gain from trade" (the difference between the buyer's valuation and the seller's valuation). However, the platform faces a fundamental information problem: it does not know how much the buyer is willing to pay ($v_b$) or the minimum the seller is willing to accept ($v_s$). It only observes whether a trade occurred at the posted prices.
Recent research has transformed this classic economic problem into an online learning challenge. By treating repeated trade as a multi-armed bandit problem with censored feedback, researchers like Nicolò Cesa-Bianchi and Federico Fusco have shown that platforms can achieve "no-regret" performance—matching the best fixed-price strategy in hindsight—by strategically manipulating the gap between buyer and seller prices.
The Information Barrier of Single Prices
In a perfectly balanced market, a mediator might try to set a single price $p$ for both parties. If $v_b \ge p$ and $v_s \le p$, the trade happens. This is known as strict budget balance. While economically "fair," Nicolò Cesa-Bianchi, Tommaso Cesari, and colleagues demonstrate in A Regret Analysis of Bilateral Trade that this constraint often makes learning impossible.
The issue is feedback. If a trade fails at price $p$, the platform doesn't know if it failed because the buyer's value was too low, the seller's value was too high, or both. This ambiguity prevents the learner from updating its model of the participants' behavior, leading to linear regret in adversarial or correlated settings.
Probing Valuations with Price Spreads
To break this deadlock, the learner must decouple the prices. By posting a buyer price $p_b$ and a seller price $p_s$ such that $p_b \neq p_s$, the platform creates a "price spread." This spread acts as an informational probe.
As explored by Yossi Azar and Amos Fiat in An $\alpha$-regret analysis of Adversarial Bilateral Trade, allowing $p_b > p_s$ (where the platform takes a profit) or even $p_b < p_s$ (where the platform subsidizes the trade) allows the learner to isolate the response of one party.
For instance, Solenne Gaucher and Vianney Perchet describe a strategy in Feature-Based Online Bilateral Trade where the learner sets an "extreme" price for one side—say, a price so high the seller is guaranteed to accept. Any trade failure in that round can then be attributed solely to the buyer. This "asymmetric estimation" effectively converts a complex bilateral signal into a simpler unilateral observation, allowing the platform to build a clear picture of each agent's valuation distribution over time.
From Strict to Global Budget Balance
The transition from "impossible to learn" to "optimal learning" often hinges on how strictly the platform must balance its books.
- Weak Budget Balance: The platform can set $p_b \ge p_s$, ensuring it never loses money in a single round. Nicolò Cesa-Bianchi and Roberto Colomboni show in Bilateral Trade: A Regret Minimization Perspective that this flexibility is often enough to achieve sublinear regret, even when valuations are correlated.
- Global Budget Balance: A more powerful relaxation allows the platform to lose money in some rounds to gain information, provided it breaks even over the long run. Martino Bernasconi and Matteo Castiglioni demonstrate in No-Regret Learning in Bilateral Trade via Global Budget Balance that this "reinvestment" of profit into exploration allows for optimal regret rates in adversarial environments where learning was previously thought to be impossible.
Cross-Learning and Structural Exploitation
The intuition behind these algorithms mirrors techniques used in other auction types. In Optimal No-regret Learning in Repeated First-price Auctions, Yanjun Han and Tsachy Weissman highlight a concept called cross-learning. In a first-price auction, if you win with a bid of \$10, you know you would have also won with any bid higher than \$10 against the same competition.
Bilateral trade learners use a similar structural logic: a trade success at $(p_b, p_s)$ implies success for any $p'_b > p_b$ and $p'_s < p_s$. By combining this structural property with randomized price posting—where prices are occasionally chosen at random to "probe" the space—algorithms can construct unbiased estimators of the potential gain from trade. As shown by Matilde Tullii in Improved Algorithms for Contextual Dynamic Pricing, this allows the system to statistically reconstruct the full valuation landscape from nothing but a stream of binary "trade/no-trade" bits.