Speed-up of Data Analysis with Kernel Trick in Encrypted Domain
Joon Soo Yoo, Baek Kyung Song, Tae Min Ahn, Ji Won Heo, Ji Won Yoon
TL;DR
This work tackles the performance bottleneck of high-dimensional data analysis under homomorphic encryption by introducing a kernel-trick optimizer that is agnostic to the underlying HE scheme. By precomputing and reusing kernel elements, the approach dramatically reduces heavy multiplications and yields near-constant time with respect to data dimension, improving both ML and STAT tasks in the encrypted domain. The authors provide a comprehensive complexity analysis across arithmetic and Boolean HE, demonstrate substantial empirical speedups on SVM, PCA, k-means, and k-NN, and show that the kernel method enhances training prospects in secure settings. The result is a practical, user-friendly optimization that can synergize with existing HE accelerators to enable scalable privacy-preserving learning and analysis.
Abstract
Homomorphic encryption (HE) is pivotal for secure computation on encrypted data, crucial in privacy-preserving data analysis. However, efficiently processing high-dimensional data in HE, especially for machine learning and statistical (ML/STAT) algorithms, poses a challenge. In this paper, we present an effective acceleration method using the kernel method for HE schemes, enhancing time performance in ML/STAT algorithms within encrypted domains. This technique, independent of underlying HE mechanisms and complementing existing optimizations, notably reduces costly HE multiplications, offering near constant time complexity relative to data dimension. Aimed at accessibility, this method is tailored for data scientists and developers with limited cryptography background, facilitating advanced data analysis in secure environments.
