Abstract
As machine learning (ML) becomes increasingly integrated into sensitive domains such as healthcare and defense, the need for privacy-preserving computation grows. This paper introduces a high-performance, actively secure protocol for outsourcing private ML inference to untrusted cloud servers. By leveraging lightweight arithmetic computation and a modular security framework, the proposed system achieves up to a 15x efficiency improvement over prior state-of-the-art methods. The protocol ensures that even malicious servers cannot compromise data privacy or result integrity, providing a robust solution for secure cloud-based inference.
Introduction
The proliferation of ML-as-a-Service (MLaaS) has created a tension between the need for powerful cloud resources and the requirement to protect sensitive user data. Existing Privacy-Preserving Machine Learning (PPML) solutions often rely on Secure Multi-Party Computation (MPC). However, many of these protocols are designed for "passive" security, which assumes that servers will follow the protocol but try to learn secrets. In practice, "active" (malicious) adversaries may deviate from the protocol to corrupt outputs or inject adversarial noise. Previous actively secure systems were often too slow for practical deployment or required significant sacrifices in model accuracy. This work addresses these challenges by proposing a protocol based on secure arithmetic computation that maintains high performance without compromising security or accuracy.
Methodology
The authors propose a protocol that treats neural network inference as a series of mathematical operations over integers, avoiding the overhead of bit-level Boolean circuits.
The IPS Compiler
The system utilizes the Ishai-Prabhakaran-Sahai (IPS) framework, which modularly combines a "virtual" outer protocol (secure against active attackers with an honest majority) and an "inner" protocol (secure against passive attackers with a dishonest majority). This "best-of-both-worlds" approach allows for high efficiency while maintaining strong security guarantees.
MPC-Friendly Activations
Standard ReLU functions are computationally expensive in an arithmetic MPC context. To mitigate this, the authors employ quadratic activation functions ($f(x) = x^2$). They demonstrate that these functions provide representational power comparable to ReLUs while being significantly more efficient to compute arithmetically.
Throughput Optimization
To increase throughput, the protocol uses Reed-Solomon codes for Packed Secret Sharing, allowing multiple data elements to be processed within a single share. Additionally, the system is built on Oblivious Linear Evaluation (OLE), with a modular design that allows for the integration of future OLE optimizations.
Experimental Evaluation
The protocol was evaluated using the Drug Consumption dataset from the UCI repository, which contains 1,885 records with 12 attributes. The task involved predicting the risk of LSD usage based on data distributed across multiple health centers. The model achieved approximately 86% accuracy, matching conventional benchmarks and proving that the transition to integer-based quadratic networks does not sacrifice performance.
Key Results
The proposed protocol demonstrates significant improvements in both communication and computation overhead. For large arithmetic circuits, it is over 15x faster than recent protocols like Overdrive or TinyOLE.
In a public model scenario, a single inference takes approximately 3.7 seconds with 18MB of communication. However, the system excels in batched settings. As shown in Figure 1, the amortized cost per instance drops significantly as the number of instances increases.
For a batch of 32 instances, the cost per instance reduces to roughly 1 second and 4MB of communication. In contrast, "private model" scenarios, where model weights must also remain secret, incur a much higher overhead of approximately 259 seconds per inference, highlighting the trade-off between model and data privacy.
Conclusion and Future Work
This work provides a robust framework for verifiable computation, ensuring security even when all cloud servers are corrupt. While the current benchmarks focus on the "basic variant" (active security with abort), future work will involve implementing and benchmarking the full enhanced version with additional zero-knowledge proofs. Furthermore, while the protocol is theoretically extensible to multiple servers, practical scaling beyond a two-server cloud model remains an area for further investigation.
Summary updated