Manuscript Offprint
arXiv:2610.08611Support-Dependent Regret Rates for Profit Maximization in Multilateral Trade
Abstract
We study online profit maximization in multilateral trade, a setting that generalizes both dynamic pricing and bilateral trade. At each round, an intermediary posts prices to buyers and offers payments to sellers; trade occurs only if every agent accepts. We consider valuations drawn from an unknown joint distribution, allowing arbitrary correlation across agents, under the assumption that each agent's marginal valuation distribution has unknown support of size at most K. For constant dimension d, we design an algorithm with regret . This extends optimal support-dependent guarantees for one-dimensional dynamic pricing to the multidimensional setting of multilateral trade. At the core of our approach is a normalized zooming procedure that adapts to the local probability of trade, avoiding the excessive refinement of nearly flat regions that can arise with standard zooming.
1 Introduction
We study online profit maximization in multilateral trade, where an intermediary facilitates transactions between a set of buyers B and a set of sellers S. At each round, the intermediary posts a price to each buyer and offers a payment to each seller. Trade occurs only if every buyer is willing to pay its posted price and every seller is willing to accept its offered payment. When trade occurs, the intermediary earns the difference between the total payments collected from the buyers and the total payments made to the sellers; otherwise, its profit is zero. Agents' valuations are drawn independently across rounds from an unknown joint distribution. The intermediary observes only whether the trade happens and seeks to minimize regret with respect to the best fixed vector of posted prices in hindsight. This framework includes, as special cases, online pricing (Kleinberg and Leighton, 2003) with a single buyer and no sellers, and online bilateral trade (Cesa-Bianchi et al., 2021) with one buyer and one seller, and the joint-ads model (Aggarwal et al., 2024) with two buyers and no sellers.
Recent work has studied profit maximization in repeated trade under different benchmarks and feedback models. Di Gregorio et al. (2025) consider the richer benchmark of all incentive-compatible and individually rational mechanisms, going beyond fixed posted prices. For bilateral trade with fixed prices and binary trade feedback, Castiglioni et al. (2026b) provide optimal sample complexity bounds and Castiglioni et al. (2026a) obtain regret for arbitrary valuation distributions, leaving a gap with the lower bound already present in pricing settings (Kleinberg and
Leighton, 2003). These results naturally raise the question of whether additional structure in the valuation distributions can lead to faster learning.
In this work, we focus on distributions in which each agent's valuation has finite support. Specifically, the valuation of agent i is supported on an unknown set of size at most ; neither the locations of the support points nor their probabilities are known to the intermediary. Importantly, we impose no independence assumption across agents: the joint distribution may exhibit arbitrary correlations. We characterize the complexity of the problem depending on , i.e., the largest support among all agents.
Our work builds on a line of research on dynamic pricing with finitely supported valuations, which corresponds to the special case of our model with a single buyer and no sellers. Cesa-Bianchi et al. (2019) initiated the study of the problem when the buyer's valuation distribution has an unknown support of size K. They established a regret bound , but with an additional instance-dependent term that can grow polynomially with the inverse distance between consecutive valuations. Recently, this instance-dependent term was removed, independently and using different techniques, by Bacchiocchi et al. (2025b) and Lykouris et al. (2025). The former develops a general framework for online learning with piecewise-linear rewards, while the latter obtains the optimal support dependence for non-contextual pricing through variance-aware zooming. Our work extends these one-dimensional guarantees to the multidimensional setting arising in multilateral trade, where the number of relevant candidate decisions can grow as .
The key structural observation underlying these results is that finite supports induce only finitely many relevant actions. Between two consecutive valuation thresholds, changing an offer does not affect whether the corresponding agent accepts and, consequently, does not change the probability of trade. Within such a region, moving the offer in the appropriate direction strictly improves the intermediary's margin. Thus, if all support locations were known, it would suffice to optimize over the finite grid induced by the marginal supports. In our -dimensional setting, this grid contains at most points, generalizing the size in pricing. Running a standard finite-armed bandit algorithm over these candidates would then yield the desired regret bound. The challenge is that the support locations, and hence the candidate set itself, are unknown. The main difficulty is therefore to discover sufficiently accurate candidate actions from bandit feedback while avoiding a prohibitively fine discretization of the entire action space.
where is drawn from an unknown distribution, , and is a constant such that rewards lie in . The learner observes only . Multilateral trade can be reduced to this formulation by reversing the coordinates corresponding to buyer prices: a buyer with value accepting a price is equivalently represented by , whereas seller offers already have the required monotonicity.
Recall that denotes the support size of coordinate and let . For any constant dimension , we design an algorithm with regret . The same guarantee therefore applies to multilateral trade with a constant number of agents.
(a) Support-induced grid
(b) Large trade prob.

