Paper 2026/2368

Low-Latency Parallel Digit Decomposition and Sign Evaluation for CKKS

Jung Hee Cheon, Seoul National University
Kyungah Cho, Seoul National University
Junyoung Jung, Seoul National University
Junho Lim, Seoul National University
Abstract

In CKKS, the sign is commonly evaluated by polynomial approximation, and nonlinear functions such as comparison, ReLU, and max are computed through the sign. However, the discontinuity of the sign makes it harder to approximate with a polynomial as the required input bit precision $p$ grows. Alternatively, the sign can be computed by first decomposing the input into radix-$B$ digits. Existing methods extract the $u \approx p/\log B$ digits one at a time, taking $u$ sequential bootstrappings. Instead, we approximately round $u$ copies of the input to each digit's grid and obtain all $u$ digits in parallel, up to carries, with a single bootstrapping. The carries are then corrected in $O(\log u)$ depth. For the sign, a scan of the same form returns the sign directly, without recovering the exact digits. We show that our method distinguishes inputs separated by about $2^{-p}$ with $\Theta(p)$ modulus bits, at the cost of $\Theta(u)$ slots per input. Neither the digits nor the carries need to be computed to high precision, so our circuit, including its bootstrapping, runs at low precision. We also analyze polynomial approximation under an explicit noise and scale model, and show that, in contrast, its modulus consumption grows to $\Omega(p^2)$ bits. Benchmarks show a 2.04$\times$ speedup over [AKP25] for coefficient-encoded integer digit decomposition at ten radix-64 digits and speedups of 5.37$\times$ over [LLNK22] and 7.83$\times$ over [CKK20] for sign evaluation on real input pairs at $2^{-60}$ separation. In the tested settings, the method of [AKP25] is faster for $u \leq 4$ and that of [LLNK22] for $p \leq 36$, while our method is faster at the larger tested settings.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
Keywords
Fully homomorphic encryptionDigit decompositionSign evaluation
Contact author(s)
jhcheon @ snu ac kr
chokya @ snu ac kr
jhaeg0312 @ snu ac kr
noviajun @ snu ac kr
History
2026-10-27: revised
2026-10-05: received
See all versions
Short URL
https://ia.cr/2026/2368
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/2368,
      author = {Jung Hee Cheon and Kyungah Cho and Junyoung Jung and Junho Lim},
      title = {Low-Latency Parallel Digit Decomposition and Sign Evaluation for {CKKS}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2368},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2368}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.