Approximate Methods for the Computation of Step Functions in Homomorphic Encryption.

Tairong Huang,Shihe Ma,Anyu Wang,Xiaoyun Wang
DOI: https://doi.org/10.1007/978-981-97-5025-2_12
2024-01-01
Abstract:This paper proposes two polynomial approximation methods for general step functions to tackle this problem. The first method leverages the fact that any step function can be expressed as a linear combination of shifted sign functions. This connection enables the homomorphic evaluation of any step function using known polynomial approximations of the sign function. The second method boosts computational efficiency by employing a composite polynomial approximation strategy. We present a systematic approach to construct a composite polynomial f(k). o f(k- 1). .... f(1) that increasingly approximates the step function as k increases. This method utilizes an adaptive linear programming approach that we developed to optimize the approximation effect of fi while maintaining the degree and coefficients bounded. We demonstrate the effectiveness of these two methods by applying them to typical step functions such as the round function and encrypted data bucketing, implemented in the HEAAN homomorphic encryption library. Experimental results validate that our methods can effectively address the homomorphic computation of step functions.
What problem does this paper attempt to address?