within the cell
(c) Small trade prob.
(d) Normalized gap
Figure 1: (a) The marginal supports partition the action space into cells within which is constant. Panels (b)–(d) illustrate the -optimal region inside a fixed cell for different trade probabilities (assuming point is optimal within the cell). Panels (b) and (c) correspond to large and small trade probabilities, respectively: the -radius of the -optimal region scales as , up to truncation by the cell boundaries. Consequently, when the trade probability is small, a much larger portion of the cell appears nearly optimal. Panel (d) shows that normalizing by the trade probability restores an -optimal region of the same scale as in the large-probability case in Panel (b).
A Small Set of Candidate Solutions Our starting point is a simple geometric property of finitely supported distributions. The support points of each coordinate partition into axis-aligned hyperrectangles. Within the interior of each such rectangle, the probability is constant. Hence, within a rectangle, the expected reward is the product of a constant trade probability and the strictly decreasing linear function . The best point in the rectangle is therefore its componentwise smallest corner. As a consequence, when the supports are known, an optimal action can be found among the grid points induced by the marginal supports. There are at most such candidates. Running a standard finite-armed bandit algorithm on this set would immediately yield the desired support-dependent regret. The challenge is that the locations of these candidate points are unknown.
Why a Direct Zooming Approach Fails The observation above suggests learning the relevant grid adaptively rather than discretizing the entire hypercube in advance. A natural approach is to use a zooming-style algorithm that recursively refines only regions that may contain near-optimal actions. Away from the support thresholds, the expected reward is , and, since is constant within each cell, its local slope with respect to coordinate is the constant . Hence, the variation of the objective inside a cell is not determined by the cell diameter alone, but is also scaled by the probability of trade. When this probability is small, the objective can become nearly flat over a large region. A standard zooming rule may then regard the entire region as only mildly suboptimal and continue refining it unnecessarily, preventing a regret bound that depends only on the number of support-induced candidates.
Probability-normalized Zooming We overcome the problem by introducing a probability-normalized splitting rule. Rather than deciding whether to refine a cell solely from its geometric width, our algorithm scales the splitting rule using an estimate of the probability of trade in that cell. This normalization balances two competing requirements. Near an optimal support threshold, the algorithm must refine sufficiently aggressively to identify an accurate candidate action. Conversely, regions with very small trade probability contribute little variation in expected reward and should not be repeatedly subdivided. We show that this rule allows the adaptive partition to exploit the finite-support structure without knowing the support locations in advance, leading to the regret bound . Figure 1 depicts the core intuition underlying probability-normalized zooming.
A Tight Lower Bound We complement our upper bound with a matching support-dependent lower bound. For every fixed dimension d, we show that any algorithm suffers regret
on some instance with marginal supports of size at most K. Thus, our upper bound is optimal up to logarithmic factors whenever . Characterizing the optimal regret bound in the large-support regime remains an open problem. The best known upper bound is in arbitrary dimension (Castiglioni et al., 2026b) and in the two-dimensional case (Castiglioni et al., 2026a). At a high level, our lower bound is based on a construction with disjoint cells, whose number grows exponentially with the number of agents. Under a reference instance, the lower corner of each cell attains the same expected reward. We then construct a family of alternative instances by locally perturbing the distribution within a single cell, making its lower corner optimal while leaving the feedback distribution unchanged outside that cell. Hence, identifying the optimal action requires the learner to distinguish among possible cells. Finally, a change-of-measure argument then yields the stated lower bound. Finally, the construction is itself a multilateral-trade instance with d buyers and no sellers, after reversing the buyers' coordinates as in our reduction.
1.2 Related Work
While the focus of this work is on profit maximization, there is a long line of research studying the related problem of gain from trade maximization. Cesa-Bianchi et al. (2024a) established that, under one-bit feedback, learning is impossible in general. They also showed that, under two-bit feedback, strongly budget-balanced mechanisms can be learned when buyer and seller values are independently drawn from sufficiently regular distributions.
Later works considered adversarial environments. Azar et al. (2024) obtained guarantees in terms of 2-regret, whereas Cesa-Bianchi et al. (2024b) showed that standard no-regret guarantees can be recovered under a smoothed-adversary assumption. Relaxing the budget-balance requirement provides another route to meaningful guarantees without relying on smoothing. In particular, Bernasconi et al. (2024) and Chen et al. (2025) study how globally budget-balanced mechanisms can be exploited to obtain learning guarantees in fully adversarial environments. Lunghi et al. (2026a) study instead the trade-off between regret and violation of the budget-balance constraint. These results, however, compare against the best fixed price in hindsight. For stronger randomized benchmarks, the picture is substantially different: no-regret learning is impossible in the adversarial setting (Bernasconi et al., 2024).
Stronger guarantees become possible in stochastic environments. Lunghi et al. (2026b) show that no-regret learning with respect to a distributional benchmark can be achieved under suitable smoothness assumptions.
Beyond the classical bilateral-trade model, the literature has considered several extensions, including contextual environments (Gaucher et al., 2025; Cosson et al., 2026; Coccia et al., 2026), fairness considerations (Bachoc et al., 2024), markets with multiple buyers (Babaioff et al., 2024; Lunghi et al., 2025), and related models in which the two sides of the market play more symmetric roles (Bacchiocchi et al., 2025a; Bolić et al., 2024; Bachoc et al., 2025b); see also (Cesari and Colomboni, 2025; Bachoc et al., 2025a).
2 Preliminaries
At round , a learner selects . The valuations in each round are independently sampled from an unknown joint distribution supported on , and the learner observes only
where we write if for every . The learner can always compute also the reward
where we assume that the scalar and the vector are known to the learner, and satisfy
To shorten the notation we set and we assume for each . We define the lower-orthant CDF and mean reward by
Letting and , we define the pseudo-regret as
Let be the projection of supp() onto coordinate , and let , , . Then . Notice that the distribution need not have independent coordinates.
For every such that , define its coordinatewise rounding by
Notice that . Thus , and a maximizer of exists in the finite grid .
For the rest of this paper we will assume that there exists an such that , otherwise the problem is trivial as an optimal action always lies at .
Adding the origin 0 to the grid addresses the case in which is negative at every point in G.
(a) Frequent purchases

