Paper 2020/463

Leia: A Lightweight Cryptographic Neural Network Inference System at the Edge

Xiaoning Liu, Bang Wu, Xingliang Yuan, and Xun Yi

Abstract

The advances in machine learning have revealed its great potential for emerging mobile applications such as face recognition and voice assistant. Models trained via a Neural Network (NN) can offer accurate and efficient inference services for mobile users. Unfortunately, the current deployment of such service encounters privacy concerns. Directly offloading the model to the mobile device violates model privacy of the model owner, while feeding user input to the service compromises user privacy. To address this issue, we propose, tailor, and evaluate Leia, a lightweight cryptographic NN inference system at the edge. Unlike prior cryptographic NN inference systems, Leia is designed with two mobile-friendly perspectives. First, Leia leverages the paradigm of edge computing wherein the inference procedure keeps the model closer to the mobile user to foster low latency service. Specifically, Leia's architecture consists of two non-colluding edge services to obliviously perform NN inference on the encoded user data and model. Second, Leia's realization makes the judicious use of potentially constrained computational and communication resources in edge devices. In particular, Leia adapts the Binarized Neural Network (BNN), a trending flavor of NN model with low memory footprint and computational cost, and purely chooses the lightweight secret sharing techniques to develop secure blocks of BNN. Empirical validation executed on Raspberry Pi confirms the practicality of Leia, showing that Leia can produce a prediction result with 97% accuracy by 4 seconds in the edge environment.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Published elsewhere. Minor revision. IEEE Transactions on Information Forensics and Security
DOI
10.1109/TIFS.2021.3138611
Keywords
privacy-preserving neural network inferencesecure multi-party computationedge computing
Contact author(s)
xiaoning trust @ gmail com
xingliang yuan @ monash edu
History
2021-12-24: last of 2 revisions
2020-04-24: received
See all versions
Short URL
https://ia.cr/2020/463
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2020/463,
      author = {Xiaoning Liu and Bang Wu and Xingliang Yuan and Xun Yi},
      title = {Leia: A Lightweight Cryptographic Neural Network Inference System at the Edge},
      howpublished = {Cryptology ePrint Archive, Paper 2020/463},
      year = {2020},
      doi = {10.1109/TIFS.2021.3138611},
      note = {\url{https://eprint.iacr.org/2020/463}},
      url = {https://eprint.iacr.org/2020/463}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.