NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GPFL: Simultaneously Learning Global and Personalized Feature Information for Personalized Federated Learning

Jianqing Zhang, Yang Hua, Hao Wang, Tao Song, Zhengui Xue, Ruhui Ma, Jian Cao, Haibing Guan · DOI

Abstract

Personalized Federated Learning (pFL) aims to mitigate the challenges posed by non-IID data across clients. However, existing methods often struggle to balance global knowledge transfer with local adaptation, frequently falling into the "paradox of prototypes" where noisy local features mislead global guidance. This paper introduces GPFL (Global and Personalized Federated Learning), a framework that utilizes a "Conditional Valve" (CoV) and shared "Category Embeddings" (GCE) to simultaneously learn global and personalized feature information. GPFL achieves state-of-the-art performance across diverse datasets while enhancing privacy and robustness.

Introduction

Standard Federated Learning (FL) typically trains a single global model, which often fails to perform optimally on heterogeneous local data distributions (non-IID). While pFL methods attempt to adapt models to local data, they often face a trade-off: focusing too much on global features misses local nuances, while over-personalization leads to overfitting on small local datasets. The authors identify a "paradox of prototypes" in current prototype-based methods: using global features to guide local training is ineffective if the local feature extractor itself is still maturing, leading to noisy and misleading guidance.

Methodology

GPFL introduces a novel architecture designed to decouple and simultaneously process global and personalized information.

The GPFL architecture featuring the Conditional Valve (CoV) and Global Category Embeddings (GCE).

Conditional Valve (CoV)

The core of GPFL is the CoV module, which acts as a dynamic router. It transforms base features into two distinct paths: a Global Guidance Route and a Personalized Task Route. This allows the model to maintain a shared global understanding while specializing in local tasks.

Global Category Embedding (GCE)

GPFL maintains trainable "anchors" or embeddings for each category, shared across the network. These GCEs represent the "ideal" global representation of a class, providing a stable target for local feature alignment.

Dual-Level Guidance

The framework employs two levels of regularization:

  1. Angle-level: A contrastive loss ensures global features are mathematically aligned with their corresponding category anchors.
  2. Magnitude-level: This keeps the strength of local features near the global average, preventing excessive drift toward local idiosyncrasies.

Experimental Setup

GPFL was evaluated across six datasets spanning three domains:

  • Computer Vision: Fashion-MNIST, Cifar100, Tiny-ImageNet.
  • NLP: AG News, Amazon Review.
  • IoT: Human Activity Recognition (HAR).

Testing scenarios included label skew, feature shift, and naturally occurring real-world heterogeneity.

Results and Discussion

GPFL demonstrated superior performance compared to 10 state-of-the-art methods, including FedRep, Ditto, and FedProto.

Test accuracy and training loss curves comparing GPFL against state-of-the-art pFL methods in a feature shift setting.

Key Performance Metrics

  • Accuracy Boost: GPFL outperformed baselines by up to 8.99% on Cifar100.
  • Scalability and Robustness: The method remained stable as client numbers increased (up to 500) and performed well even with low client participation per round.
  • Fairness: GPFL achieved a lower coefficient of variation in accuracy across clients, indicating more equitable performance improvements.

Privacy and Stability

By using trainable category embeddings instead of simple averages of noisy local features, GPFL provides a stable "north star" early in training. Furthermore, gradient-based attacks (DLG) revealed that GPFL's updates are more complex and harder to invert, offering enhanced privacy as a secondary benefit.

Conclusion

GPFL successfully breaks the trade-off between collaborative learning and personalization. While it introduces new hyperparameters and a slight increase in local computation, its benefits in accuracy, fairness, and privacy make it a robust solution for real-world federated learning. Future work may focus on hyperparameter optimization and communication efficiency for resource-constrained environments.

Summary updated

BibTeX
@inproceedings{zhang2023gpfl,
  author = {Jianqing Zhang and Yang Hua and Hao Wang and Tao Song and Zhengui Xue and Ruhui Ma and Jian Cao and Haibing Guan},
  title = {{GPFL: Simultaneously Learning Global and Personalized Feature Information for Personalized Federated Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.00465},
}
Figure