(b) Rare purchases: before normalization
(c) Rare purchases: after normalization
Figure 2: Panels (a) and (b) indicate with shaded intervals the sets of -approximately optimal prices for different values of , assuming that . Panel (c) illustrates how normalization makes the slope independent of the purchase probability.
A Special Case: Multilateral Trade Consider an intermediary facilitating a transaction between a set of buyers and a set of sellers . Write , , and . At each round , the intermediary posts a price to each buyer and offers a payment to each seller . The valuation vector is drawn independently across rounds from an unknown joint distribution, allowing arbitrary dependence across agents. Multilateral trade admits a CDF representation by reversing the buyers' coordinates. Set and for each buyer, and and for each seller. Trade then occurs exactly when , and the expected profit, normalized in the interval , is
3 Why Does Standard Zooming Fail?
To better explain why the regret bound for the classical zooming algorithm (Kleinberg et al., 2008) can be larger than the one obtained by our algorithm, we start with an introductory example. Consider a setting with two buyer types. The first has valuation zero, and the second has valuation one.
If the buyer with valuation one appears with probability , a purchase occurs with constant probability at every positive price. For every , the -optimal prices can then be covered by a constant number of intervals of diameter . Therefore, the algorithm by Kleinberg et al. (2008) keeps refining intervals concentrated near the optimal price, yielding a regret bound of .
When the buyer with valuation one appears with probability , the expected revenue at price is , and the suboptimality gap is . The number of intervals of diameter needed to cover the -optimal prices is . Therefore, the total number of intervals that can be refined throughout the execution is bounded by . Following the analysis of Kleinberg et al. (2008), this yields a regret bound of . One of the main contributions of our paper is to address this problem through a normalization that increases the slope of the reward function. Figure 2 illustrates an example of why zooming fails and how normalization fixes this issue.
4 Suboptimality and the support grid
To obtain zooming-style guarantees that adapt to the support of the distribution, and in particular to the cardinality of G, we first need to characterize the suboptimality gap of points that do not lie in a sufficiently small neighborhood of G. The general idea is that, by exploiting the structure of the function, one can show that all points at most suboptimal lie in a neighborhood of a point of the marginal support G.
To do so, two considerations are in order. First, the problem is inherently asymmetric: the objective
is, in general, only right-continuous, which means that any notion of neighborhood should reflect the asymmetry. Second, while is globally Lipschitz, it behaves very differently along different directions, so the notion of neighborhood should vary across directions.
To account for both issues, we introduce an asymmetric notion of neighborhood defined through a norm adapted to the function . For and , define the upper ball of radius centered at by
where the norm is defined as the weighted norm
Thus, only points lying above in the coordinatewise order are regarded as neighboring , and therefore means that .
Finally, we have to account for the fact that is a product of and the CDF , that makes the local slope of proportional to the CDF in the region. Therefore, we can only derive a lower bound on the suboptimality gap of a point that scales linearly with . This weighted bound is sufficient for our purposes and captures the local regularity of the objective away from the asymmetric neighborhoods of the support grid. Formally:
Lemma 4.1. For any and any , if , then . Additionally, if it also holds .
5 Algorithm Description
At a high level, Algorithm 1 follows the main principle of zooming algorithms: it starts from a coarse discretization of the action space and progressively refines the discretization only in regions that remain potentially optimal. The algorithm implements this idea through an optimistic selection rule, together with a refinement criterion that balances the error due to statistical uncertainty against the error induced by the current spatial approximation.
More specifically, Algorithm 1 maintains an adaptive partition of into axis-aligned rectangles. For a cell , let be the lower and upper corners of its closure, and define

