- The paper introduces FSCLB, which leverages SVD-based sketching to reduce per-round computational complexity from O(d³) to O(l²d), enabling scalable federated bandit learning.
- It implements a double sketch communication protocol that lowers bandwidth needs from O(d²) to O(ld) while maintaining strong regret guarantees.
- Empirical results show over 90% reduction in computation and communication costs with minimal reward degradation on both synthetic and real-world datasets.
Scaling Federated Linear Contextual Bandits via Sketching
Introduction and Motivation
The federated contextual linear bandit (FCLB) problem is a fundamental framework for online learning, combining the exploration–exploitation challenge of multi-armed bandits with high-dimensional contextual information and distributed privacy-preserving learning. Conventional FCLB algorithms, exemplified by FedLinUCB, suffer from cubic computational costs (O(d3) per round, due to matrix determinant and inversion operations) and quadratic communication costs (O(d2) per communication, due to transmission of d×d matrices), both of which are prohibitive in high-dimensional regimes. This paper introduces the Federated Sketch Contextual Linear Bandits (FSCLB) algorithm, which leverages matrix sketching and efficient SVD-based updates to drastically reduce both computation and communication costs, while retaining strong regret guarantees.
Algorithmic Contributions
FSCLB addresses the scalability bottlenecks of FCLB with three main innovations:
- SVD-based Determinant Computation via Sketching: Instead of performing O(d3) determinant computations on full covariance matrices, FSCLB maintains a compact l×d sketch matrix (with l≪d) constructed using the Spectral Compensation Frequent Directions (SCFD) algorithm. The determinant is approximated using the product of singular values from the sketch, reducing per-round complexity to O(l2d). Algorithmic checks guarantee that, for sufficiently small l/d, SVD-based computation remains asymptotically dominant over direct determinant calculation.
- Double Sketch Communication Protocol: FSCLB introduces a double sketching mechanism that reduces both upload and download bandwidth from O(d2) to O(ld). Locally, each agent maintains and uploads only the low-dimensional sketch and accumulated spectral tail. Upon aggregation, the server merges agent sketches and applies a second round of sketching to maintain a consistent O(d2)0 dimensionality for download, thus avoiding blowup in merged matrix rank and maintaining strictly subquadratic communication.
- Regret-Optimal and Asynchronous Triggers via SCFD: To enable asynchronous update triggers (communicate only upon sufficient covariance growth), FSCLB employs SCFD. Unlike classical Frequent Directions (which can cause non-monotonicity and invalidate asynchronous triggers), SCFD preserves the necessary monotonic growth by compensating with accumulated spectral mass. Agents trigger upload when the determinant computed from the (compensated) sketch exceeds a threshold; theoretical analysis confirms that this rule preserves the optimality guarantees of FedLinUCB.
Theoretical Analysis
Rigorous analysis establishes that, with proper choice of sketch size O(d2)1 and communication tuning parameter O(d2)2, FSCLB achieves cumulative regret
O(d2)3
where O(d2)4 quantifies the spectral approximation error (spectral tail) of the covariance matrix. Notably, if the sketch size O(d2)5 exceeds the rank of the arm-selection matrix, O(d2)6 and the regret reduces to O(d2)7, matching the optimal no-sketch bound of FedLinUCB. Communication and computation costs per communication round are reduced from O(d2)8 and O(d2)9 to dĂ—d0 and dĂ—d1 respectively. The total number of communications is logarithmic in dĂ—d2 and inversely proportional to dĂ—d3.
Strong technical results in the appendix link the spectral properties of merged sketches to the original covariance matrix, showing that the accumulated sketch error is tightly bounded by the spectral tail of the data.
Empirical Evaluation
FSCLB is evaluated on both synthetic (dimensions dĂ—d4 and dĂ—d5, sketch sizes dĂ—d6) and real-world high-dimensional datasets (SatImage, dĂ—d7; MFeat, dĂ—d8) from OpenML. Numerical comparisons are made with FedLinUCB and a random baseline. Principal findings include:
- Over 90% reduction in both computation and communication costs relative to FedLinUCB for comparable cumulative rewards.
- Marginal reward degradation due to sketching, confirming that spectral error does not significantly degrade bandit performance at practical dĂ—d9 values.
- For real-world binary feedback, FSCLB's regret remains statistically indistinguishable from FedLinUCB, with random baselines lagging substantially behind.
These results hold robustly across both simulated and real data, even under adversarial and sensitive arm-selection settings.
Implications and Future Directions
This work demonstrates that randomized and deterministic matrix sketching, specifically SCFD, is a powerful tool for federated online decision-making under strict system constraints. The FSCLB architecture decouples the cost of exploration–exploitation trade-offs from the ambient data dimensionality, facilitating practical deployment of contextual bandits on massive and distributed datasets where communication and computation are primary bottlenecks.
Theoretically, the results motivate further study into more adaptive sketching strategies (e.g., dynamically tuning O(d3)0 per client or per communication epoch), tighter regret bounds under data-dependent sketching, and more aggressive quantization or compression protocols atop the sketch framework. Practically, the double-sketch protocol provides a template for broader classes of federated convex and non-convex optimization problems, particularly for applications in federated recommendation, personalized advertising, and online collaborative filtering—domains where large-scale, heterogeneous, and privacy-sensitive data are the norm.
Conclusion
The FSCLB algorithm achieves significant advances in scaling federated contextual linear bandits by leveraging advanced matrix sketching and a carefully engineered double-sketch communication protocol. By reducing computation and communication overheads by more than 90% with negligible regret increase, FSCLB makes high-dimensional federated contextual bandits tractable for large-scale real-world systems without sacrificing statistical efficiency. The algorithmic and analytical techniques introduced in this paper set a strong precedent for efficient, communication-aware federated learning in online settings.