De Pace: Optimizing initial guesses for homomorphic reciprocal and square root evaluation with CKKS

Abstract Homomorphic encryption allows computation on encrypted data, making it a promising technology for privacy-preserving machine learning. However, currently available fully homomorphic schemes, such as CKKS, only support addition and multiplication by default. Modern applications, such as neural networks, require more complex functions, such as division and square root. This raises a performance question for CKKS: What is the most efficient way to implement division and square root using only addition and multiplication? For CKKS, additional constraints apply: commonly used methods, such as comparisons and bit shifts, are no longer permitted, rendering most existing literature unusable. Our work addresses this challenge by analyzing and improving the performance of the method best suited for homomorphic computation of division and square root: the Newton–Raphson method. Since the primary degree of freedom in Newton–Raphson is the initial value, we formulate the determination of the parameters for a suitable linear helper function as a black-box optimization problem and analyze how different approaches to choosing these parameters affect the performance of homomorphic square root and division computation. Specifically, we evaluate four selection methods: (1) brute-force, (2) simulated annealing, (3) hill climbing, and (4) gradient descent. Our results show that the best optimization method finds parameters with lower RMSE and lower multiplicative depth than brute-force search, while reducing parameter generation time by multiple orders of magnitude. Our contribution is the problem formulation and its systematic evaluation over 603 000 configurations, providing a practical reference on the accuracy and multiplicative depth that can be expected for a given interval and number of Newton iterations.

Authors

Institutions

Publication Details

Journal
Discover Artificial Intelligence
Published
2026-10-22
DOI
https://doi.org/10.1007/s44163-026-02443-1
Primary Topic
Cryptography and Data Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

De Pace: Optimizing initial guesses for homomorphic reciprocal and square root evaluation with CKKS

Samuel Kounev, L.-C. Horn, Simon Engel, Thomas Prantl
Discover Artificial Intelligence
Cryptography and Data Security
article

De Pace: Optimizing initial guesses for homomorphic reciprocal and square root evaluation with CKKS

Samuel Kounev, L.-C. Horn, Simon Engel, Thomas Prantl
article en

Abstract

Abstract Homomorphic encryption allows computation on encrypted data, making it a promising technology for privacy-preserving machine learning. However, currently available fully homomorphic schemes, such as CKKS, only support addition and multiplication by default. Modern applications, such as neural networks, require more complex functions, such as division and square root. This raises a performance question for CKKS: What is the most efficient way to implement division and square root using only addition and multiplication? For CKKS, additional constraints apply: commonly used methods, such as comparisons and bit shifts, are no longer permitted, rendering most existing literature unusable. Our work addresses this challenge by analyzing and improving the performance of the method best suited for homomorphic computation of division and square root: the Newton–Raphson method. Since the primary degree of freedom in Newton–Raphson is the initial value, we formulate the determination of the parameters for a suitable linear helper function as a black-box optimization problem and analyze how different approaches to choosing these parameters affect the performance of homomorphic square root and division computation. Specifically, we evaluate four selection methods: (1) brute-force, (2) simulated annealing, (3) hill climbing, and (4) gradient descent. Our results show that the best optimization method finds parameters with lower RMSE and lower multiplicative depth than brute-force search, while reducing parameter generation time by multiple orders of magnitude. Our contribution is the problem formulation and its systematic evaluation over 603 000 configurations, providing a practical reference on the accuracy and multiplicative depth that can be expected for a given interval and number of Newton iterations.

Discover Artificial IntelligenceVol. 6(1)
University of Würzburg (DE)
Openalex Percentile: Top 13%
Cryptography and Data Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
De Pace: Optimizing initial guesses for homomorphic reciprocal and square root evaluation with CKKS — Samuel Kounev, L.-C. Horn, et al. · Discover Artificial Intelligence (2026) | TGRS Research Map | TGRS