Homomorphically Encrypted Evaluation of The Autoregressive Component of an ARIMA Model
Main Article Content
Abstract
Across domains like healthcare, finance and environmental monitoring time series forecasting has many applications and often deals with sensitive data. Although ARIMA models are popular due to high interpretability and accuracy and the basic form of ARIMA does not need a large amount of data for modeling, it requires plaintext data access which raises problems in cloud computing with privacy. Homomorphically Evaluating the Autoregressive Component of ARIMA for Privacy-Preserving Forecasting through CKKS-based Fully Homomorphic Encryption (FHE) in the TenSEAL library A temperature dataset was used to train an ARIMA(2,1,1) model with the autoregressive coefficients in plaintext and more specifically, as part of plaintext and encrypted workflows. The CKKS Model Recent observations were encrypted with CKKS thus allowing forecasting on ciphertext without ever exposing the data. The outcomes indicate, that the prediction using ciphertext matched pretty well to the one with plaintext and had an absolute error of 0.000001 along with accuracy of 99.995%. Our findings validate that not only does CKKS-based FHE retain forecasting accuracy in a secure manner and enable the combination of FHE with classical forecasting models, but also gives rise to future work on encrypted ARIMA modelling, multivariate forecasting as well as privacy-preserving machine learning.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
References
Apache License 2.0. (2025). TenSEAL:A library for doing homomorphic encryption operations on tensors. OpenMined.
Benaissa, A., Retiat, B., Cebere, B., & Belfedhal, A. E. (2021). TenSEAL: A Library for Encrypted Tensor Operations Using Homomorphic Encryption. http://arxiv.org/abs/2104.03152
Chang, R. I., Wang, C. H., Chang, Y. T., & Wei, L. C. (2025). Approximate Homomorphic Encryption for MLaaS by CKKS with Operation-Error-Bound. Computers, Materials and Continua, 85(1), 503–518. https://doi.org/10.32604/cmc.2025.068516
De Iaco, S., Myers, D. E., & Posa, D. (2023). Spatiotemporal. In Encyclopedia of Mathematical Geosciences (pp. 1373–1382). Springer.
Gong, Y., Chang, X., Mišić, J., Mišić, V. B., Wang, J., & Zhu, H. (2024a). Practical solutions in fully homomorphic encryption: a survey analyzing existing acceleration methods. Cybersecurity, 7(1). https://doi.org/10.1186/s42400-023-00187-4
Gong, Y., Chang, X., Mišić, J., Mišić, V. B., Wang, J., & Zhu, H. (2024b). Practical solutions in fully homomorphic encryption: a survey analyzing existing acceleration methods. Cybersecurity, 7(1). https://doi.org/10.1186/s42400-023-00187-4
Hyndman, {Robin John}, & Athanasopoulos, G. (2018). Forecasting: Principles and Practice (2nd ed.). OTexts.
Jaiswal, A., Samuel, C., & Kadabgaon, V. M. (2018). Statistical trend analysis and forecast modeling of air pollutants. Global Journal of Environmental Science and Management, 4(4), 427–438. https://doi.org/10.22034/gjesm.2018.04.004
Kaur, J., Parmar, K. S., & Singh, S. (2023). Autoregressive models in environmental forecasting time series: a theoretical and application review. In Environmental Science and Pollution Research (Vol. 30, Number 8, pp. 19617–19641). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/s11356-023-25148-9
Kontopoulou, V. I., Panagopoulos, A. D., Kakkos, I., & Matsopoulos, G. K. (2023). A Review of ARIMA vs. Machine Learning Approaches for Time Series Forecasting in Data Driven Networks. In Future Internet (Vol. 15, Number 8). Multidisciplinary Digital Publishing Institute (MDPI). https://doi.org/10.3390/fi15080255
Liu, W., You, L., Shao, Y., Shen, X., Hu, G., Shi, J., & Gao, S. (2025). From accuracy to approximation: A survey on approximate homomorphic encryption and its applications. Computer Science Review, 55, 100689. https://doi.org/https://doi.org/10.1016/j.cosrev.2024.100689
Luo, J., & Gong, Y. (2023). Air pollutant prediction based on ARIMA-WOA-LSTM model. Atmospheric Pollution Research, 14(6). https://doi.org/10.1016/j.apr.2023.101761
Ning, Y., Kazemi, H., & Tahmasebi, P. (2022). A comparative machine learning study for time series oil production forecasting: ARIMA, LSTM, and Prophet. Computers & Geosciences, 164, 105126. https://doi.org/https://doi.org/10.1016/j.cageo.2022.105126
Perone, G. (n.d.). ARIMA forecasting of COVID-19 incidence in Italy, Russia, and the USA.
Robert H. Shumway, & David S. Stofer. (2017). Time Series Analysis and Its Applications with R Examples.
Shen, H., Xu, Q., Yu, B., Yang, Y., & He, W. (2025). Bootstrapping in approximate fully homomorphic encryption: a research survey. Cybersecurity, 8(1). https://doi.org/10.1186/s42400-025-00384-3
Singh, S., Parmar, K. S., Kumar, J., & Makkhan, S. J. S. (2020). Development of new hybrid model of discrete wavelet decomposition and autoregressive integrated moving average (ARIMA) models in application to one month forecast the casualties cases of COVID-19. Chaos, Solitons and Fractals, 135. https://doi.org/10.1016/j.chaos.2020.109866
Takeshita, J., Koirala, N., McKechney, C., & Jung, T. (2025). HEProfiler: an in-depth profiler of approximate homomorphic encryption libraries. Journal of Cryptographic Engineering, 15(2). https://doi.org/10.1007/s13389-025-00377-5
Wu, L., Wang, X. A., Liu, J., Su, Y., Tu, Z., Liu, W., Lei, H., Tang, D., Cao, Y., & Zhang, J. (2025). Homomorphic Encryption for Machine Learning Applications with CKKS Algorithms: A Survey of Developments and Applications. In Computers, Materials and Continua (Vol. 85, Number 1, pp. 89–119). Tech Science Press. https://doi.org/10.32604/cmc.2025.064346
Zhang, G. P. (2003). Time series forecasting using a hybrid ARIMA and neural network model. In Neurocomputing (Vol. 50). www.elsevier.com/locate/neucom