AscendFHE: Efficient Fully Homomorphic Encryption on Ascend NPUs
Abstract
Fully homomorphic encryption enables cloud servers to run neural networks on encrypted inputs. In CKKS, inference requires costly arithmetic on high-degree polynomials. On Ascend neural processing units, preparing operands and reconstructing intermediate results add to this cost, while limited local memory constrains parallel execution. We present AscendFHE, a CKKS backend that coordinates Ascend's matrix engines and vector cores for bootstrapping and encrypted inference. It uses balanced-byte encoding and exact modular reconstruction to reduce vector work and packs intermediate results in the next operator's input format to avoid redundant transfers. Its two-task pipeline reuses shared buffers after their last read to overlap matrix and vector execution within the local memory budget. On Ascend 910B3, AscendFHE achieves a 4.61 bootstrapping speedup and 1.59--2.00 encrypted-inference speedups across ResNet-20, BERT-base, and Llama 3 8B over our Vector-based Ascend port of Cheddar.
Create a lesson
Related papers
NPUFHE: An Efficient CKKS Execution System for Ascend NPUs
Shared title terminology · Ke Changke, Jian Wang, Xuan Xu et al.
TurboFHE: An Efficient and Scalable Multi-GPU Framework for Homomorphic LLM Inference
Shared title terminology · Honghui You, Haoping Yang, Wenzhe Wang et al.
Felid: A Flexible and Efficient Design for Transformer Fine-Tuning over Encrypted Data
Shared title terminology · Linru Zhang, Jun Jie Sim, Xiangning Wang et al.
Praxis: Practical Witness Encryption for NP
Shared title terminology · David Tse, Nikhil Vanjani, Psi Vesely
An LLM-Assisted Multi-Objective AutoML Framework for Efficient Network Intrusion Detection
Shared title terminology · Ailin Barzegar, Khalil El-Khatib, Li Yang
"More Than You Expect!": Leakage-Abuse Attacks on Encrypted Vector Search
Shared title terminology · Yang Zhang, Ruiqi He, Xiaoqian Sun et al.