GPU Acceleration for FHEW/TFHE Bootstrapping

作者
Yu Xiao,Feng-Hao Liu,Yu-Te Ku,Ming-Chien Ho,Chih-Fan Hsu,Ming‐Ching Chang,Shih‐Hao Hung,Wei-Chao Chen
出处
期刊:IACR transactions on cryptographic hardware and embedded systems [International Association for Cryptologic Research]
卷期号:2025 (1): 314-339 被引量:10
标识
DOI:10.46586/tches.v2025.i1.314-339
摘要

Fully Homomorphic Encryption (FHE) allows computations to be performed directly on encrypted data without decryption. Despite its great theoretical potential, the computational overhead remains a major obstacle for practical applications. To address this challenge, hardware acceleration has emerged as a promising approach, aiming to achieve real-time computation across a wider range of scenarios. In line with this, our research focuses on designing and implementing a Graphic Processing Unit (GPU)-based accelerator for the third generation FHEW/TFHE bootstrapping scheme, which features smaller parameters and bootstrapping keys particularly suitable for GPU architectures compared to the other generations.In summary, our accelerator offers improved efficiency, scalability, and flexibility for extensions, e.g., functional bootstrapping (Liu et al., Asiacrypt 2022), compared to current state-of-the-art solutions. We evaluate our implementation and demonstrate substantial speedup in the single-GPU setting, our bootstrapping achieves an 18x - 20x speedup compared to a 64-thread server-class CPU; by using 8 GPUs, the throughput can be further improved by 7x compared to the single-GPU implementation, confirming the scalability of our design. Furthermore, compared to the SoTA GPU solution TFHE-rs, we achieve a maximum speedup of 1.69x in AND gate evaluation. Finally, we benchmark several private machine learning applications, showing real-time solutions for (1) encrypted neural network inference for MNIST in 0.04 seconds per image, which is the fastest implementation to our knowledge.(2) private decision trees in 0.38 seconds for Iris dataset, where as prior 16 cores CPU implementation (Lu et al., IEEE S&P 2021) required 1.87 seconds; These results highlight the effectiveness and efficiency of our GPU-acceleration in real-world applications.As a technical highlight, we design a novel parallelization strategy tailored for FHEW/TFHE bootstrapping, allowing an automated optimization that partitions bootstrapping into multiple GPU thread blocks. This is necessary for FHEW/TFHE bootstrapping with scalable parameters, where the whole bootstrapping process may not fit into a single thread block. With this, our accelerator can support a broader range of parameters, making it ideal for upcoming privacy-preserving applications.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
ex完成签到,获得积分10
1秒前
源味完成签到,获得积分10
1秒前
qq发布了新的文献求助10
1秒前
苹果梦蕊完成签到 ,获得积分10
1秒前
端庄博超的应助被zrtx采纳,获得30
2秒前
思源的应助被zrtx采纳,获得10
2秒前
科研通AI6.4的应助被zrtx采纳,获得10
2秒前
爱情小坦克完成签到,获得积分10
3秒前
小鲨宇完成签到 ,获得积分10
3秒前
ccccchen完成签到,获得积分10
4秒前
路先生完成签到,获得积分10
4秒前
韩冬完成签到,获得积分10
4秒前
芒果不思议完成签到 ,获得积分10
6秒前
Yiling完成签到,获得积分10
7秒前
Owen的应助被chen采纳,获得10
7秒前
精明的zm发布了新的文献求助10
8秒前
冬瓜鑫完成签到,获得积分10
8秒前
s1完成签到,获得积分10
9秒前
1234完成签到 ,获得积分10
9秒前
123456完成签到 ,获得积分10
9秒前
sry完成签到 ,获得积分10
10秒前
星辰大海的应助被宋相甫采纳,获得10
11秒前
11秒前
迷人雪珊完成签到 ,获得积分10
11秒前
sdfwsdfsd完成签到,获得积分10
11秒前
科研小趴菜完成签到 ,获得积分10
13秒前
铁锤牛马版完成签到,获得积分0
13秒前
半刻温柔完成签到 ,获得积分10
14秒前
机智的孤兰完成签到 ,获得积分10
14秒前
hh完成签到,获得积分10
15秒前
就叫菜花吧完成签到 ,获得积分10
15秒前
Humab668完成签到,获得积分10
17秒前
木雨亦潇潇完成签到,获得积分0
18秒前
elgar612发布了新的文献求助30
18秒前
华熙完成签到 ,获得积分10
18秒前
Delamanid完成签到,获得积分10
18秒前
zhaosiqi完成签到 ,获得积分10
19秒前
爱学习完成签到,获得积分10
19秒前
Song完成签到,获得积分10
19秒前
19秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Das Matthäusevangelium: Kapitel 1:1–17 1000
IRTSD: Open-Source Data and Toolset for Electromagnetic Transient Analysis of Disturbances and IBR Control Malfunctions in Transmission Systems 1000
Entre Praga y Madrid : los contactos checoslovaco-españoles (1948-1977) 600
Les Mots du discours 600
A Consideration on Use of Material Grades for Hull Structural Members Based on Fracture Toughness(Second Report) 500
AI Disclosure in Annual Reports: Evolution, Determinants, and Capital Market Participants’ Perceptions 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8115697
求助须知:如何正确求助?哪些是违规求助? 9521517
关于积分的说明 21534121
捐赠科研通 7693845
什么是DOI,文献DOI怎么找? 3413622
关于科研通互助平台的介绍 2539973
邀请新用户注册赠送积分活动 2453622