Saving More Levels via Refining CtS and Restructuring Sparsely-Packed CKKS Bootstrapping
Recommended citation: Saving More Levels via Refining CtS and Restructuring Sparsely-Packed CKKS Bootstrapping. Pengfei Zeng, Lianglin Yan, Guang Fan, Yuan Zhao, Yi Chen, Liang Kong, Han Wang, Mingzhe Zhang, Mingsheng Wang. International Conference on Practice and Theory of Public-Key Cryptography. PKC 2027.
Abstract
Modulus level is a critical resource in CKKS bootstrapping. Most recently, Yan et al. (PKC 2026) introduced the level-conserving rescaling (LCR) technique. The LCR method preserves one modulus level in CKKS bootstrapping by utilizing the small-norm property of ciphertexts after ModRaise.
In this paper, we further exploit the small-norm property of ciphertexts after ModRaise to save two modulus levels in CoeffsToSlots (CtS). The key observation is that the noise budget of key-switching on a small-norm ciphertext only requires the auxiliary modulus \(P\) to be on the order of a single prime. The remaining primes that previously sat on the auxiliary side are therefore reassigned to the main moduli chain as a \(p_0 p_1\) buffer above \(Q_L\). With this buffer in place, we design a compact aggregated key-switching (compact AKS) for the first linear transformation of CtS, which lands the ciphertext at \(p_0 Q_L\), and the second linear transformation then proceeds in the rescale-first style of OverModRaise to land at \(Q_L\). Both linear transformations are therefore evaluated without consuming any prime of \(Q_L\), improving over OverModRaise (Kim et al., CiC’25) and the level-conserving rescaling of Yan et al. by one additional level relative to each.
Secondly, we propose a lazy SubSum bootstrapping framework to resolve the problem that LCR and OverModRaise cannot be applied to sparsely-packed ciphertexts. Resolving this is crucial to the practicality of LCR, OverModRaise, and compact AKS. By proving that SubSum can be deferred until after CtS, lazy SubSum removes the key-switching that previously broke the small-norm property between ModRaise and CtS. This makes the level-saving techniques applicable to bootstrapping over sparsely-packed ciphertexts. The deferred SubSum is also evaluated at a lower level, which is more efficient.
Implemented in Lattigo, our techniques deliver a 21.2–32.4% throughput improvement on sparse bootstrapping on CPU. Porting the same optimizations onto an NVIDIA A100 delivers a 9.1%–10.9% end-to-end speedup on bitonic sorting.
