Protecting Split Learning by Potential Energy Loss

Fei Zheng, Chaochao Chen, Lingjuan Lyu, Xinyi Fu, Xing Fu, Weiqiang Wang, Xiaolin Zheng, Jianwei Yin

Abstract: As a practical privacy-preserving learning method, split learning has drawn much attention in academia and industry. However, its security is constantly being questioned since the intermediate results are shared during training and inference. In this paper, we focus on the privacy leakage from the forward embeddings of split learning. Specifically, since the forward embeddings contain too much information about the label, the attacker can either use a few labeled samples to fine-tune the top model or perform unsupervised attacks such as clustering to infer the true labels from the forward embeddings. To prevent such kind of privacy leakage, we propose the potential energy loss to make the forward embeddings more 'complicated', by pushing embeddings of the same class towards the decision boundary. Therefore, it is hard for the attacker to learn from the forward embeddings. Experiment results show that our method significantly lowers the performance of both fine-tuning attacks and clustering attacks.

Introduction

Split Learning (SL) is a popular alternative to Federated Learning that splits a neural network into a "bottom model" (managed by a feature owner, Alice) and a "top model" (managed by a label owner, Bob). During training and inference, Alice sends intermediate activations—forward embeddings—to Bob. While this avoids sharing raw data, these embeddings often retain significant information about the sensitive labels $Y$.

Overview of the Split Learning architecture and the model completion attacks (fine-tuning and clustering) used to exploit embedding leakage.

As illustrated in Figure 1, an attacker can exploit these embeddings through "model completion attacks." In a fine-tuning attack, the attacker uses a small amount of leaked labeled data to train a surrogate top model. In a clustering attack, unsupervised methods like k-Means are used to group embeddings and infer labels. Standard SL training naturally clusters same-class samples, making these attacks highly effective.

Proposed Method: Potential Energy Loss (PELoss)

To counter these vulnerabilities, we introduce Potential Energy Loss (PELoss), a regularization technique inspired by electrostatic equilibrium. In physics, like charges repel each other and settle on the surface of a conductor. PELoss treats embeddings of the same class as "like charges," introducing a repulsive force between every pair of same-class embeddings in a batch.

To implement this, the model minimizes the inverse of the distance between same-class samples. To prevent embeddings from diverging to infinity, they are constrained to a hypersphere using Layer Normalization. By pushing same-class samples toward the "edges" of their class territory (the decision boundaries), the distribution becomes significantly more complex for an attacker to learn from, while the legitimate top model can still distinguish between classes.

Experimental Evaluation

We evaluated PELoss on four diverse datasets: MNIST, Fashion-MNIST, CIFAR-10, and DBpedia. Our method was compared against standard Split Learning (Vanilla), Distance Correlation (DcorLoss), and Label Differential Privacy (LabelDP).

Quantitative results showing attack accuracy versus test accuracy across different datasets and varying amounts of leaked labels.

As shown in Figure 3, PELoss (blue circles) consistently achieves a superior privacy-utility tradeoff. It maintains high task accuracy while significantly reducing attacker accuracy, often reaching the "perfect protection" zone (gray area) where the attacker performs no better than on raw data. Unlike DcorLoss, PELoss remains stable across hyperparameters and effectively weaponizes generalization error by spreading same-class samples thin near boundaries, making it impossible for a small number of leaked labels to represent the full class distribution.

Conclusion

PELoss provides a robust, geometrically grounded defense for Split Learning. By breaking the fundamental assumption that intra-class distance should be minimized, it creates a "hollow" embedding distribution that shields sensitive labels from both supervised fine-tuning and unsupervised clustering attacks without sacrificing model utility.

Summary updated

BibTeX
@inproceedings{zheng2024protecting,
  author = {Fei Zheng and Chaochao Chen and Lingjuan Lyu and Xinyi Fu and Xing Fu and Weiqiang Wang and Xiaolin Zheng and Jianwei Yin},
  title = {{Protecting Split Learning by Potential Energy Loss}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=tdpD6dDAIc},
}
Figure