Optimizing Local Computation in Secure Matrix Multiplication for Outsourced Neural Networks
J. Parker Diamond, Andrea Lin, R. Nicholas Cunningham et al. · IEEE High Performance Extreme Computing Conference · 2025
Data and computation are increasingly being out-sourced to the cloud for a variety of applications. However, traditional cloud computing comes with privacy and security risks, as it requires clients to trust the cloud with sensitive data and computations. Secure multi-party computation (MPC) is a type of cryptography that allows a set of parties to jointly compute functions on sensitive data without learning any information about the input data. Thus, MPC enables secure computing across untrusted cloud service providers.Secure machine learning (e.g., neural network training and inference) is of significant interest. However, practical performance of machine learning under MPC can often be a challenge. In this work, we investigate the performance of several approaches to secure matrix multiplication and convolution - two important building blocks of neural networks. We implement and evaluate optimizations using PyTorch on top of the MP-SPDZ MPC framework, and then demonstrate them in a multi-cloud setting for two machine learning applications: a small image classification task for benchmarking purposes, and a large object detection task to demonstrate feasibility of a complex application.
Cited by 0 works. doi:10.1109/hpec67600.2025.11196508
Authors
References
- Deep Residual Learning for Image Recognition
- Microsoft COCO: Common Objects in Context
- You Only Look Once: Unified, Real-Time Object Detection
- How to generate and exchange secrets
- SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Multiparty Computation from Somewhat Homomorphic Encryption
- Efficient Multiparty Protocols Using Circuit Randomization
- Chameleon
- MP-SPDZ: A Versatile Framework for Multi-Party Computation
- Secure multiparty computation