Paper 2021/1284 Original: eprint.iacr.org/2021/1284 ↗

APAS: Application-Specific Accelerators for RLWE-based Homomorphic Linear Transformations

Song Bian
Dur E Shahwar Kundi
Kazuma Hirozawa
Weiqiang Liu
Takashi Sato
Abstract

Recently, the application of multi-party secure computing schemes based on homomorphic encryption in the field of machine learning attracts attentions across the research fields. Previous studies have demonstrated that secure protocols adopting packed additive homomorphic encryption (PAHE) schemes based on the ring learning with errors (RLWE) problem exhibit significant practical merits, and are particularly promising in enabling efficient secure inference in machine-learning-as-a-service applications. In this work, we introduce a new technique for performing homomorphic linear transformation (HLT) over PAHE ciphertexts. Using the proposed HLT technique, homomorphic convolutions and inner products can be executed without the use of number theoretic transform and the rotate-and-add algorithms that were proposed in existing works. To maximize the efficiency of the HLT technique, we propose APAS, a hardware-software co-design framework consisting of approximate arithmetic units for the hardware acceleration of HLT. In the experiments, we use actual neural network architectures as benchmarks to show that APAS can improve the computational and communicational efficiency of homomorphic convolution by 8x and 3x, respectively, with an energy reduction of up to 26x as compared to the ASIC implementations of existing methods.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
History
2021-09-24: last updated
2021-09-24: published
Short URL
https://ia.cr/2021/1284
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2021/1284,
      author = {Song Bian and Dur E Shahwar Kundi and Kazuma Hirozawa and Weiqiang Liu and Takashi Sato},
      title = {APAS: Application-Specific Accelerators for RLWE-based Homomorphic Linear Transformations},
      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1284},
      year = {2021},
      url = {https://eprint.iacr.org/2021/1284}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.