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

HE-DAP:基于同态加密的统计计算动态自适应参数优化

HE-DAP: Homomorphic Encryption-based Dynamic Adaptive Parameter Optimization for Statistical Computation

Inha University(仁荷大学);NAVER Cloud(NAVER云);Sungkyunkwan University(成均馆大学)

Yun-Soo Park, Hyunmin Choi, Hyoungshick Kim, Mun-Kyu Lee

AI总结:

针对同态加密中逆平方根计算性能不一致的问题,提出HE-DAP框架,通过自动平衡多项式度数与迭代次数,在多种环境下实现最高2.35倍加速,并保持高精度。

摘要:

同态加密(HE)支持隐私保护分析,但受限于高计算开销。我们发现逆平方根——许多统计和机器学习工作负载中的关键原语——在不同HE库和硬件上表现出不一致且往往次优的性能。这源于两种昂贵的HE操作之间的核心权衡:评估高次切比雪夫多项式以加速牛顿法,与执行引导程序以管理密文噪声。由于它们的相对成本在不同环境中变化高达6倍,任何固定配置本质上都是低效的。为解决这一挑战,我们提出了HE-DAP,一个跨平台优化框架,自动导航这一权衡。通过分析环境的独特性能特征,HE-DAP找到多项式度数与迭代次数之间的最优平衡,以在给定精度目标下加速加密逆平方根计算。我们在Lattigo、HEaaN-CPU和HEaaN-GPU上的评估表明,HE-DAP的自适应方法带来了显著的性能提升。与PP-STAT中的固定配置相比,它将核心逆平方根计算加速了高达2.35倍,同时保持高数值精度(MRE <= 3.1 x 10^-8)。我们进一步证明,优化这一基本构建块直接提升了复杂统计分析的整体性能,证实了我们环境感知方法的实际效益。通过自动适应异构执行环境,HE-DAP展示了原则性参数优化可以使隐私保护统计分析在大规模下变得实用。

英文摘要:

Homomorphic encryption (HE) enables privacy-preserving analytics but remains hindered by high computational overhead. We find that the inverse square root-a key primitive in many statistical and machine learning workloads-exhibits inconsistent and often suboptimal performance across HE libraries and hardware. This stems from a core trade-off between two costly HE operations: evaluating high-degree Chebyshev polynomials to speed up Newton's method versus performing bootstrapping to manage ciphertext noise. Because their relative costs vary by up to 6x across environments, any fixed configuration proves inherently inefficient. To address this challenge, we present HE-DAP, a cross-platform optimization framework that automatically navigates this trade-off. By profiling an environment's unique performance characteristics, HE-DAP finds the optimal balance between polynomial degree and iteration count to accelerate the encrypted inverse square root computation for a given accuracy target. Our evaluation on Lattigo, HEaaN-CPU, and HEaaN-GPU shows that HE-DAP's adaptive approach yields significant performance gains. It accelerates the core inverse square root computation by up to 2.35x over the fixed configuration in PP-STAT while maintaining high numerical accuracy (MRE <= 3.1 x 10^-8). We further demonstrate that optimizing this fundamental building block directly enhances the end-to-end performance of complex statistical analyses, confirming the practical benefits of our environment-aware approach. By automatically adapting to heterogeneous execution environments, HE-DAP demonstrates that principled parameter optimization can make privacy-preserving statistical analytics practical at scale.

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

↑