Figure 3: Illustration of the adaptive cell tree in two dimensions. The root cell has depth 0, and splitting a cell at depth h creates two children at depth . We use the notation di for cells of depth i. Only selected cells are refined, so the active partition may contain cells at different depths. Cells belonging to the same depth nevertheless have the same side-length vector.
The quantity is the exact variation of on the cell. Given an upper confidence bound for , the algorithm selects a cell maximizing . At a high level, the algorithm refines the selected cell if its statistical uncertainty is smaller than its probability-weighted geometric approximation error:
provided the maximum depth has not been reached. To avoid over-splitting, when the optimum is small, and therefore cells with very low are selected, we add an additional condition , which is an active condition only when it holds . Otherwise it plays and updates that cell's estimate.
Bisection of a Largest Weighted Side To split A, choose
and bisect only coordinate at its geometric midpoint. This creates two children and halves the largest weighted side. Any ties are broken deterministically, ensuring the entire binary tree remains deterministic even though only an adaptive subset of its nodes is generated. At depth , all cells of the full tree have the same side-length vector. Let be the number of bissections in coordinate along a depth- branch. These counts are independent of the branch, since the choice of split coordinate depends only on the side lengths (see Figure 3). After at most further bissections every weighted side is at most half the previous maximum: each side larger than that threshold is halved before any smaller side is selected. Since , where is -diameter of the initial cell , we have
This rule avoids excessive refinement along coordinates with small coefficients, making our method suitable even for very small choices of .
Input: ; set , as per (4)
1 Initialize and its statistics
2 for do
3 repeat
4 Compute and for every cell
5 Select
6 if depth() < and then
7 Set
8 Bisect coordinate and replace by its two children, initializing their statistics
9 else
10 Play and observe
11 Set
12 Set and then
13 until an action has been played
Algorithm 1: Probability-normalized zooming with upper-corner sampling
Depth and Confidence Parameters For a fixed horizon and confidence level , set
(4)
The full binary tree has nodes up to depth , and (3) gives . We use for the confidence parameter. For a cell , let count the plays assigned to it and let be the mean of its observations . Initially, and . We define the confidence radius
and the upper confidence bound on the trade probability at ,
where controls the uncertainty due to the finite number of samples collected at the cell's upper corner.
6 Algorithm Guarantees
The proof works as follows. First, we show that the estimates of the probability are close to the true values. Then, we upper bound the number of cell splits. Finally, we combine the regret suffered in each cell to derive the final bound.
Clean Event Let be the event that, for every created cell at every evaluation,
We show that such an event holds with high probability. To do so, we apply Hoeffding’s inequality and a union bound over all possible cells and sample counts. This bounds with high probability the difference between the empirical CDFs and the its true value.
Lemma 6.1. Event holds with probability at least .
Notice that under event , for every active cell A and any round,
The latter follows from and . Additionally, there always exists a cell such that , which implies that and that for each selected cell. Therefore every selected cell satisfies .
Upperbounding the Number of Cells We begin by deriving a sufficient condition for a cell not to be split. In particular, we prove that under the event a cell is split only if it is in the neighbor of an element in , using the notion of distance balls. The radius of such distance ball is defined by the -radius of the cell itself , the smaller the cell, the closer must be to an element in to be split.
Lemma 6.2. Assume event holds. Let be a cell such that and
where . Then is never split by Algorithm 1.
Given that only cells sufficiently close to points in G can be split, we can easily derive an upper bound on the number of cells active at each depth.
Lemma 6.3. Under event , at every depth at most cells are ever created.
Regret Guarantee We combine the previous lemmas by bounding the regret accumulated over all rounds in which the same cell is selected. If a cell is still coarse, so that its geometric approximation error is large, it cannot remain active for long: once the statistical uncertainty becomes sufficiently small, the splitting condition is triggered and the cell is replaced by its two children. Since Lemma 6.3 provides a bound on the total number of active cells, we can then aggregate the regret contributions across cells and apply the Cauchy-Schwarz inequality to obtain the following regret bound:
Theorem 6.4. Algorithm 1 with satisfies
Proof. Condition on . By Lemma 6.3, summing over the depths and including the root cell, we get that at most cells are ever created.
For a cell A, let be the number of times cell A is played. Consider the round in which it is played for the -th times. The same calculation as in (12) yields
We consider two cases. If level smaller than , since it has not been split, we get that , or which implies
using and . Otherwise, if the depth is we have that
and
Additionally, let the value of in the rounds where , we get:
and by applying the Cauchy-Schwarz inequality
where is the active cell at time such that and is the number of rounds cell has been played till round . When does not hold, the cumulative gap is at most . Taking expectations adds at most . Finally, concludes the proof.
7 A Tight Lower Bound
We establish a support-dependent regret lower bound, showing that the bound in Theorem 6.4 is tight up to logarithmic factors whenever . Characterizing the optimal regret bound in the large-support regime remains an open problem. The best known upper bound is in arbitrary dimension Castiglioni et al. (2026b) and in the two-dimensional case Castiglioni et al. (2026a).
Theorem 7.1. For every integer , there exists a constant such that, for all integers and and every algorithm, there exists an instance with marginal supports of size at most for which
(a) Reference CDF

