# Contextual Search and Bilateral Trade with a Trace-Square-Root Potential

DevFeed: [Contextual Search and Bilateral Trade with a Trace-Square-Root Potential](<https://devfeed.tech/articles/contextual-search-and-bilateral-trade-with-a-trace-square-root-potential-123432.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.09615>)

Author: Romain Cosson, Federico Fusco, Anupam Gupta, Stefano Leonardi, Renato Paes Leme, Matteo Russo

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Algorithms](<https://devfeed.tech/topics/algorithms.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [bayesian](<https://devfeed.tech/tags/bayesian.md>), [covariance](<https://devfeed.tech/tags/covariance.md>), [cs-gt](<https://devfeed.tech/tags/cs-gt.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [game-theory](<https://devfeed.tech/tags/game-theory.md>), [search](<https://devfeed.tech/tags/search.md>), [trade](<https://devfeed.tech/tags/trade.md>)

## AI overview

The paper presents a unified potential method for contextual search and bilateral trade with one-bit feedback. In the Bayesian setting, it conditions predictions on the posterior after each round: contextual search has total loss O(Tr√Σ), while bilateral trade has regret O(Tr√Σ_S + Tr√Σ_B), based on the covariance matrices of the target and the seller's and buyer's valuations. The authors adapt a dual of the trace-square-root potential to worst-case inputs chosen adversarially from the unit Euclidean ball, obtaining tight O(√d)-regret algorithms for both problems. They say these match known lower bounds up to a constant factor and improve on previous guarantees of O(d log d) for contextual search and O(d6^d) for bilateral trade.

## Source excerpt

arXiv:2611.09615v1 Announce Type: cross 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 \Sigma)$, where $\Sigma$ 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{\Sigma_S}+\mathrm{Tr} \sqrt{\Sigma_B})$, where $\Sigma_S$ and $\Sigma_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.