Introduction
Federated Learning (FL) has become a cornerstone for training machine learning models on decentralized data, such as photos on smartphones, without compromising privacy. The standard approach, Federated Averaging (FedAvg), involves training models locally and then averaging their weights to create a global model.
While effective for convex optimization, deep neural networks are non-convex. Averaging the weights of two networks that have "diverged" into different areas of the loss landscape can result in a global model that performs worse than either parent—a phenomenon known as the "weight-space symmetry" problem. This paper investigates the conditions under which averaging is beneficial through the lens of Information Theory.
Methodology: The Information Bottleneck
The researchers apply the Information Bottleneck principle to FL, tracking two key metrics using the Ensemble Dependency Graph Estimator (EDGE):
- $I(Z; X)$: Mutual Information between the internal representation ($Z$) and the input ($X$), measuring raw data retention.
- $I(Z; Y)$: Mutual Information between the representation ($Z$) and the labels ($Y$), measuring predictive power.
Experiments were conducted using a LeNet architecture on two nodes with the CIFAR-10 dataset, comparing one-shot averaging against periodic synchronization in both IID and Non-IID settings.
Key Insights: Information Collapse and Synchronization
A critical finding is the "Information Collapse." In IID scenarios, if nodes train independently for too long, the mutual information in the averaged model eventually drops drastically. While local models may maintain high accuracy, the averaged weights diverge too far to be combined effectively.
Periodic synchronization acts as a "reset," pulling nodes back into a shared region of the weight space and stabilizing information flow. In Non-IID settings, averaging is the primary mechanism for information propagation between nodes; without frequent synchronization, the global model fails to learn classes unique to specific nodes.
Experimental Results and Visualizing Failure
The study demonstrates that synchronization frequency is paramount. In IID tests, periodic synchronization achieved over 73% accuracy, whereas one-shot averaging plummeted to 36%. In difficult Non-IID splits, frequent synchronization (every 100 batches) was required to reach roughly 60% accuracy.
The plots clearly visualize these failures: in unsuccessful averaging attempts, the mutual information between the representation and the labels ($I(Z;Y)$) for the global model trends toward zero even while local models remain highly informative.
Conclusion and Future Work
This information-theoretic approach provides a potential "canary in the coal mine" for FL. Monitoring Mutual Information could enable adaptive synchronization systems that trigger aggregations only when local models begin to diverge significantly in their information content. Future work will explore scaling these insights to thousands of nodes and larger architectures like Transformers.
Summary updated