CURE: Privacy-Preserving Split Learning Done Right

Halil Ibrahim Kanpak, Aqsa Shabbir, Esra Genç, Alptekin Küpçü, Sinem SavProc. Priv. Enhancing Technol 2024

TL;DR

This paper introduces CURE, a novel system for privacy-preserving split learning that uses homomorphic encryption (HE) to encrypt only the server-side model parameters. This allows for secure training while significantly improving efficiency compared to existing HE-based privacy-preserving methods, achieving up to 210x speedup.

What Problem Does This Paper Address?

Training deep neural networks often requires large datasets, which can be computationally expensive and raise privacy concerns, especially in sensitive domains like healthcare. Split Learning (SL) offers a solution by dividing model layers between a client and a server, reducing the server's access to raw data. However, intermediate outputs (gradients) exchanged between client and server can still inadvertently leak private information. Existing privacy-preserving SL methods often rely on differential privacy (DP), which can degrade accuracy, or homomorphic encryption (HE), which can impose prohibitive computational burdens. This paper addresses the challenge of achieving both strong privacy guarantees and practical efficiency in SL training, particularly for scenarios with asymmetric computational resources.

Methods

CURE employs an "inverted" split learning setup where the server processes the initial layers of the neural network, and the client handles the later layers. The core innovation is the use of homomorphic encryption (HE), specifically the CKKS scheme, to encrypt only the server-side model parameters. This means the server operates on encrypted weights and potentially encrypted data, while the client works with plaintext. This approach ensures label confidentiality by default and can optionally protect data samples.

Key technical contributions include:

  • HE for Server-Side Encryption: Encrypting only server-side parameters significantly reduces the computational overhead compared to encrypting the entire model or data.
  • Packing Schemes: CURE introduces novel packing schemes (data packing for linear layers and channel-block packing for convolutional layers) to efficiently utilize the SIMD capabilities of HE, enabling parallel processing of multiple data points within a single ciphertext.
  • Optimized HE Operations: The paper details how CURE implements homomorphic operations for linear layers, convolutions, and pooling, carefully managing noise accumulation and leveraging CKKS features.
  • Estimator for Optimal Split: An advisor function is proposed to determine the optimal split point of the neural network between the server and client, balancing HE operations, training latency, memory usage, and bootstrapping frequency. This is crucial for maximizing CURE's efficiency.

Datasets

The paper evaluates CURE on the following datasets:

  • MNIST: Used for evaluating MLP and Simple MLP models.
  • PTB-XL: A large dataset of ECG records, used for evaluating the PTB-XL CNN model.
  • CIFAR-10: Used for evaluating ResNet blocks.

The paper does not introduce new benchmarks but rather uses these standard datasets to evaluate the performance of CURE against existing methods.

Key Insights and Ideas

  • Targeted Encryption is Key: Encrypting only the server-side model parameters, rather than the entire model or all data, strikes a critical balance between privacy and computational efficiency. This is a significant departure from many prior HE-based ML approaches.
  • Inverted Split Learning Advantage: The inverted SL setup, where the server handles initial layers and the client later ones, is well-suited for scenarios where clients may have limited resources but hold sensitive labels.
  • Packing is Crucial for HE Performance: The paper highlights how clever packing strategies are essential for making HE practical for deep learning, allowing for SIMD operations that significantly speed up computations.
  • The Split Point Matters Dramatically: The choice of where to split the network between the server and client has a profound impact on latency. Deeper splits (more layers on the server) increase HE computation time, underscoring the need for an intelligent estimator.
  • Negligible Accuracy Drop: Despite the noise inherent in HE operations, CURE achieves accuracy very close to plaintext training, demonstrating that strong privacy doesn't necessarily mean a significant loss in model utility.

Key Results

  • Speedup: CURE achieves up to 210x speedup compared to state-of-the-art privacy-preserving alternatives. For example, on the PTB-XL dataset, CURE's SL implementation is orders of magnitude faster than prior work.
  • Accuracy: The accuracy degradation is minimal, typically less than 1% across various models, with negligible drops for complex architectures like LeNet (-0.19%).
  • Scalability: CURE demonstrates near-linear speedup with an increasing number of CPU cores, making it suitable for modern multi-core servers.
  • Estimator Effectiveness: The proposed estimator accurately predicts real training times, with errors generally below 4.7%, enabling effective optimization of the server-client split.

Limitations and Future Work

  • Single-Client Focus: The current work focuses on a single-client, single-server setting. Extending CURE to multi-party SL is identified as a significant future direction. This would require addressing challenges like distributed key management, aggregation of encrypted updates, and robust verifiable computation mechanisms to handle potential malicious clients.
  • Malicious Server: CURE is designed for a semi-honest threat model. For malicious servers, it would need to be combined with verifiable computation techniques, such as zero-knowledge proofs.
  • Activation Functions: Non-linear activation functions are approximated by polynomials, which can increase computational complexity and noise. While CURE uses degree-3 polynomials, higher degrees could improve accuracy but at a higher cost.
  • Inference Phase: The paper focuses on training. Secure inference mechanisms would be needed for a complete end-to-end secure solution.

Summary updated

BibTeX
@inproceedings{kanpak2024cure,
  author = {Halil Ibrahim Kanpak and Aqsa Shabbir and Esra Genç and Alptekin Küpçü and Sinem Sav},
  title = {{CURE: Privacy-Preserving Split Learning Done Right}},
  booktitle = {Proc. Priv. Enhancing Technol},
  year = {2024},
}
Figure