Lune

USENIX Security2021Top-tier venue

GForce: GPU-Friendly Oblivious and Rapid Neural Network Inference

Lucien K. L. Ng, Sherman S. M. Chow

Abstract

Neural-network classification is getting more pervasive. It captures data of the subjects to be classified, e.g., appearance for facial recognition, which is personal and often sensitive. Oblivious inference protects the data privacy of both the query and the model. However, it is not as fast and as accurate as its plaintext counterpart. A recent cryptographic solution Delphi (Usenix Security 2020) strives for low latency by using GPU on linear layers and replacing some non-linear units in the model at a price of accuracy. It can handle a query on CIFAR-100 with ∼68% accuracy in 14s or ∼66% accuracy in 2.6s. We propose GForce, tackling the latency issue from the root causes instead of approximating non-linear computations. With the SWALP training approach (ICML 2019), we propose stochastic rounding and truncation (SRT) layers, which fuse quantization with dequantization between non-linear and linear layers and free us from floating-point operations for efficiency. They also ensure high accuracy while working over the severely-finite cryptographic field. We further propose a suite of GPU-friendly secure online/offline protocols for common operations, including comparison and wrap-around handling, which benefit non-linear layers, including our SRT. With our two innovations, GForce supports VGG-16, attaining ∼73% accuracy over CIFAR-100 for the first time, in 0.4s. Compared with the prior best non-approximated solution (Usenix Security 2018), GForce speeds up non-linear layers in VGG by >34×. Our techniques shed light on a new direction that utilizes GPU throughout the model to minimize latency. model to the clients for evaluation is often impossible, not to say its financial and privacy implications. Oblivious inference resolves this dilemma. The server with a deep neural network DNN(•) can return the classification result DNN(x) to any client while remains oblivious about x without leaking its model DNN(•). From the perspective of computation nature, a neural network can be divided into linear layers and non-linear layers. Cryptographic solutions often handle linear layers and non-linear layers separately, such as using additive homomorphic encryption (AHE) and garbled circuits (GC), respectively, but these tools impose high overheads. A recurrent research problem is how to perform secure computations of non-linear functions efficiently.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FALCON: A Fourier Transform Based Approach for Fast and Secure Convolutional Neural Network Predictions cites Oblivious Neural Network Predictions via MiniONN Transformations
  • FALCON: A Fourier Transform Based Approach for Fast and Secure Convolutional Neural Network Predictions cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences cites Let's Stride Blindfolded in a Forest: Sublinear Multi-Client Decision Trees Evaluation
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences cites Oblivious Neural Network Predictions via MiniONN Transformations
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences cites XONN: XNOR-based Oblivious Deep Neural Network Inference
  • "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Honeycomb: Secure and Efficient GPU Executions via Static Validation cites StrongBox: A GPU TEE on Arm Endpoints
  • Honeycomb: Secure and Efficient GPU Executions via Static Validation cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • XONN: XNOR-based Oblivious Deep Neural Network Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • XONN: XNOR-based Oblivious Deep Neural Network Inference cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Orca: FSS-based Secure Training and Inference with GPUs cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • GAZELLE: A Low Latency Framework for Secure Neural Network Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Orca: FSS-based Secure Training and Inference with GPUsNeha Jawalkar, Kanav Gupta, Arkaprava Basu, Nishanth Chandran et al.S&P 2024 · 58 citations
  2. Honeycomb: Secure and Efficient GPU Executions via Static ValidationHaohui Mai, Jiacheng Zhao, Hongren Zheng, Yiyang Zhao et al.OSDI 2023 · 39 citations
  3. StrongBox: A GPU TEE on Arm EndpointsYunjie Deng, Chenxu Wang, Shunchang Yu, Shiqing Liu et al.CCS 2022 · 37 citations
  4. Sanitizing Sentence Embeddings (and Labels) for Local Differential PrivacyMinxin Du, Xiang Yue, Sherman S. M. Chow, Huan SunWWW 2023 · 26 citations
  5. "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security ConferencesDaniel Olszewski, Allison Lu, Carson Stillman, Kevin Warren et al.CCS 2023 · 19 citations

Builds on6

  1. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
  2. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 citations
  3. XONN: XNOR-based Oblivious Deep Neural Network InferenceM. Sadegh Riazi, Mohammad Samragh, Hao Chen, Kim Laine et al.USENIX Security 2019 · 314 citations
  4. Let's Stride Blindfolded in a Forest: Sublinear Multi-Client Decision Trees EvaluationJack P. K. Ma, Raymond K. H. Tai, Yongjun Zhao, Sherman S. M. ChowNDSS 2021
  5. FALCON: A Fourier Transform Based Approach for Fast and Secure Convolutional Neural Network PredictionsShaohua Li, Kaiping Xue, Bin Zhu, Chenkai Ding et al.CVPR 2020

Related papers

  1. Delphi: A Cryptographic Inference Service for Neural NetworksPratyush Mishra, Ryan Lehmkuhl, Akshayaram Srinivasan, Wenting Zheng et al.USENIX Security 2020
  2. Glyph: Fast and Accurately Training Deep Neural Networks on Encrypted DataQian Lou, Bo Feng, Geoffrey Charles Fox, Lei JiangNeurIPS 2020 · 106 citations
  3. COINN: Crypto/ML Codesign for Oblivious Inference via Neural NetworksSiam Umar Hussain, Mojan Javaheripi, Mohammad Samragh, Farinaz KoushanfarCCS 2021 · 25 citations
  4. CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private InferenceWenxuan Zeng, Meng Li, Haichuan Yang, Wen-jie Lu et al.NeurIPS 2023 · 19 citations
  5. SAFENet: A Secure, Accurate and Fast Neural Network InferenceQian Lou, Yilin Shen, Hongxia Jin, Lei JiangICLR 2021 · 65 citations
Dusk over the sea between two cliffs drawn in fine vertical lines