Practical and Private Hybrid ML Inference with Fully Homomorphic Encryption

Sayan Biswas, Philippe Chartier, Akash Dhasade, Tom Jurien, David Kerriou +5 more
9/1/2025
cs.CRcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

In contemporary cloud-based services, protecting users' sensitive data and ensuring the confidentiality of the server's model are critical. Fully homomorphic encryption (FHE) enables inference directly on encrypted inputs, but its practicality is hindered by expensive bootstrapping and inefficient approximations of non-linear activations. We introduce Safhire, a hybrid inference framework that executes linear layers under encryption on the server while offloading non-linearities to the client in plaintext. This design eliminates bootstrapping, supports exact activations, and significantly reduces computation. To safeguard model confidentiality despite client access to intermediate outputs, Safhire applies randomized shuffling, which obfuscates intermediate values and makes it practically impossible to reconstruct the model. To further reduce latency, Safhire incorporates advanced optimizations such as fast ciphertext packing and partial extraction. Evaluations on multiple standard models and datasets show that Safhire achieves 1.5X - 10.5X lower inference latency than Orion, a state-of-the-art baseline, with manageable communication overhead and comparable accuracy, thereby establishing the practicality of hybrid FHE inference.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{biswas2025practical,
  title  = {Practical and Private Hybrid ML Inference with Fully Homomorphic Encryption},
  author = {Sayan Biswas and Philippe Chartier and Akash Dhasade and Tom Jurien and David Kerriou and Anne-Marie Kerrmarec and Mohammed Lemou and Franklin Tranie and Martijn de Vos and Milos Vujasinovic},
  year   = {2025},
  eprint = {2509.01253},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.01253v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.01253.svg)](https://codeofpaper.com/paper/2509.01253)

Discussion