English

A Practical Exercise in Adapting SIFT Using FHE Primitives

Cryptography and Security 2024-12-16 v1 Computer Vision and Pattern Recognition

Abstract

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

Keywords

Cite

@article{arxiv.2412.09642,
  title  = {A Practical Exercise in Adapting SIFT Using FHE Primitives},
  author = {Ishwar B Balappanawar and Bhargav Srinivas Kommireddy},
  journal= {arXiv preprint arXiv:2412.09642},
  year   = {2024}
}

Comments

Under review at FHE.org collocated with Real World Crypto 2025

R2 v1 2026-06-28T20:33:04.325Z