Skip to main content
QUICK REVIEW

[Paper Review] Secure Computation for Machine Learning With SPDZ

Valerie Chen, Valerio Pastro|arXiv (Cornell University)|Jan 2, 2019
Cryptography and Data SecurityComputer Science9 references44 citations
TL;DR

The paper evaluates the SPDZ multi-party computation framework for secure ML, showing comparable accuracy to plaintext and prior MPC approaches with notably better efficiency than Obliv-C, and scalability to larger problems.

ABSTRACT

Secure Multi-Party Computation (MPC) is an area of cryptography that enables computation on sensitive data from multiple sources while maintaining privacy guarantees. However, theoretical MPC protocols often do not scale efficiently to real-world data. This project investigates the efficiency of the SPDZ framework, which provides an implementation of an MPC protocol with malicious security, in the context of popular machine learning (ML) algorithms. In particular, we chose applications such as linear regression and logistic regression, which have been implemented and evaluated using semi-honest MPC techniques. We demonstrate that the SPDZ framework outperforms these previous implementations while providing stronger security.

Motivation & Objective

  • Motivate secure computation for ML when data is partitioned across parties under privacy constraints.
  • Evaluate the SPDZ framework on common ML tasks (linear and logistic regression) and compare to semi-honest MPC methods.
  • Analyze trade-offs between accuracy, precision, and run-time in secure ML implementations.
  • Demonstrate SPDZ scalability to multi-party settings and larger datasets.

Proposed method

  • Implement ML algorithms (linear regression via CGD/LDLT/Cholesky, and logistic regression via SGD) in the SPDZ framework.
  • Use fixed-point arithmetic to avoid floating-point overhead and adopt iterative methods (CGD) for solving linear systems.
  • Apply mini-batch SGD for linear and logistic regression with MPC-friendly activations and approximations.
  • Compare SPDZ results to plaintext verification and prior MPC approaches (Obliv-C) across datasets like MNIST and Arcene.
  • Evaluate across 2-, 3-, and 4-party partitions and on AWS EC2 deployments to assess scalability.

Experimental results

Research questions

  • RQ1Can SPDZ provide malicious-security MPC for ML tasks with comparable accuracy to plaintext training?
  • RQ2How does SPDZ perform in terms of latency and accuracy for linear and logistic regression across varying data dimensions and party counts?
  • RQ3What precision and iterative depth are required in SPDZ to reach parity with non-secure or semi-honest baselines?
  • RQ4How does SPDZ compare to Obliv-C and prior MPC approaches in scalability and RMSE for SGD?
  • RQ5What activation/approximation choices are viable within SPDZ for secure logistic regression?

Key findings

  • SPDZ achieves comparable accuracy for LDLT, Cholesky, and CGD relative to Obliv-C, with faster runtimes on larger matrix sizes by an order of magnitude.
  • SPDZ yields lower RMSE than Obliv-C when using SGD for secure ML, and generally outperforms prior CGD/SGD results.
  • SGD accuracy/precision requirements are data-dependent; MNIST reaches plaintext-like accuracy with around 13 bits of precision, while Arcene requires around 28 bits.
  • For logistic regression, the proposed new activation function did not outperform a Taylor-series-based approximation within SPDZ in the tested datasets.
  • Across UCI datasets, SPDZ 28-bit precision SGD shows RMSE comparable to plaintext within a moderate overhead (5–20% RMSE increase).
  • Three- and four-party (vertical partition) runtimes on a local network and two-party EC2 deployments indicate SPDZ scales reasonably with more parties and larger matrices.

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.