(b) Perturbed CDF
Figure 4: Reference (a) and perturbed (b) CDFs for and . Both distributions have support , with . Equal blue shades indicate equal CDF values; the values written in the rectangles are exact. In panel (b), the perturbed cell is , with .
We remark that the lower bound holds even for multilateral trade models with d buyers and no sellers.
While the formal proof is deferred to Appendix B, we provide here a sketch of the construction. We construct a family of instances with a common support, consisting of an equally spaced grid and the additional point 1. The instances differ only in the probabilities assigned to these points.
Fix and let . Each agent's marginal support is , while the joint support is , where . This grid defines disjoint cells in , whose number grows exponentially with the number of agents. In addition, in all instances we take .
We index the grid points belonging to by and write . We start from a reference distribution over valuations whose CDF satisfies
Thus, at every grid point, and no action has a larger mean reward; see Figure 4(a). Precisely, let index a perturbed instance, with associated cell and lower corner . Its vertices are the grid points , with . Relative to the reference distribution, we increase the probability mass at each vertex by if is even and decrease it by if it is odd. All other probabilities remain unchanged. The increases and decreases cancel outside , so the feedback has the same distribution under both instances there. Inside , the probability of trade increases by , and the mean reward at increases by at least , making optimal; see Figure 4(b).
For any action , the KL divergence between the feedback distributions under the reference and perturbed instances equals that between two Bernoulli distributions with parameters and , respectively. Since these probabilities are bounded away from zero and one, this divergence is .
The disjoint cells thus play a role similar to arms in a bandit lower bound: each alternative improves one cell by order , but can only be distinguished from the reference instance by exploring that cell.
For a sufficiently small constant , choosing keeps these distributions well-defined. A change-of-measure argument gives a regret lower bound of order Optimizing subject to each marginal support containing at most points yields Theorem 7.1.
References
Aggarwal, G., Badanidiyuru, A., Dütting, P., and Fusco, F. (2024). Selling joint ads: A regret minimization perspective. In Proceedings of the 25th ACM Conference on Economics and Computation, pages 164–194.
Azar, Y., Fiat, A., and Fusco, F. (2024). An -regret analysis of adversarial bilateral trade. Artificial Intelligence, 337:104231.
Babaioff, M., Frey, A., and Nisan, N. (2024). Learning to maximize gains from trade in small markets. In Proceedings of the 25th ACM Conference on Economics and Computation, page 195.
Bacchiocchi, F., Castiglioni, M., Colomboni, R., and Marchesi, A. (2025a). Online bilateral trade with minimal feedback: Don't waste seller's time. In Belgrave, D., Zhang, C., Lin, H., Pascanu, R., Koniusz, P., Ghassemi, M., and Chen, N., editors, Advances in Neural Information Processing Systems, volume 38, Main Conference, pages 95003–95030. Curran Associates, Inc.
Bacchiocchi, F., Castiglioni, M., Marchesi, A., and Gatti, N. (2025b). Regret minimization for piecewise linear rewards: Contracts, auctions, and beyond. In Proceedings of the 26th ACM Conference on Economics and Computation, EC '25, page 1020, New York, NY, USA. Association for Computing Machinery.
Bachoc, F., Cesa-Bianchi, N., Cesari, T., and Colomboni, R. (2024). Fair online bilateral trade. Advances in Neural Information Processing Systems, 37:37241–37263.
Bachoc, F., Cesari, T., and Colomboni, R. (2025a). A contextual online learning theory of brokerage. In Forty-second International Conference on Machine Learning.
Bachoc, F., Cesari, T., and Colomboni, R. (2025b). A tight regret analysis of non-parametric repeated contextual brokerage. In The 28th International Conference on Artificial Intelligence and Statistics.
Bernasconi, M., Castiglioni, M., Celli, A., and Fusco, F. (2024). No-regret learning in bilateral trade via global budget balance. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, pages 247–258.
Bolić, N., Cesari, T., and Colomboni, R. (2024). An online learning theory of brokerage. In Proceedings of the 23rd International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 216–224.
Castiglioni, M., Lunghi, A., and Marchesi, A. (2026a). Breaking the barrier for regret minimization with bi-dimensional CDFs.
Castiglioni, M., Lunghi, A., and Marchesi, A. (2026b). The sample complexity of uniform approximation for multi-dimensional cdfs and fixed-price mechanisms. arXiv preprint arXiv:2602.10868.
Cesa-Bianchi, N., Cesari, T., Colomboni, R., Fusco, F., and Leonardi, S. (2024a). Bilateral trade: A regret minimization perspective. Mathematics of Operations Research, 49(1):171–203.
Cesa-Bianchi, N., Cesari, T., Colomboni, R., Fusco, F., and Leonardi, S. (2024b). Regret analysis of bilateral trade with a smoothed adversary. Journal of Machine Learning Research, 25(234):1–36.
Cesa-Bianchi, N., Cesari, T., and Perchet, V. (2019). Dynamic pricing with finitely many unknown valuations. In Garivier, A. and Kale, S., editors, Proceedings of the 30th International Conference on Algorithmic Learning Theory, volume 98 of Proceedings of Machine Learning Research, pages 247–273. PMLR.
Cesa-Bianchi, N., Cesari, T. R., Colomboni, R., Fusco, F., and Leonardi, S. (2021). A regret analysis of bilateral trade. In Proceedings of the 22nd ACM Conference on Economics and Computation, pages 289–309.
Cesari, T. and Colomboni, R. (2025). An online learning theory of trading-volume maximization. In The Thirteenth International Conference on Learning Representations.
Chen, H., Jin, Y., Lu, P., and Zhang, C. (2025). Tight regret bounds for fixed-price bilateral trade. arXiv preprint arXiv:2504.04349.
Coccia, E., Bernasconi, M., and Celli, A. (2026). Nonparametric contextual online bilateral trade. In The Fourteenth International Conference on Learning Representations.
Cosson, R., Fusco, F., Gupta, A., Leonardi, S., Leme, R. P., and Russo, M. (2026). Contextual online bilateral trade. arXiv preprint arXiv:2602.12903.
Di Gregorio, S., Dütting, P., Fusco, F., and Schwiegelshohn, C. (2025). Nearly tight regret bounds for profit maximization in bilateral trade. In 2025 IEEE 66th Annual Symposium on Foundations of Computer Science (FOCS), pages 1570–1594.
Gaucher, S., Bernasconi, M., Castiglioni, M., Celli, A., and Perchet, V. (2025). Feature-based online bilateral trade. In The Thirteenth International Conference on Learning Representations.
Kleinberg, R. and Leighton, T. (2003). The value of knowing a demand curve: Bounds on regret for online posted-price auctions. In Proceedings of the 44th Annual IEEE Symposium on Foundations of Computer Science, FOCS '03, page 594, USA. IEEE Computer Society.
Kleinberg, R., Slivkins, A., and Upfal, E. (2008). Multi-armed bandits in metric spaces. In Proceedings of the Fortieth Annual ACM Symposium on Theory of Computing, STOC '08, pages 681–690. Association for Computing Machinery.
Lattimore, T. and Szepesvári, C. (2020). Bandit Algorithms. Cambridge University Press.
Lunghi, A., Castiglioni, M., and Marchesi, A. (2025). Online two-sided markets: Many buyers enhance learning. arXiv preprint arXiv:2503.01529.
Lunghi, A., Castiglioni, M., and Marchesi, A. (2026a). Better regret rates in bilateral trade via sublinear budget violation. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 6494–6536. SIAM.
Lunghi, A., Piccinato, M., Castiglioni, M., and Marchesi, A. (2026b). A stronger benchmark for online bilateral trade: From fixed prices to distributions. arXiv preprint arXiv:2602.05681.
Lykouris, T., Nietert, S., Okoroafor, P., Podimata, C., and Zimmert, J. (2025). Contextual dynamic pricing with heterogeneous buyers. In The Thirty-ninth Annual Conference on Neural Information Processing Systems.
Supplementary Materials
A Omitted Proofs
Lemma 4.1. For any and any , if , then . Additionally, if it also holds .
Proof. Suppose exists and is such that . In this case we have that and by hypothesis . Hence,
Otherwise, if is not well-defined or is such that , then, this implies , and the statement becomes , which is true by the definition of the suboptimality gap.
Lemma 6.1. Event holds with probability at least .
Proof. For each fixed cell and sample count , Hoeffding's inequality bounds the failure probability
Thus, a union bound over cells and sample counts proves that .
Lemma 6.2. Assume event holds. Let be a cell such that and
where . Then is never split by Algorithm 1.
Proof. Let be the cell selected at a certain round, and assume that and the depth of is smaller than . Since is chosen it holds that
and we suppose by contradiction that
Then, if
and if
Therefore, in both cases, if by contradiction we assume that A is split it must be true that
Moreover, let be the cell active at current round which includes the optimum. By (8) and (9), we get
Hence, we get:
(12)
where in the last inequality we used (11). However, by hypothesis we have
which means by Lemma 4.1
Hence, we reach a contradiction.
Lemma 6.3. Under event , at every depth at most cells are ever created.
Proof. First, we bound the number of cell that are split at a level . Fix , and let us recall that at depth all cells of the full tree have the same side-length vector. Let be the number of bisections in coordinate along a depth- branch. After at most bisections every weighted side is at most half the previous maximum: each side larger than that threshold is halved before any smaller side is selected. Since ,
Every splitting cell belongs to one of two classes; or .
- . If , Lemma 6.2 shows that its upper corner belongs to for some .
Therefore, any cell such that at level that wants to be split must guarantee for any
If the direction was never split, then trivially there is only one possible value for . Let be the geometric length of the -th coordinate of a cell at depth . If coordinate has previously been bisected, let be the last depth for which coordinate was split, i.e.
then
as the diameter of a cell in norm can only decrease when the depth of the tree increases. Therefore we have that
which means that for all there are at most possible choices for for all that lead to a splitting. Considering that each cell is split in two, summing over all , we get that at level there are at most active cells, generated by cells at level with .
- . No cell A such that will ever be selected and therefore split. In fact, if A is selected this implies
however, since , then , which is a contradiction since there exists such that , since .
Therefore, at each level there are at most cells, which concludes the proof.
B Proof of Theorem 7.1
We introduce a reference distribution whose support consists of an equally spaced grid in and the all-ones vector . Fix integers and , and set
The parameter M is the number of grid intervals along each coordinate. We define the set V as follows
Since , every point of the grid lies in , and the additional point 1 is distinct from every grid point. We define
and the auxiliary function for every . On , we have , so is well defined and smooth. We define our reference discrete probability distribution by assigning the following probabilities:
Lemma B.3 shows that , defined in Equation (13), defines a discrete probability distribution supported on . We denote its CDF by . In Lemma B.4, we show that, for every ,
As a consequence, letting , every point of the grid has the same expected reward:
For each , consider the cell
These cells are pairwise disjoint and partition . The vertices of are the grid points , with . Fix
We define the perturbed discrete probability distribution associated with by
Thus we add at vertices for which is even and subtract at vertices for which it is odd. In particular, the probability assigned to increases by , and the probability assigned to 1 remains 1/2. Lemma B.5 shows that defines a discrete probability distribution with support . Denoting its CDF by , the same lemma shows that exceeds by exactly on and coincides with everywhere else in . Formally,
Consequently, the expected reward under the perturbed instance is
In particular, since and ,
Moreover, for every . Indeed, if , let be the largest grid point coordinatewise dominated by . The grid points dominated by are exactly those dominated by . Hence . Since , we obtain . At , the expected reward is zero because . It follows that every action outside has expected reward at most under instance , whereas has expected reward at least . Thus each perturbed instance improves the reward in a single cell, while leaving the probability of trade unchanged outside that cell.
Set , and let and denote the laws of the -round interaction between the possibly randomized algorithm and the stochastic environment, under the reference instance and instance , respectively. These laws account for both the algorithm's internal randomness and the randomness of the feedback. Expectations under these laws are denoted by and . All instances share the support , with marginal support sets of size . We prove the lower bound even when the learner knows this common support, but not which instance generates the observations. Define . The gap outside is at least , so
Here denotes the learner's expected regret under instance j. Lemma B.6 gives
The cells are disjoint, hence . Averaging Equation (18) over the instances and applying Cauchy-Schwarz yields
Let . Since , we have . We choose . This choice satisfies Equation (15), since
Averaging over all perturbed instances, we obtain
The first inequality follows from Equation (17), the second from Equation (19), and the third uses , , and . At least one instance has regret no smaller than this average, so some satisfies
For and , choose . This choice satisfies , as required by the construction, and and . For the instance in Equation (20), we obtain
The first inequality follows from Equation (20). The minimum equals because , and the second inequality uses .
If and , take instead. Then Equation (20) gives , which is at least because .
B.1 Proof of the Lemmas
Lemma B.1. Let satisfy , and let . Then
Proof. Since the constraint is coordinatewise, we can write
If , only is admissible; if , both and are admissible, since and are integers. Thus each factor satisfies
This proves Equation (21).
Lemma B.2. For every , let be the number of its positive coordinates. The probabilities defined in Equation (13) satisfy
Furthermore, the following holds:
Proof. We use the elementary identity
For every with ,
Since , we can apply Equation (24) with . Using Equation (25), we obtain
Substituting Equation (26) into Equation (13) and exchanging the finite sum with the integral, we obtain
For every fixed , apply Lemma B.1 with , , and . This gives
The last equality holds because exactly coordinates of j are positive. Substituting this expression into the integral proves Equation (22).
In Equation (22), set . Then , and the endpoints correspond to , respectively. Reversing the integration limits gives
For every ,
Moreover, , so
Consequently,
The last integral is 1 when . For , integration by parts gives
Repeating this integration-by-parts step times and using , we obtain
This proves the first inequality in Equation (23). Finally, since and ,
where an empty product equals one. Hence, for every grid point,
concluding the proof.
Lemma B.3. The function p defined in Equation (13) defines a discrete probability distribution. In particular,
Moreover, at every , so its support is exactly .
Proof. By Lemma B.2, at every grid point. Also, , and outside V. It therefore remains to show that the probabilities sum to one. We use Lemma B.1 to compute the total probability assigned to the grid. Summing Equation (13) over Z gives
Set , or equivalently . The original constraints on are equivalent to , , . Therefore, we can write:
The second equality follows from Lemma B.1 with , , and . Since ,
Finally, the additional point 1 lies outside the small grid and has probability 1/2. This proves that p defines a discrete probability distribution. Its support is exactly V, because every point in V has strictly positive probability and all other points have probability zero.
Lemma B.4. For every ,
Proof. Fix . The point does not contribute to , because and hence . Also, since , the condition is equivalent to . Therefore,
Set , so that . The constraints become . For each with , we apply Lemma B.1 with , and . This gives
concluding the proof.
Lemma B.5. For every and every satisfying Equation (15), the function defined in Equation (16) defines a discrete probability distribution with support . Its CDF satisfies
Proof. By Equations (23) and (15),
Thus at every grid point. Every probability assigned by to a point of is therefore positive, and outside . Since away from the vertices of , we have
The second equality uses the normalization of and the definition of . The last equality follows from Lemma B.1 with , , and . Hence defines a discrete probability distribution with support exactly . Fix . Only the probabilities at the vertices of have been modified, so, by the definition of a CDF,
where the last equality uses Equation (16).
If , no vertex is dominated by , where . The sum is then empty and equals zero, and . Otherwise, set for each coordinate . Then , , and
Applying Lemma B.1 with , , and , we obtain
Finally,
Together with the case , this proves Equation (29) for every .
Lemma B.6. For every and every satisfying Equation (15),
Proof. Let denote the KL divergence between Bernoulli laws with parameters , using natural logarithms. The divergence decomposition of Lattimore and Szepesvári (Lattimore and Szepesvári, 2020, Lemma 15.1) gives
Furthermore, for any random variable measurable with respect to the interaction history and satisfying , we have
(32)
The last inequality follows from Equation (14.12) in Lattimore and Szepesvári (2020). In addition, the KL divergence between two Bernoulli distributions can be upper bounded as follows
For , Lemma B.4 gives . By Lemma B.5, . Equation (15) implies , so and . Equation (33) then gives . Outside the feedback laws coincide. Applying Equation (31), we obtain
Equation (32) with therefore gives
proving the claim.