Design of a Framework for Demand Forecasting Using Time Series Decomposition-Based Approach



Published Sep 4, 2023
Hazuki Shibayama Aya Ishigaki Takasumi Kobe Takafumi Ueda Daichi Arimizu Takaaki Nakamura


In recent years, artificial intelligence (AI) has made highly accurate demand forecasting possible. However, improving forecast accuracy does not necessarily mean reducing inventory costs or improving service levels in supply chain and inventory management, which are closely related to demand forecasting. Workers require not only high accuracy but also a basis for making decisions a based on forecasts. Autoregressive integrated moving average (ARIMA) and seasonal autoregressive integrated moving average (SARIMA) are demand forecasting methods with high accuracy and interpretability. However, these methods cannot provide evidence for demand fluctuations such as trends and seasonality, although they exhibit an autoregressive time-series structure. In this study, a framework for demand forecasting with high accuracy and interpretability was designed using time series decomposition and ARIMA to support decision makers in demand forecasting. The Seasonal-trend decomposition using locally estimated scatterplot smoothing (STL) is used to decompose a time series into three components trend, seasonality, and residual to provide decision makers with an easily understandable basis for demand changes. In addition, the ARIMA model is used for trends and residuals to achieve highly accurate forecasts. Comparing the prediction accuracies of the proposed STL-ARIMA and SARIMA models shows that STL-ARIMA has higher interpretability than the SARIMA model and the same accuracy.  

Abstract 214 | PDF Downloads 208



Demand forecasting, Decision making, Time series decomposition

Babai, Z. M., Ali, M.M., Boylan, E. J., & Syntetos, A. A. (2013), Forecasting and inventory performance in a two-stage supply chain with ARIMA(0,1,1) demand: Theory and empirical analysis. International Journal of Production Economics, June vol. 143, no. 2, pp. 463471,

Böse, J. H., Flunkert, V., Gasthaus J., Januschowski, T., Lange, D., Salinas, D., Schelter, S., Seeger, M., & Wang, Y. (2017), Probabilistic demand forecasting at scale. Proceedings of the VLDB Endowment, August vol. 10, no. 12, doi:10.14778/3137765.3137775

Calster, V. T., Baesens, B., & Lemahieu, W. (2017), ProfARIMA: a prot-driven order identication algorithm for ARIMA models in sales forecasting. Preprint submitted to Applied Soft Computing for Business Analytics, February 9 vol. 60, no. 2017, pp. 775-785. doi: 10.1016/j.asoc.2017.02.011

Caruana, R., Lou, Y., Gehrke J., Koch, P., Sturm, M., & Elhadad, N. (2015), Intelligible models for healthcare: predicting pneumonia risk and hospital 30-day readmission. Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, August 10-13, pp. 1721-1730. doi: 10.1145/2783258.2788613

Cleveland, B. R., Cleveland, S. W., & Terpenning, I. (1990) , STL: A seasonal-trend decomposition procedure based on loess. Journal of Official Statistics, March, Stockholm, vol. 6, no. 1

Hamzaçebi, C. (2008), Improving artificial neural networks’ performance in seasonal time series forecasting. Information Sciences, December 1, vol. 178, no. 23, pp. 4550-4559. doi: 10.1016/j.ins.2008.07.024

Hirose, K. (2021), Interpretable modeling for shortand medium-term electricity demand forecasting. Frontiers in Energy Research, December 14, vol. 9, doi: 10.3389/fenrg.2021.724780

Hyndman, J. R., & Athanasopoulos, G. (2021), Forecasting: Principles and Practice 3 rd edition. Online Open-Access – Textbooks.

Kamath, U., & Liu, J. (2021), Explainable artificial intelligence: An introduction to interpretable machine learning. Switzerland: Springer Cham. doi: 10.1007/978-3-030-83356-5

Li, Y., Bao, T., Gong, J., Shu, X., & Zhang, K. (2020), The prediction of dam displacement time series using STL, extra-trees, and stacked LSTM neural network. IEEE Access, May 19, vol. 8, pp. 94440-94452. doi: 10.1109/ACCESS.2020.2995592

Lorente-Leyva, L. L., Alemany, E. M.M., Peluffo-Ordóñez, H. D., & Herrera-Granda, D. I. (2021), A comparison of machine learning and classical demand forecasting methods: A case study of ecuadorian textile industry. International Conference on Machine Learning, Optimization, and Data Science, January 7, vol. 12566, pp. 131-142. doi: 10.1007/978-3-030-64580-9_11

Moraffah, R., Karami, M., Guo, R., Raglin, A., & Liu, H. (2020), Causal interpretability for machine learning -problems, methods and evaluation. SIGKDD Explorations, March 19, vol. 22, no. 1. pp. 18-33. doi: 10.48550/arXiv.2003.03934

Umezu, K., & Motohashi, (2016), A study on utilization of analysis results in business and interpretation of model. The 30th Annual Conference of the Japanese Society for Artificial Intelligence, vol. 30. doi: 10.11517/pjsai.jsai2016.0_3k34

Patidar, S., Jenkins, P. D., Peacock, A., & McCallum, P. (2019), Time series decomposition approach for simulating electricity demand profile. Proceedings of the 16th IBPSA Conference, September 2-4, pp. 13881395. doi: 10.26868/25222708.2019.210541

Rajapaksha, D., Bergmeir, C., & Hyndman, J. R. (2021), LoMEF: A framework to produce local explanations for global model. International Journal of Forecasting, November 16, doi: 10.1016/j.ijforecast.2022.06.006

Sharma, S., & Mishra, K. S. (2023), Electricity demand estimation using ARIMA forecasting model. Recent Developments in Electronics and Communication Systems, January, doi: 10.3233/ATDE221331

Wang, X., & Snith, K. (2006), Characteristic-based clustering for time series data. Data Mining and Knowledge Discovery, May 16, vol. 13, pp. 335-364. doi: 10.1007/s10618-005-0039-x

Wu, B., Wang, L., Tao, R., & Zeng, R. Y. (2023), Interpretable tourism volume forecasting with multivariate time series under the impact of COVID-19. Neural Computing and Applications, April 27, vol. 35, pp. 5437-5463. doi: 10.1007/s00521-022-07967-y

Xiong, T., Li, C., & Bao, Y. (2018), Seasonal forecasting of agricultural commodity price using a hybrid STL and ELM method: Evidence from the vegetable market in Chin. Neurocomputig, January 31, vol. 275, pp. 28312844. doi: 10.1016/j.neucom.2017.11.053

Xu, S., Chan, K. H., & Zhang, T. (2019), Forecasting the demand of the aviation industry using hybrid time series SARIMA-SVR approach. Transportation Research Part E: Logistics and Transportation Review, February, vol. 122, pp. 169-180. doi: 10.1016/j.tre.2018.12.005
Special Session Papers