Mitigating Data Absence in Federated Learning Using Privacy-Controllable Data Digests

Chih-Fan Hsu, Ming‐Ching Chang, Wei-Chao ChenarXiv 2022 · DOI

Abstract

The absence of training data and their distribution changes in federated learning (FL) can significantly undermine model performance, especially in cross-silo scenarios. To address this challenge, we introduce the Federated Learning with Data Digest (FedDig) framework. FedDig manages unexpected distribution changes using a novel privacy-controllable data digest representation. This framework allows FL users to adjust the protection levels of the digest by manipulating hyperparameters that control the mixing of multiple low-dimensional features and applying differential privacy perturbation to these mixed features. Evaluation of FedDig across four diverse public datasets shows that it consistently outperforms five baseline algorithms by substantial margins in various data absence scenarios. We also thoroughly explored FedDig's hyperparameters, demonstrating its adaptability. Notably, the FedDig plugin design is inherently extensible and compatible with existing FL algorithms.

Introduction: The Challenge of Data Absence

Federated Learning (FL) enables collaborative model training across decentralized data sources without requiring raw data sharing. However, standard FL assumes a stable participant pool. In "cross-silo" environments—such as collaborations between hospitals or financial institutions—the departure of a single client can lead to "catastrophic forgetting." When a client leaves, the global model quickly loses the unique data distribution that client provided, a phenomenon termed data absence. This is particularly problematic when data is non-IID; for instance, if a hospital specializing in rare diseases leaves the network, the global model's diagnostic accuracy for those diseases may plummet.

Impact of client departure (C2 leaves) and rejoining on model accuracy. Note the sharp drop in accuracy for specific client distributions when they go offline.

The FedDig Framework

To mitigate these effects, we propose FedDig (Federated Learning with Data Digest), a framework that introduces a "memory" component to the FL process. FedDig operates through a multi-step process:

  1. Data Digest Creation: Before training, clients generate a "digest" of their data—a set of low-dimensional features produced by an encoder.
  2. Privacy-Controllable Protection: To prevent data leakage, FedDig employs two layers of defense: Feature Mixing (blending multiple samples controlled by the $SpD$ hyperparameter) and Differential Privacy (DP) (adding mathematical noise).
  3. Gradient Synthesis: When a client goes offline, the moderator uses the stored digest to synthesize missing gradients. This allows the server to "recall" the absent client's contribution, keeping the global model synchronized with the missing distribution.
  4. Extensibility: FedDig is designed as a plugin, making it compatible with existing algorithms like FedAvg, FedProx, and FedNova.
The FedDig architecture: (Left) Normal FL training with digest storage; (Right) Gradient synthesis using the stored digest when a client leaves.

Experimental Evaluation

We evaluated FedDig using standard benchmarks including EMNIST, Fashion-MNIST, CIFAR-10, and CIFAR-100. We simulated various scenarios: temporary departure, permanent departure, sequential leaving, and staggered joining.

FedDig consistently outperformed state-of-the-art baselines (FedAvg, FedProx, FedNova, FedDyn, and AdaBest). In a sequential leaving scenario on EMNIST, FedDig maintained 77.6% accuracy, significantly higher than FedNova (53.0%) and FedAvg (51.6%). On CIFAR-100, FedDig achieved 68% accuracy, nearly doubling the performance of standard FedAvg (~32%) under data absence conditions.

Key Insights and Discussion

A critical finding is the effectiveness of synthesizing new gradients rather than storing old ones. As the global model evolves, old gradients become stale; FedDig’s synthesis ensures the "virtual" client remains relevant to the current model state.

Regarding privacy, we identified a "sweet spot" with a Samples per Digest ($SpD$) value of 4. At this level, synthesized "guidance" images are unrecognizable to humans and difficult for machines to invert, yet they retain sufficient structural information for effective model training.

Conclusion

FedDig provides a robust solution for maintaining model performance in dynamic FL environments. By leveraging privacy-protected data digests, it ensures that the departure of key participants does not lead to the loss of critical knowledge. Future work will focus on reducing the computational overhead of gradient synthesis and extending the framework to non-image domains like NLP.

Summary updated

BibTeX
@misc{hsu2022mitigating,
  author = {Chih-Fan Hsu and Ming‐Ching Chang and Wei-Chao Chen},
  title = {{Mitigating Data Absence in Federated Learning Using Privacy-Controllable Data Digests}},
  year = {2022},
  eprint = {2210.00737},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.00737},
}
Figure