No Free Best-of-Both-Worlds Learning in Repeated Bilateral Trade

Yutian Cheng, Canzhe Zhao, Jingye Zhao, Shuai LiNeurIPS 2026

TL;DR

Imagine running an online marketplace where you connect buyers and sellers by posting prices, getting only a simple "yes" or "no" from each party. If buyer and seller valuations are independent, algorithms can learn optimal pricing much faster than when valuations are correlated—so naturally, you want one smart algorithm that automatically gets the best rate in both worlds. This paper proves that there is "no free lunch" here: without extra help, adapting to both regimes simultaneously is mathematically impossible, though knowing just a single magic number—the optimal expected profit—completely shatters this barrier.

What Problem Does This Paper Address?

In repeated bilateral trade, an intermediary (think of an ad exchange or OTC financial platform) repeatedly posts a bid price $P_t$ to a seller and an ask price $Q_t$ to a buyer over $T$ rounds (with $P_t \le Q_t$). You never see their true private valuations—only two-bit feedback indicating whether each accepted your price. Your goal is to maximize the total "gain from trade" (the value created when a low-cost seller trades with a high-value buyer) and minimize regret: the cumulative gap between your total reward and what the single best fixed price could have earned in hindsight.

Prior work established a stark performance divide:

  • Independent Values (IV): When buyer and seller valuations have nothing to do with each other (like standardized commodities), optimal regret scales as $\Theta(T^{2/3})$.
  • General Dependent Values: When valuations are correlated (like used cars with hidden defects, or assets tied to macroeconomic shocks), learning is harder, and optimal regret degrades to $\Theta(T^{3/4})$.

Real-world platforms rarely know beforehand whether their market is independent or correlated. If you assume independence when values are actually linked, you silently rack up massive regret; if you play it safe, you leave money on the table in benign markets. The authors ask a classic Best-of-Both-Worlds (BoBW) question: Can a single algorithm automatically achieve $\widetilde{O}(T^{2/3})$ when values are independent, while safely falling back to $\widetilde{O}(T^{3/4})$ when they aren't?

Methods

The authors tackle this problem using three novel theoretical and algorithmic tools:

  1. Pure-Copula Checkerboard Perturbation (for the Lower Bound): To prove classical BoBW is impossible, they construct a devious dependent-values market that masquerades as an independent one. By adding a $(+, -, -, +)$ checkerboard-patterned bump to the joint probability density, the positives and negatives cancel out along both axes. Both 1D marginal distributions remain completely unchanged! Detecting this hidden correlation forces the learner to post wide, costly two-price spreads ($P_t \ll Q_t$).
Figure 1: Geometry of the hard family underlying Theorem 1. (a) Under the IV base ν0, the gain- from-trade curve g0 has a flat optimal plateau on [a, m] at level g∗, while any price q ∈[c, c + 2ℓ] beyond the plateau lies in a costly exploration strip (shaded). The perturbation νi adds a small bump over Ii = [vi −ε, vi + ε], creating a unique hard optimum gi(vi) = g∗+ λℓ2ε. (b) The density perturbation hi = λϕiψ is supported on the rectangle Ri = Ii × [c, c + 2ℓ] and has a checkerboard sign pattern (+, −, −, +); this annihilates both the s- and b-marginals, so νi is indistinguishable from ν0 on every one-dimensional test.
  1. Surrogate-Consistency & Temporal Decoupling (SCM): To hit the best possible trade-off without extra hints, their meta-algorithm starts with a diagnostic stage on a price grid. It compares the true gain-from-trade curve against a "product surrogate" (what the curve would look like if the observed marginals were independent). If they match closely, it accepts independence and runs a standard IV learner. Crucially, to avoid feeding correlated data into a black-box IV learner, it pairs up consecutive real rounds—taking the seller's bit from round 1 and the buyer's bit from round 2—synthesizing genuinely independent virtual feedback.
  2. Sparse Value-Auditing (VAM): When given a scalar hint—the maximum possible expected gain $V = g_\nu^*$—the learner still doesn't know which price achieves $V$ or even what reward it earns on any round. VAM runs an upgraded, "prefix-stable" IV learner on single-price rounds, while occasionally inserting sparse, two-price "audit probes" to get an unbiased estimate of recent gains. If cumulative performance lags too far behind $V$, it pulls the ripcord and switches to a worst-case-safe algorithm.

Datasets

