arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.16352cs.CRcs.LGcs.PF
收藏

Smuche:同态加密中的标量乘法缓存

Smuche: Scalar-Multiplicative Caching in Homomorphic Encryption

University of Washington(华盛顿大学)

Dongfang Zhao

AI总结:

针对同态加密中现有缓存技术(如Rache)因明文特征导致线性开销的问题,提出常数时间标量乘法缓存技术Smuche,通过标量乘法与常数时间随机性实现参数无关的缓存,实验证明其优于Rache和CKKS。

摘要:

在不可信环境(如联邦学习)中部署机器学习系统时,平衡安全性与效率的挑战仍然是一个关键问题。解决该问题的一个有前景的策略是优化全同态加密(HE)的性能。近期研究强调了先进缓存技术(如Rache)在显著提升HE方案性能且不损害安全性方面的有效性。然而,Rache受到固有局限性的制约:其性能开销严重受明文模型特征的影响,具体表现为缓存时间复杂度为$\mathcal{O}(N)$,其中$N$表示基于特定基数缓存的枢轴数量。这种缓存开销在处理大规模数据时变得不切实际。在本研究中,我们引入了一种新颖的、与任何参数无关的\textit{常数时间}缓存技术。其核心概念是对单个缓存密文应用标量乘法,随后引入一种全新的、常数时间的随机性。利用常数时间构造的固有特性,我们将这种创新缓存技术命名为“Smuche”,即同态加密的标量乘法缓存。我们从零开始实现了Smuche,并与两个基线方案Rache和CKKS进行了对比评估。我们的实验结果强调了Smuche在解决上述局限性以及优化同态加密在实际场景中性能方面的有效性。

英文摘要:

Addressing the challenge of balancing security and efficiency when deploying machine learning systems in untrusted environments, such as federated learning, remains a critical concern. A promising strategy to tackle this issue involves optimizing the performance of fully homomorphic encryption (HE). Recent research highlights the efficacy of advanced caching techniques, such as Rache, in significantly enhancing the performance of HE schemes without compromising security. However, Rache is constrained by an inherent limitation: its performance overhead is heavily influenced by the characteristics of plaintext models, specifically exhibiting a caching time complexity of $\mathcal{O}(N)$, where $N$ represents the number of cached pivots based on specific radixes. This caching overhead becomes impractical for handling large-scale data. In this study, we introduce a novel \textit{constant-time} caching technique that is independent of any parameters. The core concept involves applying scalar multiplication to a single cached ciphertext, followed by the introduction of a completely new and constant-time randomness. Leveraging the inherent characteristics of constant-time construction, we coin the term ``Smuche'' for this innovative caching technique, which stands for Scalar-multiplicative Caching of Homomorphic Encryption. We implemented Smuche from scratch and conducted comparative evaluations against two baseline schemes, Rache and CKKS. Our experimental results underscore the effectiveness of Smuche in addressing the identified limitations and optimizing the performance of homomorphic encryption in practical scenarios.

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

↑