Paper 2022/482

cuFE: High Performance Privacy Preserving Support Vector Machine with Inner-Product Functional Encryption

KyungHyun Han, Wai-Kong Lee, Angshuman Karmakar, Jose Maria Bermudo Mera, and Seong Oun Hwang

Abstract

Privacy preservation is a sensitive issue in our modern society. It is becoming increasingly important in many applications in this ever-growing and highly connected digital era. Functional encryption is a computation on encrypted data paradigm that allows users to retrieve the evaluation of a function on encrypted data without revealing the data, thus effectively protecting users' privacy. However, existing functional encryption implementations are still very time-consuming for practical deployment, especially when applied to machine learning applications that involve a huge amount of data. In this paper, we present a high-performance implementation of inner-product functional encryption (IPFE) based on ring-learning with errors on graphics processing units. We propose novel techniques to parallelize the Gaussian sampling, which is one of the most time-consuming operations in the IPFE scheme. We further execute a systematic investigation to select the best strategy for implementing number theoretic transform and inverse number theoretic transform for different security levels. Compared to the existing AVX2 implementation of IPFE, our implementation on a RTX 2060 GPU device can achieve 34.24x, 40.02x, 156.30x, and 18.76x speed-up for Setup, Encrypt, KeyGen, and Decrypt respectively. Finally, we propose a fast privacy-preserving Support Vector Machine (SVM) application to classify data securely using our GPU-accelerated IPFE scheme. Experimental results show that our implementation can classify 100 inputs with 591 support vectors in 688 ms (less than a second), which is 33.12x faster than the AVX2 version which takes 23 seconds.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint. MINOR revision.
Keywords
Inner-product functional encryptionRing-learning with errorsGraphics processing unitsSupport vector machinesprivacy-preserving
Contact author(s)
waikong lee @ gmail com
History
2022-04-23: received
Short URL
https://ia.cr/2022/482
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2022/482,
      author = {KyungHyun Han and Wai-Kong Lee and Angshuman Karmakar and Jose Maria Bermudo Mera and Seong Oun Hwang},
      title = {{cuFE}: High Performance Privacy Preserving Support Vector Machine with Inner-Product Functional Encryption},
      howpublished = {Cryptology {ePrint} Archive, Paper 2022/482},
      year = {2022},
      url = {https://eprint.iacr.org/2022/482}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.