Skip to main content
QUICK REVIEW

[Paper Review] SWIFT: Super-fast and Robust Privacy-Preserving Machine Learning

Nishat Koti, Mahak Pancholi|arXiv (Cornell University)|May 20, 2020
Privacy-Preserving Technologies in DataComputer Science49 references36 citations
TL;DR

SWIFT presents a robust, maliciously-secure 3-party and 4-party PPML framework in the Secure Outsourced Computation setting, achieving guaranteed output delivery with competitive efficiency compared to state-of-the-art peers, and validates with Logistic Regression and neural networks like VGG16 and LeNet.

ABSTRACT

Performing machine learning (ML) computation on private data while maintaining data privacy, aka Privacy-preserving Machine Learning~(PPML), is an emergent field of research. Recently, PPML has seen a visible shift towards the adoption of the Secure Outsourced Computation~(SOC) paradigm due to the heavy computation that it entails. In the SOC paradigm, computation is outsourced to a set of powerful and specially equipped servers that provide service on a pay-per-use basis. In this work, we propose SWIFT, a robust PPML framework for a range of ML algorithms in SOC setting, that guarantees output delivery to the users irrespective of any adversarial behaviour. Robustness, a highly desirable feature, evokes user participation without the fear of denial of service. At the heart of our framework lies a highly-efficient, maliciously-secure, three-party computation (3PC) over rings that provides guaranteed output delivery (GOD) in the honest-majority setting. To the best of our knowledge, SWIFT is the first robust and efficient PPML framework in the 3PC setting. SWIFT is as fast as (and is strictly better in some cases than) the best-known 3PC framework BLAZE (Patra et al. NDSS'20), which only achieves fairness. We extend our 3PC framework for four parties (4PC). In this regime, SWIFT is as fast as the best known fair 4PC framework Trident (Chaudhari et al. NDSS'20) and twice faster than the best-known robust 4PC framework FLASH (Byali et al. PETS'20). We demonstrate our framework's practical relevance by benchmarking popular ML algorithms such as Logistic Regression and deep Neural Networks such as VGG16 and LeNet, both over a 64-bit ring in a WAN setting. For deep NN, our results testify to our claims that we provide improved security guarantee while incurring no additional overhead for 3PC and obtaining 2x improvement for 4PC.

Motivation & Objective

  • Motivate robust (GOD) PPML in the SOC setting where servers may behave adversarially.
  • Propose SWIFT, a maliciously-secure 3PC/4PC framework over rings with GOD in honest-majority settings.
  • Develop fast preprocessing-based protocols for PPML primitives (multiplication, dot product, truncation, bit operations) that achieve GOD.
  • Extend the 3PC framework to 4PC to retain efficiency while improving robustness and performance.
  • Benchmark PPML workloads (Logistic Regression, LeNet, VGG16) to demonstrate practicality and performance gains.

Proposed method

  • Introduce Joint Message Passing (jmp), an efficient primitive enabling two servers to relay a message to the third with potential TTP replacement if misbehavior is detected, achieving rate-1 communication.
  • Present secret-sharing semantics over Z_{2^l} (arithmetic) and Z_{2^1} (boolean), with linearity properties enabling efficient local computations.
  • Provide a robust 3PC protocol stack including sharing, dot-product, truncation, bit extraction, bit to arithmetic, bit injection, input sharing, and output reconstruction, all with GOD.
  • Extend the 3PC primitives to a 4PC setting, leveraging a similar jmp-based approach to preserve robustness with improved efficiency and without relying on broadcast channels.
  • Describe preprocessing model optimization where input-independent work is done offline to accelerate the online phase for PPML tasks.
  • Benchmark ML tasks (Logistic Regression training/inference, LeNet, VGG16) in a WAN setting to demonstrate practical viability and performance parity/advantage over peers.

Experimental results

Research questions

  • RQ1Can SWIFT provide robust output delivery (GOD) in 3PC/4PC PPML under malicious adversaries with an honest-majority assumption?
  • RQ2How do 3PC and 4PC SWIFT protocols compare in communication and round complexity to existing fair/robust frameworks (e.g., BLAZE, Trident, FLASH) while maintaining GOD?
  • RQ3What are the practical performance implications of SWIFT on standard ML workloads (Logistic Regression, LeNet, VGG16) in WAN settings?
  • RQ4Does the Joint Message Passing primitive enable amortized, rate-1 communication across multiple protocol invocations?
  • RQ5What is the impact of extending 3PC to 4PC on security guarantees and efficiency for PPML tasks?

Key findings

  • SWIFT matches or improves upon the best-known 3PC/4PC frameworks on several primitives while upgrading security from fair to GOD (robustness).
  • In 3PC, SWIFT achieves GOD with competitive costs, offering a robust alternative to BLAZE which provides only fairness in comparable settings.
  • In 4PC, SWIFT is as fast as Trident (best known fair 4PC) and twice as fast as FLASH (robust 4PC) on several primitives, illustrating practical robustness gains with no online-phase overhead increase.
  • SWIFT introduces a dot-product protocol with amortized cost independent of vector size, and provides fast input sharing and output reconstruction phases with significant round/communication improvements.
  • Empirical benchmarks on Logistic Regression and neural networks such as LeNet and VGG16 demonstrate SWIFT’s practicality in WAN environments, with improved security guarantees and favorable performance.

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.