Paper commentary
Contextual Search and Bilateral Trade with a Trace-Square-Root Potential
Trace-square-root potentials give tight regret bounds for contextual search and bilateral trade
- Problem With only one-bit feedback, the best worst-case bounds were loose: O(d log d) for contextual search and even weaker for bilateral trade.
- Method The authors score uncertainty with the trace of the covariance's matrix square root, then adapt this potential to adversarial inputs without a posterior.
- Results Worst-case contextual search now has total loss at most 12√d, compared with O(d log d) before.
Why one-bit feedback leaves a gap
In contextual search, an adversary reveals a context vector with norm at most one each round, and the learner sees only the sign of its price error. The state of the art was an O(d log d)-competitive algorithm, while the lower bound was only Ω(√d). The open question was whether that logarithmic factor in d could be removed. The paper's worst-case bounds of order √d close that gap for contextual search, improving on O(d log d).
Contextual bilateral trade adds a second hidden vector, the buyer's valuation, next to the seller's. The broker posts one common price, and trade happens only when that price lies between the two valuations. A failed trade doesn't reveal which agent refused, so the feedback carries even less information. The only upper bound for this one-bit model was O(d6 d), while the lower bound was again Ω(√d).
The paper's bound of order √d for bilateral trade improves on that O(d6 d) guarantee.
A Bayesian search rule and its potential
The Bayesian search rule scores uncertainty with the trace of the matrix square root of the covariance, which is the sum of the semiaxis lengths. This potential measures spread directly, so the analysis avoids the extra tricks a volume-based potential would need. Algorithm 1 posts one of two prices, the posterior mean of the projected target plus or minus half its posterior standard deviation.
A fresh uniform sign chooses which of the two prices is posted in each round. The posterior mean and standard deviation are computed from the context vector, so the price depends only on the posterior and the context.
Learning can't increase this potential on average, because the covariance of the target is at least the expected posterior covariance after any signal. Lemma 1.2 ties the drop in the potential to the drop in standard deviation along the context direction. Lemma 2.2 gives the step that matters: one bit shrinks the directional standard deviation by a constant factor in expectation.
The lemma's threshold sits at plus or minus half the standard deviation from the mean, so a tail always carries a large share of the variance. Each round's loss is at most the directional standard deviation, which the analysis pays for with the potential drop. Summing over rounds telescopes the potential into a constant times Tr √Σ1.
Theorem 2.1 gives total expected loss at most 24 Tr √Σ1, for any known prior with finite second moment and every horizon. The bound depends only on the prior covariance, not on the dimension of an adversarial ball. For a uniform distribution on the unit ball, Tr √Σ is O(√d), which links the Bayesian bound to the worst-case setting. Table 2 lists the Bayesian rates and the prior covariances each one depends on.

Table 2 : Bayesian rates for unit-norm contexts and priors with finite second moments.Σis the prior co- variance in contextual search, andΣ S,Σ B are the seller’s and buyer’s marginal prior covariances in bilateral trade.
Original paper · CC BY 4.0Replacing the posterior with explicit proxies
Without a posterior, the worst-case learner keeps two parameters: a mean proxy m_t and a square-root covariance proxy R_t. The mean proxy plays the role of an estimate of the unknown target, and the square-root covariance proxy measures uncertainty in every direction. The learner doesn't maintain an explicit uncertainty set, so the unknown target need not lie inside the ellipsoid m_t + R_t B_d.
The price is m_t plus or minus r_t/2, where m_t is the projected mean and r_t is the norm of R_t x_t. Algorithm 2 starts from m_1 = 0 and R_1 = I_d divided by the square root of d, and each round it draws a fresh uniform sign before posting the price.
After feedback, the algorithm updates the mean proxy and the square-root covariance proxy using the context, the posted sign and the observed bit. The mean update adds a term scaled by the bit, and the matrix update adds a rank-one term built from u_t = R_t x_t. The proxy ellipsoid need not contain the target, and it expands in rounds that receive exterior feedback.
Remark 2.3 shows that R_t stays positive definite under the update, since u u^T divided by a is bounded by R. Because adding a positive semidefinite matrix keeps positive definiteness, only the case with the product of the sign and the bit equal to minus one needs checking.
Lemma 2.5 says each round's expected loss is at most 6 times the expected potential drop. The initial potential is at most 2 times the square root of d, so the telescoping sum gives total expected loss at most 12 times the square root of d. This bound holds for every fixed target with norm at most 1 and every horizon. Summing the per-round inequality and dropping the nonnegative final potential term yields the bound on the total loss.
Each round needs O(d^2) arithmetic operations and O(d^2) real-valued storage, and the algorithm never evaluates the potential or computes R^{-1}.
Table 1 places these worst-case rates next to the earlier O(d^4), O(d log d) and O(d^6 d) guarantees. Table 1 lists the matching lower bound of square root of d for contextual search and bilateral trade.

