Personalized Federated Learning With Server-Side Information

Jaehun Song, Min Hwan Oh, Hyung-Sin Kim

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models on decentralized data while preserving privacy. However, the practical deployment of FL faces a significant challenge: data heterogeneity. Because clients (e.g., mobile devices, hospitals) collect data from different environments, their local data distributions are often non-identically distributed (non-i.i.d.). A single global model often fails to generalize well across all participants.

Personalized Federated Learning (PFL) addresses this by aiming to learn a global model that can be easily adapted to individual client needs. Model-Agnostic Meta-Learning (MAML) is a popular framework for PFL, but it typically requires clients to compute second-order gradients (Hessians). This presents a significant bottleneck for resource-constrained edge devices. This paper introduces FedSIM (Federated Server Information Meta-learning), a framework that leverages underutilized server-side resources to offload these heavy computations.

The FedSIM Framework

FedSIM rebalances the computational workload of meta-learning by utilizing a small amount of data available at the central server. This approach allows clients to perform simple first-order updates while the server handles the complex meta-gradient estimation.

Client-Side Optimization

On the client side, FedSIM maintains simplicity. Each client $i$ performs local optimization using a loss function that includes an $L_2$ regularization term:

$$\min_{\phi_i} L_i(\phi_i) + \frac{\lambda}{2} \|\phi_i - \theta\|^2$$

This ensures that the personalized model ($\phi_i$) remains close to the global model ($\theta$), preserving the model's adaptability. Crucially, clients only need to compute standard first-order gradients, making the process as efficient as the baseline FedAvg algorithm.

Server-Side Meta-Learning

The central server utilizes a small proxy dataset ($D_s$) to update the global model. FedSIM employs two key approximations to compute meta-gradients without requiring excessive communication or client-side computation:

  1. First-Order Approximation: The server approximates the first-order meta-gradient using the weight difference between the global model and the personalized models returned by the clients.
  2. Hessian-Free Estimation: To incorporate second-order information (the "curvature" of the loss landscape), the server uses its own data to perform Hessian-free estimation. By calculating how gradients change under small perturbations, the server accounts for second-order effects without explicitly computing a massive Hessian matrix.

Experimental Evaluation

The authors evaluated FedSIM using the FedML library across four diverse non-i.i.d. benchmarks: Federated EMNIST, CIFAR-100, Shakespeare, and StackOverflow. In these experiments, the server held a very small fraction of data (typically $\le 5\%$ compared to the total client pool).

Performance and Efficiency

FedSIM demonstrated superior performance across several metrics:

  • Superior Accuracy: FedSIM consistently outperformed competitors like pFedMe, Per-FedAvg, and FedMeta. On Federated EMNIST, it achieved 91.51% accuracy, a significant improvement over existing PFL methods.
  • Faster Convergence: The method is highly communication-efficient, reaching target accuracy levels up to 34.2% faster than other personalized methods.
  • Resource Efficiency: Analysis of computation time showed that FedSIM’s client-side overhead remains nearly identical to FedAvg, even as the number of local epochs increases. This contrasts sharply with other MAML-based methods where client costs explode due to second-order requirements.

Key Insights

A central insight of FedSIM is the strategic use of the "Idle Server." While most FL research treats the server as a passive aggregator, FedSIM recognizes it as a high-performance resource that is often underutilized during local training phases. Furthermore, the research demonstrates that server-side data acts as an effective "proxy" for the global loss surface curvature, even if its distribution does not perfectly match the client data. Even with as little as 1% of the data at the server, FedSIM still outperformed standard FL methods.

Limitations and Conclusion

While FedSIM offers significant gains, it assumes the availability of some representative data at the server. This is feasible in domains like medical research (via pilot studies) or autonomous driving (company-owned test vehicles), but may be limited in strictly private consumer applications. Additionally, performance gains may diminish if the server-side data is extremely dissimilar to the client distributions.

In conclusion, FedSIM provides a scalable and efficient path for personalized federated learning. By offloading second-order calculations to the server, it enables high-performance meta-learning on resource-constrained devices, achieving better accuracy and faster convergence with minimal client overhead.

Summary updated

BibTeX
@article{song2022personalized,
  author = {Jaehun Song and Min Hwan Oh and Hyung-Sin Kim},
  title = {{Personalized Federated Learning With Server-Side Information}},
  journal = {IEEE Access},
  year = {2022},
  doi = {10.1109/access.2022.3221401},
}
Figure