Adaptive Continuous Parameter Optimization of ARIMA using a Hybrid GA–PSO Approach for Time Series Forecasting

Fitri Andini Ritonga, Sutarman Sutarman, Syahriol Sitorus

Abstract


Accurate forecasting of financial time series remains challenging due to non-stationarity, complex data patterns, and difficulties in parameter optimization within traditional models. Although ARIMA is widely used, its performance is often limited by static parameter estimation and sensitivity to evolving data structures. Existing metaheuristic-based approaches have attempted to address these issues; however, many lack adaptive mechanisms that account for varying data complexity. This study proposes a Continuous Hybrid ARIMA–Metaheuristic (GA–PSO) framework with adaptive parameter tuning guided by Model Complexity Assessment (MCA). The framework enables continuous optimization of ARIMA parameters, allowing the model to dynamically adapt to changing time-series characteristics. Empirical results demonstrate consistent improvements in forecasting performance compared to the baseline ARIMA model. For instance, in the Gold dataset (300 observations), the model achieved RMSE = 56.96, MAE = 41.86, and MAPE = 1.12%, indicating stable and accurate predictions. Statistical validation using the Diebold–Mariano test further confirms the significance of these improvements. The main contribution lies in the integration of adaptive GA–PSO optimization with complexity-aware tuning, which enhances both forecasting stability and responsiveness. However, the findings also indicate the presence of heteroscedasticity in several cases, suggesting that volatility dynamics are not fully captured by the current framework. This limitation highlights the need for incorporating volatility-aware models, such as ARIMA–GARCH, to better represent time-varying variance and improve forecasting robustness in future research.


Keywords


ARIMA; Continuous Optimization; Genetic Algorithm; Particle Swarm Optimization; Time Series Forecasting.

Full Text:

PDF

References


S. Jenčová, P. Vašaničová, M. Košíková, and M. Miškufová, “A Time Series Approach to Forecasting Financial Indicators in the Wholesale and Retail Trade,” World, vol. 6, no. 1, p. 5, Jan. 2025, doi: 10.3390/world6010005.

P. Naivasha, G. Musumba, P. Gikunda, and J. Wandeto, “Model-based evaluation of synthetic financial time series data: A comparative study with multi-metric validation,” Array, vol. 29, p. 100684, 2026, doi: https://doi.org/10.1016/j.array.2026.100684.

L. Rubio, A. Palacio Pinedo, A. Mejía Castaño, and F. Ramos, “Forecasting volatility by using wavelet transform, ARIMA and GARCH models,” Eurasian Economic Review, vol. 13, no. 3, pp. 803–830, 2023, doi: 10.1007/s40822-023-00243-x.

David P. Lundquist and Daniel J. Eck, “Volatility Forecasting Using Similarity-based Parameter Correction and Aggregated Shock Information,” 2024.

S. T. Enow, “Exploring stochastic volatility in financial market,” International Journal of Research in Business and Social Science (2147- 4478), vol. 14, no. 1, pp. 74–79, Feb. 2025, doi: 10.20525/ijrbs.v14i1.3837.

E. S. Gunnarsson, H. R. Isern, A. Kaloudis, M. Risstad, B. Vigdel, and S. Westgaard, “Prediction of realized volatility and implied volatility indices using AI and machine learning: A review,” International Review of Financial Analysis, vol. 93, p. 103221, 2024, doi: https://doi.org/10.1016/j.irfa.2024.103221.

F. Audrino, F. Sigrist, and D. Ballinari, “The impact of sentiment and attention measures on stock market volatility,” Int. J. Forecast., vol. 36, no. 2, pp. 334–357, 2020, doi: https://doi.org/10.1016/j.ijforecast.2019.05.010.

R. A. Al-Qazzaz and S. A. Yousif, “High performance time series models using auto autoregressive integrated moving average,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 27, no. 1, pp. 422–430, Jul. 2022, doi: 10.11591/ijeecs.v27.i1.pp422-430.

