In a classic bilateral trade scenario, an intermediary sits between a seller with a private valuation $v_s$ and a buyer with a private valuation $v_b$. The intermediary sets a price $p$. If $v_s \le p \le v_b$, a trade occurs, generating a "gain from trade" of $v_b - v_s$.
While classical economics often assumes the intermediary knows the probability distributions of these valuations, modern algorithmic research led by Nicolò Cesa-Bianchi and colleagues shifts this to an online learning problem. Here, the platform must learn the optimal price over a sequence of $T$ rounds, observing only whether a trade happened or not—a constraint known as binary or posted-price feedback.
The Observability Gap
The central challenge in this field is the "lack of observability." In most bandit problems, trying an action gives you a noisy signal of its value. In bilateral trade, however, the signal is extremely sparse. If you set a price $p$ and no trade occurs, you don't know if it's because the seller's price was too high, the buyer's was too low, or both.
As established in Bilateral Trade: A Regret Minimization Perspective, the ability to learn depends entirely on whether the feedback allows the learner to distinguish between different potential market distributions. If two different pairs of distributions $(v_s, v_b)$ result in the same probability of trade for every possible price $p$, but require different optimal prices to maximize welfare, the learner is stuck. They will continue to pick the wrong price forever, leading to linear regret—meaning the platform never actually "learns" to be efficient.
The Necessity of Independence
A recurring discovery across this literature is that the "learnability" of a market hinges on the relationship between the buyer and the seller. Nicolò Cesa-Bianchi, Federico Fusco, and Stefano Leonardi demonstrate that sublinear regret (where the average error goes to zero over time) is achievable only when valuations are independent and have bounded probability densities.
When valuations are independent, the probability of trade at price $p$ factors neatly into $Pr(v_s \le p) \times Pr(v_b \ge p)$. This structure allows algorithms like "Scouting Bandits," introduced in the 2024 journal version of Bilateral Trade: A Regret Minimization Perspective, to effectively probe the distributions and converge on the optimal price with a regret bound of $\Theta(T^{2/3})$.
However, if valuations are correlated—perhaps because both parties are influenced by the same external market trends—the feedback becomes ambiguous. Tommaso Cesari and Roberto Colomboni show in A Regret Analysis of Bilateral Trade that correlation "hides" the optimal price. Because the learner only sees the product of the two distributions (the trade success), they cannot disentangle the individual contributions of the buyer and seller to find the welfare-maximizing midpoint.
Fairness and Market Scaling
This informational barrier extends beyond simple welfare maximization. In Fair Online Bilateral Trade, François Bachoc and co-authors explore the trade-off between total social welfare and a fair split of the surplus. They find that the same "impossibility" results apply: without the assumption of independence, a platform cannot learn a price that is "fair" to both parties using only binary feedback.
Interestingly, the difficulty of the problem changes as the market grows. While the one-on-one case is fraught with learning barriers, Alberto Marchesi and Matteo Castiglioni argue in Online Two-Sided Markets: Many Buyers Enhance Learning that adding more participants provides a massive informational advantage. With multiple buyers, the platform receives more signals per round, which can break through the theoretical barriers that cause linear regret in simpler bilateral settings, allowing for faster convergence to optimal, budget-balanced prices.