The Other Side of the Coin: Unveiling the Downsides of Model Aggregation in Federated Learning from a Layer-peeled Perspective

Guogang Zhu, Xuefeng Liu, Jianwei Niu, Shaojie Tang, Xinghao Wu · DOI

Abstract

While model aggregation is the cornerstone of Federated Learning (FL), it introduces a significant, albeit temporary, performance drop on local data immediately after averaging. This study employs a "layer-peeled" analysis to identify Cumulative Feature Degradation (CFD) as the primary culprit—a process where minor misalignments in early layers amplify into substantial feature distortions and classifier mismatches in deeper layers.

The Hidden Cost of Collaboration

In standard Federated Learning frameworks like FedAvg, clients train models on private data and synchronize via a central server. While this process aims to build a robust global model, researchers have frequently observed a "performance drop": local accuracy plummets immediately after receiving the aggregated global weights. Often dismissed as a vague consequence of "client drift," this paper investigates the internal mechanics of this collapse to understand what is actually happening inside the neural network's layers during aggregation.

The Federated Learning workflow and the observed performance drop immediately following model aggregation.

Methodology: Peeling the Neural Network

The authors move beyond surface-level metrics like loss and accuracy, instead "peeling" the network to examine internal representations through three primary lenses:

  1. Feature Variance: Assessing within-class tightness (how similar same-class features are) and between-class separation (how distinct different classes are).
  2. Feature-Parameter Alignment: Using Principal Angles Between Subspaces (PABS) to measure how well the features produced by one layer "fit" the weights of the subsequent layer.
  3. Linear Probing: Evaluating the information content at various depths by freezing the backbone and training simple linear classifiers to see how much useful knowledge remains at specific layers.

These methods were tested across diverse datasets including Digit-Five, PACS, and DomainNet, using architectures ranging from ResNets to Vision Transformers (ViT).

Cumulative Feature Degradation: The Snowball Effect

The core finding of the research is the phenomenon of Cumulative Feature Degradation (CFD). Aggregation does not merely affect layers in isolation; it creates a snowball effect. Disruption in the feature extraction of early layers propagates through the hierarchical structure of the network.

Relative change in feature representations across layers, illustrating the cumulative nature of degradation.

As shown in the analysis of ResNet50, the relative change in feature quality increases steadily with depth. By the time signals reach the penultimate layer, the features are severely degraded, even if the actual weight change in that specific layer was relatively small. The most severe disruption occurs at the interface between the final features and the classifier, where a massive "alignment spike" indicates that the global classifier is essentially "speaking a different language" than the local features.

The Silver Lining: Aggregation as a Regularizer

Despite the immediate local performance hit, model aggregation is not entirely detrimental. The study reveals that aggregation serves as a powerful regularizer, significantly improving out-of-distribution (OOD) generalization. It prevents local models from overfitting to their specific domain "styles" (e.g., only recognizing "sketches" of an object) and forces the learning of more universal features.

This insight explains the success of popular FL variants like FedBN (personalizing Batch Normalization) and FedPer (personalizing the classifier). These methods effectively "break" the chain of CFD, allowing clients to maintain locally-tuned feature alignment while still benefiting from the global knowledge fused during aggregation.

Conclusion

This layer-peeled perspective reveals that the performance drop in Federated Learning is a structural issue of feature propagation. By quantifying how small weight changes magnify into large feature errors, this work provides a roadmap for designing more effective collaborative learning systems that balance local expertise with global generalization. Future research will explore if these CFD patterns hold true for non-visual modalities such as Large Language Models (LLMs).

Summary updated

BibTeX
@misc{zhu2025other,
  author = {Guogang Zhu and Xuefeng Liu and Jianwei Niu and Shaojie Tang and Xinghao Wu},
  title = {{The Other Side of the Coin: Unveiling the Downsides of Model Aggregation in Federated Learning from a Layer-peeled Perspective}},
  year = {2025},
  eprint = {2502.03231},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.03231},
}
Figure