Inferensys

Glossary

Leveled Fully Homomorphic Encryption

A variant of homomorphic encryption that supports computation up to a predetermined multiplicative depth without bootstrapping, requiring circuit depth to be known before encryption.
Developer reviewing multi-agent chat interface on laptop, agent conversation logs visible, casual coding session at WeWork desk.
CRYPTOGRAPHIC PRIMITIVE

What is Leveled Fully Homomorphic Encryption?

A variant of homomorphic encryption enabling computation on encrypted data up to a fixed multiplicative depth without bootstrapping.

Leveled Fully Homomorphic Encryption (Leveled FHE) is a cryptographic scheme that allows arbitrary computation on ciphertexts, but only up to a predetermined multiplicative depth L. Unlike pure FHE, it does not use bootstrapping to refresh the noise budget, meaning the circuit depth must be known before encryption and the scheme parameters are set accordingly.

This approach avoids the high computational cost of bootstrapping by selecting parameters large enough to accommodate the specific circuit's noise growth. The CKKS and BFV schemes are commonly instantiated as leveled schemes, where rescaling or modulus switching manages noise after each multiplication, making it practical for fixed-depth tasks like encrypted inference on neural networks.

ARCHITECTURAL CONSTRAINTS

Key Characteristics of Leveled FHE

Leveled Fully Homomorphic Encryption (FHE) is defined by its ability to evaluate circuits up to a pre-determined multiplicative depth without bootstrapping. This design choice trades unlimited computation for practical efficiency, making it the preferred scheme for latency-sensitive encrypted inference where the model architecture is known in advance.

01

Pre-Determined Circuit Depth

The defining characteristic of leveled FHE is that the multiplicative depth of the target computation must be known before encryption. The scheme parameters—specifically the modulus chain—are calibrated to support exactly this depth. If the actual computation exceeds this bound, the noise budget is exhausted, and decryption fails. This requires developers to analyze their model architecture statically, flattening conditional branches into fixed-depth arithmetic circuits. For neural networks, this means the number of sequential encrypted layers is fixed at compilation time.

Static
Circuit Depth
02

No Bootstrapping Required

Unlike pure FHE schemes, leveled FHE eliminates bootstrapping entirely. Bootstrapping is the computationally dominant operation in schemes like TFHE, often consuming over 95% of total runtime. By forgoing this step, leveled schemes achieve orders of magnitude lower latency per operation. The trade-off is finite computation depth. This makes leveled FHE ideal for encrypted inference where the model graph is a fixed directed acyclic graph (DAG) with a known number of sequential multiplications.

100-1000x
Latency Reduction vs. Bootstrapped FHE
03

Modulus Chain Management

Leveled FHE schemes like CKKS and BGV operate over a chain of decreasing moduli. Each multiplication consumes one modulus level through rescaling or modulus switching. The initial ciphertext modulus is chosen to be large enough to accommodate the total number of these operations. As computation proceeds down the chain, the ciphertext shrinks, and the effective precision decreases. This is analogous to managing a fixed-precision budget that is consumed deterministically with each operation.

Linear
Noise Growth Model
04

SIMD Packing Efficiency

Leveled schemes heavily leverage ciphertext packing to encode thousands of plaintext values into a single ciphertext. This enables Single Instruction Multiple Data (SIMD) parallelism, where one homomorphic addition or multiplication simultaneously processes all packed slots. For machine learning, this maps naturally to batched inference or neuron-level parallelism within a layer. The amortized cost per operation drops proportionally to the packing density, making leveled FHE throughput competitive for high-volume encrypted inference serving.

Up to 32,768
Slots per Ciphertext (CKKS)
05

Polynomial Approximation of Non-Linear Functions

Leveled FHE natively supports only addition and multiplication. Non-linear activation functions like ReLU, sigmoid, or max-pooling must be replaced with low-degree polynomial approximations. The degree of the approximation directly consumes multiplicative depth. This creates a design tension: higher-degree polynomials yield better accuracy but consume more levels, potentially exceeding the circuit budget. Common techniques include using Chebyshev or minimax approximations to minimize depth while maintaining acceptable inference accuracy.

Degree 3-7
Typical Approximation Range
06

Relinearization After Multiplication

Each homomorphic multiplication increases the ciphertext size from two ring elements to three. Without intervention, subsequent multiplications would cause exponential growth. Relinearization is a key-switching procedure that reduces the ciphertext back to two elements, enabling chained multiplications. This operation requires relinearization keys to be generated during setup and consumes one level of the modulus chain. In leveled FHE, relinearization is applied after every multiplication to maintain compact ciphertexts.

2 Elements
Post-Relinearization Size
LEVELED FHE EXPLAINED

Frequently Asked Questions

Clear, technical answers to the most common questions about Leveled Fully Homomorphic Encryption, its mechanisms, and its role in privacy-preserving computation.

Leveled Fully Homomorphic Encryption (Leveled FHE) is a variant of homomorphic encryption that supports the evaluation of arbitrary arithmetic circuits up to a predetermined, fixed multiplicative depth without requiring bootstrapping. Unlike pure Fully Homomorphic Encryption (FHE), which uses bootstrapping to enable unlimited computation, a leveled scheme requires the circuit's depth to be known before encryption. It works by parameterizing the encryption scheme to accommodate a specific number of sequential multiplications. Each multiplication increases the noise budget within the ciphertext. The scheme's parameters—such as the modulus chain in the BGV or BFV schemes—are chosen to be large enough to tolerate the noise growth from exactly L levels of multiplication. Once the final level is reached, the ciphertext can no longer be operated on and must be decrypted. This makes leveled FHE highly efficient for fixed-depth computations like evaluating a trained neural network with a known architecture, as it avoids the massive computational overhead of bootstrapping.

SCHEME COMPARISON

Leveled FHE vs. Pure FHE vs. Partial HE

A technical comparison of homomorphic encryption variants based on computational depth, bootstrapping requirements, and practical applicability.

FeatureLeveled FHEPure FHEPartial HE

Bootstrapping Required

Computational Depth

Bounded (predefined L)

Unbounded

Unbounded (single operation type)

Circuit Depth Known Pre-Encryption

Noise Management

Modulus switching, rescaling

Bootstrapping

Not applicable

Typical Schemes

BGV, BFV, CKKS

TFHE, FHEW

Paillier, ElGamal, RSA

Arbitrary Computation

Throughput Efficiency

High (SIMD packing)

Moderate (gate-by-gate)

High (single operation)

Latency per Operation

Low

High (bootstrapping overhead)

Very low

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.