Balancing Privacy Protection and Interpretability in Federated Learning

Zhe Li, Honglong Chen, Zhichen Ni, Huajie ShaoarXiv 2023

Abstract

Federated learning (FL) enables collaborative model training while keeping data decentralized, yet it remains vulnerable to gradient leakage attacks. While Differential Privacy (DP) mitigates this by adding noise, it often degrades model interpretability by perturbing critical weights. We propose Adaptive Differential Privacy (ADP), which selectively adds noise to non-salient gradients. Our method maintains high interpretability and accuracy while providing robust privacy protection, as demonstrated across multiple datasets including MNIST, Blood, and Animals.

Introduction: The Privacy-Interpretability Conflict

In Federated Learning, clients share model gradients instead of raw data. However, Gradient Leakage Attacks (GLA) can reconstruct private training images from these shared parameters. Standard defenses involve Differential Privacy (DP), which injects Gaussian noise into gradients. Unfortunately, this noise is applied uniformly, often corrupting the weights responsible for visual explanations (e.g., Grad-CAM heatmaps). In domains like healthcare or autonomous driving, where "why" a model makes a prediction is as critical as the prediction itself, this loss of interpretability is a major barrier to adoption.

Methodology: Adaptive Differential Privacy (ADP)

To resolve this conflict, we introduce Adaptive Differential Privacy (ADP). Unlike standard DP, ADP is "explanation-aware," identifying and protecting the most important weights for model interpretability.

  1. Salience Identification: The method uses Grad-CAM (Gradient-weighted Class Activation Mapping) to determine which weights in the convolutional layers are most critical for capturing salient features.
  2. Selective Masking: Weights are ranked by importance. A user-defined ratio ($r\%$) determines the threshold for "important" weights.
  3. Targeted Perturbation: A binary mask is applied so that Gaussian noise is primarily injected into the "less important" weights, leaving the salient signals relatively intact.

This approach ensures that the gradients shared with the central server still contain the necessary information for generating clear visual explanations without exposing the raw data to reconstruction attacks.

Experimental Evaluation

We evaluated ADP on three benchmarks: MNIST (handwritten digits), Blood (microscopic cell images), and Animals (various species), under both IID and Non-IID conditions.

Comparison of interpretability and privacy protection. ADP maintains clear heatmaps similar to the 'No DP' baseline while preventing image reconstruction via GLA.

Key Results

  • Interpretability Preservation: As shown in the visualizations, standard DP results in noisy, scattered heatmaps that fail to highlight the object of interest. In contrast, ADP heatmaps remain focused on the target objects, closely resembling the "No DP" baseline even under high noise levels.
  • Accuracy Gains: ADP consistently outperforms standard DP in classification accuracy. For example, on the Blood dataset (IID), ADP with 25% noise achieved 69.67% accuracy, significantly higher than the 50.77% achieved by standard DP.
  • Privacy Against Reconstruction: Despite protecting salient weights, ADP effectively thwarts Deep Leakage from Gradients (DLG) attacks. The reconstructed images from ADP-protected gradients remain unrecognizable noise, proving that the overall privacy of the model is not compromised.
Visualizations across MNIST, Blood, and Animal datasets. ADP consistently provides superior interpretability compared to standard and random DP across different noise levels (25% and 50%).

Conclusion

Adaptive Differential Privacy (ADP) provides a practical solution to the trade-off between privacy and transparency in Federated Learning. By selectively protecting salient gradients, ADP maintains model interpretability and accuracy without compromising defense against reconstruction attacks. Future work will focus on automating the selection of importance thresholds and extending the framework to other interpretability methods beyond Grad-CAM.

Summary updated

BibTeX
@misc{li2023balancing,
  author = {Zhe Li and Honglong Chen and Zhichen Ni and Huajie Shao},
  title = {{Balancing Privacy Protection and Interpretability in Federated Learning}},
  year = {2023},
  eprint = {2302.08044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.08044},
}
Figure