Fully homomorphic encryption (FHE) lets a SaaS provider run machine learning inference on data it can never see: the client encrypts its input, the server computes directly on the ciphertext, and only the client can decrypt the result. The concept is sound and in production at major technology companies, but it is not a drop-in privacy layer. It adds client-side key generation, ciphertext size problems that can break standard API limits, and a computational overhead severe enough that one reported FHE-enabled Llama-3-8B deployment took under 100 seconds to generate a single output token on a GPU. For most enterprise teams, the realistic question is not whether FHE works, but whether a specific workload can absorb its latency and complexity.

Machine Learning over Encrypted Data with Fully Homomorphic EncryptionTo visually explain the technical concepts and workflow of FHE in machine learning, providing a dynamic and accessible overview.Watch on YouTube

Understanding Fully Homomorphic Encryption (FHE) for AI/ML

According to Apple's machine learning researchers, Homomorphic Encryption (HE) is designed so that a client device encrypts a query before sending it to a server. The server then operates on the encrypted query and generates an encrypted response, which the client subsequently decrypts. The server does not decrypt the original request or even have access to the decryption key, ensuring the client query remains private throughout the process. Apple reports using HE in production alongside other privacy-preserving technologies for features including private database lookups and machine learning, with optimizations to balance HE's computational overhead against the latency and efficiency demands of applications at scale.

Google's security team frames the same capability as a shift in the privacy trade-off: a cloud service can, for example, provide content recommendations without being able to see the user's features. Google's Jeremy Kun is candid that homomorphic encryption carries a nontrivial cost overhead, but argues it converts a capability-versus-privacy conflict into a question of cost—one that is rapidly decreasing. Within the research landscape, FHE sits alongside multi-party computation and zero-knowledge proofs as one of three core cryptographic primitives for private LLM usage, according to a 2025 arXiv paper on scaling privacy-preserving technologies to LLM workloads.