FedFeat+: A Robust Federated Learning Framework Through Federated Aggregation and Differentially Private Feature-Based Classifier Retraining

Mrityunjoy Gain, Kitae Kim, Avi Deb Raha, Apurba Adhikary, Eui-Nam Huh, Zhu Han, Choong Seon HongarXiv 2025 · DOI

Abstract

Federated Learning (FL) often struggles with highly imbalanced, non-IID client data, leading to poor model generalization. The FedFeat+ framework tackles this by having clients share differentially private feature representations alongside model weights, allowing the central server to retrain the global classifier. This two-tiered approach significantly boosts accuracy and convergence stability without compromising user privacy.

Introduction: The Challenge of Non-IID Data

Federated Learning (FL) allows multiple edge devices (like smartphones or IoT sensors) to collaboratively train a machine learning model without sharing their raw, sensitive data. However, FL faces a major hurdle: real-world data is rarely uniform. Data across devices is typically non-independent and identically distributed (non-IID). For instance, one device might have photos of cats, while another only has dogs.

Traditional aggregation methods like FedAvg struggle to build a robust global model from these skewed local updates. Because the central server never sees the data, the aggregated model lacks a holistic understanding of the global data distribution. This leads to "client drift," erratic training convergence, and suboptimal accuracy, particularly when data is extremely imbalanced.

The FedFeat+ Framework

The authors propose FedFeat+, a framework that fundamentally rethinks the FL paradigm by decoupling the model's feature extractor from its classifier.

System Architecture

The core innovation lies in the dual-stream update process. Clients perform local training but also provide perturbed feature representations to the server.

System architecture of the FedFeat+ framework.
  1. Local Training & Feature Perturbation: Clients train their models locally. Before sending updates to the server, they extract feature representations from their data using the model's feature extractor ($\Phi$). To ensure privacy, they inject Feature-Level Differential Privacy (FL-DP) noise ($N(0, \sigma_2)$) into these features ($F_n$), resulting in perturbed features ($F_{n,p}$).
  2. Server-Side Aggregation & Retraining: Clients send both their model weights ($W_n$) and the noisy features ($F_{n,p}$) to the central server. The server aggregates the weights using standard FedAvg to update the global model ($M$). Crucially, the server then retrains the global classifier ($\Psi$) using the concatenated pool of noisy features from all clients ($F_p$).
  3. Feedback Loop: The updated, globally-aware classifier is sent back to the clients ($W^{+1}$). In the next round, this improved classifier acts as a better target, forcing the local feature extractors to learn more generalized, robust representations.

Algorithmic Procedure

The formal steps of the FedFeat+ algorithm are detailed below, highlighting the client selection, local perturbation, and server-side retraining phases.

Algorithm 1: The FedFeat+ training procedure.

Experimental Evaluation

The framework was evaluated on four standard image classification benchmarks: CIFAR-10, CIFAR-100, MNIST, and Fashion-MNIST (FMNIST). Experiments were conducted with 10 and 50 client setups under both IID (balanced) and non-IID distributions. To simulate extreme non-IID conditions, a semi-pathological partitioning method was used where most clients only received data from two classes.

Key Results

FedFeat+ consistently outperformed standard FedAvg, particularly in hostile, non-IID environments:

  • Accuracy Gains: In non-IID scenarios, FedFeat+ improved accuracy over FedAvg by up to 7.62% on CIFAR-10, 12.34% on CIFAR-100, and 11.75% on Fashion-MNIST.
  • Convergence Stability: While FedAvg exhibited erratic, zigzagging convergence curves on non-IID data due to gradient instability, FedFeat+ maintained a much smoother and faster trajectory.
  • Privacy-Utility Tradeoff: A privacy budget of $\epsilon = 2.0$ offered the optimal tradeoff, maintaining high accuracy (e.g., 64.82% on non-IID CIFAR-10 with a CNN) while keeping privacy leakage metrics (Mutual Information, KL Divergence) strictly bounded.

Discussion and Insights

  • Holistic View vs. Client Drift: By pooling feature representations at the server, the global classifier gets a bird's-eye view of the entire data distribution. This directly combats the bias introduced by highly imbalanced local datasets.
  • Top-Down Feature Improvement: A smarter global classifier acts as a better guide. When the retrained classifier is sent back to clients, its gradients force the local feature extractors to produce more universally useful features.
  • Robustness to Noise: Theoretical analysis suggests that while DP noise prevents raw data reconstruction, it doesn't destroy underlying structural patterns. Because the classifier is Lipschitz continuous, it remains robust to small perturbations and can still learn effectively from noisy features.

Limitations and Future Work

The primary limitation is the added computational and communication overhead. Clients must transmit feature vectors in addition to model weights, and the server must spend compute cycles retraining the classifier. While this overhead is relatively small compared to local training, it could become a bottleneck in highly constrained IoT networks. Future work may include testing on larger real-world datasets and optimizing feature compression to reduce communication costs.

Summary updated

BibTeX
@misc{gain2025fedfeat,
  author = {Mrityunjoy Gain and Kitae Kim and Avi Deb Raha and Apurba Adhikary and Eui-Nam Huh and Zhu Han and Choong Seon Hong},
  title = {{FedFeat+: A Robust Federated Learning Framework Through Federated Aggregation and Differentially Private Feature-Based Classifier Retraining}},
  year = {2025},
  eprint = {2504.06004},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.06004},
}
Figure