Paper 2026/1255

Bootstrapping is All You Need: Secure Transformer Inference via Improved CKKS Functional Bootstrapping

Pan Xiao, Zhejiang University
Rending Ouyang, Zhejiang University
Heng Zhang, Zhejiang University
Jiawen Zhang, Zhejiang University
Jian Liu, Zhejiang University
Abstract

Fully homomorphic encryption (FHE) enables non-interactive secure transformer inference (NISTI). Due to the high cost of bootstrapping, conventional approaches typically choose parameters that support a large multiplicative depth to reduce bootstrapping frequency. However, larger depth directly increases ciphertext size, resulting in higher communication and computation overheads. In this paper, we introduce a novel functional bootstrapping (FBS) scheme that fundamentally reshapes the computation paradigm for NISTI: by fusing as many operations as possible into each bootstrapping operation, our approach significantly reduces the prescribed multiplicative depth. Our FBS achieves a trigonometric minimax approximation for the target function, making it well suited for precision-sensitive components such as transformer nonlinear layers. Furthermore, we incorporate linear layers into the slot-to-coefficient (S2C) transformation within FBS, thereby eliminating the need to evaluate them separately. Building on these innovations, we present a complete NISTI framework that achieves a 1.9$\times$ speedup in runtime (from 662.3s to 349.5s) and a 3$\times$ reduction in communication (from 48.3MB to 16.1MB) compared with the state-of-the-art.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
FHETransformerAIInference
Contact author(s)
pan xiao @ zju edu cn
oyyy @ zju edu cn
huntianddy @ gmail com
kevinzh @ zju edu cn
jian liu @ zju edu cn
History
2026-06-16: approved
2026-06-14: received
See all versions
Short URL
https://ia.cr/2026/1255
License
No rights reserved
CC0

BibTeX

@misc{cryptoeprint:2026/1255,
      author = {Pan Xiao and Rending Ouyang and Heng Zhang and Jiawen Zhang and Jian Liu},
      title = {Bootstrapping is All You Need: Secure Transformer Inference via Improved {CKKS} Functional Bootstrapping},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1255},
      year = {2026},
      url = {https://eprint.iacr.org/2026/1255}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.