[Paper Review] BTS: An Accelerator for Bootstrappable Fully Homomorphic Encryption
BTS is a hardware accelerator for fully homomorphic encryption (FHE) that natively supports bootstrapping, the critical operation enabling unlimited homomorphic computations. It uses a massively parallel grid of processing elements and a network-on-chip optimized for HE's data access patterns, achieving 5,556× speedup over CPU for ResNet-20 inference with 373.6mm² area and 163.2W power draw.
Homomorphic encryption (HE) enables the secure offloading of computations to the cloud by providing computation on encrypted data (ciphertexts). HE is based on noisy encryption schemes in which noise accumulates as more computations are applied to the data. The limited number of operations applicable to the data prevents practical applications from exploiting HE. Bootstrapping enables an unlimited number of operations or fully HE (FHE) by refreshing the ciphertext. Unfortunately, bootstrapping requires a significant amount of additional computation and memory bandwidth as well. Prior works have proposed hardware accelerators for computation primitives of FHE. However, to the best of our knowledge, this is the first to propose a hardware FHE accelerator that supports bootstrapping as a first-class citizen. In particular, we propose BTS - Bootstrappable, Technologydriven, Secure accelerator architecture for FHE. We identify the challenges of supporting bootstrapping in the accelerator and analyze the off-chip memory bandwidth and computation required. In particular, given the limitations of modern memory technology, we identify the HE parameter sets that are efficient for FHE acceleration. Based on the insights gained from our analysis, we propose BTS, which effectively exploits the parallelism innate in HE operations by arranging a massive number of processing elements in a grid. We present the design and microarchitecture of BTS, including a network-on-chip design that exploits a deterministic communication pattern. BTS shows 5,556x and 1,306x improved execution time on ResNet-20 and logistic regression over a CPU, with a chip area of 373.6mm^2 and up to 163.2W of power.
Motivation & Objective
- Address the critical performance bottleneck of bootstrapping in fully homomorphic encryption (FHE), which limits practical deployment despite advances in HE schemes.
- Overcome the lack of hardware acceleration for bootstrapping in prior works, which either omitted it or supported only low-throughput, single-slot variants.
- Design an ASIC accelerator that optimizes for both computation and off-chip memory bandwidth, leveraging modern fabrication and memory constraints.
- Enable high-throughput, multi-slot bootstrapping in CKKS-based FHE by analyzing parameter sets and data access patterns.
- Balance on-chip data reuse, computation, and memory access to maximize performance while minimizing power and area overhead.
Proposed method
- Propose BTS — a bootstrappable, technology-driven, secure accelerator architecture for FHE, specifically targeting CKKS homomorphic encryption.
- Analyze the impact of HE parameter sets (e.g., N = 2^17) on bootstrapping performance and identify those optimal for hardware acceleration under current memory and process technology constraints.
- Implement a grid of massively parallel processing elements to exploit coefficient-level parallelism (CLP) in HE operations like number-theoretic transform (NTT) and automorphism.
- Design a network-on-chip (NoC) with deterministic communication patterns to minimize off-chip memory access and maximize data reuse.
- Store critical data such as evaluation keys (evk) and ciphertexts on-chip to reduce latency and bandwidth pressure.
- Optimize kernel fusion and dataflow to reduce off-chip memory transactions, especially for bandwidth-intensive operations like bootstrapping.
Experimental results
Research questions
- RQ1Which HE parameter sets (e.g., N, slot count) are most efficient for hardware acceleration of bootstrapping in CKKS FHE?
- RQ2How can an ASIC accelerator be architected to minimize off-chip memory bandwidth while supporting high-throughput bootstrapping?
- RQ3What is the optimal balance between on-chip storage, computation, and communication for bootstrappable FHE operations?
- RQ4Can a hardware accelerator achieve significant speedup for end-to-end FHE workloads like deep learning inference while supporting full bootstrapping?
- RQ5How does the performance of a bootstrapping-optimized accelerator compare to prior CPU, GPU, FPGA, and ASIC solutions in real-world FHE applications?
Key findings
- BTS achieves a 5,556× speedup over a state-of-the-art CPU for ResNet-20 inference, significantly outperforming prior accelerators.
- BTS delivers a 1,306× speedup for logistic regression compared to the CPU, demonstrating strong performance on general FHE workloads.
- The accelerator achieves 20 million bootstrapping operations per second (20M ops/s) for multi-slot CKKS bootstrapping with N = 2^17.
- BTS reduces off-chip memory access by storing evaluation keys and intermediate data on-chip, minimizing latency and bandwidth pressure.
- The chip occupies 373.6mm² and consumes up to 163.2W, demonstrating a viable area and power profile for practical deployment.
- BTS is the first ASIC accelerator to natively support multi-slot bootstrapping as a first-class operation, unlike prior works that either omitted it or supported only single-slot variants.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.