arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.04775cs.CR
收藏

FIDESlib:面向GPU上高效CKKS的全功能开源FHE库

FIDESlib: A Fully-Fledged Open-Source FHE Library for Efficient CKKS on GPUs

Carlos Agulló-Domingo, Óscar Vera-López, Seyda Guzelhan, Lohit Daksha, Aymane El Jerari, Kaustubh Shivdikar, Rashmi Agrawal, David Kaeli, Ajay Joshi, José L. Abellán

AI总结:

针对OpenFHE在云部署中服务器端性能不足的问题,该研究提出FIDESlib,首个完全成熟的开源服务器端CKKS GPU库,实现与OpenFHE互操作,通过优化GPU内核提升性能,引导加速达70倍以上。

摘要:

逐字全同态加密(FHE)方案(如CKKS)因其能提供抗量子后、隐私保护的近似计算而备受关注,这在机器学习即服务(MLaaS)云计算范式中是一个特别理想的特性。OpenFHE是领先的基于CPU的FHE库,具备稳健的CKKS操作,但其服务器端性能仍不足以支持实际的云部署。随着GPU计算在数据中心越来越普遍,许多FHE库正在添加GPU支持。然而,将高效的GPU后端集成到OpenFHE中具有挑战性。虽然OpenFHE使用硬件抽象层(HAL),但其灵活的架构因多方案和多后端兼容性所需的抽象层而牺牲了性能。在这项工作中,我们引入FIDESlib,这是首个完全成熟的开源服务器端CKKS GPU库,可与成熟的客户端OpenFHE操作完全互操作。与其他现有开源GPU库不同,FIDESlib首次实现了针对所有CKKS原语(包括引导)的高度优化GPU内核。我们的库还集成了稳健的基准测试和测试,确保其能适应进一步优化。此外,其软件架构设计支持扩展至多GPU后端以增强加速。我们在各种GPU系统和迄今为止领先的开源CKKS库Phantom上进行的实验表明,FIDESlib具有卓越的性能和可扩展性。在引导方面,FIDESlib比AVX优化的OpenFHE实现实现了不低于70倍的加速。

英文摘要:

Word-wise Fully Homomorphic Encryption (FHE) schemes, such as CKKS, are gaining significant traction due to their ability to provide post-quantum-resistant, privacy-preserving approximate computing; an especially desirable feature in Machine-Learning-as-a-Service (MLaaS) cloud-computing paradigms. OpenFHE is a leading CPU-based FHE library with robust CKKS operations, but its server-side performance is not yet sufficient for practical cloud deployment. As GPU computing becomes more common in data centers, many FHE libraries are adding GPU support. However, integrating an efficient GPU backend into OpenFHE is challenging. While OpenFHE uses a Hardware Abstraction Layer (HAL), its flexible architecture sacrifices performance due to the abstraction layers required for multi-scheme and multi-backend compatibility. In this work, we introduce FIDESlib, the first open-source server-side CKKS GPU library that is fully interoperable with well-established client-side OpenFHE operations. Unlike other existing open-source GPU libraries, FIDESlib provides the first implementation featuring heavily optimized GPU kernels for all CKKS primitives, including bootstrapping. Our library also integrates robust benchmarking and testing, ensuring it remains adaptable to further optimization. Furthermore, its software architecture is designed to support extensions to a multi-GPU backend for enhanced acceleration. Our experiments across various GPU systems and the leading open-source CKKS library to date, Phantom, show that FIDESlib offers superior performance and scalability. For bootstrapping, FIDESlib achieves no less than 70x speedup over the AVX-optimized OpenFHE implementation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