Scaling Federated Linear Contextual Bandits via Sketching

Hantao Yang, Hong Xie, Xutong Liu, Defu LianarXiv 2026

TL;DR

This paper introduces Federated Sketch Contextual Linear Bandits (FSCLB), an algorithm designed to scale federated bandit learning to high-dimensional data spaces. By leveraging matrix sketching and a novel server-side "double-sketch" strategy, FSCLB slashes local computation and communication costs by over 90% while maintaining near-optimal theoretical regret guarantees.

What Problem Does This Paper Address?

Federated contextual linear bandits allow multiple decentralized clients (like smartphones or edge devices) to cooperatively learn a shared recommendation or decision-making model without exposing their raw data. However, as data dimensionality ($d$) grows, existing algorithms hit a massive scaling wall.

To decide when it is necessary to synchronize with the central server, local clients must compute matrix determinants every round, costing an expensive $O(d^3)$ in computation. Furthermore, uploading and downloading full covariance matrices incurs a prohibitive $O(d^2)$ communication overhead per sync. This paper tackles these twin bottlenecks to make federated linear bandits practical for high-dimensional, bandwidth-constrained edge applications.

Methods

The authors propose Federated Sketch Contextual Linear Bandits (FSCLB), which introduces three key innovations:

  1. SVD-based Determinant Approximation: Instead of directly computing the determinant of a massive $d \times d$ covariance matrix, FSCLB uses Singular Value Decomposition (SVD) on a much smaller concatenated sketch matrix ($2l \times d$, where sketch size $l \ll d$). This drops the per-round computational complexity from $O(d^3)$ to $O(l^2d)$.
  2. Double-Sketch Strategy: To minimize communication, clients upload a compact sketch matrix instead of the full covariance matrix. Crucially, the server performs a second sketching step after merging client updates. This ensures that the downloaded matrix remains small ($l \times d$), reducing both upload and download communication costs from $O(d^2)$ to $O(ld)$.
  3. Spectral Compensation Frequent Directions (SCFD): Standard sketching can break the mathematical properties needed to trigger asynchronous communication. FSCLB adopts SCFD, a sketch-update strategy that guarantees a monotonically non-decreasing determinant approximation, preserving the validity of the asynchronous communication trigger.
Table of Notations used in the FSCLB algorithm

Datasets

The algorithm was evaluated on both synthetic and real-world datasets:

  • Synthetic Datasets: Simulated environments with dimensions $d = 50$ and $d = 100$, tested with sketch sizes $l = 20$ and $l = 40$.
  • Real-World Datasets (from the OpenML repository):
  • SatImage: A satellite image dataset mapped to a bandit setting ($d = 37$, sketch size $l = 12$).
  • MFeat: A handwritten digit feature dataset ($d = 48$, sketch size $l = 20$).

Key Insights and Ideas

  • The Monotonicity Catch: You cannot simply throw any sketching method into an asynchronous federated bandit. Asynchronous triggers rely on the local covariance matrix "growing" until it hits a threshold. Naive sketching truncates matrix increments, which can mask this growth and break the trigger. Using SCFD solves this by ensuring the sketched determinant behaves monotonically.
  • The Download Bottleneck: Many distributed sketching papers only optimize the upload cost. If the server naively aggregates client sketches, the resulting matrix can still expand back to $d \times d$ for the download phase. The "double-sketch" on the server side is the secret sauce that keeps download payloads small.
  • Information Loss vs. Efficiency: When the sketch size $l$ is larger than the actual rank of the underlying data covariance matrix, the theoretical regret bound collapses back to match the optimal, no-sketch baseline ($\widetilde{O}(\sqrt{ldT})$).

Key Results

  • >90% Resource Reduction: Empirical evaluations on both synthetic and real-world datasets demonstrate that FSCLB reduces both running time (computation) and data transferred (communication) by over 90% compared to the state-of-the-art no-sketch baseline (FedLinUCB).
  • Negligible Reward Trade-off: This massive resource saving comes at a very low cost; the cumulative reward achieved by FSCLB tracks closely with the exact, uncompressed baseline across all experiments, proving that the approximation errors introduce negligible performance degradation.

Limitations and Future Work

  • Sketch Size Sensitivity: The computational benefits are highly dependent on choosing a small sketch size ($l \ll d$). If the data requires a large sketch size close to $d$, the overhead of performing frequent SVDs can diminish the algorithmic gains. The authors include a conditional check to bypass SVDs when $l \ge 0.4d$ to mitigate this, but it remains a constraint.
  • Future Directions: The paper suggests extending this sketching framework to more complex federated settings, such as cluster bandits (where clients are grouped by similarity) or non-linear reward models.

Summary updated

BibTeX
@misc{yang2026scaling,
  author = {Hantao Yang and Hong Xie and Xutong Liu and Defu Lian},
  title = {{Scaling Federated Linear Contextual Bandits via Sketching}},
  year = {2026},
  eprint = {2605.00500},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.00500},
}
Figure