arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.08968cs.CRcs.ARcs.DC
收藏

CIPHERMATCH:通过内存高效数据打包与闪存内处理加速基于同态加密的字符串匹配

CIPHERMATCH: Accelerating Homomorphic Encryption-Based String Matching via Memory-Efficient Data Packing and In-Flash Processing

Mayank Kabra, Rakesh Nadig, Harshita Gupta, Rahul Bera, Manos Frouzakis, Vamanan Arulchelvan, Yu Liang, Haiyu Mao, Mohammad Sadrosadati, Onur Mutlu

AI总结:

本文提出 CIPHERMATCH,通过内存高效数据打包、去除乘法和旋转等同态操作以及闪存内处理架构,协同加速基于同态加密的安全精确字符串匹配,在 DNA 匹配和加密数据库搜索中实现最高 136.9 倍性能提升和 256.4 倍能耗降低。

摘要:

同态加密(HE)允许在加密数据上进行安全计算而不泄露原始数据,为隐私敏感应用提供了显著优势。许多云计算应用(例如 DNA 读段映射、生物特征匹配、网络搜索)将精确字符串匹配作为关键操作。然而,先前使用同态加密的字符串匹配算法受到高计算延迟的限制,原因在于使用了复杂操作,以及由于加密数据规模庞大而导致的数据移动瓶颈。在本工作中,我们提供了一种高效的算法-硬件协同设计,以加速基于同态加密的安全精确字符串匹配。我们提出 CIPHERMATCH,其(i)使用优化的基于软件的数据打包方案减少加密后内存占用的增加,(ii)消除代价高昂的同态操作(例如乘法和旋转)的使用,以及(iii)通过设计新的闪存内处理(IFP)架构减少数据移动。我们通过两个案例研究展示了 CIPHERMATCH 的优势:(1)精确 DNA 字符串匹配和(2)加密数据库搜索。我们使用内存高效数据打包方案的纯软件 CIPHERMATCH 实现,与最先进的软件基线相比,性能提升 42.9 倍,能耗降低 17.6 倍。将 CIPHERMATCH 与 IFP 集成后,与基于软件的 CIPHERMATCH 实现相比,性能提升 136.9 倍,能耗降低 256.4 倍。

英文摘要:

Homomorphic encryption (HE) allows secure computation on encrypted data without revealing the original data, providing significant benefits for privacy-sensitive applications. Many cloud computing applications (e.g., DNA read mapping, biometric matching, web search) use exact string matching as a key operation. However, prior string matching algorithms that use homomorphic encryption are limited by high computational latency caused by the use of complex operations and data movement bottlenecks due to the large encrypted data size. In this work, we provide an efficient algorithm-hardware codesign to accelerate HE-based secure exact string matching. We propose CIPHERMATCH, which (i) reduces the increase in memory footprint after encryption using an optimized software-based data packing scheme, (ii) eliminates the use of costly homomorphic operations (e.g., multiplication and rotation), and (iii) reduces data movement by designing a new in-flash processing (IFP) architecture. We demonstrate the benefits of CIPHERMATCH using two case studies: (1) Exact DNA string matching and (2) encrypted database search. Our pure software-based CIPHERMATCH implementation that uses our memory-efficient data packing scheme improves performance and reduces energy consumption by 42.9X and 17.6X, respectively, compared to the state-of-the-art software baseline. Integrating CIPHERMATCH with IFP improves performance and reduces energy consumption by 136.9X and 256.4X, respectively, compared to the software-based CIPHERMATCH implementation.

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

↑