A. T. Mustafa and O. S. A.-D. Al-Yozbaky, “Forecasting energy demand and generation using time series models: A comparative analysis of classical, grey, fuzzy, and intelligent approaches,” Franklin Open, vol. 12, p. 100350, 2025, doi: https://doi.org/10.1016/j.fraope.2025.100350.

Z. F. Althobaiti, “Improved forecasting of carbon dioxide emissions using a hybrid SSA ARIMA model based on annual time series data in Bahrain,” Sci. Rep., vol. 15, no. 1, p. 25699, 2025, doi: 10.1038/s41598-025-11343-w.

A. Bhambu, K. Bera, S. Natarajan, and P. N. Suganthan, “High frequency volatility forecasting and risk assessment using neural networks-based heteroscedasticity model,” Eng. Appl. Artif. Intell., vol. 149, p. 110397, 2025, doi: https://doi.org/10.1016/j.engappai.2025.110397.

V. Arumugam and V. Natarajan, “Time Series Modeling and Forecasting Using Autoregressive Integrated Moving Average and Seasonal Autoregressive Integrated Moving Average Models,” Instrumentation Mesure Metrologie, vol. 22, no. 4, pp. 161–168, Aug. 2023, doi:10.18280/i2m.220404

Castillo, Mauricio Soto, Ricardo Crawford, Broderick Castro, Carlos Olivares, and Rodrigo, “A Knowledge-Based Hybrid Approach on Particle Swarm Optimization Using Hidden Markov Models,” Mathematics, vol. 9, p. 1417, Jun. 2021, doi:https://doi.org/10.3390/math9121417.

B. Gülmez, “A Hybrid Approach for Stock Market Price Forecasting Using Long Short-Term Memory and Seahorse Optimization Algorithm,” Annals of Data Science, pp. 1–27, May 2025, doi: 10.1007/s40745-025-00609-9.

Ecer, Fatih Ardabili, Sina Band, Shahab S. Mosavi, and Amir, “Training Multilayer Perceptron with Genetic Algorithms and Particle Swarm Optimization for Modeling Stock Price Index Prediction,” Entropy, vol. 22, p. 1239, Oct. 2020, doi:https://doi.org/10.3390/e22111239.

R. B. B. de Holanda and J. F. L. de Oliveira, “Swarm-Based Ensembles for Time Series Residual Forecasting,” in 2020 IEEE 32nd International Conference on Tools with Artificial Intelligence (ICTAI), 2020, pp. 595–602. 10.1109/ICTAI50040.2020.00097.

E. H. Houssein, M. K. Saeed, G. Hu, and M. M. Al-Sayed, “Metaheuristics for Solving Global and Engineering Optimization Problems: Review, Applications, Open Issues and Challenges,” Dec. 01, 2024, Springer Science and Business Media B.V. doi: 10.1007/s11831-024-10168-6.

M. Á. Castán-Lascorz, A. Alcaide-Moreno, and J. Arroyo, “Optimizing Rotary Cement Kiln modelling: A comparative analysis of metaheuristics in a real-world application,” Results in Engineering, vol. 25, p. 103945, 2025, doi: https://doi.org/10.1016/j.rineng.2025.103945.

Y. Baig and S. Ahmed, “Advancing wind speed forecasting accuracy with a novel ARIMA-GA hybrid model and enhanced parameter optimization,” Sādhanā, vol. 51, no. 1, p. 54, 2026, doi: 10.1007/s12046-026-03071-2.

M. L. Hossain, S. M. N. Shams, and S. M. Ullah, “Time-series and deep learning approaches for renewable energy forecasting in Dhaka: a comparative study of ARIMA, SARIMA, and LSTM models,” Discover Sustainability, vol. 6, no. 1, Dec. 2025, doi: 10.1007/s43621-025-01733-5.

Z. Mohammed, C. Anas, and M. El Hammoumi, “A hybrid learning framework for forecasting uncertainty and adaptive inventory planning in retail supply chains,” Supply Chain Analytics, vol. 13, p. 100180, 2026, doi: https://doi.org/10.1016/j.sca.2025.100180.

