Theodosian: A Deep Dive into Memory-Hierarchy-Centric FHE Acceleration

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Choi, Wonseok, Yu, Hyunah, Kim, Jongmin, Ji, Hyesung, Park, Jaiyoung, Ahn, Jung Ho
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908892433219584
author Choi, Wonseok
Yu, Hyunah
Kim, Jongmin
Ji, Hyesung
Park, Jaiyoung
Ahn, Jung Ho
author_facet Choi, Wonseok
Yu, Hyunah
Kim, Jongmin
Ji, Hyesung
Park, Jaiyoung
Ahn, Jung Ho
contents Fully homomorphic encryption (FHE) enables secure computation on encrypted data, mitigating privacy concerns in cloud and edge environments. However, due to its high compute and memory demands, extensive acceleration research has been pursued across diverse hardware platforms, especially GPUs. In this paper, we perform a microarchitectural analysis of CKKS, a popular FHE scheme, on modern GPUs. Focusing on the memory hierarchy, we demonstrate that dominant kernels remain bound by the on-chip L2 cache despite its high bandwidth, exposing a persistent inner memory wall beyond the conventional off-chip DRAM bottleneck. Further, we reveal that the overall CKKS throughput is constrained by low per-kernel hardware utilization, caused by insufficient intra-kernel parallelism. Motivated by these findings, we introduce Theodosian, a set of complementary, memory-aware optimizations that improve cache efficiency and reduce runtime overheads. Theodosian achieves 1.45--1.83x performance improvements over a highly optimized baseline, Cheddar, across representative CKKS workloads. On an RTX 5090, we reduce the bootstrapping latency for 32,768 complex numbers from 22.1ms to 15.2ms, and further to 12.8ms with additional algorithmic optimizations, establishing a new state-of-the-art GPU performance to the best of our knowledge.
format Preprint
id arxiv_https___arxiv_org_abs_2512_18345
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Theodosian: A Deep Dive into Memory-Hierarchy-Centric FHE Acceleration
Choi, Wonseok
Yu, Hyunah
Kim, Jongmin
Ji, Hyesung
Park, Jaiyoung
Ahn, Jung Ho
Cryptography and Security
Hardware Architecture
Fully homomorphic encryption (FHE) enables secure computation on encrypted data, mitigating privacy concerns in cloud and edge environments. However, due to its high compute and memory demands, extensive acceleration research has been pursued across diverse hardware platforms, especially GPUs. In this paper, we perform a microarchitectural analysis of CKKS, a popular FHE scheme, on modern GPUs. Focusing on the memory hierarchy, we demonstrate that dominant kernels remain bound by the on-chip L2 cache despite its high bandwidth, exposing a persistent inner memory wall beyond the conventional off-chip DRAM bottleneck. Further, we reveal that the overall CKKS throughput is constrained by low per-kernel hardware utilization, caused by insufficient intra-kernel parallelism. Motivated by these findings, we introduce Theodosian, a set of complementary, memory-aware optimizations that improve cache efficiency and reduce runtime overheads. Theodosian achieves 1.45--1.83x performance improvements over a highly optimized baseline, Cheddar, across representative CKKS workloads. On an RTX 5090, we reduce the bootstrapping latency for 32,768 complex numbers from 22.1ms to 15.2ms, and further to 12.8ms with additional algorithmic optimizations, establishing a new state-of-the-art GPU performance to the best of our knowledge.
title Theodosian: A Deep Dive into Memory-Hierarchy-Centric FHE Acceleration
topic Cryptography and Security
Hardware Architecture
url https://arxiv.org/abs/2512.18345