Advances in Industrial Engineering

Advances in Industrial Engineering

Data-Driven Hierarchical Forecasting Model for Point-of-Sale (POS) Transaction Counts

Document Type : Research Paper

Authors
1 Ph.D. Candidate, School of Industrial Engineering, College of Engineering, University of Tehran, Tehran, Iran.
2 Professor, School of Industrial Engineering, College of Engineering, University of Tehran, Tehran, Iran.
Abstract
Banks and other organizations in the financial sector, particularly payment service providers (PSPs), require accurate forecasts of transaction counts to optimize procurement planning for point-of-sale (POS) devices under budget constraints. To address this need, this study proposes a two-level hierarchical forecasting framework for POS transaction counts to support tactical decision-making. At the first level, a time-weighted long short-term memory (LSTM) model is developed to forecast monthly transaction counts over a one-year horizon. A set of candidate exogenous variables is initially identified and subsequently refined using the goal programming-based fuzzy best–worst method (GP-FBWM) to improve model performance. At the second level, a Random Forest (RF) model is employed to estimate the relative weights of daily transactions within each month based on intrinsic daily characteristics. A forward feature selection approach is further applied to identify the most influential daily features affecting transaction distribution. The proposed framework is validated through a real-world case study of a PSP in Iran. The results indicate that the time-weighted LSTM achieves high predictive accuracy with R² values of 0.90 and 0.89 on validation and test datasets for monthly forecasting, respectively. For daily transaction weights, the six-feature subset achieved a mean cross-validation R² of 0.9647 for the representative branch. These findings confirm the effectiveness and practical applicability of the proposed framework in supporting data-driven planning.
Keywords
Subjects

