Introduction: The Architecture Gap in Federated Learning
Federated Learning (FL) has emerged as a vital paradigm for training machine learning models on decentralized data while preserving user privacy. Despite its success, a significant "architecture gap" persists. While centralized learning leverages increasingly deep architectures like ResNet101 or Vision Transformers to achieve state-of-the-art results, FL research and deployment often remain confined to shallow networks with fewer than ten layers.
When practitioners attempt to deploy deep models in an FL setting, they frequently encounter a "performance cliff." Even under ideal conditions where data is identically distributed (i.i.d.) across clients, accuracy can plummet by 16-33%, and convergence speeds can slow by up to 90%. This phenomenon, illustrated in Figure 3, shows that deeper models like ResNet50 and ResNet101 consistently underperform compared to their shallower counterparts like ResNet9 across various benchmarks.
The Root Cause: Divergence Accumulation
A common misconception is that this performance drop stems from local overfitting on client devices. However, recent research identifies a more fundamental structural issue: Divergence Accumulation.
Divergence is a metric that quantifies the dissimilarity between client models at specific layers. The theory posits that during backpropagation, gradients are calculated from the output layer back toward the input. As these gradients flow backward, small dissimilarities between clients at each layer accumulate. Consequently, the layers closest to the input (the "shallow" layers) inherit the cumulative noise and divergence of every subsequent layer in the chain. In deep models, this chain is significantly longer, leading to massive divergence in the early layers that prevents effective training. Figure 6 demonstrates how this divergence grows over successive training rounds.
Strategies for Deep Federated Learning
To mitigate divergence accumulation and unlock the potential of deep models in FL, researchers propose several architectural and data-centric guidelines:
- Model Widening: Increasing the number of channels per layer. Wider models exhibit a "lazy" property where parameters update more gradually, providing greater architectural stability and preventing client models from drifting too far apart.
- Receptive Field Reduction: Modifying architectures to ensure neurons focus on smaller, more consistent image regions. For example, removing Max Pooling layers or using smaller convolution kernels keeps neurons focused on low-level features (like edges and textures) that are more likely to be consistent across diverse client datasets.
- Data Pre-processing: Utilizing higher-resolution images and robust data augmentation (e.g., Random Resized Crop) helps reduce initial data dissimilarity at the "root," thereby lowering the baseline divergence that backpropagation starts with.
Key Empirical Results
Implementing these guidelines has led to dramatic performance gains:
- Architectural Tweaks: On Tiny-ImageNet, simply removing the Max Pooling layer from a ResNet101—thereby reducing its receptive field—boosted accuracy from 23.6% to 47.3%.
- Width vs. Depth: On CIFAR-100, increasing the width of a 13-layer ResNet by 3x improved accuracy from 52.7% to 61.3% while significantly reducing mean divergence. This confirms that the issue is architectural stability rather than simple parameter count.
- Resolution Impact: Increasing image resolution from 64x64 to 192x192 on Tiny-ImageNet improved ResNet101 accuracy from 23.6% to 49.0%.
- Transformer Stability: The Swin Transformer, which naturally employs a restricted receptive field design, demonstrated superior stability and lower performance decline in FL compared to the standard Vision Transformer (ViT).
Conclusion and Future Directions
The discovery of divergence accumulation provides a theoretical foundation for understanding why deep models struggle in Federated Learning. By shifting focus from local overfitting to architectural stability, practitioners can successfully deploy deeper, more powerful models. While current solutions like model widening and higher resolutions increase computational overhead, they provide a clear path forward. Future research will likely focus on optimizing these strategies for non-i.i.d. data and developing more communication-efficient methods to manage divergence without increasing client-side resource requirements.
Summary updated