Abstract
We study a new form of federated learning where the clients train personalized local models and make predictions jointly with the server-side shared model. Using this new federated learning framework, the complexity of the central shared model can be minimized while still gaining all the performance benefits that joint training provides. Our framework is robust to data heterogeneity, addressing the slow convergence problem traditional federated learning methods face when the data is non-i.i.d. across clients. We test the theory empirically and find substantial performance gains over baselines.
Introduction
In the landscape of Federated Learning (FL), a persistent tension exists between the desire for a powerful global model and the necessity of personalization. While global models benefit from aggregated cross-user data, they often fail to capture individual nuances, particularly in non-i.i.d. (independent and identically distributed) settings where user preferences vary significantly.
This paper introduces Federated Residual Learning (FedRes), a framework that harmonizes these competing needs. The authors identify three primary challenges in traditional FL: the mandatory nature of personalization, the scarcity of local data for individual training, and the computational intractability of baking every user's specific traits into a single central model. FedRes addresses these by allowing global and local models to collaborate as a team, effectively learning from the "residuals" of each other's predictions.
Methodology
The core innovation of FedRes is model separation. Instead of a single monolithic model, the system maintains two distinct components:
- Global Model ($w^g$): Shared across all clients and trained on global features.
- Local Model ($w_i$): Resides exclusively on the client's device, trained on local features.
The final prediction is the sum of the outputs from both models: Prediction = Global Output + Local Output. This structure forces each model to learn the part of the signal the other misses. The authors propose two algorithmic variants: FedRes.ERM for general loss minimization and FedRes.SGD for large-scale, computationally efficient deployment.
A key technical contribution is the "symmetric delayed" update rule, which ensures that gradients remain aligned even in the presence of communication delays between the server and clients.
Experimental Setup
The framework was evaluated using eight binary classification tasks derived from well-known LIBSVM datasets, including vision tasks (mnist, usps, pendigits, satimage) and general tasks (letter, sensorless, shuttle, covtype). To simulate a federated environment, features were split into global and local sets and distributed across 10 to 50 simulated clients, each assigned a unique classification sub-task.
Results and Discussion
FedRes was compared against two primary baselines: Independent (local training only) and Central (global training only).
As shown in Figure 1, FedRes consistently matched or outperformed the best baseline across all datasets. In instances like letter and pendigits, where a purely global model suffers from "negative transfer" (performing worse than local training), FedRes's local components preserved high accuracy.
Key Insights
- Amortized Complexity: The global model benefits from the aggregate data of all clients, while local models handle personalization without requiring massive local datasets.
- Privacy and Efficiency: In the SGD variant, clients only transmit the prediction residual rather than model weights or raw features, enhancing privacy and reducing communication overhead.
- Robustness to Delay: Theoretical and empirical results show that communication delays only affect lower-order terms of the regret bound, meaning the system remains effective even with high latency.
Conclusion
FedRes provides a robust solution for federated learning in heterogeneous environments. While the current study focuses primarily on linear models and identifies sub-optimal regret bounds in contextual bandit scenarios, it establishes a strong foundation for future work. Extending FedRes to non-convex settings with deep neural networks and improving bandit performance via Upper Confidence Bound (UCB) strategies are promising avenues for further research.
Summary updated