Celeritas: Architecture-Aware FHE Kernel Generation Across Diverse GPUs
Siddharth Jayashankar, Michael B. Sullivan, Simon Langowski, Wenting Zheng, Dimitrios Skarlatos, Christos Kozyrakis
Abstract
GPUs have emerged as the preferred platform for FHE acceleration. However, modern GPU architectures differ in memory bandwidth, arithmetic throughput, and native instruction support. Consequently, optimizations tuned for one GPU are often suboptimal, or even counterproductive, on another. This problem is compounded by aggressive kernel fusion, which produces diverse call shapes that favor different execution strategies. To address these challenges, we present Celeritas, a code-generation framework that specializes CKKS kernels to the target GPU and fused kernel shape. Guided by an architectural analysis of FHE bottlenecks, Celeritas adapts algorithms and implementations to each GPU's limiting resource, tailoring traffic- or instruction-reducing optimizations to the target GPU's hardware balance. Additionally, Celeritas leverages Tensor Cores in various formats, and implements kernel variants that specialize work mapping and tiling strategies to kernel dimensions. On the NVIDIA B300 GPU, Celeritas runs CKKS bootstrapping in 6.6 ms, 2.0x faster than Cerium, and in 3.8 ms with multi-GPU scaling. Applications run 1.8-2.2x faster: on eight B300s, ResNet-50 classifies an encrypted ImageNet image in 0.89 s, encrypted BERT-Base runs in 4.5 s, and Llama3-8B prefill runs in 22 s. Celeritas on a next-generation VR200 GPU bootstraps in 4.4 ms, and four VR200s roughly match the speed of eight B300s.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AR
Related papers
Forensic Visibility of Malicious Model Context Protocol (MCP) Servers: An Empirical Study Across Agent and Kernel Trust Boundaries
Shared title terminologycs.CRCesar R. Beltrán-Hernández
Generation of Cryptography Algorithms Using AI Agents
Shared title terminologycs.CRAshish Kundu, Ramana Kompella
SLAE: Sparse Locality-Aware Editing for Safety-Aligned MLLMs
Shared title terminologycs.CRJiaqing Li, Shide Zhou, Tianlong Yu et al.
Partial Parameter Recovery from Gemma-Style Architectures via Black-Box Queries: Identifiability and Limits
Shared title terminologycs.CRRuijie Ma, Yi Chen, Hongbo Yu et al.
Secure-Miner: Improving Secure Code Generation for LLMs by Mining Secure Coding Practices
Shared title terminologycs.CRJunjie Li, Jinqiu Yang
Living-off-the-Agent: Enforcing MCP-to-Kernel Capability Boundaries
Shared title terminologycs.CRJeremy Canale, Fabien Soulis