A Parametric Contextual Online Learning Theory of Brokerage

François Bachoc, Tommaso Cesari, Roberto Colomboni

This paper, titled "A Parametric Contextual Online Learning Theory of Brokerage," provides a rigorous theoretical framework for a classic financial problem: how a middleman (the broker) can use market data to set prices that facilitate trades between two parties.

TL;DR

The authors develop the first optimal online learning algorithms for contextual brokerage, where a broker uses market data to predict asset values and set prices. They prove that while the problem is impossible to solve in a general sense, assuming a "bounded density" of trader valuations allows for tight regret guarantees that scale with the square root of time for limited feedback and logarithmically for full feedback.

What Problem Does This Paper Address?

In an over-the-counter (OTC) market, trades don't happen on a central exchange. Instead, a broker suggests a price $P_t$. Two traders arrive with their own private, secret valuations ($V_t$ and $W_t$). If the broker’s price falls between these two valuations, a trade occurs: the person with the high valuation buys, and the person with the low valuation sells. The goal is to maximize the gain from trade—the total surplus generated by the transaction.

The challenge is twofold:

  1. Contextual Information: Real-world brokers don't guess blindly; they look at market trends, supply/demand, and asset-specific data (the "context").
  2. Limited Feedback: In most cases, the broker doesn't see the traders' actual valuations. They only see "2-bit feedback": did the traders agree to the price or not?

While previous research looked at this problem in static or non-contextual settings, this paper tackles the "contextual" version, where the underlying market value is a linear function of observable features.

Methods

The authors model the market value $m_t$ as a linear product of a context vector $c_t$ and an unknown weight vector $\phi$ ($m_t = c_t^\top \phi$). Traders' actual valuations are noisy perturbations of this market value.

They propose two main algorithms:

  • Algorithm 1 (2-bit Feedback): This algorithm faces a classic exploration-exploitation dilemma. It uses a deterministic rule to decide whether to explore (post a random price to get an unbiased estimate of the market value) or exploit (post the predicted market value based on current data).
  • Algorithm 2 (Full Feedback): In a hypothetical scenario where traders reveal their true valuations after each round, no exploration is needed. The broker simply updates their linear model using standard least-squares estimators.

A key technical contribution is Theorem 2.1, a structural result proving that under the assumption of "bounded density" (meaning valuations aren't infinitely concentrated around a single point), the best possible price to post is exactly the expected market value.

Datasets

As a theoretical paper, it does not use empirical datasets. Instead, the authors use mathematical proofs and adversarial constructions to establish upper and lower bounds on "regret"—the difference between the broker's performance and that of an all-knowing oracle.

Key Insights and Ideas

  • The Power of Bounded Density: The authors show that if you don't assume the noise in trader valuations has a bounded density, the problem is unlearnable. An adversary can shift distributions such that the optimal price depends on hidden parameters that the broker can never recover, leading to linear regret.
  • Market Value is the "Golden Price": In many bandit problems, the optimal action is non-obvious. Here, they prove that the hidden market value is the mathematically optimal price to post to maximize trade utility.
  • The Feedback Gap: There is an exponential gap in efficiency between feedback types. With full valuations, regret grows as $O(\ln T)$. With only 2-bit "yes/no" feedback, it grows as $\tilde{O}(\sqrt{T})$.
  • Quadratic Loss: They demonstrate that the "cost" of missing the true market value is at most quadratic relative to the distance from that value, which allows them to leverage techniques from the "contextual linear bandit" literature.

Key Results

The paper establishes tight regret bounds, summarized in the table below:

Summary of regret bounds for different feedback and density assumptions.
  • 2-bit Feedback: The authors achieve a regret bound of $\tilde{O}(\sqrt{LdT})$, where $L$ is the density bound and $d$ is the dimension of the context. They also provide a matching lower bound, proving this is the best any algorithm can do.
  • Full Feedback: They achieve a much faster $O(Ld \ln T)$ regret bound.
  • Optimality: The dependence on all parameters ($L, d, T$) is shown to be tight, filling a significant gap in the existing literature on bilateral trade.

Limitations and Future Work

  • Linearity Assumption: The model assumes a linear relationship between context and market value. While standard, real-world markets may be non-linear.
  • Non-Strategic Traders: The model assumes traders' valuations are independent of the broker's past actions. In reality, traders might act strategically (e.g., shading their valuations) if they know they are interacting with a learning algorithm.
  • Future Directions: The authors suggest extending this theory to other market mechanisms, such as market making, first-price auctions with unknown costs, and optimal taxation.

Summary updated

BibTeX
@inproceedings{bachoc2025parametric,
  author = {François Bachoc and Tommaso Cesari and Roberto Colomboni},
  title = {{A Parametric Contextual Online Learning Theory of Brokerage}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=GA7RDBGs6S},
}
Figure