Aguiar-Pérez JM, Pérez-Juárez MÁ (2023) An insight of deep learning-based demand forecasting in smart grids. Sensors 23:1467. https://doi.org/10.3390/s23031467
Amiri M, Emamat MSMM (2020) A goal programming model for BWM. Informatica 31:21–34. https://doi.org/10.15388/20-INFOR389
Anderer M, Li F (2022) Hierarchical forecasting with a top-down alignment of independent-level forecasts. Int J Forecast 38:1405–1414. https://doi.org/10.1016/j.ijforecast.2021.12.015
Arunraj NS, Ahrens D, Fernandes M (2016) Application of SARIMAX model to forecast daily sales in food retail industry. Int J Oper Res Inf Syst 7:1–21. https://doi.org/10.4018/IJORIS.2016040101
Asad M, Shahzaib M, Abbasi Y, Rafi M (2020) A long-short-term-memory based model for predicting ATM replenishment amount. In: 2020 21st International Arab Conference on Information Technology (ACIT). IEEE, pp 1–6. https://doi.org/10.1109/ACIT50332.2020.9300115
Baz A, Logeshwaran J, Natarajan Y, Patel SK (2024) Enhancing mobility management in 5G networks using deep residual LSTM model. Appl Soft Comput 165:112103. https://doi.org/10.1016/j.asoc.2024.112103
Benchaji I, Douzi S, El Ouahidi B (2021) Credit card fraud detection model based on LSTM recurrent neural networks. J Adv Inf Technol 12:113–118. https://doi.org/10.12720/jait.12.2.113-118
Cai S, Gao H, Zhang J, Peng M (2024) A self-attention-LSTM method for dam deformation prediction based on CEEMDAN optimization. Appl Soft Comput 159:111615. https://doi.org/10.1016/j.asoc.2024.111615
Cucu FC, Sakar CO (2025) Transaction count prediction in correspondent banking using a hybrid CNN-LSTM neural network. In: Pattern Recognition and Artificial Intelligence: Selected papers from the 6th Mediterranean Conference on Pattern Recognition and Artificial Intelligence (MedPRAI24). Springer, pp 1255–1274. https://doi.org/10.1007/978-3-031-90893-4_84
Dai S, Meng F, Dai H, et al (2026) Machine learning in peak demand forecasting: foundations, trends, and insights. Renew Sustain Energy Rev 227:116500. https://doi.org/10.1016/j.rser.2025.116500
Darwish A, Rahhal Y, Jafar A (2020) A comparative study on predicting influenza outbreaks using different feature spaces: application of influenza-like illness data from Early Warning Alert and Response System in Syria. BMC Res Notes 13:33. https://doi.org/10.1186/s13104-020-4889-5
Dias SV, Al Mamun A, Alam MK, Zainol NR (2022) Predicting the adoption of mobile banking practices among Bangladeshi millennial’s. In: Proceedings of International Conference on Emerging Technologies and Intelligent Systems: ICETIS 2021 (Volume 1). Springer, pp 429–441. https://doi.org/10.1007/978-3-030-82616-1_37
Falatouri T, Darbanian F, Brandtner P, Udokwu C (2022) Predictive analytics for demand forecasting – a comparison of SARIMA and LSTM in retail SCM. Procedia Comput Sci 200:993–1003. https://doi.org/10.1016/j.procs.2022.01.298
Feng Y, Yin Y, Wang D, Dhamotharan L (2022) A dynamic ensemble selection method for bank telemarketing sales prediction. J Bus Res 139:368–382. https://doi.org/10.1016/j.jbusres.2021.09.067
García JR, Pacce M, Rodrigo T, et al (2021) Measuring and forecasting retail trade in real time using card transactional data. Int J Forecast 37:1235–1246. https://doi.org/10.1016/j.ijforecast.2021.02.005
Gehlot A, Ansari BK, Arora D, et al (2022) Application of neural network in the prediction models of machine learning based design. In: 2022 International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems (ICSES). IEEE, pp 1–6. https://doi.org/10.1109/ICSES55317.2022.9914184
Giantsidi S, Tarantola C (2025) Deep learning for financial forecasting: A review of recent trends. Int Rev Econ Financ 104:104719. https://doi.org/10.1016/j.iref.2025.104719
He Z, Yu S (2020) Application of LightGBM and LSTM combined model in vegetable sales forecast. J Phys Conf Ser 1693:012110. https://doi.org/10.1088/1742-6596/1693/1/012110
Hirche M, Haensch J, Lockshin L (2021) Comparing the day temperature and holiday effects on retail sales of alcoholic beverages – a time-series analysis. Int J Wine Bus Res 33:432–455. https://doi.org/10.1108/IJWBR-07-2020-0035
Huber J, Stuckenschmidt H (2020) Daily retail demand forecasting using machine learning with emphasis on calendric special days. Int J Forecast 36:1420–1438. https://doi.org/10.1016/j.ijforecast.2020.02.005
Hussain F, Hasanuzzaman M, Abd Rahim N (2025) Multivariate machine learning algorithms for energy demand forecasting and load behavior analysis. Energy Convers Manag X 26:100903. https://doi.org/10.1016/j.ecmx.2025.100903
Irribarra N, Michell K, Bermeo C, Kristjanpoller W (2024) A multi-head attention neural network with non-linear correlation approach for time series causal discovery. Appl Soft Comput 165:112062. https://doi.org/10.1016/j.asoc.2024.112062
Jadwal PK, Jain S, Gupta U, Khanna P (2019) Clustered support vector machine for ATM cash repository prediction. In: Progress in Advanced Computing and Intelligent Engineering. Springer, pp 189–201. https://doi.org/10.1007/978-981-13-1708-8_18
Kallurkar HS, Chandavarkar BR (2024) A hybrid CNN–LSTM model for transaction fee forecasting in post EIP-1559 Ethereum. SN Comput Sci 5:638. https://doi.org/10.1007/s42979-024-02976-1
Kullaya Swamy A, Sarojamma B (2020) Bank transaction data modeling by optimized hybrid machine learning merged with ARIMA. J Manag Anal 7:624–648. https://doi.org/10.1080/23270012.2020.1726217
Kumar TKS, Thomas J, Thomas L, Menon VA (2026) Forecasting UPI transaction value in India: A machine learning regression approach to customer-initiated payments. In: Transforming E-Collaboration with AI and Emerging Digital Technologies. IGI Global Scientific Publishing, pp 33–56. https://doi.org/10.4018/979-8-3373-5747-8.ch002
Ładyżyński P, Żbikowski K, Gawrysiak P (2019) Direct marketing campaigns in retail banking with the use of deep learning and random forests. Expert Syst Appl 134:28–35. https://doi.org/10.1016/j.eswa.2019.05.020
Li X, Xu Y, Zhang X, et al (2023) Improving short-term bike sharing demand forecast through an irregular convolutional neural network. Transp Res Part C Emerg Technol 147:103984. https://doi.org/10.1016/j.trc.2022.103984
Liu S, Liao G, Ding Y (2018) Stock transaction prediction modeling and analysis based on LSTM. In: 2018 13th IEEE Conference on Industrial Electronics and Applications (ICIEA). IEEE, pp 2787–2790. https://doi.org/10.1109/ICIEA.2018.8398183
Moridian A, Radulescu M, Usman M, et al (2025) Unemployment rate and its relationship with government size, trade, inflation, urbanization, and economic growth in Romania. Heliyon 11:e41579. https://doi.org/10.1016/j.heliyon.2024.e41579
Nawaz A, Su CW, Khan SY (2026) How do climate and economic policy uncertainties relate to global fossil fuel price dynamics? North Am J Econ Financ 83:102594. https://doi.org/10.1016/j.najef.2026.102594
Ordu M, Demir E, Tofallis C, Gunal MM (2021) A novel healthcare resource allocation decision support tool: A forecasting-simulation-optimization approach. J Oper Res Soc 72:485–500. https://doi.org/10.1080/01605682.2019.1700186
Peng H, Lin Y, Wu M (2022) Bank financial risk prediction model based on big data. Sci Program 2022:3398545. https://doi.org/10.1155/2022/3398545
Prihatiningsih T, Panudju R, Prasetyo IJ (2025) Digital advertising trends and effectiveness in the modern era: a systematic literature review. Golden Ratio Mark Appl Psychol Bus 5:1–12. https://doi.org/10.52970/grmapb.v5i1.505
Rafi M, Wahab MT, Khan MB, Raza H (2020) ATM cash prediction using time series approach. In: 2020 3rd International Conference on Computing, Mathematics and Engineering Technologies (iCoMET). IEEE, pp 1–6. https://doi.org/10.1109/iCoMET48670.2020.9073937
Rafi M, Wahab MT, Khan MB, Raza H (2021) Towards optimal ATM cash replenishment using time series analysis. J Intell Fuzzy Syst 41:5915–5927. https://doi.org/10.3233/JIFS-201953
Rajwani A, Syed T, Khan B, Behlim S (2017) Regression analysis for ATM cash flow prediction. In: 2017 International Conference on Frontiers of Information Technology (FIT). IEEE, pp 212–217. https://doi.org/10.1109/FIT.2017.00045
Razavi H, Sarabadani H, Karimisefat A, Lebraty JF (2019) Profitability prediction for ATM transactions using artificial neural networks: A data-driven analysis. In: 2019 IEEE 5th Conference on Knowledge Based Engineering and Innovation (KBEI). IEEE, pp 661–665. https://doi.org/10.1109/KBEI.2019.8735037
Rezaei J, Nispeling T, Sarkis J, Tavasszy L (2016) A supplier selection life cycle approach integrating traditional and environmental criteria using the best worst method. J Clean Prod 135:577–588. https://doi.org/10.1016/j.jclepro.2016.06.125
Roque L, Fernandes CAC, Silva T (2019) Optimal combination forecasts on retail multi-dimensional sales data. arXiv preprint arXiv:1903.09478. https://doi.org/10.48550/arXiv.1903.09478
Rostami O, Tavakoli M, Tajally A, GhanavatiNejad M (2023) A goal programming-based fuzzy best–worst method for the viable supplier selection problem: a case study. Soft Comput 27:2827–2852. https://doi.org/10.1007/s00500-022-07572-0
Sarveswararao V, Ravi V, Vivek Y (2023) ATM cash demand forecasting in an Indian bank with chaos and hybrid deep learning networks. Expert Syst Appl 211:118645. https://doi.org/10.1016/j.eswa.2022.118645
Shahabi V, Faezy Razi F (2019) Modeling the effect of electronic banking expansion on profitability using neural networks and system dynamics approach. Qual Res Financ Mark 11:197–210. https://doi.org/10.1108/QRFM-11-2018-0117
Sheng F, Jia L (2020) Short-term load forecasting based on SARIMAX-LSTM. In: 2020 5th International Conference on Power and Renewable Energy (ICPRE). IEEE, pp 90–94. https://doi.org/10.1109/ICPRE51194.2020.9233117
Sheykhi A, Taleblou R, Mohajeri P (2026) The impact of exchange rate volatility on economic growth: A meta-analysis approach. J Econ Stud 53:566–588. https://doi.org/10.1108/JES-01-2025-0023
Siyal AW, Donghong D, Umrani WA, et al (2019) Predicting mobile banking acceptance and loyalty in Chinese bank customers. SAGE Open 9:2158244019844084. https://doi.org/10.1177/2158244019844084
Sobolevsky S, Massaro E, Bojic I, et al (2017) Predicting regional economic indices using big data of individual bank card transactions. In: 2017 IEEE International Conference on Big Data (Big Data). IEEE, pp 1313–1318. https://doi.org/10.1109/BigData.2017.8258061
Vithitsoontorn C, Chongstitvatana P (2022) Demand forecasting in production planning for dairy products using machine learning and statistical method. In: 2022 International Electrical Engineering Congress (iEECON). IEEE, pp 1–4. https://doi.org/10.1109/iEECON53204.2022.9741683
Wirajing MAK, Moutie VG, Nkoa BEO, Ketchoua GS (2025) An analysis of the moderating role of Internet penetration in the banking competition-banks’ profitability nexus: case of the CEMAC banking sector. Digit Financ 7:173–200. https://doi.org/10.1007/s42521-025-00129-4
Xia Y, Wang J, Zhang Z, et al (2024) A wind speed point-interval fuzzy forecasting system based on data decomposition and multiobjective optimizer. Appl Soft Comput 165:112084. https://doi.org/10.1016/j.asoc.2024.112084
Zhang D, Niu B (2024) Leveraging online reviews for hotel demand forecasting: A deep learning approach. Inf Process Manag 61:103527. https://doi.org/10.1016/j.ipm.2023.103527
Zhao Z, Rao R, Tu S, Shi J (2017) Time-weighted LSTM model with redefined labeling for stock trend prediction. In: 2017 IEEE 29th International Conference on Tools with Artificial Intelligence (ICTAI). IEEE, pp 1210–1217. https://doi.org/10.1109/ICTAI.2017.00184