Lune

HPCA2026顶会

Leveraging ASIC AI Chips for Homomorphic Encryption

Jianming Tong, Tianhao Huang, Jingtian Dang, Leo de Castro, Anirudh Itagi, Anupam Golder, Asra Ali, Jeremy Kun, Jevin Jiang, Arvind, G. Edward Suh, Tushar Krishna

摘要

Homomorphic Encryption (HE) provides strong data privacy for cloud services but at the cost of prohibitive computational overhead. While GPUs have emerged as a practical platform for accelerating HE, there remains an order-ofmagnitude energy-efficiency gap compared to specialized (but expensive) HE ASICs. This paper explores an alternate direction: leveraging existing AI accelerators, like Google's TPUs with coarse-grained compute and memory architectures, to offer a path toward ASIC-level energy efficiency for HE.

However, this architectural paradigm creates a fundamental mismatch with SoTA HE algorithms designed for GPUs. These algorithms rely heavily on: (1) high-precision (32-bit) integer arithmetic to now run on a TPU's low-throughput vector unit, leaving its high-throughput low-precision (8-bit) matrix engine (MXU) idle, and (2) fine-grained data permutations that are inefficient on the TPU's coarse-grained memory subsystem. Consequently, porting GPU-optimized HE libraries to TPUs results in severe resource under-utilization and performance degradation.

To tackle above challenges, we introduce CROSS, a compiler framework that systematically transforms HE workloads to align with the TPU's architecture. CROSS makes two key contributions: (1) Basis-Aligned Transformation (BAT), a novel technique that converts high-precision modular arithmetic into dense, low-precision (INT8) matrix multiplications, unlocking and improving the utilization of TPU's MXU for HE, and (2) Memory-Aligned Transformation (MAT), which eliminates costly runtime data reordering by embedding reordering into compute kernels through offline parameter transformation.

Our evaluation on a real single-host Google TPU v6e refreshes the SoTA Number Theoretic Transform (NTT) throughput record with up-to 1.43× throughput improvement over WarpDrive on a NVIDIA A100. Furthermore, CROSS achieves 451×, 7.81×, 1.83×, 1.31×, 1.86×, and 1.15× higher throughput per watt than OpenFHE, WarpDrive, FIDESlib, FAB, HEAP, and Cheddar, respectively, establishing AI ASIC as the SotA efficient platform for HE operators. Code: https://github.com/EfficientPPML/CROSS.

¶ We appreciate Arvind's technical feedback and strong encouragement. Unfortunately Arvind passed away before this work is published, but we feel extremely honored to have this paper become a part of his strong legacy.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption 引用了 HEAX: An Architecture for Computing on Encrypted Data
  • F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • 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
  • BTS: an accelerator for bootstrappable fully homomorphic encryption 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • 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
  • CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Cerium: A Multi-GPU Framework for Terabyte-Scale Encrypted Inference 引用了 CraterLake: a hardware accelerator for efficient unbounded computation on encrypted data
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. Cerium: A Multi-GPU Framework for Terabyte-Scale Encrypted InferenceSiddharth Jayashankar, Joshua Kim, Michael B. Sullivan, Wenting Zheng 等SOSP 2026

它引用的 Paper25

  1. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
  2. F1: A Fast and Programmable Accelerator for Fully Homomorphic EncryptionNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Srinivas Devadas 等MICRO 2021 · 294 次引用
  3. HEAX: An Architecture for Computing on Encrypted DataM. Sadegh Riazi, Kim Laine, Blake Pelton, Wei DaiASPLOS 2020 · 244 次引用
  4. CraterLake: a hardware accelerator for efficient unbounded computation on encrypted dataNikola Samardzic, Axel Feldmann, Aleksandar Krastev, Nathan Manohar 等ISCA 2022 · 205 次引用
  5. BTS: an accelerator for bootstrappable fully homomorphic encryptionSangpyo Kim, Jongmin Kim, Michael Jaemin Kim, Wonkyung Jung 等ISCA 2022 · 184 次引用

相关 Paper

  1. HyperDrive: Hierarchical Exploitation of Memory Efficiency for GPU-Based FHE AccelerationGuang Fan, Yi Chen, Lei Chen, Liang Kong 等ISCA 2026
  2. WarpDrive: GPU-Based Fully Homomorphic Encryption Acceleration Leveraging Tensor and CUDA CoresGuang Fan, Mingzhe Zhang, Fangyu Zheng, Shengyu Fan 等HPCA 2025 · 29 次引用
  3. CROPHE: Cross-Operator Dataflow Optimization for Fully Homomorphic Encryption AcceleratorsXinhua Chen, Jiangbin Dong, Hongren Zheng, Tian Tang 等HPCA 2026 · 1 次引用
  4. MNEMOS: A GPU-Based TFHE Acceleration Framework with Memory Access OptimizationJunyi Zhang, Xianglong Deng, Yi Chen, Guang Fan 等ISCA 2026
  5. MATCHA: a fast and energy-efficient accelerator for fully homomorphic encryption over the torusLei Jiang, Qian Lou, Nrushad JoshiDAC 2022 · 58 次引用
黄昏的海面,两侧是细线勾勒的悬崖