arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.03565cs.CR
收藏

CryptOracle: 一个模块化框架用于表征完全同态加密

CryptOracle: A Modular Framework to Characterize Fully Homomorphic Encryption

University of Central Florida(中佛罗里达大学);Advanced Micro Devices(超威半导体);Purdue University(普渡大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Cory Brynds, Parker McLeod, Lauren Caccamise, Asmita Pal, Dewan Saiham, Sazadur Rahman, Joshua San Miguel, Di Wu

AI总结:

本文提出CryptOracle框架,用于评估OpenFHE库的性能,通过基准测试、硬件分析和预测模型降低FHE计算开销,提升AI应用效率。

摘要:

隐私保护机器学习成为人工智能时代的重要长期目标。完全同态加密(FHE)提供可证明的隐私和安全保证,但计算成本阻碍了其大规模应用。现代解决方案比明文执行慢六个数量级。本文详细表征了OpenFHE库,特别是CKKS方案,引入CryptOracle框架,包含基准测试套件、硬件分析器和预测性能模型,用于评估不同配置场景下的运行时间和能耗效率,误差范围为运行时间-7.02%~8.40%,能耗-9.74%~15.67%。CryptOracle是开源、模块化的共享平台,促进FHE应用、算法、软件和硬件的协同进步。

英文摘要:

Privacy-preserving machine learning has become an important long-term pursuit in this era of artificial intelligence (AI). Fully Homomorphic Encryption (FHE) is a uniquely promising solution, offering provable privacy and security guarantees. Unfortunately, computational cost is impeding its mass adoption. Modern solutions are up to six orders of magnitude slower than plaintext execution. Understanding and reducing this overhead is essential to the advancement of FHE, particularly as the underlying algorithms evolve rapidly. This paper presents a detailed characterization of OpenFHE, a comprehensive open-source library for FHE, with a particular focus on the CKKS scheme due to its significant potential for AI and machine learning applications. We introduce CryptOracle, a modular evaluation framework comprising (1) a benchmark suite, (2) a hardware profiler, and (3) a predictive performance model. The benchmark suite encompasses OpenFHE kernels at three abstraction levels: workloads, microbenchmarks, and primitives. The profiler is compatible with standard and user-specified security parameters. CryptOracle monitors application performance, captures microarchitectural events, and logs power and energy usage for AMD and Intel systems. These metrics are consumed by a modeling engine to estimate runtime and energy efficiency across different configuration scenarios, with error geomean of $-7.02\%\sim8.40\%$ for runtime and $-9.74\%\sim15.67\%$ for energy. CryptOracle is open source, fully modular, and serves as a shared platform to facilitate the collaborative advancements of applications, algorithms, software, and hardware in FHE. The CryptOracle code can be accessed at https://github.com/UnaryLab/CryptOracle.

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

↑