Skip to main content

Harnessing LSTM Neural Networks and Hyperparameter Optimization for Precise Sales Forecasting in Retail

  • Conference paper
  • First Online:
Proceedings of the 10th International Conference on Advanced Intelligent Systems and Informatics 2024 (AISI 2024)

Abstract

In the dynamic and competitive retail industry, precise sales forecasting is pivotal for operational efficiency and strategic planning. This study introduces an advanced forecasting model that leverages Long Short-Term Memory (LSTM) neural networks, enriched with hyperparameter optimization through Keras Tuner, to predict daily sales in the challenging environment of Walmart’s retail dataset. Our dataset encompasses hierarchical sales data across three pivotal US states—California, Texas, and Wisconsin—covering a wide spectrum of product categories and store details, including influential factors such as price variations, promotions, and special events. We meticulously crafted an LSTM-based model, calibrated through extensive hyperparameter tuning, to capture the intricate patterns and temporal dependencies inherent in the sales data. The research methodology adopted a systematic approach, splitting the dataset into training and testing subsets, followed by rigorous evaluation of model performance metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE). Our findings demonstrate a significant enhancement in forecast accuracy compared to traditional forecasting methods, underpinning the effectiveness of LSTM networks in handling complex sales forecasting tasks. This paper contributes to the body of knowledge by providing insights into applying deep learning and hyperparameter optimization techniques in retail sales forecasting. It offers a robust model for retailers to refine their forecast accuracy and decision-making processes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Choi, T.-M., Hui, C.-L., Yu, Y.: Intelligent time series fast forecasting for fashion sales: A research agenda. In: 2011 International Conference on Machine Learning and Cybernetics, Guilin, China, pp. 1010–1014 (2011). https://doi.org/10.1109/ICMLC.2011.6016870

  2. Megahed, A., Yin, P., Nezhad, H.R.M.: An optimization approach to services sales forecasting in a multi-staged sales pipeline. In: 2016 IEEE International Conference on Services Computing (SCC), pp. 713–719. San Francisco, CA, USA (2016). https://doi.org/10.1109/SCC.2016.98

  3. Ahmed, F.Y.H., Kanakarathanm, R.A.P., Saleh, M.D., Aik, K.L.T.: Enhance smart sales forecast and budgeting management. In: 2019 IEEE 9th International Conference on System Engineering and Technology (ICSET), pp. 162–165. Shah Alam, Malaysia (2019). https://doi.org/10.1109/ICSEngT.2019.8906391

  4. Ali, Y., Nakti, S.: Sales forecasting: a comparison of traditional and modern times-series forecasting models on sales data with seasonality. In: 2023 10th International Conference on Computing for Sustainable Global Development (INDIACom), pp. 159–163. New Delhi, India (2023)

    Google Scholar 

  5. Wu, L., Yan, J.Y., Fan, Y.J.: Data mining algorithms and statistical analysis for sales data forecast. In: 2012 Fifth International Joint Conference on Computational Sciences and Optimization, pp. 577–581. Harbin, China (2012). https://doi.org/10.1109/CSO.2012.132

  6. Senthil Murugan, K., Prathiba Selvi, R., Dheeksha, S., Deepalakshmi, R., Paul Steve Mithun, B.: Sales Forecasting using SARIMAX for B2C. In: 2023 International Conference on Data Science, Agents & Artificial Intelligence (ICDSAAI), pp. 1–5. Chennai, India (2023). https://doi.org/10.1109/ICDSAAI59313.2023.10452574

  7. Sugiarto, V.C., Sarno, R., Sunaryono, D.: Sales forecasting using Holt-Winters in Enterprise Resource Planning at sales and distribution module. In: 2016 International Conference on Information & Communication Technology and Systems (ICTS), pp. 8–13. Surabaya, Indonesia (2016). https://doi.org/10.1109/ICTS.2016.7910264

  8. Huang, W., Xiao, Q., Dai, H., Yan, N.: Sales forecast for O2O services – based on incremental random forest method. In: 2018 15th International Conference on Service Systems and Service Management (ICSSSM), pp. 1–5. Hangzhou, China (2018). https://doi.org/10.1109/ICSSSM.2018.8465121

  9. Yuan, F.-C., Lee, C.-H.: Sales volume forecasting decision models. In: 2011 International Conference on Technologies and Applications of Artificial Intelligence, pp. 239–244. Chung Li, Taiwan (2011). https://doi.org/10.1109/TAAI.2011.49

  10. Zhuang, Q., Zhang, X., Wang, P., Deng, B., Pan, H.: A neural network model for china b2c e-commerce sales forecast based on promotional factors and historical data. In: 2019 International Conference on Economic Management and Model Engineering (ICEMME), pp. 307–312. Malacca, Malaysia (2019). https://doi.org/10.1109/ICEMME49371.2019.00067

  11. Hong, D., Bo, C.: Sale forecasting method in dynamic environment based on ARMA(1,1). In: 2011 International Conference on Electric Information and Control Engineering, pp. 4445–4448. Wuhan (2011). https://doi.org/10.1109/ICEICE.2011.5777454

Download references

Acknowledgements

This work was supported by the European Union under the REFRESH - Research Excellence For REgion Sustainability and High-tech Industries project number CZ.10.03.01/00/22 003/0000048 via the Operational Programme Just Transition.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Siddhartha Bhattacharyya .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Mitra, M., Roy, S., De, S., Bhattacharyya, S., Platos, J., Snasel, V. (2024). Harnessing LSTM Neural Networks and Hyperparameter Optimization for Precise Sales Forecasting in Retail. In: Hassanien, A.E., Darwish, A., F. Tolba, M., Snasel, V. (eds) Proceedings of the 10th International Conference on Advanced Intelligent Systems and Informatics 2024. AISI 2024. Lecture Notes on Data Engineering and Communications Technologies, vol 220. Springer, Cham. https://doi.org/10.1007/978-3-031-71619-5_11

Download citation

Publish with us

Policies and ethics