Skip to main content
QUICK REVIEW

[Paper Review] Similarity-based Label Inference Attack against Training and Inference of Split Learning

Junlin Liu, Xinchen Lyu|arXiv (Cornell University)|Mar 10, 2022
Privacy-Preserving Technologies in DataComputer Science15 citations
TL;DR

This paper proposes a passive clustering label inference attack against practical split learning that leverages gradients and smashed data to accurately recover private labels. The attack uses cosine and Euclidean similarity measurements to cluster labels with near-100% accuracy, remaining robust under diverse settings and defenses like differential privacy and gradient compression.

ABSTRACT

Split learning is a promising paradigm for privacy-preserving distributed learning. The learning model can be cut into multiple portions to be collaboratively trained at the participants by exchanging only the intermediate results at the cut layer. Understanding the security performance of split learning is critical for many privacy-sensitive applications. This paper shows that the exchanged intermediate results, including the smashed data (i.e., extracted features from the raw data) and gradients during training and inference of split learning, can already reveal the private labels. We mathematically analyze the potential label leakages and propose the cosine and Euclidean similarity measurements for gradients and smashed data, respectively. Then, the two similarity measurements are shown to be unified in Euclidean space. Based on the similarity metric, we design three label inference attacks to efficiently recover the private labels during both the training and inference phases. Experimental results validate that the proposed approaches can achieve close to 100% accuracy of label attacks. The proposed attack can still achieve accurate predictions against various state-of-the-art defense mechanisms, including DP-SGD, label differential privacy, gradient compression, and Marvell.

Motivation & Objective

  • To investigate whether split learning with label protections truly prevents private label leakage in practical settings.
  • To develop a scalable and robust label inference attack that works under varying cut layer positions, training hyperparameters, and defense mechanisms.
  • To mathematically analyze label leakages from gradients and smashed data in multi-class split learning.
  • To evaluate the effectiveness of common defenses—differential privacy and gradient compression—against label inference attacks.

Proposed method

  • Proposes a passive clustering label inference attack using gradients and smashed data exchanged during split learning training and inference.
  • Introduces cosine and Euclidean similarity measurements to cluster data points based on their gradient and feature representations.
  • Analyzes four types of label leakages from gradients (client-side, server-side, and two intermediate forms) and smashed data.
  • Employs a clustering-based inference framework that maps gradients and features to label predictions without requiring the victim model's architecture.
  • Validates the attack on multiple datasets (CIFAR-10, CIFAR-100, Fashion-MNIST, Dogs vs. Cats) across different cut layer positions and training configurations.
  • Evaluates robustness against differential privacy (via DP-SGD with adjustable ε) and gradient compression (varying pruning ratios).

Experimental results

Research questions

  • RQ1Can private labels be accurately recovered from gradients and smashed data in split learning, even when label sharing is restricted?
  • RQ2How does the proposed attack perform across different cut layer positions, training epochs, and batch sizes in practical split learning setups?
  • RQ3To what extent do standard defenses like differential privacy and gradient compression mitigate the label inference attack?
  • RQ4Is the label leakage more pronounced in gradients than in forward-pass features, and why?

Key findings

  • The proposed clustering attack achieves near-100% label inference accuracy on CIFAR-10, CIFAR-100, Fashion-MNIST, and Dogs vs. Cats datasets under various cut layer positions and training hyperparameters.
  • The attack remains robust under gradient compression, maintaining high accuracy even at compression ratios up to 0.9.
  • Differential privacy fails to protect labels, as the attack maintains high accuracy even at low ε values (e.g., ε < 1), where the noise level is high.
  • The attack outperforms standard model inference in accuracy, indicating that gradients carry more label-relevant information than features due to their dependence on ground-truth labels via the loss function.
  • Label inference from gradients is more effective than from smashed data, as gradients encode stronger correlations with true labels through backpropagation.
  • The attack is scalable and effective in both server- and client-side threat models, demonstrating practical feasibility in real-world split learning deployments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.