Lune

S&P2022Top-tier venue

SecFloat: Accurate Floating-Point meets Secure 2-Party Computation

Deevashwer Rathee, Anwesh Bhattacharya, Rahul Sharma, Divya Gupta, Nishanth Chandran, Aseem Rastogi

Abstract

We build a library SecFloat for secure 2-party computation (2PC) of 32-bit single-precision floating-point operations and math functions. The existing functionalities used in cryptographic works are imprecise and the precise functionalities used in standard libraries are not crypto-friendly, i.e., they use operations that are cheap on CPUs but have exorbitant cost in 2PC. SecFloat bridges this gap with its novel crypto-friendly precise functionalities. Compared to the prior cryptographic libraries, SecFloat is up to six orders of magnitude more precise and up to two orders of magnitude more efficient. Furthermore, against a precise 2PC baseline, SecFloat is three orders of magnitude more efficient. The high precision of SecFloat leads to the first accurate implementation of secure inference. All prior works on secure inference of deep neural networks rely on ad hoc float-to-fixed converters. We evaluate a model where the fixed-point approximations used in privacy-preserving machine learning completely fail and floating-point is necessary. Thus, emphasizing the need for libraries like SecFloat.

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.

11 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

  • Oblivious Neural Network Predictions via MiniONN Transformations cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • ABY2.0: Improved Mixed-Protocol Secure Two-Party Computation cites ABY3: A Mixed Protocol Framework for Machine Learning
  • ABY2.0: Improved Mixed-Protocol Secure Two-Party Computation cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private Inference cites ABY3: A Mixed Protocol Framework for Machine Learning
  • CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private Inference cites CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning cites Oblivious Neural Network Predictions via MiniONN Transformations
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning cites ABY3: A Mixed Protocol Framework for Machine Learning
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers cites CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Orca: FSS-based Secure Training and Inference with GPUs cites ABY3: A Mixed Protocol Framework for Machine Learning
  • Orca: FSS-based Secure Training and Inference with GPUs cites CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • Orca: FSS-based Secure Training and Inference with GPUs cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. BOLT: Privacy-Preserving, Accurate and Efficient Inference for TransformersQi Pang, Jinhao Zhu, Helen Möllering, Wenting Zheng et al.S&P 2024 · 149 citations
  2. Orca: FSS-based Secure Training and Inference with GPUsNeha Jawalkar, Kanav Gupta, Arkaprava Basu, Nishanth Chandran et al.S&P 2024 · 58 citations
  3. CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private InferenceWenxuan Zeng, Meng Li, Haichuan Yang, Wen-jie Lu et al.NeurIPS 2023 · 19 citations
  4. HELiKs: HE Linear Algebra Kernels for Secure InferenceShashank Balla, Farinaz KoushanfarCCS 2023 · 16 citations
  5. Garbled Circuit Lookup Tables with Logarithmic Number of CiphertextsDavid Heath, Vladimir Kolesnikov, Lucien K. L. NgEUROCRYPT 2024 · 11 citations

Builds on16

  1. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  2. ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 citations
  3. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 citations
  4. CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta et al.NeurIPS 2021 · 573 citations
  5. ABY2.0: Improved Mixed-Protocol Secure Two-Party ComputationArpita Patra, Thomas Schneider, Ajith Suresh, Hossein YalameUSENIX Security 2021 · 307 citations

Related papers

  1. Secure Floating-Point TrainingDeevashwer Rathee, Anwesh Bhattacharya, Divya Gupta, Rahul Sharma et al.USENIX Security 2023
  2. SiRnn: A Math Library for Secure RNN InferenceDeevashwer Rathee, Mayank Rathee, Rahul Kranti Kiran Goli, Divya Gupta et al.S&P 2021 · 154 citations
  3. CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran et al.CCS 2020 · 294 citations
  4. Cheetah: Lean and Fast Secure Two-Party Deep Neural Network InferenceZhicong Huang, Wen-jie Lu, Cheng Hong, Jiansheng DingUSENIX Security 2022
  5. ABNN2: secure two-party arbitrary-bitwidth quantized neural network predictionsLiyan Shen, Ye Dong, Binxing Fang, Jinqiao Shi et al.DAC 2022 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines