Unified fragment encoding cuts homomorphic ops 10-100×, speeds private inference up to 229×
FEnc2 reduces homomorphic operation count by one to two orders of magnitude and achieves up to 228.83× latency speedup over Orion for private CNN inference
AI/ML arXiv 15 Jun 2026 Method Prototype evidence
Published as “FEnc$^2$: Unifying Data Packing for Efficient Private Inference via Convolution and Architecture-Aware Fragment Encoding”
Why it matters
The technique makes practical encrypted inference far faster and more memory-efficient, enabling higher-throughput privacy-preserving ML services on existing hardware.
Summary
FEnc2 dramatically speeds up encrypted CNN inference, achieving up to 228.83× latency reduction over Orion on GPU and 226.06× on CPU for LeNet, and up to 9.43× speedup for MobileNet, while cutting memory use by up to 98.49%. The paper reports consistent gains across five models (LeNet, VGG5, SqueezeNet, ResNet18, MobileNet) and datasets (MNIST, CIFAR-10, ImageNet) with batch sizes up to 512, showing large average speedups versus CHET, HELayers and Orion. Evidence is strong, based on extensive end-to-end benchmarks on both GPU and CPU platforms.
What they found 5
- Up to 226.06× and 228.83× speedup with up to 98.49% and 75.6% memory reduction for LeNet on CPU and GPU respectively
“FEnc2 achieves up to 226.06× and 228.83× speedup and up to 98.49% and 75.6% memory reduction on CPU- and GPU-based systems, respectively, for LeNet; for MobileNet, it achieves up to 9.43× and 4.55× speedup and up to 85.08% and 75.68% memory reduction, respectively.”
- Average latency speedups of 748.63×, 213.02×, and 109.96× over CHET, HELayers, and Orion across all benchmarks
“Averaged across all benchmarks, FEnc2 achieves 748.63×, 213.02×, and 109.96× latency speedups on average over CHET, HELayers and Orion, respectively.”
- Perfect 100% slot utilization and 88.55% reduction in rotation operations when using both components
“FEnc2-F achieves a slot utilization of 62.5%, while FEnc2-F+C reaches a perfect 100% utilization and reduces average rotation operations by 88.55%.”
- LeNet speedup up to 1846×, 1625.5×, and 228.8× versus CHET, HELayers, and Orion
“For LeNet, it achieves the highest speedup, realizing up to 1846×, 1625.5×, and 228.8× acceleration (0.0493s) compared to 91.13s, 80.14s, and 11.19s reported by CHET, HELayers, and Orion, respectively; it is also 264.32× faster than Hyena+ (10.73s at batch size 256) and up to 231.7× faster than Batchwise+ across the evaluated batch sizes.”
- Kernel invocations reduced by 88.0% (48,015 → 5,775) and memory traffic by 87.8% on LeNet
“The optimized setting reduces (i) NTT kernel invocations from 48,015 to 5,775 (88.0% reduction), and GPU memory transfer size from 12,021 MB to 1,461 MB (87.8% reduction), and the number of memory transfer operations from 6,464 to 832 (87.1% reduction).”
Caveats 3
- the gains here primarily stem from eliminating ciphertext redundancy via AAC rather than rotation reduction.
- Even in this low-rotation regime, FEnc2 still yields substantial improvements, achieving 215.15× speedup over CHET and 59.10× over Orion.
- bootstrapping is required during inference, introducing an additional 191 s and 105 s latency, respectively.
What’s new here 4
- Unified automated framework that jointly optimizes rotation count and slot utilization for any CNN, dataset, or batch size.
- Conv-aware Encoding that derives optimal block sizes via a convex model to balance inner- and outer-rotations.
- Architecture-aware Ciphertext Compression that consolidates sparsely filled ciphertexts across layers to achieve near-100% slot utilization.
- Demonstrated compatibility with existing HE accelerators without requiring changes to encryption parameters or hardware.