paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Framework for Developing and Optimizing Fully Homomorphic Encryption Programs on GPUs

在 GPU 上开发与优化全同态加密程序的框架
ASPLOS Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22026匹配度 2/10 · 论文聚焦 GPU 上全同态加密程序的编译与优化,属于 PL/编译与体系结构方向,但未涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等用户核心研究兴趣,因此匹配度较低。引用 0 inbox
Jianyu Zhao, Xueyu Wu, Guang Fan, Mingzhe Zhang, Shoumeng Yan, Lei Ju, Zhuoran Ji
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 EasyFHE,一个类 PyTorch 的 GPU 全同态加密编程框架,通过高层接口与 lowering 优化遍简化开发并提升性能。

在医疗、金融等敏感领域,机器学习越来越多地使用全同态加密(FHE)保护用户数据与模型。FHE 的内在并行性天然契合 GPU,但仅优化 GPU kernel 不足以支撑端到端 FHE 应用开发:FHE 方案本身复杂、GPU 细节繁琐,且高内存需求、细粒度内存操作与冗余计算带来优化难题。本文提出 EasyFHE 框架,提供类 PyTorch 的高层接口以定义 FHE 计算逻辑,自动处理实现选择、内存管理等底层任务;并设计优化框架,在将高层 FHE 程序 lowering 为 GPU kernel 的过程中应用定制优化遍,系统性消除性能瓶颈。相比 SOTA 开源 GPU FHE 库,EasyFHE 独特支持内存需求超出典型 GPU 容量的 FHE 程序,平均加速 2.88×,峰值达 4.39×。

问题
如何简化 GPU 加速的全同态加密(FHE)应用的端到端开发,并解决 FHE 高内存需求、细粒度内存操作和冗余计算带来的性能瓶颈,仅靠逐个优化 GPU kernel 难以奏效。
方法
提出 EasyFHE 框架:提供类 PyTorch 的高层接口用于定义 FHE 计算逻辑,自动完成实现选择与内存管理;并设计优化框架,在将高层 FHE 程序 lowering 为 GPU kernel 的过程中应用定制优化遍,系统性消除性能瓶颈。
评估
与 SOTA 开源 GPU FHE 库对比,EasyFHE 支持内存需求超过典型 GPU 容量的 FHE 程序,取得平均 2.88×、峰值 4.39× 的加速。
原文摘要(Abstract)

In sensitive domains such as healthcare and finance, machine learning increasingly employs Fully Homomorphic Encryption (FHE) to secure both user data and models. Although FHE's intrinsic parallelism naturally aligns with GPU architectures, optimizing GPU kernels alone remains insufficient for efficient end-to-end FHE application development. The inherent complexity of FHE schemes and intricate GPU-specific details impede developers from focusing on high-level program logic. Additionally, FHE's high memory requirements, fine-grained memory operations, and redundant computations introduce further optimization challenges, resulting in inefficiencies even when GPU kernels are individually optimized. This paper introduces EasyFHE, a framework designed to simplify the development and optimization of GPU-accelerated FHE applications. Similar to PyTorch, EasyFHE provides high-level interfaces for defining computational logic while automatically handling low-level tasks, such as implementation selection and memory management. Furthermore, it incorporates an optimization framework that systematically addresses performance bottlenecks by applying tailored optimization passes during the lowering from high-level FHE programs to GPU kernels. Compared to state-of-the-art open-source GPU FHE libraries, EasyFHE uniquely supports FHE programs with memory requirements exceeding typical GPU capacities, achieving an average speedup of 2.88× with a peak of 4.39×.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{0004WF0Y0J26,
  title = {A Framework for Developing and Optimizing Fully Homomorphic Encryption Programs on GPUs},
  author = {Jianyu Zhao and Xueyu Wu and Guang Fan and Mingzhe Zhang and Shoumeng Yan and Lei Ju and Zhuoran Ji},
  booktitle = {ASPLOS},
  year = {2026},
  doi = {10.1145/3779212.3790120}
}