Not discussed in the paper. (This is a purely theoretical work proving mathematical regret bounds over probability distributions.)

Key Insights and Ideas

  • Hidden correlations look identical on the surface: Because single-price posting ($P_t = Q_t$) cannot distinguish between certain correlated markets and independent ones, certifying independence requires off-diagonal two-price exploration ($P_t < Q_t$). That exploration inevitably lands in high-regret price zones, creating an inescapable structural-identification tax.
  • Temporal decoupling fixes model mismatch: Even if a market isn't truly independent, if its gain curve is close to independent, pairing seller feedback from odd rounds with buyer feedback from even rounds exploits the i.i.d. nature of time to manufacture exact product-distribution data on the fly.
  • One number changes everything: Knowing the optimal benchmark value $g_\nu^*$ doesn't tell you where to price, nor does it let you see your daily profits. Yet, it acts as a smoke detector—allowing sparse background audits to catch correlation-induced deficits without paying the heavy exploration tax up front.

Key Results

  • Impossibility of Classical BoBW (Theorem 1): Any algorithm achieving $O(T^\alpha)$ regret on independent-values markets (for $\alpha \in [0, 1]$) must suffer $\Omega(T^{1-\alpha/3})$ regret on some bounded-density dependent market. Specifically, getting optimal $O(T^{2/3})$ easy-side regret forces at least $\Omega(T^{7/9})$ hard-side regret—strictly worse than the $\Theta(T^{3/4})$ minimax rate ($7/9 \approx 0.778 > 0.75$).
  • Exact Trade-off Frontier (Theorem 2): The SCM meta-algorithm matches this lower bound up to logarithmic factors, achieving the Pareto-optimal pair $\bigl(\widetilde{O}(T^\alpha), \widetilde{O}(T^{1-\alpha/3})\bigr)$ for every $\alpha \in [2/3, 3/4]$, including the endpoint $\bigl(\widetilde{O}(T^{2/3}), \widetilde{O}(T^{7/9})\bigr)$.
  • Restoring BoBW with One Scalar (Theorem 3): Armed only with the scalar optimal value $V = g_\nu^*$, the VAM algorithm completely bypasses the lower bound and recovers the ideal classical rates of $\bigl(\widetilde{O}(T^{2/3}), \widetilde{O}(T^{3/4})\bigr)$.

Limitations and Future Work

The authors highlight three main boundaries to their findings:

  1. Stochastic i.i.d. Assumption: While the paper resolves adaptation between independent and correlated i.i.d. distributions, it does not address adapting against smoothed-adversarial environments where market conditions shift over time.
  2. Feedback Strictness: The algorithms rely on standard two-bit feedback (hearing from both buyer and seller). Whether similar trade-offs or hint-based recoveries hold under stricter "minimal feedback" models (e.g., observing only whether a trade occurred, or querying one side first) remains open.
  3. Specific Objective: The analysis is tailored to maximizing gain from trade; extending these adaptive principles to other practical platform goals, like maximizing total trading volume or fair gain from trade, is left for future research.

Summary updated

Abstract

We study best-of-both-worlds learning in repeated bilateral trade with two-bit feedback. When seller and buyer valuations are independent, minimax regret scales as $\Theta(T^{2/3})$; under general bounded-density distributions it degrades to $ \Theta(T^{3/4})$. This regime-dependent gap naturally raises a question: can a single algorithm adapt optimally to both? We first resolve this negatively: any algorithm achieving $O(T^\alpha)$ regret on independent-values instances necessarily suffers $\Omega(T^{1-\alpha/3})$ regret on some dependent-values instance. We then characterize the optimal tradeoff and construct a meta-algorithm achieving $\bigl(\widetilde O(T^{\alpha}),\widetilde O(T^{1-\alpha/3})\bigr)$ for every $\alpha\in[2/3,3/4]$. Finally, we show that this tradeoff can be bypassed with mild side information: knowing the optimal same-price gain suffices to recover the classical best-of-both-worlds guarantee $\bigl(\widetilde O(T^{2/3}),\widetilde O(T^{3/4})\bigr)$.
BibTeX
@inproceedings{cheng2026no,
  author = {Yutian Cheng and Canzhe Zhao and Jingye Zhao and Shuai Li},
  title = {{No Free Best-of-Both-Worlds Learning in Repeated Bilateral Trade}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=3yiO50D45L},
}
Figure