Paper 2025/257

TFHE Gets Real: an Efficient and Flexible Homomorphic Floating-Point Arithmetic

Loris Bergerat, Zama, Université Caen Normandie, ENSICAEN, CNRS, Normandie Univ, GREYC UMR 6072, F-14000 Caen, France
Ilaria Chillotti
Damien Ligier
Jean-Baptiste Orfila, Zama
Samuel Tap, Zama
Abstract

Floating-point arithmetic plays a central role in computer science and is used in various domains where precision and computational scale are essential. One notable application is in machine learning, where Fully Homomorphic Encryption (FHE) can play a crucial role in safeguarding user privacy. In this paper, we focus on TFHE and develop novel homomorphic operators designed to enable the construction of precise and adaptable homomorphic floating-point operations. Integrating floating-point arithmetic within the context of FHE is particularly challenging due to constraints such as small message space and the lack of information during computation. Despite these challenges, we were able to determine parameters for common precisions (e.g., 32-bit, 64-bit) and achieve remarkable computational speeds, with 32-bit floating-point additions completing in 2.5 seconds and multiplications in approximately 1 second in a multi-threaded environment. These metrics provide empirical evidence of the efficiency and practicality of our proposed methods, which significantly outperform previous efforts. Our results demonstrate a significant advancement in the practical application of FHE, making it more viable for real-world scenarios and bridging the gap between theoretical encryption techniques and practical usability.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Published by the IACR in TCHES 2025
Keywords
FHEFloating-pointTFHE
Contact author(s)
loris bergerat @ zama ai
jb orfila @ zama ai
samuel tap @ zama ai
History
2025-02-18: approved
2025-02-17: received
See all versions
Short URL
https://ia.cr/2025/257
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/257,
      author = {Loris Bergerat and Ilaria Chillotti and Damien Ligier and Jean-Baptiste Orfila and Samuel Tap},
      title = {{TFHE} Gets Real: an Efficient and Flexible Homomorphic Floating-Point Arithmetic},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/257},
      year = {2025},
      url = {https://eprint.iacr.org/2025/257}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.