REDsec: Running Encrypted Discretized Neural Networks in Seconds
Lars Wolfgang Folkerts, Charles Gouert, Nektarios Georgios Tsoutsos
摘要
—Machine learning as a service (MLaaS) has risen to become a prominent technology due to the large development time, amount of data, hardware costs, and level of expertise required to develop a machine learning model. However, privacy concerns prevent the adoption of MLaaS for applications with sensitive data. A promising privacy preserving solution is to use fully homomorphic encryption (FHE) to perform the ML compu- tations. Recent advancements have lowered computational costs by several orders of magnitude, opening doors for secure practical applications to be developed. In this work, we introduce the REDsec framework that optimizes FHE-based private machine learning inference by leveraging ternary neural networks. Such neural networks, whose weights are constrained to -1,0,1 , have special properties that we exploit to operate efficiently in the homomorphic domain. REDsec introduces novel features, includ- ing a new data re-use scheme that enables bidirectional bridging between the integer and binary domains for the first time in FHE. This enables us to implement very efficient binary operations for multiplication and activations, as well as efficient integer domain additions. Our approach is complemented by a new GPU acceleration library, dubbed (RED)cuFHE, which supports both binary and integer operations on multiple GPUs. REDsec brings unique benefits by supporting user-defined models as input (bring-your- own-network), automation of plaintext training, and efficient evaluation of private inference leveraging TFHE. In our analysis, we perform inference experiments with the MNIST, CIFAR-10, and ImageNet datasets and report performance improvements compared to related works.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Oblivious Neural Network Predictions via MiniONN Transformations 引用了 Stealing Machine Learning Models via Prediction APIs
- Oblivious Neural Network Predictions via MiniONN Transformations 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- HEIR: A Unified Representation for Cross-Scheme Compilation of Fully Homomorphic Computation 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path Reduction 引用了 HEIR: A Unified Representation for Cross-Scheme Compilation of Fully Homomorphic Computation
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path Reduction 引用了 AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHE
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path Reduction 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHE 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHE 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
- AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHE 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
引用它的顶会 Paper4
- AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEWei Ao, Vishnu Naresh BoddetiUSENIX Security 2024 · 43 次引用
- Sequoia: An Accessible and Extensible Framework for Privacy-Preserving Machine Learning over Distributed DataKaiqiang Xu, Di Chai, Junxue Zhang, Fan Lai 等SIGMOD 2025 · 1 次引用
- HEIR: A Unified Representation for Cross-Scheme Compilation of Fully Homomorphic ComputationSong Bian, Zian Zhao, Zhou Zhang, Ran Mao 等NDSS 2024
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path ReductionSong Bian, Zian Zhao, Ruiyu Shen, Zhou Zhang 等S&P 2025
它引用的 Paper10
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
- Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
- CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta 等NeurIPS 2021 · 573 次引用
相关 Paper
- FHE-CGRA: Enable Efficient Acceleration of Fully Homomorphic Encryption on CGRAsMiaomiao Jiang, Yilan Zhu, Honghui You, Cheng Tan 等DAC 2024 · 5 次引用
- FxHENN: FPGA-based acceleration framework for homomorphic encrypted CNN inferenceYilan Zhu, Xinyao Wang, Lei Ju, Shanqing GuoHPCA 2023 · 39 次引用
- Falcon: Fast Spectral Inference on Encrypted DataQian Lou, Wen-jie Lu, Cheng Hong, Lei JiangNeurIPS 2020 · 50 次引用
- SpENCNN: Orchestrating Encoding and Sparsity for Fast Homomorphically Encrypted Neural Network InferenceRan Ran, Xinwei Luo, Wei Wang, Tao Liu 等ICML 2023 · 17 次引用
- AHEC: End-to-end Compiler Framework for Privacy-preserving Machine Learning AccelerationHuili Chen, Rosario Cammarota, Felipe Valencia, Francesco Regazzoni 等DAC 2020 · 10 次引用
