Differentially Private Label Protection in Split Learning

Xin Yang, Jiankai Sun, Yuanshun Yao, Junyuan Xie, Chong WangarXiv 2022

Abstract

Split learning is a distributed training framework that allows multiple parties to jointly train a machine learning model over vertically partitioned data. While intended to keep raw data private by sharing only intermediate results, recent research demonstrates that plaintext split learning is vulnerable to label reconstruction attacks. We propose TPSL (Transcript Private Split Learning), a generic gradient perturbation framework providing provable differential privacy. By enforcing privacy on both model weights and communicated messages, TPSL achieves a superior utility-privacy trade-off. Our experiments on large-scale datasets like Avazu and Criteo show that TPSL effectively thwarts label leakage attacks with minimal impact on model accuracy.

Introduction

Split Learning (SL) has emerged as a prominent paradigm for collaborative machine learning on vertically partitioned data—where different organizations hold different attributes for the same set of users. For instance, a financial institution and a retail platform might collaborate to improve credit scoring without sharing raw transaction or purchase histories. In SL, the neural network is split across participants: the "guest" party processes features, while the "host" party holds the labels and completes the loss calculation.

The primary appeal of SL is the avoidance of raw data exchange; parties only share intermediate "embeddings" (forward pass) and "gradients" (backward pass). However, this "privacy by design" is often illusory. Recent studies have shown that a semi-honest adversary can reconstruct private labels with startling accuracy by analyzing the norm and direction of the gradients received during training. This paper introduces TPSL, a framework designed to provide rigorous, provable Differential Privacy (DP) for labels in the split learning setting.

The Vulnerability: Label Leakage in Split Learning

The core risk in standard SL arises from the gradient updates sent from the label-holding party (Host) to the feature-holding party (Guest). In a binary classification task, the gradient of the loss with respect to the shared embeddings differs significantly depending on whether the true label is 0 or 1. An attacker can employ a Shortest Distance Attack (SDA)—a white-box method where the adversary calculates the theoretical gradients for all possible labels and identifies the true label by finding the one whose gradient is closest to the received message. In practice, this allows for near-perfect label reconstruction (AUC of 1.0), rendering the basic SL protocol insecure for sensitive applications.

TPSL: Transcript Private Split Learning

To counter these attacks, we propose TPSL, which focuses on protecting the "transcript"—the entire sequence of messages exchanged during the distributed computation.

GradPerturb Mechanism

The technical heart of TPSL is the GradPerturb mechanism. Traditional Differential Privacy often relies on adding isotropic noise (e.g., Gaussian noise) to the entire gradient vector. While this provides privacy, it often introduces excessive variance that destroys model utility.

TPSL takes a more surgical approach. By analyzing the geometry of the SDA, we identified that the most informative direction for an attacker is the vector defined by the difference between the gradients of two possible labels ($g_0 - g_1$). Instead of blurring the entire gradient space, GradPerturb adds noise specifically along this critical direction. This ensures that the two possible gradient outputs become statistically indistinguishable to the adversary, satisfying the requirements of $\epsilon$-differential privacy.

Perturbation Strategies

We explore two primary methods for gradient perturbation:

  1. Laplace Perturbation: This involves adding continuous noise sampled from a Laplace distribution. We find that this mechanism provides an unbiased gradient estimator, which is crucial for maintaining the convergence and final accuracy of the model.
  2. Discrete Perturbation: Inspired by randomized response, this method involves randomly flipping the direction of the gradient. While theoretically sound, our experiments indicate it introduces more bias than the Laplace approach.

Experimental Evaluation

We evaluated TPSL on two large-scale real-world datasets: Avazu (click-through rate prediction) and Criteo (display advertising). These datasets represent the complexity and scale of production-level recommendation systems.

Utility-Privacy Trade-off

Our results demonstrate that TPSL offers a significantly better balance between security and performance than standard DP baselines:

  • Attack Mitigation: Against a naive SL implementation, the SDA achieves an AUC of 1.0000 (perfect reconstruction). With TPSL (Laplace) at a privacy budget of $\epsilon=1$, the attack AUC drops to approximately 0.69, significantly reducing the information leakage.
  • Model Performance: Despite the added noise, the model's predictive utility remains high. On the Avazu dataset, the Test AUC only decreased by 1.4% compared to a non-private baseline.
  • Comparison with Gaussian Noise: TPSL consistently outperformed isotropic Gaussian noise. At equivalent levels of label protection, TPSL maintained higher model accuracy because it concentrates noise where it is most needed for privacy rather than dispersing it across all dimensions.

Discussion and Limitations

While TPSL provides a robust defense for labels, several challenges remain. Currently, the privacy proof is optimized for an "online" setting where each sample is seen once. Extending this to multi-epoch training requires careful management of the privacy budget or the reuse of specific random scalars to prevent information leakage over time.

Furthermore, TPSL specifically targets label privacy. In scenarios where the input features held by the Guest party are also sensitive, additional mechanisms (such as adding noise to forward-pass embeddings) would be required. Finally, while the framework is extensible to multi-class classification, the current empirical validation focuses on binary tasks, which are most common in the CTR and advertising domains.

Conclusion

TPSL represents a significant step toward making Split Learning viable for privacy-sensitive industries. By moving beyond "privacy theater" and implementing provable, transcript-level differential privacy through targeted gradient perturbation, we show that it is possible to protect sensitive labels without sacrificing the utility of large-scale distributed models.

Summary updated

BibTeX
@misc{yang2022differentially,
  author = {Xin Yang and Jiankai Sun and Yuanshun Yao and Junyuan Xie and Chong Wang},
  title = {{Differentially Private Label Protection in Split Learning}},
  year = {2022},
  eprint = {2203.02073},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.02073},
}
Figure