Lune

MICRO2023顶会

Strix: An End-to-End Streaming Architecture with Two-Level Ciphertext Batching for Fully Homomorphic Encryption with Programmable Bootstrapping

Adiwena Putra, Prasetiyo, Yi Chen, John Kim, Joo-Young Kim

摘要

Homomorphic encryption (HE) is a type of cryptography that allows computations to be performed on encrypted data. The technique relies on learning with errors problem, where data is hidden under noise for security. To avoid accumulating too much noise, the process of bootstrapping is needed to reset the noise level in the ciphertext, but it requires a large bootstrapping key and is computationally expensive. The fully homomorphic encryption over the torus (TFHE) scheme offers a faster and programmable bootstrapping (PBS) algorithm, which is crucial for security-focused applications like machine learning. Nonetheless, the current TFHE scheme does not support ciphertext packing, resulting in low-throughput performance. To the best of our knowledge, this is the first work that thoroughly analyzes TFHE bootstrapping, identifies the TFHE acceleration bottleneck in GPUs, and proposes a hardware TFHE accelerator to solve the bottleneck.

We begin by identifying the TFHE acceleration bottleneck in GPUs, which is caused by the blind rotation fragmentation problem. This issue can be significantly improved by increasing the batch size in PBS. We propose a two-level batching approach to substantially enhance the batch size in PBS. In order to efficiently implement this solution, we propose Strix, which utilizes streaming and fully pipelined architecture with specialized functional units to accelerate the sequential ciphertext processing in TFHE. In particular, we propose a novel microarchitecture for decomposition in TFHE, suitable for processing streaming data at high throughput. We also utilize a fully-pipelined FFT microarchitecture to eliminate the complex memory access bottleneck and enhance its performance through a folding scheme, resulting in 2× throughput improvement and 1.7× area reduction. Strix achieves over 1, 067× and 37× higher throughput in running TFHE with PBS than the state-of-the-art implementation on CPU and GPU, respectively, outperforming the state of the art TFHE accelerator by 7.4×.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption 引用了 HEAX: An Architecture for Computing on Encrypted Data
  • BTS: an accelerator for bootstrappable fully homomorphic encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • BTS: an accelerator for bootstrappable fully homomorphic encryption 引用了 HEAX: An Architecture for Computing on Encrypted Data
  • Leveraging ASIC AI Chips for Homomorphic Encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • Leveraging ASIC AI Chips for Homomorphic Encryption 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
  • Leveraging ASIC AI Chips for Homomorphic Encryption 引用了 HEAX: An Architecture for Computing on Encrypted Data
  • Leveraging ASIC AI Chips for Homomorphic Encryption 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
  • Leveraging ASIC AI Chips for Homomorphic Encryption 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
  • CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
  • CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 HEAX: An Architecture for Computing on Encrypted Data
  • CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
  • CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 Trinity: A General Purpose FHE Accelerator
  • CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption Accelerators 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
  • ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
  • ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse 引用了 HEAX: An Architecture for Computing on Encrypted Data
  • ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
  • ABC-FHE: A Resource-Efficient Accelerator Enabling Bootstrappable Parameters for Client-Side Fully Homomorphic Encryption 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
  • ABC-FHE: A Resource-Efficient Accelerator Enabling Bootstrappable Parameters for Client-Side Fully Homomorphic Encryption 引用了 Trinity: A General Purpose FHE Accelerator
  • Trinity: A General Purpose FHE Accelerator 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • Trinity: A General Purpose FHE Accelerator 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
  • Trinity: A General Purpose FHE Accelerator 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
  • Trinity: A General Purpose FHE Accelerator 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
  • CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data 引用了 HEAX: An Architecture for Computing on Encrypted Data
  • Alchemist: A Unified Accelerator Architecture for Cross-Scheme Fully Homomorphic Encryption 引用了 F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption
  • Alchemist: A Unified Accelerator Architecture for Cross-Scheme Fully Homomorphic Encryption 引用了 BTS: an accelerator for bootstrappable fully homomorphic encryption
  • Alchemist: A Unified Accelerator Architecture for Cross-Scheme Fully Homomorphic Encryption 引用了 HEAX: An Architecture for Computing on Encrypted Data
  • Alchemist: A Unified Accelerator Architecture for Cross-Scheme Fully Homomorphic Encryption 引用了 ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key Reuse
  • Alchemist: A Unified Accelerator Architecture for Cross-Scheme Fully Homomorphic Encryption 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Trinity: A General Purpose FHE AcceleratorXianglong Deng, Shengyu Fan, Zhicheng Hu, Zhuoyu Tian 等MICRO 2024 · 34 次引用
  2. Alchemist: A Unified Accelerator Architecture for Cross-Scheme Fully Homomorphic EncryptionJianan Mu, Husheng Han, Shangyi Shi, Jing Ye 等DAC 2024 · 7 次引用
  3. Leveraging ASIC AI Chips for Homomorphic EncryptionJianming Tong, Tianhao Huang, Jingtian Dang, Leo de Castro 等HPCA 2026 · 2 次引用
  4. ABC-FHE: A Resource-Efficient Accelerator Enabling Bootstrappable Parameters for Client-Side Fully Homomorphic EncryptionSungwoong Yune, Hyojeong Lee, Adiwena Putra, Hyunjun Cho 等DAC 2025 · 2 次引用
  5. CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption AcceleratorsXinhua Chen, Jiangbin Dong, Hongren Zheng, Tian Tang 等HPCA 2026 · 1 次引用

