利用FHE原语适配SIFT的实践练习
A Practical Exercise in Adapting SIFT Using FHE Primitives
AI总结:
针对当前全同态加密(FHE)范式缺少标准比较运算符等局限,本研究提出常规代码适配方法、低乘法深度的标准算法替代实现及延迟计算新方法,并以SIFT实现验证,为算法适配FHE提供实用指南。
摘要:
一项使用CKKS全同态加密实现尺度不变特征变换(SIFT)的练习,快速揭示了当前FHE范式中一些显著的局限性。这些局限包括缺少标准比较运算符,以及依赖该运算符的若干操作(如数组求最大值、直方图分箱等)。我们还发现,现有解决方案要么层级过低,要么缺乏合适的抽象来实现SIFT这类算法。本研究展示了三方面内容:1. 将常规代码适配到FHE环境的方法;2. 标准算法(如数组求最大值、直方图分箱等)的替代实现,以降低乘法深度;3. 一种利用延迟计算的新方法,可避免在加密域执行比较等昂贵操作。通过本次练习,我们希望本研究能成为如何将算法适配到FHE的实用指南。
英文摘要:
An exercise in implementing Scale Invariant Feature Transform using CKKS Fully Homomorphic encryption quickly reveals some glaring limitations in the current FHE paradigm. These limitations include the lack of a standard comparison operator and certain operations that depend on it (like array max, histogram binning etc). We also observe that the existing solutions are either too low level or do not have proper abstractions to implement algorithms like SIFT. In this work, we demonstrate: 1. Methods of adapting regular code to the FHE setting. 2. Alternate implementations of standard algorithms (like array max, histogram binning, etc.) to reduce the multiplicative depth. 3. A novel method of using deferred computations to avoid performing expensive operations such as comparisons in the encrypted domain. Through this exercise, we hope this work acts as a practical guide on how one can adapt algorithms to FHE
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。