Introduction
Federated Learning (FL) enables collaborative model training across multiple decentralized devices or servers without ever exchanging their raw data, thereby preserving privacy. However, a massive hurdle in real-world FL deployments is data heterogeneity, commonly referred to as "non-iid" (non-independent and identically distributed) data. In practice, one participant might possess thousands of images while another has only a handful (quantity imbalance), or one hospital might encounter rare diseases while another sees common ones (label distribution shift).
Most existing solutions attempt to mitigate this by altering the training strategy—tweaking the optimization algorithms and how model updates are aggregated. Unfortunately, these strategies often act as tailored patches for specific types of data imbalances and lack generalizability. This paper argues for a shift in perspective: instead of just changing the math, we should look at the model architecture itself. Standard small convolutional kernels (like $3 \times 3$) have a limited "view" of the data, making them brittle when faced with diverse, non-iid data distributions. To address this, researchers introduce FedKernel, a novel architectural approach that swaps standard convolutional kernels for large, sparse ones.
The FedKernel Architecture
FedKernel leverages large sparse kernels to increase the model's receptive field—the amount of input area the model "sees" at once—without incurring a massive increase in computational cost. By seeing more of the image simultaneously, the model is less likely to get confused by local variations or noise specific to a single user's data.
The core technique enabling this is sparse reparameterization:
- Training Phase: Instead of training a single, computationally heavy $7 \times 7$ kernel (which contains 49 parameters), the architecture trains three smaller, parallel kernels: a horizontal $3 \times 7$, a vertical $7 \times 3$, and a central $3 \times 3$.
- Fusion Phase: During inference (testing), these three parallel kernels are mathematically "fused" into a single $7 \times 7$ kernel.
- The Focusing Effect: Because the three constituent kernels overlap in the center, the central weights of the final fused kernel are naturally larger. This mimics human vision, which focuses intensely on a central point while maintaining a broader peripheral view.
This structural overlap creates a natural weight distribution that prioritizes the center of the field of view, helping the network capture global features and improving its "transferability" across different users' data distributions.
Experimental Setup
The researchers evaluated FedKernel using the mini-ImageNet dataset, a standard computer vision benchmark. To simulate the messy reality of Federated Learning, they artificially partitioned the data into three distinct "non-iid" scenarios:
- Label non-iid: Different users have different classes of images, simulated using a Dirichlet distribution.
- Feature non-iid: Different users have different "noise" or styles in their images, simulated using Gaussian noise.
- Quantity non-iid: Some users have significantly more data samples than others.
Key Results
FedKernel was designed to be a "plug-and-play" enhancement. The authors tested it atop several popular FL algorithms, including FedAvg, FedProx, Moon, and HarmoFL.
The results demonstrated consistent, across-the-board improvements when FedKernel was integrated:
- Label Heterogeneity: Improved accuracy by an average of 0.77% to 1.25% depending on the base algorithm.
- Feature Heterogeneity: Saw substantial gains between 1.56% and 2.47%.
- Quantity Heterogeneity: Achieved improvements ranging from 0.36% to 1.38%.
Essentially, regardless of the underlying FL optimization algorithm used, incorporating FedKernel's sparse architecture made the model more accurate and robust against distribution shifts.
Limitations and Future Work
While the results are promising, the study notes a few limitations and avenues for future exploration:
- Kernel Size Limits: The experiments were constrained to $7 \times 7$ kernels. Exploring even larger kernels could potentially yield better receptive fields and results, though it might introduce new optimization complexities.
- Dataset Complexity: Future work is necessary to verify how well this architectural change scales to much larger, more complex datasets beyond mini-ImageNet.
- Real-world Scenarios: While the simulations (Dirichlet distributions and Gaussian noise) are standard practice in FL research, testing the method on "in-the-wild" federated datasets would further cement its practical utility.
Summary updated