Z. Zhang, X. Mo, H. Li, Z. Zhang, and P. Guo, “A multi-step hybrid forecasting model based on optimized secondary decomposition and TCN-BiLSTM with residual learning,” Discover Computing, vol. 29, no. 1, p. 108, 2026, doi: 10.1007/s10791-026-10011-5.

W. Bao, Y. Cao, Y. Yang, H. Che, J. Huang, and S. Wen, “Data-driven stock forecasting models based on neural networks: A review,” Information Fusion, vol. 113, p. 102616, 2025, doi: https://doi.org/10.1016/j.inffus.2024.102616.

Y. Dong, L. Du, and G. Li, “Hybrid Ship Design Optimization Framework Integrating a Dual-Mode CFD–Surrogate Mechanism,” Applied Sciences, vol. 15, no. 19, p. 10318, Sep. 2025, doi: 10.3390/app151910318.

M. Gwabavu, R. C. Bansal, and A. Bryce, “Hybrid Intelligent Optimisation for Onshore Wind Farm Forecasting,” Smart Grids and Sustainable Energy, vol. 10, no. 3, p. 65, 2025, doi: 10.1007/s40866-025-00293-x.

K. Yousef, B. Yuce, and A. He, “A Hybrid Deep Learning Framework for Wind Speed Prediction with Snake Optimizer and Feature Explainability,” Sustainability (Switzerland), vol. 17, no. 12, Jun. 2025, doi: 10.3390/su17125363.

M. Almsallti, A. B. Alzubi, and O. R. Adegboye, “Hybrid Metaheuristic Optimized Extreme Learning Machine for Sustainability Focused CO2 Emission Prediction Using Globalization-Driven Indicators,” Sustainability (Switzerland), vol. 17, no. 15, Aug. 2025, doi: 10.3390/su17156783.

W. Zhao, Z. H. Azizul, C. S. Woo, W. Kuang, and Y. Li, “Potential-driven multi-learning particle swarm optimisation,” Swarm Evol. Comput., vol. 96, p. 101993, 2025, doi: https://doi.org/10.1016/j.swevo.2025.101993.

M. Jain, V. Saihjpal, N. Singh, and S. B. Singh, “An Overview of Variants and Advancements of PSO Algorithm,” Sep. 01, 2022, MDPI. doi: 10.3390/app12178392.

M. Esro, S. K. Subramaniam, A. F. T. Ibrahim, Y. J. Kumar, S. A. Anas, and S. Rajkumar, “A Comparative Analysis of Time-Series Models of ARIMA and Prophet IoT-Based Flood Forecasting in Sungai Melaka,” Advance Sustainable Science, Engineering and Technology, vol. 7, no. 4, Aug. 2025, doi: 10.26877/asset.v7i4.1048.

A. Nyabadza and D. Brabazon, “Machine Learning-Based Recommender System for Pulsed Laser Ablation in Liquid: Recommendation of Optimal Processing Parameters for Targeted Nanoparticle Size and Concentration Using Cosine Similarity and KNN Models,” 2025, doi: 10.3390/10.3390/cryst15070662.

I. Mawardi et al., “Hybrid early warning system: Integration of Z-score and machine learning for predicting financial performance of IRB in Indonesia,” Journal of Open Innovation: Technology, Market, and Complexity, vol. 12, no. 1, p. 100694, 2026, doi: https://doi.org/10.1016/j.joitmc.2025.100694.

S. Diaz et al., “A hybrid LSTM-XGBoost model with residual correction for air quality prediction using SSA,” Air Qual. Atmos. Health, vol. 18, no. 12, pp. 3991–4008, 2025, (2025). https://doi.org/10.1007/s11869-025-01867-5.


Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Official Contact
Publisher & Contact
Publisher
Department of Mathematics
Faculty of Science and Technology
Universitas Islam Negeri Sumatera Utara Medan
WhatsApp: 085270009767 (Admin Official)
Indexing & Profile