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 · Submission to ICLR 2026 · Rejected

TL;DR

Federated Learning (FL) often experiences an immediate, sharp drop in local model performance right after server aggregation. This paper introduces a "layer-peeled" feature analysis framework revealing that parameter averaging causes Cumulative Feature Degradation (CFD)—an error-compounding domino effect across network depth that blows up within-class feature variance and ruptures the alignment between penultimate features and the classifier.

What Problem Does This Paper Address?

In federated learning with heterogeneous (non-IID) data, client models independently learn representations suited to their local distributions. When the central server aggregates these models via parameter-wise averaging (e.g., FedAvg), the new global model consistently underperforms on local data compared to the pre-aggregated local models.

While conventional wisdom attributes this drop to vague notions of "client drift" or "forgetting," the internal representation mechanics remain a black box. Why does parameter averaging damage local inference so intensely, and how does this degradation travel through deep neural network architectures?

Methods

The authors construct a diagnostic framework to evaluate feature representations inside individual models layer-by-layer:

  • Feature Quality (Variance Analysis): Measures normalized within-class variance ($\bar{\sigma}_W^\ell$, measuring feature compactness) and normalized between-class variance ($\bar{\sigma}_B^\ell$, measuring class separability) at layer $\ell$.
  • Feature-Parameter Alignment: Uses Principal Angles Between Subspaces (PABS) to quantify how well the range space of class-mean representations from layer $\ell$ aligns with the top $C$-rank input subspace of the subsequent layer parameters $W^{\ell+1}$.
  • Feature Generalization: Uses linear probing (freezing intermediate representations and training a linear classifier) across client domains.
  • Theoretical DLN Analysis: Formulates Deep Linear Networks (DLN) under parameter drift to prove how heterogeneity acts as unstructured noise, proving an exponential bound on feature error accumulation along depth ($E^\ell \le \gamma \frac{\lambda^\ell - 1}{\lambda - 1}$).

Datasets

The study evaluates cross-domain non-IID scenarios where each client holds a unique domain:

  • Digit-Five: 10 digit classes across 5 domains (MNIST, MNIST-M, USPS, SVHN, SynthDigits) on 5 clients.
  • PACS: 7 classes across 4 photographic/artistic domains (Photo, Art, Cartoon, Sketch) on 4 clients.
  • DomainNet: Evaluated on 10 common classes across 6 distinct domains (Clipart, Infograph, Painting, Quickdraw, Real, Sketch) on 6 clients.
  • AmazonReviews: A text modality benchmark covering 4 review categories (Books, DVD, Electronics, Kitchen) across 4 clients with a 4-layer MLP.

Key Insights and Ideas

  • Cumulative Feature Degradation (CFD): While parameter distance between pre- and post-aggregated models actually decreases with depth (except at the final classifier), feature distance steadily increases. Minor parameter divergences in early layers compound recursively through stacked nonlinear operations, causing massive feature disruption at the penultimate layer.
  • Disruption of Variance Suppression: In normal deep training, features become more compact within-class and more separated between-class. Aggregation directly reverses this: it inflates within-class variance and shrinks class centroids toward the origin due to vector cancellation (triangle inequality across divergent client weights).
  • Penultimate Alignment Rupture: The alignment between representations and weight subspaces drops throughout the model, but exhibits an acute cliff at the penultimate layer interface with the classifier.
  • The Generalization Trade-Off: While pre-aggregated models maintain tight local clusters, they overfit (showing poor out-of-distribution linear probing accuracy). Post-aggregated models suffer locally due to CFD but extract significantly more transferable, generalized features across foreign client domains.
  • Mechanisms Behind Popular Fixes:
  • Pretrained Initialization (ImageNet): Drastically shortens the "effective path length" of CFD by stabilizing shallow feature extractors early, preventing upstream errors from compounding downward.
  • Layer Personalization (e.g., FedPer, FedBN): Freezing or localizing shallow layers prevents the compounding noise pipeline from starting.
  • Classifier Fine-Tuning: Directly repairs the severe penultimate-layer-to-classifier misalignment without needing to touch deep backbones.

Key Results

  • Pervasive Phenomenon: CFD was confirmed across diverse model families—ConvNet, VGG13-BN, ResNet18/34/50, ViT-B/16, and MLPs—as well as across modern FL algorithms (FedProx, SCAFFOLD, FedDyn, and pFedMe).
  • Strong Error Correlation: Relative changes in within-class variance and alignment strongly correlate with client accuracy drops (Pearson correlation $|r|$ frequently exceeding $0.6$ to $0.7$).
  • Impact of Aggregation Frequency & Client Count: Increasing local update epochs from 5 to 20 or scaling client counts worsens the relative post-aggregation feature variance changes at deep layers (e.g., jumping from $<5\%$ to $>20\%$ relative degradation).
  • Residual Connections Act as Buffers: Plain ResNet architectures (with skip connections stripped) suffer significantly higher relative feature variance inflation compared to residual networks, confirming that identity shortcuts help bypass and dilute degraded intermediate signals.

Limitations and Future Work

  • Limitations: The theoretical analysis relies on Deep Linear Networks (DLN) and assumes local client parameter drifts act as unstructured noise uncorrelated with semantic feature directions.
  • Future Work:
  • Depth-Adaptive Aggregation: Designing algorithms that aggregate shallow and deep layers at varying frequencies (e.g., freezing aggregation of early layers once stabilized).
  • In-Network Feature Correction: Developing forward-pass regularization or lightweight adapter modules at intermediate layers to arrest cumulative feature degradation before it reaches the classifier.

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