We investigate two questions in this paper: First, we ask to what extent "MPC friendly" models are already supported by major Machine Learning frameworks such as TensorFlow or PyTorch. Prior works provide protocols that only work on fixed-point integers and specialized activation functions, two aspects that are not supported by popular Machine Learning frameworks, and the need for these specialized model representations means that it is hard, and often impossible, to use e.g., TensorFlow to design, train and test models that later have to be evaluated securely. Second, we ask to what extent the functionality for evaluating Neural Networks already exists in general-purpose MPC frameworks. These frameworks have received more scrutiny, are better documented and supported on more platforms. Furthermore, they are typically flexible in terms of the threat model they support. In contrast, most secure evaluation protocols in the literature are targeted to a specific threat model and their implementations are only a "proof-of-concept", making it very hard for their adoption in practice. We answer both of the above questions in a positive way: We observe that the quantization techniques supported by both TensorFlow, PyTorch and MXNet can provide models in a representation that can be evaluated securely; and moreover, that this evaluation can be performed by a general purpose MPC framework. We perform extensive benchmarks to understand the exact trade-offs between different corruption models, network sizes and efficiency. These experiments provide an interesting insight into cost between active and passive security, as well as honest and dishonest majority. Our work shows then that the separating line between existing ML frameworks and existing MPC protocols may be narrower than implicitly suggested by previous works.
ScionFL: Efficient and Robust Secure Quantized Aggregation
VMware Research Group(威睿研究集团);Technical University of Darmstadt(达姆施塔特工业大学);Aptos Labs(Aptos实验室);Bar-Ilan University(巴伊兰大学);Technology Innovation Institute(技术创新研究院);DFINITY Foundation(DFINITY基金会);Royal Holloway, University of London(伦敦大学皇家霍洛威学院)
AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network Inference
Indiana University Bloomington(印第安纳大学伯明顿分校);Kyoto University(京都大学)
混合隐私保护神经网络(Hybrid Privacy-Preserving Neural Network,HPPNN)采用同态加密(Homomorphic Encryption,HE)实现线性层,采用乱码电路(Garbled Circuit,GC)实现非线性层,是新兴的机器学习即服务(Machine Learning as a Service,MLaaS)最有前途的安全解决方案之一。不幸的是,HPPNN遭受长的推理延迟,例如,$\sim100$秒/图像,这使得MLaaS不能令人满意。因为HPPNN的基于HE的线性层以$93\%$推理延迟为代价,所以选择一组HE参数以最小化线性层的计算开销是至关重要的。现有的HPPNN过于悲观地选择巨大的HE参数来维持大的噪声预算,因为它们对于整个网络使用相同的HE参数集合并且忽略网络的容错能力。在本文中,为了快速准确地进行安全的神经网络推理,我们提出了一种自动逐层参数选择器AutoPrivacy,它利用深度强化学习来自动确定HPPNN中每个线性层的HE参数集。基于学习的HE参数选择策略优于传统的基于规则的HE参数选择策略。与之前的HPPNN相比,AutoPrivacy优化的HPPNN将推理延迟减少了$53\%\sim70\%$,而准确性损失可以忽略不计。
PrivGNN: High-Performance Secure Inference for Cryptographic Graph Neural Networks
Deakin University(德肯大学);Singapore University of Technology and Design(新加坡科技与设计大学);Fuzhou University(福州市大学);East China Normal University(华东师范大学);Griffith University(格里菲斯大学)
QuanCrypt-FL: Quantized Homomorphic Encryption with Pruning for Secure Federated Learning
The Knight Foundation School of Computing and Information Sciences, Florida International University(佛罗里达国际大学骑士基金会计算与信息科学学院);Sustainability, Optimization, and Learning for InterDependent networks laboratory(相互依赖网络的可持续性、优化与学习实验室)
Improving the Robustness of Quantized Deep Neural Networks to White-Box Attacks using Stochastic Quantization and Information-Theoretic Ensemble Training
Center for Vision Technologies(视觉技术中心);SRI International(SRI国际)
Breaking TinyML: Why Quantized Neural Networks Need Domain-Specific Security Analysis
Harvard University(哈佛大学);Draper Laboratory(德拉珀实验室);University of Genoa(热那亚大学);Scuola Superiore Sant’Anna(圣安娜高等研究学院);University of Southern California(南加州大学)
Dual MINE-based Neural Secure Communications under Gaussian Wiretap Channel
Beijing University of Posts and Telecommunications(北京邮电大学);State Grid Fujian Electric Power Co.LTD(国网福建省电力有限公司);State Grid Hunan Electric Power Co.LTD(国网湖南省电力有限公司)
Provably Secure Disambiguating Neural Linguistic Steganography
University of Science and Technology of China(中国科学技术大学);School of Cyber Science and Technology(网络空间安全学院);Anhui Province Key Laboratory of Digital Security(安徽省数字安全重点实验室)
QVIP: An ILP-based Formal Verification Approach for Quantized Neural Networks
ShanghaiTech University(上海科技大学);Singapore Management University(新加坡管理大学);East China Normal University(华东师范大学);Birkbeck, University of London(伦敦大学伯贝克学院)