Introduction
Contextual bandits provide a powerful framework for sequential decision-making, where an agent selects actions ("arms") based on specific features ("context") to maximize rewards. In modern applications like personalized medicine or mobile advertising, data is often decentralized across many users to preserve privacy and manage scale. This necessitates a Federated Learning (FL) approach.
However, existing federated bandit solutions face a significant limitation: they predominantly rely on linear models. Linear models are favored because they offer closed-form solutions, allowing servers to aggregate data from different clients simply by summing their summary statistics. In reality, reward structures are frequently non-linear (e.g., a binary "click" or "no-click"). Generalized Linear Models (GLMs), such as logistic regression, handle these scenarios much better.
The challenge is that GLMs lack closed-form solutions and require iterative optimization (like gradient descent). In a federated setting, performing iterative updates across thousands of devices demands massive communication bandwidth, which is often impractical. This paper introduces FedGLB-UCB, the first communication-efficient federated learning algorithm for Generalized Linear Bandits (GLB), proving that we can harness the modeling power of GLMs without the prohibitive communication costs.
The FedGLB-UCB Framework
The authors propose the Federated Generalized Linear Bandit with Upper Confidence Bound (FedGLB-UCB) framework. To balance the need for accurate non-linear modeling with strict communication constraints, the architecture relies on a hybrid update strategy.
The system operates on three main pillars:
- Local Updates (Online Regression): Instead of waiting for the central server, each client updates its local model immediately after every interaction using the Online Newton Step (ONS). This allows the model to adapt quickly to new data without requiring server communication, mitigating the "drifting" problem where local models diverge from the global optimum.
- Global Updates (Offline Regression): Periodically, the server triggers a global synchronization. It uses Accelerated Gradient Descent (AGD) to aggregate gradients from all clients and compute a new "global" model. This step is considered "offline" because it processes the batch of data collected since the last synchronization.
- Event-Triggered Communication: To conserve bandwidth, the system avoids syncing on a fixed, rigid schedule. Instead, a global update is triggered only when a client's local data has changed sufficiently—measured by the growth of the determinant of its covariance matrix—indicating that a sync could significantly improve the global model.
A key technical contribution of this framework is a novel method for constructing confidence ellipsoids. These mathematical "safety zones" around the model's estimates help the algorithm effectively balance exploration (trying uncertain arms) and exploitation (picking the best-known arm).
Experimental Validation
The researchers evaluated FedGLB-UCB using both synthetic environments (with Bernoulli rewards to test controlled conditions) and real-world datasets from the UCI Machine Learning Repository, including CoverType (predicting forest cover types), MagicTelescope (simulating high-energy gamma particles), and Mushroom (classifying mushrooms). These datasets were adapted into contextual bandit problems to simulate real-world decision-making.
Key Results
- Optimal Regret: FedGLB-UCB achieves a cumulative regret of $\tilde{O}(d\sqrt{NT})$, matching the theoretical lower bound for centralized GLB models. Essentially, it performs as well as if all the data were stored on a single, central server.
- Sub-linear Communication: The paper rigorously proves that communication costs grow at a sub-linear rate of $\tilde{O}(\sqrt{T})$, where $T$ is the time horizon. As more data is collected, the relative cost of communication decreases.
- Superiority over Linear Models: On complex datasets like Mushroom and CoverType, FedGLB-UCB significantly outperformed existing linear federated bandit algorithms (such as DisLinUCB). This demonstrates that the added complexity of GLMs is crucial for capturing real-world reward mappings.
Limitations and Future Directions
While FedGLB-UCB establishes that sub-linear communication is achievable for GLBs, the absolute theoretical minimum communication required (the lower bound) remains an open question. Additionally, the current global update mechanism relies on aggregating local gradients; future work could explore aggregating the locally updated models themselves to further boost efficiency. Finally, while federated learning offers baseline privacy by keeping data on-device, integrating formal Differential Privacy (DP) mechanisms would be a valuable next step for highly sensitive applications.
Summary updated