FedSelect: Personalized Federated Learning with Customized Selection of Parameters for Fine-Tuning

Rishub Tamirisa, Chulin Xie, Wenxuan Bao, Andy Zhou, Ron Arel, Aviv ShamsianCVPR 2024

Abstract

Standard federated learning approaches suffer when client data distributions have sufficient heterogeneity. Recent methods addressed the client data heterogeneity issue via personalized federated learning (PFL) - a class of FL algorithms aiming to personalize learned global knowledge to better suit the clients' local data distributions. Existing PFL methods usually decouple global updates in deep neural networks by performing personalization on particular layers (i.e. classifier heads) and global aggregation for the rest of the network. However, preselecting network layers for personalization may result in suboptimal storage of global knowledge. In this work, we propose FedSelect, a novel PFL algorithm inspired by the iterative subnetwork discovery procedure used for the Lottery Ticket Hypothesis. FedSelect incrementally expands subnetworks to personalize client parameters, concurrently conducting global aggregations on the remaining parameters. This approach enables the personalization of both client parameters and subnetwork structure during the training process. Finally, we show that FedSelect outperforms recent state-of-the-art PFL algorithms under challenging client data heterogeneity settings and demonstrates robustness to various real-world distributional shifts.

Introduction

In standard Federated Learning (FL), a central server attempts to train a single global model that generalizes across all participating clients. However, this objective is often undermined by "heterogeneous" data distributions, where clients possess diverse datasets (e.g., varying medical imaging modalities or geographic landscapes).

To address this, Personalized Federated Learning (PFL) has emerged as a solution. A common PFL strategy is "parameter decoupling," where certain layers (like the feature extractor) are shared globally, while others (like the classification head) are kept local. However, choosing which layers to personalize is currently a manual process that often relies on heuristics. FedSelect moves away from this "one-size-fits-all" layer selection by identifying and localizing specific parameters that change most during local training—a strategy inspired by the Lottery Ticket Hypothesis (LTH). This allows each client to "grow" a custom subnetwork that perfectly balances global knowledge with local expertise.

Methods

FedSelect treats the search for personalized parameters as a subnetwork discovery problem. Instead of pruning a network as in standard LTH, FedSelect expands a personalized subnetwork over time.

The FedSelect workflow illustrating the GradSelect process, client-specific subnetwork expansion, and global aggregation of non-personalized parameters.

Key components of the algorithm include:

  • The Gradient-based Hypothesis: The authors propose that parameters showing the most significant change during local training are the most vital for encoding local data characteristics. Conversely, parameters that remain stable are better suited for encoding shared global knowledge.
  • GradSelect Algorithm: In each round, FedSelect identifies the top $p\%$ of parameters with the largest update magnitudes and adds them to a client-specific local mask.
  • Incremental Growth: The personalized subnetwork grows until it reaches a user-defined limit ($\alpha$). This enables the personalization of both specific parameters and the overall subnetwork structure.
  • Customized Aggregation: On the server side, global averaging only occurs for parameters that are not part of a client's personalized mask. This ensures the global model is built only from stable, shared knowledge.

Results and Key Insights

The researchers evaluated FedSelect against several challenging benchmarks, including CIFAR-10, CIFAR-10-C (testing robustness to 19 corruption types), mini-ImageNet, and OfficeHome (simulating real-world domain shifts).

Test accuracy over communication rounds for CIFAR10, CIFAR10-C, mini-ImageNet, and OfficeHome datasets, comparing FedSelect against state-of-the-art PFL baselines.
  • Superior Accuracy and Stability: FedSelect outperformed all baselines across all four datasets, providing an average 2.4% improvement over the next best state-of-the-art method. Convergence plots show that FedSelect reaches peak accuracy more smoothly and quickly than competing algorithms.
  • Robustness to Data Scarcity: In "stress tests" with very small local datasets, FedSelect remained stable while other methods (like FedPer and FedBABU) saw performance drops of up to 33-55%.
  • Automatic Discovery: Unlike previous methods that require manual architectural decisions, FedSelect automatically discovers which parts of the model need to be local. Analysis of client masks revealed that clients with similar data distributions naturally discovered similar personalized subnetworks.

Conclusion

FedSelect demonstrates that fine-grained, parameter-wise personalization provides a superior balance between global collaboration and local specialization. By moving from layer-wise to parameter-wise selection, the algorithm adaptively discovers the optimal subnetwork for each client. Future work will explore the communication overhead of mask stabilization and the security implications of these personalized custom subnetworks against adversarial attacks.

Summary updated

BibTeX
@inproceedings{tamirisa2024fedselect,
  author = {Rishub Tamirisa and Chulin Xie and Wenxuan Bao and Andy Zhou and Ron Arel and Aviv Shamsian},
  title = {{FedSelect: Personalized Federated Learning with Customized Selection of Parameters for Fine-Tuning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=WCxr4o0diX},
}
Figure