Table 1 : Worst-case guarantees for unit-norm contexts and hidden vectors.
Original paper · CC BY 4.0 · Romain Cosson, Federico Fusco, Anupam Gupta, Stefano Leonardi, Renato Paes Leme, Matteo Russo · Contextual Search and Bilateral Trade with a Trace-Square-Root Potential · Original paper figure · Extracted the figure area from page 3 of the original PDF.One price for two hidden valuations
A broker posts one common price, and the trade bit reveals only whether both agents were willing, not which one refused. In the Bayesian case, Lemma 3.1 guarantees a common price whose loss is at most 2^{11} times the standard deviation drop D(p). The standard deviation drop D(p) sums the drops for the seller and the buyer, so the price must reduce uncertainty on both sides at once.
Algorithm 3 posts that price, computed from the posterior of the two projected valuations. Its total loss is at most 2^{11} Ψ_tr, where Ψ_tr is the sum of the two marginal trace-square-root potentials.
The adversarial version has no posterior, so the learner keeps a center m and a block-diagonal matrix R instead. Each plan in the lottery fixes one common price and two successor states, one kept on rejection and one on trade. The authors bound the excess cost f_a(w) of each plan, and the lottery must keep its average below the slack γ. A minimax argument based on Sion's theorem gives one lottery that works for every hidden pair, so the learner never needs to know which pair it faces.
The lottery is then rounded to a finite grid of prices and a finite net of successor states, with each error kept below γ/3.
Theorem 3.4 bounds total expected loss by 2^{12}√d+1 for every fixed pair in the unit balls and every horizon. The slacks sum to less than one, so they add only a constant to the bound. The initial potential is at most 4√d, which is where the leading constant comes from. Because the trade bit alone selects the next state, Algorithm 4 needs no explicit posterior update.
What the bounds do not cover
The Bayesian results need a known prior with finite second moments, and they assume unit-norm contexts. The Bayesian rates are stated in terms of the prior covariance, so they don't give a worst-case guarantee on their own. The paper notes that the Bayesian setting allows distributions with unbounded support or skewed covariance, such as Gaussians, which the worst-case bounds don't cover.
The worst-case bounds are stated for hidden vectors in the Euclidean unit ball chosen by an adversary that knows the algorithm but not its random bits. Contexts in the worst-case results must satisfy the unit-norm condition, so inputs outside that ball fall outside the stated guarantees. The matches with the lower bounds hold only up to constant factors, so the paper doesn't claim exact optimal constants.
For bilateral trade, the adversarial algorithm's guarantee is given for a fixed hidden pair and an adaptive context strategy. Algorithm 4 uses neither a prior nor a horizon, but its guarantee still depends on the slack sequence chosen in the analysis.
Paper info
- Authors
- Romain Cosson, Federico Fusco, Anupam Gupta, Stefano Leonardi, Renato Paes Leme, Matteo Russo
- Venue
- arXiv · Preprint
- First published
- 2026-11-6
- Added
- 2026-11-9
- Updated
- 2026-11-6
- Version
- v1
- arXiv
- 2611.09615
- Category
- cs.GT · cs.LG
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
We present a unified potential method for contextual search and bilateral trade with one-bit feedback and obtain order-tight algorithms for both problems. Our framework starts from a Bayesian perspective in which the unknown target (for contextual search) and the unknown pair of valuations (for bilateral trade) are sampled from a known prior distribution. In that model, the decision maker bases its prediction on the posterior distribution, obtained by conditioning on feedback received in previous rounds. For Bayesian contextual search, we present an algorithm with a total loss bounded by $O(\mathrm{Tr} \sqrt Σ)$, where $Σ$ is the covariance matrix of the target's prior; and for contextual bilateral trade, our algorithm's regret is bounded by $O(\mathrm{Tr} \sqrt{Σ_S}+\mathrm{Tr} \sqrt{Σ_B})$, where $Σ_S$ and $Σ_B$ are the covariance matrices of the seller's and buyer's valuations. We then use ideas from this Bayesian setting and adapt a ``dual'' of this trace-square-root potential to the classical worst-case setting, where the target and valuations are chosen adversarially from the unit Euclidean ball. For both contextual search and bilateral trade, we obtain tight $O(\sqrt d)$-regret algorithms. These results match the existing lower bounds up to a constant factor and improve on the previous guarantees of $O(d\log d)$ for contextual search and of $O(d6^d)$ for bilateral trade.
Quote from the paper
Romain Cosson, Federico Fusco, Anupam Gupta, Stefano Leonardi, Renato Paes Leme, Matteo Russo (2026). Contextual Search and Bilateral Trade with a Trace-Square-Root Potential. arXiv:2611.09615v1. https://arxiv.org/abs/2611.09615v1
BibTeX
@misc{cosson2026contextual,
title = {{Contextual Search and Bilateral Trade with a Trace-Square-Root Potential}},
author = {Romain Cosson and Federico Fusco and Anupam Gupta and Stefano Leonardi and Renato Paes Leme and Matteo Russo},
year = {2026},
eprint = {2611.09615},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.09615v1}
}