Zen and the art of model adaptation: Low-utility-cost attack mitigations in collaborative machine learning

Dmitrii Usynin, Daniel Rueckert, Jonathan Passerat-Palmbach, Georgios KaissisProc. Priv. Enhancing Technol 2022 · DOI

Introduction

Collaborative Machine Learning (CML), encompassing Federated Learning (FL) and Split Learning (SL), enables multiple entities to train shared models without centralizing raw data. However, these frameworks are not inherently private. Adversaries can exploit shared gradients or activations to reconstruct sensitive training data or infer membership.

The Challenge of Formal Defenses

Traditional privacy-preserving techniques, such as Differential Privacy (DP) and Homomorphic Encryption (HE), often impose significant "utility costs." DP typically degrades model accuracy, while HE introduces substantial computational latency. This research investigates "model adaptation"—strategic architectural and hyperparameter choices—as a zero-cost empirical defense to bridge the gap between theoretical vulnerability and practical deployment.

Methodology and Datasets

The authors evaluate model adaptations against three primary attack vectors: Deep Leakage from Gradients (DLG), Generative Decoders (GD) in Split Learning, and Membership Inference Attacks (MIA). The study utilizes standard benchmarks (MNIST, CIFAR) alongside high-stakes medical datasets from MedMNIST, including PneumoniaMNIST, PathologyMNIST, and DermatologyMNIST.

Reconstruction of a dermatology image from the MedMNIST dataset, illustrating the vulnerability of medical data.

Evaluated adaptations include:

  • Model Depth and Width: Transitioning from shallow (LeNet) to deeper (AlexNet) architectures.
  • Batch Size: Increasing the number of samples per gradient update.
  • Activation Functions: Comparing ReLU against smooth functions like Sigmoid.
  • Cut Layer Placement: Adjusting the data split point in Split Learning.

Key Insights

The Fragility of Reconstruction

Reconstruction attacks like DLG are highly sensitive to training configurations. While effective against single-image updates in shallow networks, they often fail when batch sizes exceed two or when deeper architectures are employed, resulting in unrecognizable noise.

Architectural Barriers

Activation functions play a critical role. Discontinuous functions like ReLU create a more complex optimization landscape for attackers compared to smooth functions like Sigmoid, naturally hindering gradient inversion. In Split Learning, moving the "cut layer" deeper into the network reduces the resolution of leaked information, albeit at the cost of increased local computation for clients.

Results: Empirical Protection at Zero Cost

In medical imaging scenarios, researchers demonstrated that recognizable reconstructions (e.g., chest X-rays) were possible from single-client updates. However, increasing the effective batch size to 30 (10 per client) completely mitigated these attacks without any reduction in model accuracy.

Comparison between an original chest X-ray and a reconstructed version, illustrating the potential for data leakage in unprotected CML.

Compared to Differential Privacy, which reduced CIFAR-10 accuracy from ~99% to ~71% for high privacy levels, model adaptations maintained 100% utility while providing substantial empirical defense. Using the SSIM (Structural Similarity) metric, moving a Split Learning cut layer to the final pooling layer reduced reconstruction quality by 15-20%.

Conclusion

Model adaptation offers a pragmatic, low-cost baseline for securing collaborative machine learning. While it lacks the formal mathematical guarantees of Differential Privacy, it provides significant empirical resilience against current attack implementations. The authors suggest a hybrid approach: leveraging model adaptation for baseline protection and applying minimal "doses" of DP to achieve formal guarantees without sacrificing utility.

Summary updated

BibTeX
@article{usynin2022zen,
  author = {Dmitrii Usynin and Daniel Rueckert and Jonathan Passerat-Palmbach and Georgios Kaissis},
  title = {{Zen and the art of model adaptation: Low-utility-cost attack mitigations in collaborative machine learning}},
  journal = {Proc. Priv. Enhancing Technol.},
  year = {2022},
  doi = {10.2478/popets-2022-0014},
}
Figure