Predicting the Execution Time of Secure Neural Network Inference

Zhang, E.; Mann, Z. Á.

Forschungsartikel in Sammelband (Konferenz) | Peer reviewed

Zusammenfassung

In the secure neural network inference (SNNI) problem, a service provider offers inference as a service with a pre-trained neural network (NN). Clients can use the service by providing an input and obtaining the output of the inference with the NN. For reasons of privacy and intellectual property protection, the service provider must not learn anything about the input or the output, and the client must not learn anything about the internal parameters of the NN. This is possible by applying techniques like multi-party computing (MPC) or homomorphic encryption (HE), although with a significant performance overhead. One way to improve the efficiency of SNNI is by selecting NN architectures that can be evaluated faster using MPC or HE. For this, it would be important to predict how long SNNI with a given NN takes. This turns out to be challenging. Traditional predictors for NN inference time, like the number of parameters in the NN, are poor predictors of SNNI execution time, since they ignore the characteristics of cryptographic protocols. This paper is the first to address this problem. We propose three different prediction methods for SNNI execution time, and investigate experimentally their strengths and weaknesses. The results show that the proposed methods offer different advantages in terms of accuracy and speed.

Details zur Publikation

Herausgeber*innenPitropakis, N.; Katsikas, S.; Furnell, S.; Markantonakis, K.
Buchtitel ICT Systems Security and Privacy Protection (Band 710)
Seitenbereich481-494
VerlagSpringer Publishing
ErscheinungsortCham
StatusVeröffentlicht
Veröffentlichungsjahr2024
Sprache, in der die Publikation verfasst istEnglisch
Konferenz IFIP International Conference on ICT Systems Security and Privacy Protection (SEC 2024), Edinburgh, Vereinigtes Königreich
ISBN978-3-031-65174-8
DOI10.1007/978-3-031-65175-5_34
Stichwörter Privacy-preserving machine learning; Multi-party computation; Homomorphic encryption; Neural networks; Performance prediction

Autor*innen der Universität Münster

Mann, Zoltan Adam
Professur für Praktische Informatik (Prof. Mann)