它引用的 Paper9

  1. F1: A Fast and Programmable Accelerator for Fully Homomorphic EncryptionNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Srinivas Devadas 等MICRO 2021 · 294 次引用
  2. HEAX: An Architecture for Computing on Encrypted DataM. Sadegh Riazi, Kim Laine, Blake Pelton, Wei DaiASPLOS 2020 · 244 次引用
  3. CraterLake: a hardware accelerator for efficient unbounded computation on encrypted dataNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Nathan Manohar 等ISCA 2022 · 205 次引用
  4. BTS: an accelerator for bootstrappable fully homomorphic encryptionSangpyo Kim, Jongmin Kim, Michael Jaemin Kim, Wonkyung Jung 等ISCA 2022 · 184 次引用
  5. ARK: Fully Homomorphic Encryption Accelerator with Runtime Data Generation and Inter-Operation Key ReuseJongmin Kim, Gwangho Lee, Sangpyo Kim, Gina Sohn 等MICRO 2022 · 160 次引用

相关 Paper

  1. FPT: A Fixed-Point Accelerator for Torus Fully Homomorphic EncryptionMichiel Van Beirendonck, Jan-Pieter D'Anvers, Furkan Turan, Ingrid VerbauwhedeCCS 2023 · 28 次引用
  2. Unlocking Pipeline Parallelism for Bootstrapping: A Pipelined Multi-Chiplet TFHE AcceleratorYibo Du, Mengdi Wang, Cangyuan Li, Yinhe Han 等ISCA 2026
  3. FlashTFHE: A Scalable Architecture for Efficient Multi-Bit Fully Homomorphic EncryptionJiaao Ma, Ceyu Xu, Ning Liang, Lisa Wu WillsISCA 2026
  4. Morphling: A Throughput-Maximized TFHE-based Accelerator using Transform-domain ReusePrasetiyo, Adiwena Putra, Joo-Young KimHPCA 2024 · 22 次引用
  5. Maverick: Rethinking TFHE Bootstrapping on GPUs via Algorithm-Hardware Co-DesignZhiwei Wang, Haoqi He, Lutan Zhao, Qingyun Niu 等ASPLOS 2026
黄昏的海面,两侧是细线勾勒的悬崖