Paper 2024/559

Convolution-Friendly Image Compression in FHE

Axel Mertens, COSIC, KU Leuven
Georgio Nicolas, COSIC, KU Leuven
Sergi Rovira, Pompeu Fabra University - WiSeCom
Abstract

Fully Homomorphic Encryption (FHE) is a powerful tool that brings privacy and security to all sorts of applications by allowing us to perform additions and multiplications directly on ciphertexts without the need of the secret key. Some applications of FHE that were previously overlooked but have recently been gaining traction are data compression and image processing. Practically, FHE enables applications such as private satellite searching, private object recognition, or even encrypted video editing. We propose a practical FHE-friendly image compression and processing pipeline where an image can be compressed and encrypted on the client-side, sent to a server which decompresses it homomorphically and then performs image processing in the encrypted domain before returning the encrypted result to the client. Inspired by JPEG, our pipeline also relies on discrete cosine transforms and quantization to simplify the representation of an image in the frequency domain, making it possible to effectively use a compression algorithm. This pipeline is designed to be compatible with existing image-processing techniques in FHE, such as pixel-wise processing and convolutional filters. Using this technique, a high-definition ($1024\times1024$) image can be homomorphically decompressed, processed with a convolutional filter and re-compressed in under $24.7$s, while using ~8GB memory.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
Keywords
Fully Homomorphic EncryptionImage ProcessingImage CompressionCKKS
Contact author(s)
axel mertens @ esat kuleuven be
georgio nicolas @ esat kuleuven be
sergi rovira @ upf edu
History
2024-04-12: approved
2024-04-11: received
See all versions
Short URL
https://ia.cr/2024/559
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/559,
      author = {Axel Mertens and Georgio Nicolas and Sergi Rovira},
      title = {Convolution-Friendly Image Compression in {FHE}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/559},
      year = {2024},
      url = {https://eprint.iacr.org/2024/559}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.