Inferensys

Glossary

Homomorphic Encryption

A cryptographic technique enabling computation directly on ciphertext, generating an encrypted result that, when decrypted, matches the output of operations performed on the plaintext.
Operations room with a large monitor wall for system visibility and control.
PRIVACY-PRESERVING COMPUTATION

What is Homomorphic Encryption?

A cryptographic paradigm enabling computation on ciphertext, producing an encrypted result that decrypts to the correct plaintext output.

Homomorphic encryption is a cryptographic technique that allows computation to be performed directly on encrypted ciphertext, generating an encrypted result which, when decrypted, matches the output of operations performed on the plaintext. This enables third parties to process sensitive data without ever accessing the unencrypted information, preserving confidentiality throughout the entire computational lifecycle.

In federated genomic analysis, homomorphic encryption allows a central server to aggregate encrypted model updates from multiple hospitals without inspecting individual patient-level contributions. The primary trade-off is computational overhead—fully homomorphic encryption schemes impose significant latency and ciphertext expansion, making them suitable for lightweight operations like secure aggregation rather than full neural network training on encrypted data.

CRYPTOGRAPHIC PRIMITIVES

Key Properties of Homomorphic Encryption

Homomorphic encryption enables computation on ciphertexts, producing an encrypted result that decrypts to the correct plaintext output. The following properties define its security, performance, and applicability to federated genomic analysis.

01

Partially Homomorphic Encryption (PHE)

Supports unlimited operations of a single type—either addition or multiplication, but not both.

  • RSA encryption is multiplicatively homomorphic: E(x) * E(y) = E(x * y)
  • Paillier cryptosystem is additively homomorphic: E(x) * E(y) = E(x + y)
  • Computationally efficient with small ciphertext expansion
  • Used in federated GWAS for secure allele frequency aggregation
  • Cannot evaluate arbitrary functions; limited to linear operations
1978
First PHE (RSA)
02

Somewhat Homomorphic Encryption (SHE)

Supports both addition and multiplication but only for circuits of limited depth. Each operation increases ciphertext noise, and decryption fails once noise exceeds a threshold.

  • Based on ideal lattices and ring learning with errors (RLWE)
  • Can evaluate low-degree polynomials before noise overwhelms the signal
  • Serves as a building block for fully homomorphic schemes via bootstrapping
  • Suitable for simple statistical computations like chi-squared tests on encrypted genotype counts
03

Fully Homomorphic Encryption (FHE)

Supports arbitrary computation on encrypted data by enabling both addition and multiplication an unlimited number of times. Achieved through bootstrapping, a technique that recursively decrypts and re-encrypts ciphertexts to reset accumulated noise.

  • Gentry's 2009 breakthrough proved FHE is theoretically possible using ideal lattices
  • Modern schemes: BGV, BFV, CKKS, TFHE
  • CKKS supports approximate arithmetic on real numbers, ideal for genomic model inference
  • Enables encrypted neural network inference on private variant data without exposing patient genomes
2009
First FHE Construction
10⁶×
Overhead vs Plaintext
04

Leveled Homomorphic Encryption

A practical variant of FHE that supports computation up to a pre-determined multiplicative depth without bootstrapping. Parameters are chosen to accommodate a specific circuit before noise becomes unmanageable.

  • BGV and BFV operate in leveled mode by default
  • Eliminates the extreme computational cost of bootstrapping for known-depth circuits
  • Ideal for fixed-architecture neural networks where layer count is known in advance
  • Enables encrypted polygenic risk score calculation with a bounded number of arithmetic operations
05

Ciphertext Indistinguishability

A fundamental security property ensuring that an adversary cannot distinguish between encryptions of two different plaintexts, even when allowed to choose the plaintexts. Formally defined as IND-CPA security.

  • Guarantees that ciphertexts reveal no partial information about the underlying genomic data
  • Achieved through probabilistic encryption—the same plaintext encrypts to different ciphertexts each time
  • Prevents allele frequency inference from repeated encryptions of identical genotypes
  • Essential for compliance with GDPR and HIPAA when processing encrypted patient data in untrusted cloud environments
06

Circuit Privacy

A stronger security notion ensuring that the evaluated ciphertext reveals nothing about the computation itself, only the final result. Without circuit privacy, an adversary could infer which genomic analysis was performed.

  • Protects proprietary algorithms running on encrypted data from reverse engineering
  • Achieved through noise flooding or rerandomization after homomorphic evaluation
  • Critical when a pharmaceutical company runs encrypted drug-target prediction on a hospital's encrypted genomic data
  • Prevents leakage of model architecture or variant weights during federated inference
HOMOMORPHIC ENCRYPTION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about performing computation on encrypted genomic data without ever decrypting it.

Homomorphic encryption is a cryptographic primitive that enables computation to be performed directly on ciphertext, generating an encrypted result that, when decrypted, matches the output of operations performed on the plaintext. It works by constructing encryption schemes where the encryption function is a homomorphism with respect to specific algebraic operations—addition or multiplication. In a Partially Homomorphic Encryption (PHE) scheme like Paillier, you can perform unlimited additions on encrypted data. In a Somewhat Homomorphic Encryption (SHE) scheme, you can perform both additions and multiplications but only up to a limited depth. Fully Homomorphic Encryption (FHE) removes this depth constraint by introducing a bootstrapping procedure that recursively refreshes the ciphertext noise, enabling arbitrary computation on encrypted data. The core mechanism relies on lattice-based cryptography, where plaintext is embedded into a high-dimensional lattice and masked by noise. Each homomorphic operation increases this noise; when it exceeds a threshold, decryption fails. Bootstrapping homomorphically evaluates the decryption circuit itself to reset the noise, making unbounded computation possible.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.