arXiv:2611.09558cs.GTNov 2026

Manuscript Offprint

arXiv:2611.09558

Optimal Regret for Profit Maximization in Bilateral Trade

Matteo Castiglioni, Anna Lunghi, Alberto Marchesi

Abstract

Learning to profit from trade requires learning both sides of a market: what a seller is willing to accept and what a buyer is willing to pay. We study repeated bilateral trade, where an intermediary posts a purchase price to a seller and a sale price to a buyer whose valuations are drawn from an unknown joint distribution. Trade occurs only if both parties accept their respective prices, in which case the intermediary earns the difference between the two prices. The intermediary observes only whether trade occurs, without observing either valuation.

We show that learning both sides of the market is no harder, in terms of regret, than learning just one. Specifically, we design an algorithm achieving regret O(T2/3)\mathcal{O}(T^{2/3}) against the best fixed pair of prices, matching, up to logarithmic factors, the classical lower bound for one-dimensional dynamic pricing. Our result shows that the classical one-dimensional regret rate survives the transition to two dimensions, raising the question of whether this absence of a curse of dimensionality extends to arbitrarily high dimensions.

*The authors are listed in alphabetical order.

Contents

1 Introduction 4
1.1 Challenges and Techniques ..... 5
1.1.1 Conservative Successive Elimination ..... 6
1.1.2 Missing Grid Points and Relative Learning ..... 7
1.1.3 Rerouting Dyadic Decompositions ..... 8
1.1.4 Putting Everything Together ..... 9
1.1.5 Constructing the Mappings ..... 10
1.2 Related Work ..... 11
2 Preliminaries 12
2.1 Learning in Bilateral Trade ..... 12
2.2 How to Discretize the Set of Prices ..... 13
3 Main Theorem and Proof Roadmap 14
4 Phased Successive Elimination Algorithm 14
5 Decomposing the CDF Differences 18
5.1 Dyadic Decomposition ..... 18
5.2 Rerouting the Dyadic Decomposition ..... 18
6 Sample Complexity of Mapped Relative Learning 20
6.1 Binary Search With Fixed Endpoints ..... 21
6.2 Aggregating Fixed-Endpoint Estimates ..... 22
7 Constructing Mappings for Efficient Relative Learning 25
7.1 Mapping Construction ..... 27
7.2 Queryability of the Required Differences ..... 29
7.3 Bounding the Number of Representative Replacements ..... 30
7.4 Bounding Cumulative Probability Mass ..... 35
7.5 Relative-Learning Guarantee ..... 37
8 Constructing the Refinement Oracle 38
8.1 Recovering Absolute CDF Estimates ..... 39
8.2 The Complete Row-wise Refinement Procedure ..... 39
8.3 Preserving the Refinement Invariant ..... 41
9 Proof of Theorem 3.1 42
10 Open Problems 42

A Proof of Lemma 2.1 43
B Proof of Lemma 5.1 43
C Pseudocode and Analysis of the BinS Procedure 44

References (26)