journal article·2025Open access

Approximate Homomorphic Encryption for MLaaS by CKKS with Operation-Error-Bound

Ray-I Chang, Chia-Hui Wang, Yen-Ting Chang, Lien-Chen Wei

Computers, Materials & Continua· Volume 85· Issue 1

Abstract

As data analysis often incurs significant communication and computational costs, these tasks are increasingly outsourced to cloud computing platforms. However, this introduces privacy concerns, as sensitive data must be transmitted to and processed by untrusted parties. To address this, fully homomorphic encryption (FHE) has emerged as a promising solution for privacy-preserving Machine-Learning-as-a-Service (MLaaS), enabling computation on encrypted data without revealing the plaintext. Nevertheless, FHE remains computationally expensive. As a result, approximate homomorphic encryption (AHE) schemes, such as CKKS, have attracted attention due to their efficiency. In our previous work, we proposed RP-OKC, a CKKS-based clustering scheme implemented via TenSEAL. However, errors inherent to CKKS operations—termed CKKS-errors—can affect the accuracy of the result after decryption. Since these errors can be mitigated through post-decryption rounding, we propose a data pre-scaling technique to increase the number of significant digits and reduce CKKS-errors. Furthermore, we introduce an Operation-Error-Estimation (OEE) table that quantifies upper-bound error estimates for various CKKS operations. This table enables error-aware decryption correction, ensuring alignment between encrypted and plaintext results. We validate our method on K-means clustering using the Kaggle Customer Segmentation dataset. Experimental results confirm that the proposed scheme enhances the accuracy and reliability of privacy-preserving data analysis in cloud environments.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Cryptography and Data Security · Advanced Authentication Protocols Security · Coding theory and cryptography

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (27)

Show source-provided references
1. Cloud Security Alliance. Top threats to cloud computing: egregious eleven [Internet]; 2019 Aug 9. [cited 2025 Mar 24]. Available from: https://cloudsecurityalliance.org/press-releases/2019/08/09/csa-releases-new-research-top-threats-to-cloud-computing-egregious-eleven/.
2. Fully homomorphic encryption with relatively small key and ciphertext sizes
3. Highly-scalable searchable symmetric encryption with support for boolean queries
4. (Leveled) fully homomorphic encryption without bootstrapping10.1145/2633600 ↗
5. Homomorphic encryption for arithmetic of approximate numbers
6. Outsourced K-means clustering for high-dimensional data analysis based on homomorphic encryption
7. Usable, secure, private search10.1109/MSP.2011.155 ↗
8. Swift: fast secure neural network inference with fully homomorphic encryption10.1109/TIFS.2025.3547308 ↗
9. Integrating fully homomorphic encryption to enhance the security of blockchain applications10.1016/j.future.2024.07.015 ↗
10. CSKG4APT: a cybersecurity knowledge graph for advanced persistent threat organization attribution10.1109/TKDE.2022.3175719 ↗
11. Threatinsight: innovating early threat detection through threat-intelligence-driven analysis and attribution10.1109/TKDE.2024.3474792 ↗
12. Fully homomorphic encryption without modulus switching from classical GapSVP
13. Somewhat practical fully homomorphic encryption
14. Faster fully homomorphic encryption: bootstrapping in less than 0.1 seconds
15. Faster packed homomorphic operations and efficient circuit bootstrapping for TFHE
16. TFHE: fast fully homomorphic encryption over the torus10.1007/s00145-019-09319-x ↗
17. On the soundness and security of privacy-preserving SVM for outsourcing data classification10.1109/TDSC.2017.2682244 ↗
18. Privacy-preserving patient-centric clinical decision support system on naive Bayesian classification10.1109/JBHI.2015.2407157 ↗
19. Secure KNN classification scheme based on homomorphic encryption for cyberspace
20. Approximate homomorphic encryption with reduced approximation error
21. Secure logistic regression based on homomorphic encryption: design and evaluation
22. Fast but approximate homomorphic k-means based on masking technique10.1007/s10207-023-00708-9 ↗
23. FedSHE: privacy preserving and efficient federated learning with adaptive segmented CKKS homomorphic encryption10.1186/s42400-024-00232-w ↗
24. {ELASM}:{Error-Latency-Aware} scale management for fully homomorphic encryption
25. On the precision loss in approximate homomorphic encryption
26. OpenMined. TenSEAL [Internet]. [cited 2025 May 1]. Available from: https://github.com/OpenMined/TenSEAL.
27. Iyyer S. Kaggle customer data [Internet]. [cited 2025 May 1]. Available from: https://www.kaggle.com/shrutimechlearn/customer-data/version/1.