Learning from Distributed Users in Contextual Linear Bandits Without Sharing the Context

Osama A. Hanna, Lin Yang, Christina FragouliNeurIPS 2022

Executive Summary

Contextual linear bandits are a foundational framework for sequential decision-making, with applications ranging from personalized recommendations to autonomous navigation. However, deploying these models in distributed environments—where agents interacting with the environment are geographically separated from a central learner—introduces severe communication bottlenecks.

This paper introduces highly communication-efficient algorithms for distributed contextual linear bandits, proving that a central learner can achieve near-optimal regret even with massive data compression. Most notably, the authors demonstrate that if the context distribution is known, agents need to send zero bits of context information. If the distribution is unknown, only $\approx 5d$ bits per context are required. This represents a significant theoretical leap, removing the time-horizon ($T$) dependency found in previous bounds and achieving information-theoretic tightness.

The Communication Bottleneck in Distributed Bandits

In a standard contextual linear bandit setup, an agent observes a "context" (such as a user's profile or environmental sensor data), chooses an "action," and receives a reward. To improve its decision-making over time, a central learner must process these contexts and rewards to estimate the underlying system parameters.

In distributed settings—such as drones navigating a remote environment or mobile devices recommending local services—the "uplink" communication from the agent to the learner is often heavily constrained. When the context is a high-dimensional vector ($d$), transmitting full-precision data becomes impractical. Previous solutions either required sending uncompressed vectors or relied on quantization schemes where the required number of bits grew with the time horizon ($T$), resulting in $O(d \log T)$ communication costs. This makes long-term learning computationally expensive and bandwidth-intensive.

Proposed Methods: Learning with Minimal Communication

The authors propose two primary algorithms, tailored to whether the central learner knows the underlying probability distribution of the contexts:

1. The "Zero-Bit" Approach (Known Distribution)

When the central learner knows the distribution from which contexts are drawn, the authors introduce a clever reduction technique. The central learner runs a "placeholder" bandit algorithm designed for a single-context scenario. Using the known distribution, it maps the placeholder's actions to the real-world context.

Remarkably, the agent only needs to send 1 bit of quantized reward information back to the learner. Because the learner already understands the statistical properties of the environment, it can effectively infer the necessary context statistics without the agent ever transmitting the actual context vector.

2. Stochastic Quantization (Unknown Distribution)

When the context distribution is unknown, the agent must transmit context data, but it does so with extreme efficiency using Stochastic Quantization (SQ). Instead of sending full-precision floating-point numbers, the agent sends the sign of each coordinate ($d$ bits) alongside a quantized magnitude.

Crucially, the agent also transmits quantized information about the diagonal of the least-squares covariance matrix. This allows the central learner to construct an unbiased estimator of the system parameters using only $\approx 5d$ bits per context—roughly a 6x reduction compared to standard 32-bit float representations.

Key Insights and Theoretical Results

As a purely theoretical work, the paper focuses on proving rigorous regret bounds and communication complexity rather than empirical dataset evaluation. The mathematical guarantees are striking:

  • Near-Optimal Regret: Both algorithms achieve a regret bound of $\tilde{O}(d\sqrt{T})$. This matches the order of performance of "full-information" algorithms (like LinUCB) that have access to perfect-precision context data.
  • Breaking the $T$ Dependency: By providing a constant $O(d)$ bit requirement, the communication cost per round remains fixed regardless of how long the algorithm runs, overcoming the $O(d \log T)$ limitation of prior state-of-the-art methods.
  • Computational Feasibility: Earlier quantization methods often relied on discretizing the space via "nets," leading to exponential time complexity ($O(T^d)$). The proposed SQ-based approach is computationally efficient and scales linearly with the dimension $d$.
  • Implicit Privacy: Because the context is never shared in the known-distribution case—and heavily compressed with added stochasticity in the unknown case—these algorithms naturally protect sensitive user side-information from the central server.

Limitations and Future Directions

While the theoretical guarantees are robust, the authors note a few limitations that pave the way for future research:

  • The Diversity Assumption: For the unknown distribution scenario, the mathematical proofs rely on a "diversity assumption"—meaning the contexts must be sufficiently spread out to cover all dimensions of the feature space. If contexts are highly collinear or restricted, quantization errors could accumulate.
  • Downlink Costs: The paper assumes "cost-free" downlink communication (from the learner to the agents). While broadcast communication is generally cheaper than individual uplinks in wireless systems, optimizing downlink efficiency for system parameters remains an open challenge.
  • Distribution Shifts: The zero-bit algorithm assumes perfect knowledge of the context distribution. Future work is needed to explore how robust this approach is to approximate knowledge or significant distribution shifts over time.

Summary updated

BibTeX
@inproceedings{hanna2022learning,
  author = {Osama A. Hanna and Lin Yang and Christina Fragouli},
  title = {{Learning from Distributed Users in Contextual Linear Bandits Without Sharing the Context}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=ekfMk-WEtxR},
}
Figure