Conference proceeding
Generating High-Performance Number Theoretic Transform Implementations for Vector Architectures
2023 IEEE High Performance Extreme Computing Conference (HPEC), pp 1-7
25 Sep 2023
Abstract
Fully homomorphic encryption (FHE) offers the ability to perform computations directly on encrypted data by encoding numerical vectors onto mathematical structures. However, the adoption of FHE is hindered by substantial overheads that make it impractical for many applications. Number theoretic transforms (NTTs) are a key optimization technique for FHE by accelerating vector convolutions. Towards practical usage of FHE, we propose to use SPIRAL, a code generator renowned for generating efficient linear transform implementations, to generate high-performance NTT on vector architectures. We identify suitable NTT algorithms and translate the dataflow graphs of those algorithms into SPIRAL's internal mathematical representations. We then implement the entire workflow required for generating efficient vectorized NTT code. In this work, we target the Ring Processing Unit (RPU), a multitile long vector accelerator designed for FHE computations. On average, the SPIRAL-generated NTT kernel achieves a 1.7x speedup over naive implementations on RPU, showcasing the effectiveness of our approach towards maximizing performance for NTT computations on vector architectures.
Metrics
7 Record Views
2 citations in Scopus
Details
- Title
- Generating High-Performance Number Theoretic Transform Implementations for Vector Architectures
- Creators
- Naifeng Zhang - Carnegie Mellon UniversityAustin Ebel - New York UniversityNegar Neda - New York UniversityPatrick Brinich - Drexel UniversityBenedict Reynwar - USC Information Sciences InstituteAndrew G. Schmidt - USC Information Sciences InstituteMike Franusich - Spiral FoundationJeremy Johnson - Drexel UniversityBrandon Reagen - New York UniversityFranz Franchetti - Carnegie Mellon University
- Publication Details
- 2023 IEEE High Performance Extreme Computing Conference (HPEC), pp 1-7
- Publisher
- IEEE
- Grant note
- HR0011-20-S0032 / Defense Advanced Research Projects Agency (DARPA) (10.13039/100000185)
- Resource Type
- Conference proceeding
- Language
- English
- Academic Unit
- Computer Science
- Scopus ID
- 2-s2.0-85182594953
- Other Identifier
- 991021811633504721