Performance of hierarchical transforms in homomorphic encryption: a case study on logistic regression inference

Pedro Alves*, Jheyne Nayara Ortiz, Diego F. Aranha

*Corresponding author af dette arbejde

Publikation: Bidrag til tidsskrift/Konferencebidrag i tidsskrift /Bidrag til avisTidsskriftartikelForskningpeer review

Abstract

Recent works challenged the number-theoretic transform (NTT) as the most efficient method for polynomial multiplication in GPU implementations of fully homomorphic encryption schemes such as CKKS and BFV. In particular, these works argue that the discrete galois transform (DGT) is a better candidate for this particular case. However, these claims were never rigorously validated, and only intuition was used to argue in favor of each transform. This work brings some light on the discussion by developing similar CUDA implementations of the CKKS cryptosystem, differing only in the underlying transform and related data structure. We ran several experiments and collected performance metrics in different contexts, ranging from the basic direct comparison between the transforms to measuring the impact of each one on the inference phase of the logistic regression algorithm. Our observations suggest that, despite some specific polynomial ring configurations, the DGT in a standalone implementation does not offer the same performances of the NTT. However, when we consider the entire cryptosystem, we noticed that the effects of the higher arithmetic density of the DGT on other parts of the implementation are substantial, implying a considerable performance improvement of up to 15 % on the homomorphic multiplication. Furthermore, this speedup is consistent when we consider a more complex application, indicating that the DGT suits better the target architecture.

OriginalsprogEngelsk
TidsskriftJournal of Cryptographic Engineering
Vol/bind13
Nummer3
Sider (fra-til)295-310
Antal sider16
ISSN2190-8508
DOI
StatusUdgivet - sep. 2023

Fingeraftryk

Dyk ned i forskningsemnerne om 'Performance of hierarchical transforms in homomorphic encryption: a case study on logistic regression inference'. Sammen danner de et unikt fingeraftryk.

Citationsformater