GALA: Greedy ComputAtion for Linear Algebra in Privacy-Preserved Neural Networks

被引:10
|
作者
Zhang, Qiao [1 ]
Xin, Chunsheng [1 ]
Wu, Hongyi [1 ]
机构
[1] Old Dominion Univ, Norfolk, VA 23529 USA
基金
美国国家科学基金会;
关键词
MACHINE; ATTACKS;
D O I
10.14722/ndss.2021.24351
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Machine Learning as a Service (MLaaS) is enabling a wide range of smart applications on end devices. However, privacy still remains a fundamental challenge. The schemes that exploit Homomorphic Encryption (HE)-based linear computations and Garbled Circuit (GC)-based nonlinear computations have demonstrated superior performance to enable privacy-preserved MLaaS. Nevertheless, there is still a significant gap in the computation speed. Our investigation has found that the HE-based linear computation dominates the total computation time for state-of-the-art deep neural networks. Furthermore, the most time-consuming component of the HE-based linear computation is a series of Permutation (Perm) operations that are imperative for dot product and convolution in privacy-preserved MLaaS. This work focuses on a deep optimization of the HEbased linear computations to minimize the Perm operations, thus substantially reducing the overall computation time. To this end, we propose GALA: Greedy computAtion for Linear Algebra in privacy-preserved neural networks, which views the HE-based linear computation as a series of Homomorphic Add, Mult and Perm operations and chooses the least expensive operation in each linear computation step to reduce the overall cost. GALA makes the following contributions: (1) It introduces a row-wise weight matrix encoding and combines the share generation that is needed for the GC-based nonlinear computation, to reduce the Perm operations for the dot product; (2) It designs a first-Add-second-Perm approach (named kernel grouping) to reduce Perm operations for convolution. As such, GALA efficiently reduces the cost for the HE-based linear computation, which is a critical building block in almost all of the recent frameworks for privacy-preserved neural networks, including GAZELLE (Usenix Security'18), DELPHI (Usenix Security'20), and CrypTFlow2 (CCS'20). With its deep optimization of the HE-based linear computation, GALA can be a plug-and-play module integrated into these systems to further boost their efficiency. Our experiments show that it achieves a significant speedup up to 700x for the dot product and 14x for the convolution computation under different data dimensions. Meanwhile, GALA demonstrates an encouraging runtime boost by 2.5x , 2.7x , 3.2x , 83x , 7.7x , and 7.5x over GAZELLE and 6.5x , 6x , 5.7x , 4.5x , 4.2x , and 4.1 x over CrypTFlow2, on AlexNet, VGG, ResNet-18, ResNet-50, ResNet-101, and ResNet-152, respectively.
引用
收藏
页数:16
相关论文
共 26 条
  • [1] Privacy-Preserved Neural Graph Similarity Learning
    Hou, Yupeng
    Zhao, Wayne Xin
    Li, Yaliang
    Wen, Ji-Rong
    2022 IEEE INTERNATIONAL CONFERENCE ON DATA MINING (ICDM), 2022, : 191 - 200
  • [2] Privacy-preserved community discovery in online social networks
    Zheng, Xu
    Cai, Zhipeng
    Luo, Guangchun
    Tian, Ling
    Bai, Xiao
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2019, 93 : 1002 - 1009
  • [3] Privacy-preserved Cell Zooming with Distributed Optimization in Green Networks
    Wakaiki, Masashi
    Suto, Katsuya
    Masubuchi, Izumi
    2019 IEEE 90TH VEHICULAR TECHNOLOGY CONFERENCE (VTC2019-FALL), 2019,
  • [4] Federated graph neural network for privacy-preserved supply chain data sharing
    Tang, Xiaochuan
    Wang, Yu
    Liu, Xin
    Yuan, Xiaojun
    Fan, Chao
    Hu, Yanmei
    Miao, Qiang
    Applied Soft Computing, 2025, 168
  • [5] A Privacy-Preserved Probabilistic Routing Index Model for Decentralised Online Social Networks
    Yuan, Bo
    Gu, Jiayan
    Liu, Lu
    2019 IEEE SMARTWORLD, UBIQUITOUS INTELLIGENCE & COMPUTING, ADVANCED & TRUSTED COMPUTING, SCALABLE COMPUTING & COMMUNICATIONS, CLOUD & BIG DATA COMPUTING, INTERNET OF PEOPLE AND SMART CITY INNOVATION (SMARTWORLD/SCALCOM/UIC/ATC/CBDCOM/IOP/SCI 2019), 2019, : 1711 - 1716
  • [6] Automatic Privacy-Preserved Contact Tracing in Body Area Networks using Blockchain
    Pattanayak, Anupam
    Baruah, Barnana
    Dhal, Subhasish
    2023 IEEE 20th India Council International Conference, INDICON 2023, 2023, : 415 - 420
  • [7] PRISC: Privacy-Preserved Pandemic Infection Risk Computation Through Cellular-Enabled IoT Devices
    Feng, Yizhou
    Zhang, Qiao
    Wu, Hongyi
    Xin, Chunsheng
    IEEE INTERNET OF THINGS JOURNAL, 2023, 10 (17) : 15074 - 15086
  • [8] SecureTrain: An Approximation-Free and Computationally Efficient Framework for Privacy-Preserved Neural Network Training
    Zhang, Qiao
    Xin, Chunsheng
    Wu, Hongyi
    IEEE TRANSACTIONS ON NETWORK SCIENCE AND ENGINEERING, 2022, 9 (01): : 187 - 202
  • [9] UAV-Based Privacy-Preserved Trustworthy Seamless Service Agility for NextG Cellular Networks
    Abdel-Malek, Mai A.
    Sayed, Muhammad M.
    Azab, Mohamed
    SENSORS, 2022, 22 (07)
  • [10] GELU-Net: A Globally Encrypted, Locally Unencrypted Deep Neural Network for Privacy-Preserved Learning
    Zhang, Qiao
    Wang, Cong
    Wu, Hongyi
    Xin, Chunsheng
    Phuong, Tran, V
    PROCEEDINGS OF THE TWENTY-SEVENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2018, : 3933 - 3939