Residual Learning-Based Hybrid ARIMA–LSTM for Digital Retail Demand Forecasting
DOI:
https://doi.org/10.63158/journalisi.v8i4.1706Keywords:
Demand Forecasting, ARIMA, LSTM, Hybrid ARIMA–LSTM, Residual Learning, Digital RetailAbstract
The rapid growth of digital retail has increased the need for accurate demand forecasting to support inventory planning and operational decision-making. This study proposes and evaluates a residual learning-based Hybrid ARIMA–LSTM framework for daily retail demand forecasting. A univariate dataset containing 1,826 daily demand observations collected between January 2021 and December 2025 was preprocessed using data cleaning, Min–Max normalization, Augmented Dickey–Fuller (ADF) testing, first-order differencing, and sliding window transformation. ARIMA was employed to model the linear component of the demand series, while LSTM was used to learn nonlinear residual patterns. The proposed framework was evaluated against ARIMA, LSTM, Exponential Smoothing, Moving Average, and Naïve Forecast using MAE, MSE, and RMSE on the original demand scale after inverse normalization. The Hybrid ARIMA–LSTM achieved the lowest MSE (4668.71) and RMSE (68.32) among the evaluated forecasting models, whereas the standalone LSTM achieved a slightly lower MAE (49.87). Furthermore, residual analysis showed that the Hybrid ARIMA–LSTM produced stable forecasting performance, with residuals randomly distributed around the zero reference line, indicating minimal systematic prediction bias. This study demonstrates that a residual learning-based Hybrid ARIMA–LSTM framework can effectively improve daily digital retail demand forecasting by integrating statistical and deep learning models under identical experimental settings.
Downloads
References
[1] N. S. Dissurul, L. F. Wally, R. A. Zuleika, S. J. A. P. Antoni, R. A. J. F. Maulidina, and Rusdi Hidayat Nugroho, “Transformasi Pola Belanja Konsumen dari Ritel Konvensional Menuju Quick Commerce Melalui Layanan Pengiriman Instan,” J. Bisnis Kreat. dan Inov., vol. 2, no. 4, pp. 241–256, 2025, doi: 10.61132/jubikin.v2i4.1138.
[2] R. Sari Handayani, Gizka Alysah Diva, Eko Nur Hermansyah, and Ari Siswati, “Transformasi Digital E-Commerce di Era Post-Pandemic: Analisis Tren dan Dampak pada Perilaku Konsumen Indonesia,” J. Inform. dan Kesehat., vol. 2, no. 2, pp. 108–117, 2025, doi: 10.35473/ikn.v2i2.3704.
[3] X. Wen, J. Liao, Q. Niu, N. Shen, and Y. Bao, “Deep learning-driven hybrid model for short-term load forecasting and smart grid information management,” Sci. Rep., vol. 14, no. 1, pp. 1–16, 2024, doi: 10.1038/s41598-024-63262-x.
[4] G. Theodoridis and A. Tsadiras, “Retail Demand Forecasting: A Comparative Analysis of Deep Neural Networks and the Proposal of LSTMixer, a Linear Model Extension,” Inf., vol. 16, no. 7, 2025, doi: 10.3390/info16070596.
[5] Y. Liu, D. Kalaitzi, M. Wang, and C. Papanagnou, “A machine learning approach to inventory stockout prediction,” J. Digit. Econ., vol. 4, pp. 144–155, 2025, doi: 10.1016/j.jdec.2025.06.002.
[6] R. Fildes, S. Ma, and S. Kolassa, “Retail forecasting: Research and practice,” Int. J. Forecast., vol. 38, no. 4, pp. 1283–1318, 2022, doi: 10.1016/j.ijforecast.2019.06.004.
[7] C. Giri and Y. Chen, “Deep Learning for Demand Forecasting in the Fashion and Apparel Retail Industry,” Forecasting, vol. 4, no. 2, pp. 565–581, 2022, doi: 10.3390/forecast4020031.
[8] K. Douaioui, R. Oucheikh, O. Benmoussa, and C. Mabrouki, “Machine Learning and Deep Learning Models for Demand Forecasting in Supply Chain Management: A Critical Review,” Appl. Syst. Innov., vol. 7, no. 5, 2024, doi: 10.3390/asi7050093.
[9] C. Li, X. Fang, Z. Yan, Y. Huang, and M. Liang, “Research on Gas Concentration Prediction Based on the ARIMA-LSTM Combination Model,” Processes, vol. 11, no. 1, 2023, doi: 10.3390/pr11010174.
[10] V. Kramar and V. Alchakov, “Time-Series Forecasting of Seasonal Data Using Machine Learning Methods,” Algorithms, vol. 16, no. 5, 2023, doi: 10.3390/a16050248.
[11] V. I. Kontopoulou, A. D. Panagopoulos, I. Kakkos, and G. K. Matsopoulos, “A Review of ARIMA vs. Machine Learning Approaches for Time Series Forecasting in Data Driven Networks,” Futur. Internet, vol. 15, no. 8, p. 255, Jul. 2023, doi: 10.3390/fi15080255.
[12] W. M. S. Bandara and W. A. R. De Mel, “Forecasting Nonlinear Time Series with ARIMA, ANN, and Hybrid Models: A Case Study on Inflation Rate in Sri Lanka,” Indones. J. Stat. Its Appl., vol. 9, no. 1, pp. 145–156, 2025, doi: 10.29244/ijsa.v9i1p145-156.
[13] Z. Liu, Z. Zhang, and W. Zhang, “A Hybrid Framework Integrating Traditional Models and Deep Learning for Multi-Scale Time Series Forecasting,” Entropy, vol. 27, no. 7, 2025, doi: 10.3390/e27070695.
[14] H. Dhake, Y. Kashyap, and P. Kosmopoulos, “Algorithms for Hyperparameter Tuning of LSTMs for Time Series Forecasting,” Remote Sens., vol. 15, no. 8, pp. 1–17, 2023, doi: 10.3390/rs15082076.
[15] S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” Neural Comput., vol. 9, no. 8, pp. 1735–1780, Nov. 1997, doi: 10.1162/neco.1997.9.8.1735.
[16] B. Lim, S. Ö. Arık, N. Loeff, and T. Pfister, “Temporal Fusion Transformers for interpretable multi-horizon time series forecasting,” Int. J. Forecast., vol. 37, no. 4, pp. 1748–1764, 2021, doi: 10.1016/j.ijforecast.2021.03.012.
[17] W. Hu, Y. Yu, J. Yan, Z. Zhao, W. Sun, and X. Shen, “Water Flow Prediction Based on Improved Spatiotemporal Attention Mechanism of Long Short-Term Memory Network,” Water (Switzerland), vol. 16, no. 11, 2024, doi: 10.3390/w16111600.
[18] M. Alharthi and A. Mahmood, “xLSTMTime: Long-Term Time Series Forecasting with xLSTM,” AI, vol. 5, no. 3, pp. 1482–1495, 2024, doi: 10.3390/ai5030071.
[19] X. Song, L. Deng, H. Wang, Y. Zhang, and Y. He, “Deep learning-based time series forecasting,” Artif. Intell. Rev., vol. 58, no. 23, pp. 1–67, 2025, doi: 10.1007/s10462-024-10989-8.
[20] M. H. P. S. Muhammad Hakam Fardana, Wahyu Syaifullah Jauharis Saputra, “Analisis Prediksi Emisi Karbon Dioksida Kendaraan Bermotor Menggunakan Algoritma Hibrida LSTM Dan Arima,” J. Inform. dan Tek. Elektro Terap., vol. 13, no. 3, 2025, doi: 10.23960/jitet.v13i3.6782.
[21] M. S. Haque, M. S. Amin, J. Miah, D. M. Cao, M. A. Sayed, and S. Ahmed, “Retail Demand Forecasting: A Comparative Study for Multivariate Time Series,” J. Math. Stat. Stud., vol. 4, no. 4, pp. 40–46, 2023, doi: 10.32996/jmss.2023.4.4.4.
[22] J. Zulu, G. Mwansa, and K. Changwe, “Forecasting Inflation Rate Using the ARIMA Model: Zambia’s Perspective from 2023 to 2043,” Int. J. Res. Sci. Innov., vol. XI, no. XII, pp. 698–713, 2025, doi: 10.51244/ijrsi.2024.11120063.
[23] Z. Zhan and S. K. Kim, “Versatile time-window sliding machine learning techniques for stock market forecasting,” Artif. Intell. Rev., vol. 57, no. 8, pp. 1–25, 2024, doi: 10.1007/s10462-024-10851-x.
[24] X. Kong et al., Deep learning for time series forecasting: a survey, vol. 16, no. 7–8. Springer Berlin Heidelberg, 2025. doi: 10.1007/s13042-025-02560-w.
[25] R. A. Nampira, J. M. Sambas, I. Nur, L. Fitriana, L. Adhi, and K. Sulung, “ARIMA and LSTM Comparison for Forecasting Healthcare Service Costs in Bogor,” vol. 6, no. 4, pp. 352–360, 2025, doi: 10.47065/bit.v5i2.2278.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Journal of Information Systems and Informatics

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors Declaration
- The Authors certify that they have read, understood, and agreed to the Journal of Information Systems and Informatics (JournalISI) submission guidelines, policies, and submission declaration. The submission has been prepared using the provided template.
- The Authors certify that all authors have approved the publication of this manuscript and that there is no conflict of interest.
- The Authors confirm that the manuscript is their original work, has not received prior publication, is not under consideration for publication elsewhere, and has not been previously published.
- The Authors confirm that all authors listed on the title page have contributed significantly to the work, have read the manuscript, attest to the validity and legitimacy of the data and its interpretation, and agree to its submission.
- The Authors confirm that the manuscript is not copied from or plagiarized from any other published work.
- The Authors declare that the manuscript will not be submitted for publication in any other journal or magazine until a decision is made by the journal editors.
- If the manuscript is finally accepted for publication, the Authors confirm that they will either proceed with publication immediately or withdraw the manuscript in accordance with the journal’s withdrawal policies.
- The Authors agree that, upon publication of the manuscript in this journal, they transfer copyright or assign exclusive rights to the publisher, including commercial rights














