Unleashing the Tiger: Inference Attacks on Split Learning

Dario Pasquini, Giuseppe Ateniese, Massimo Bernaschi · DOI

Abstract

We investigate the security of Split Learning—a novel collaborative machine learning framework that enables peak performance by requiring minimal resource consumption. In the present paper, we expose vulnerabilities of the protocol and demonstrate its inherent insecurity by introducing general attack strategies targeting the reconstruction of clients' private training sets. More prominently, we show that a malicious server can actively hijack the learning process of the distributed model and bring it into an insecure state that enables inference attacks on clients' data. We implement different adaptations of the attack and test them on various datasets as well as within realistic threat scenarios. We demonstrate that our attack is able to overcome recently proposed defensive techniques aimed at enhancing the security of the split learning protocol. Finally, we also illustrate the protocol's insecurity against malicious clients by extending previously devised attacks for Federated Learning.

Introduction: The Illusion of Privacy in Split Learning

Split Learning (SL) has emerged as a resource-efficient alternative to Federated Learning, particularly for organizations with limited local compute. In SL, a neural network is partitioned: the client computes the initial layers ($f$), sending intermediate activations ("smashed data") to the server, which computes the remaining layers ($s$). This architecture was widely believed to offer privacy because the server never accesses raw data, relying on a concept known as "security through obscurity."

Standard Split Learning (a) and Split Learning with label protection (b).

However, this paper demonstrates that this obscurity is a fragile shield. The fundamental flaw lies in the server's control over the loss function and the resulting gradients. By manipulating these signals, a malicious server can actively steer the client's local model into a state that facilitates high-fidelity data reconstruction.

Methodology: Feature-Space Hijacking Attack (FSHA)

The primary contribution of this work is the Feature-Space Hijacking Attack (FSHA). In this scenario, a malicious server ignores the legitimate training task and instead "hijacks" the client's model $f$ to serve as an encoder for a reconstruction task.

The training procedure for the client under a Feature-Space Hijacking Attack.

The attack utilizes a GAN-like framework consisting of three components:

  1. Pilot Network ($\tilde{f}$): Defines a target feature space using a public "shadow dataset" ($X_{pub}$).
  2. Decoder ($\tilde{f}^{-1}$): Trained to invert the pilot network's activations back into raw data.
  3. Discriminator ($D$): Forces the client's activations to match the distribution of the pilot network's activations.

By returning forged gradients derived from the discriminator, the server compels the client's model to align with the pilot network. Once aligned, the server can use its decoder to reconstruct the client's private data ($X_{priv}$) with near-perfect accuracy.

Experimental Evaluation

The researchers evaluated FSHA across diverse domains, including standard benchmarks (MNIST, Fashion-MNIST), natural and facial images (CelebA, UTKFace), and medical imaging (HAM10000).

Key Results

  • High-Fidelity Reconstruction: The attack successfully reconstructed private images across all datasets. Qualitatively, reconstructed faces in CelebA were clearly recognizable and nearly identical to the originals.
  • Domain Independence: FSHA is domain-independent; the attacker only needs a "shadow dataset" from the same general domain (e.g., generic faces) to attack specific private data.
  • Bypassing Defenses: The attack remained effective against advanced defenses like Distance Correlation Minimization. The server can simply "out-scale" these defenses by increasing the weight of the adversarial loss.
  • Property Inference: Beyond reconstruction, the attack reached over 90% accuracy in inferring sensitive attributes (like gender) within just a few hundred training iterations.

Conclusion

The findings prove that Split Learning is inherently vulnerable to malicious participants. The server's total control over the gradient signal allows it to dictate the internal representations of the client's model. To ensure true data privacy, the community must move away from obscurity-based protocols and toward those incorporating robust cryptographic primitives.

Summary updated

BibTeX
@inproceedings{pasquini2020unleashing,
  author = {Dario Pasquini and Giuseppe Ateniese and Massimo Bernaschi},
  title = {{Unleashing the Tiger: Inference Attacks on Split Learning}},
  booktitle = {CCS},
  year = {2020},
  doi = {10.1145/3460120.3485259},
}
Figure