Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Farida Khanam, Ravinder Pal Singh
DOI Link: https://doi.org/10.22214/ijraset.2024.59083
Certificate: View Certificate
Running out of money at an ATM or other place results in higher costs for unscheduled currency supplies and less income from lost surcharge fees. However, banks are unable to invest this non-earning assets to produce interest revenue due to oversupply of currency. ATM forecasting automation is therefore urgently needed. Artificial neural networks are utilized as a forecasting method in this study because they function well for automated prediction tasks. The most significant algorithm for neural network training is propagation in reverse. However, it is prone to become stuck in local minima, which might result in incorrect answers. Thereby, in order to hybridize with artificial neural networks, a few global search and optimization strategies were needed. Genetic algorithms that mimic the idea of natural growth are one such method. Therefore, a hybrid intelligent system that combines genetic algorithms and neural networks made up of neurons is presented for ATM forecasting in this study. The suggested mixed approach functioned better than the current back propagation-based system, according to the results.
I. INTRODUCTION
ATM forecasting is the capacity to project future cash requirements for automated teller machines (ATMs). Making ensuring that cash is spent properly and efficiently across the branch network is the main goal of ATM forecasting [6] [8]. In the ATM network services industry, one of the most crucial aspects is ATM forecasting and service accessibility. By optimizing ATM expenditures and effectively routing cash loads, banks can prevent cash-stuck ATMs and effectively manage the system in an ever-shifting environment while meeting the various needs of ATM network users. More banks are currently focusing on finding ways to handle their cash at ATMs more efficiently [10].
Capturing and analyzing previous data to yield future insights is essential to the ATM's predictive algorithms.[1] Recently, several writers have tried to estimate and forecast the demand in order to maximize the cash [11]. Nonetheless, the dependability of these methods may be impacted by the underlying stochastic cash demand process's high volatility and non-stationarity. In addition, the demand for cash is not only impacted by time but also exhibits various trends that exacerbate the difficulty of predicting. For instance, weekends, holidays, the beginning of the month, festival days, etc. [2] [9]. Hence, the task of ATM forecasting can be well resolved by effective artificial intelligent forecasting algorithm for accelerating the issues of slow training and optimal solution discovery, such as artificial neural networks combined with some optimization techniques like genetic algorithms. [21]
The rest of the piece is structured as follows: Section 2 provides a brief overview, Section 3 discusses the suggested model and approach, Section 4 presents the results and talks, and Section 5 summarizes the Conclusion.[22]
II. BACKGROUND
Artificial neural networks are an attempt at modeling the information processing capabilities of nervous systems. Many different kinds of non-linear issues that are challenging to tackle using conventional methods can be solved with the help of artificial neural networks. In essence, an artificial neural network is a collection of basic processing units, or neurons, that exchange analog signals with one another. Weighted connections between neurons carry these messages [24]. Every one of these neurons builds up its inputs and uses an internal activation function to produce an output. This output may be a component of the network output or an input for additional neurons. [7].
Three components make up a neural network: triggering, architecture, and learning method. function. Various learning methods exist to train neural networks. The learning mechanisms are categorized as- Supervised learning and Unsupervised learning [1].
One systematic way to train multilayer artificial neural networks is by propagating them backwards. It has a solid mathematical foundation. Three steps make up the back propagation training of the network: a) forwarding the input education pattern, b) calculating then the corresponding error, and c) adjusting the weights[27].
Back propagation is a gradient-descending technique that involves propagating the error backwards from the final layer to the hidden layer and then back to the input layer in order to compute the incline of the fault with respect to the value of the weights for a given input. The weights are modified using this manner based on the error function.[28] Therefore, the set of weights that lowest the error function is thought to represent the answer to the issue. Based on the discrepancy between the intended and actual outcome, the weights are reverse adjusted. There are some issues while training through this algorithm. These include slow training, trapping in local minima, and convergence to non-optimal solution. [29]
Numerous academics have attempted to use genetic algorithms to tackle these challenges on multiple occasions.[30] The natural evolution process, in which a population of a particular species adapts to the natural environment under attention, and genetic algorithms are comparable., a population of designs is created and then allowed to evolve in order to adapt to the design environment under consideration.[31] These algorithms have taken attention to solve optimizing problems. The most important advantage of the genetic algorithms is their ability to use accumulative information about the initial unknown search space in order to move the next searches in to useful spaces [32]. Unlike traditional non-linear optimization methods, GA looks for better solutions by keeping a population of the current solutions. Consequently, in order to solve the ATM planning problem, both these algorithms are blended together to gain benefits of optimal solution finding along with faster convergence.[35]
III. MATERIALS AND METHODS
The hybrid approach may be created by intersecting the principles of the genetic algorithm and back transmission mechanism as follows.:
As error is inversely proportional to fitness so clearly it is visible that at this stage, the hybrid approach is formed by the intersection of the genetic algorithm and the back propagation algorithm[37]. The main concept of the suggested method has been presented thus far. The primary task at hand is bringing this concept to life by developing and putting into use an artificial intelligence ATM forecasting framework based on heterogeneous neural networks [38].
The proposed hybrid neural network-based ATM prediction system begins with the gathering of ATM-related data, followed by normalization of the information, extraction of characteristics, training, and verification [39].
A. Collection of Data
The first stage in creating an ATM forecasting model is gathering ATM related data [40].
B. Normalization of Data
The normalization of data comes next after data gathering. Generally speaking, data with normalization yields greater results from neural networks. Utilizing the initial data in a network might lead to confluence issues [41]. In order to acquire the normalized data dnorm, all ATM data sets were converted into values between 0 and 1. This was done by dividing the variance between the actual value (dt) and the lowest possible value (dmin) by the discrepancy between the highest value (dmax) and the minimum value (dmin).:
Normalization and weight initialization together serve the primary purpose of enabling the flattened activity act to function, at least in the early stages of the learning process. As a result, the gradient, which is determined by the nonlinearity's derivative, will never be equal to zero. To get the intended outcome, the outputs are finally de-normalized into the original data format [42].
C. Feature Extraction
In some circumstances, the attributes derived from historical data can be used to predict the ATM forecast. The features selected for this configuration aid in the forecast [43]. Correlating the features with the parameter to be estimated allows for the selection of the features since it offers the knowledge necessary to determine is a given feature is appropriate for the model and should be included in the data being provided set [44]. The following statistical markers can be utilized as model input features:
These chosen input characteristics after the analysis of data with respect to specific days like weekends, holidays and salary effect etc [45].
D. Training
In this phase the network is trained through collected data with various characteristics and how they affect the data is also considered [46].
E. Testing
The set of weights acquired during the exercise phase is used for testing. In this, the network receives inputs together with the final weights right away and we then receive the outputs.
In genetic algorithm domain, a specific terminology based on natural genetics is followed (Goldberg, 2008)[47]. The word ‘chromosome’ is used to represent the alternative solution for the problem. In present problem, features extracted from fruit images act as ‘genes’ and set of such genes form the chromosomes. Set of chromosomes further form the ‘population’ of alternative solutions. The term ‘weight’ signifies the importance assigned to inputs, fed to the network. ‘Error’ means difference in the forecasted and desired outputs. ‘Fitness’ is how close an individual (alternative solution) to the desired solution. More the fitness of the individual, more suitable candidate it is for the solution. Fitness is always inversely proportional to the error value. ‘Selection’ operator indicates finding the two fittest individuals out of population of alternatives [48]. ‘Crossover’ operator implies merging of two parents (fittest alternatives) to reproduce a new offspring (new candidate solution). ‘Mutation’ operator means inculcating fresh features in the offspring to get diversity in the newly generated population.
The GA/BP NN algorithm works as follows:
The output of classification step was in the form of text that specifies the class to which the fruit belonged to. Based on these classes, further grading was performed. The grading rules were: Assigning class A to non-defective fruit, class B to fruit having nominal surface defects and Class C to defective fruit. Hence, fruit grading was performed based on these rules [49].
IV. RESULTS AND DISCUSSION
A. Research Data
The ATM day-by-day credit information served as the research's source of data. The unnormalized form of the data just includes the amount removed. Following the raw data collection, this was carefully examined, and the impacts of several parameters—such as the weekend effect and holidays—were computed [50]. The set that is used for training and the set used for testing are the two chosen at random groups from which the set of patterns is split..
B. Tools used
The tool used in this modelling setup is MATLAB 13.0.
C. Simulation
The suggested model makes use of a multifunctional feed forward architecture with one or more covert layers—that is, layers situated between the input and output layers—whose processing nodes are known as hidden neurons, or hidden units. The challenge heavily influences how the neural networks are configured. Therefore, depending on their knowledge, the designer must choose how many hidden layers and hidden layer nodes are acceptable. Thus, every program that uses the trial-and-error approach needs a suitable design. The target is used as the parameter to be predicted during the training process, and characteristics that were retrieved from the ATM data are applied as input samples
The 5-3-1 neural network design has been used to the BP/GA approach in this study. Five input neurons are used for expressing the day, week, weekend, salary, and trip effects. Three hidden layers are used for interpreting, and one output neuron is used to represent cash forecasts. The chromosomes have been coded using an actual coding scheme.
Up till the network receives training, this process is repeated. Testing is done using the set of weights acquired during the training phase after it has concluded. The initial values and final weights are sent into the network during the testing process, and we then receive the results back.
D. Calculation of Population Size
Setting the population is the first stage in the suggested approach. The length of a gene and the network architecture determine the number of people. A gene's length is presumed to be a fixed value. Here, it is presumed that a gene's length in this instance is five digits.. Below are given the network architecture and their corresponding population size in table 1 below:
Table 1 Calculation of Population Size
Network Architecture (l-m-n) |
No. of weights w =(l+n)*m |
Length of chromosomes cno = w*d |
Population Size |
5-1-1 |
(5+1)*1 |
6*5 |
30 |
5-2-1 |
(5+1)*2 |
12*5 |
60 |
5-3-1 |
(5+1)*3 |
18*5 |
90 |
E. Selection of Hidden Neurons
The choice of how many hidden neurons to include in the hidden layer is one of the main problems with neural network construction, as discussed in the section on current work. In order to compare MAPE values for various hidden neuron counts, population sizes, and the number of iterations needed to train the network to a minimal error value, these factors have been taken into account.
Here, a variable population size has been used to apply the hybrid approach. The program has been run and the error has been computed for each population value. The proportion of population fluctuations, the number of neurons in the layer of concealment, and the associated mean absolute percentage error values for the combined BP/GA approach are displayed in Table 2.
Table 2 Selection of Appropriate NN Architecture
Population Size |
Hidden Neurons |
Iterations |
MAPE |
30 |
1 |
190 |
1.10 |
60 |
2 |
340 |
0.86 |
90 |
3 |
400 |
0.42 |
120 |
4 |
482 |
1.47 |
150 |
5 |
525 |
1.85 |
The program has been run and the error has been computed for every individual value. The quantity of population fluctuations, the number of neurons in the hidden layer, and the related mean absolute percentage error values are displayed in Table 2. The data shown in Table 2 indicates that the population's size of 90 and the total quantity of hidden neurons, 3, correlate to the lowest MAPE value. Therefore, this population size will be used in the current setting for future study.
The suggested model makes use of a multilayer feed forward architecture with one or more hidden layers—that is, layers situated between the input and output layers—whose processing nodes are known as hidden neurons, or hidden units. The challenge heavily influences how the neural networks are configured. Therefore, depending on their knowledge, the designer must choose how many hidden layers and hidden layer nodes are acceptable. Therefore, 5-3-1 is the most suitable architecture that was selected for this application by trial and error. Figure 4.1 displays the error vs. iterations graph for NN design 5-3-1 and population count 90..
An automated teller machine (ATM) is a computerized communication device that allows consumers of insurance companies to conduct payments in a public place without the assistance of a human clerk. More banks are focusing on improving the efficiency of how they handle cash at ATMs as of late. Capturing and analyzing previous data to yield future insights is essential to the ATM\'s forecasting algorithms. Recently, several writers have tried to estimate and forecast the demand in order to optimize the cash. Nonetheless, the dependability of these methods may be impacted by the underlying stochastic cash demand process\'s high volatility and non-stationarity. In addition, the demand for cash is not only impacted by time but also exhibits various trends that exacerbate the difficulty of modeling. For instance, weekends, holidays, the end of the month, festival days, etc. The aforementioned study makes it simple to see how back propagation algorithm (BP) and genetic algorithm (GA) are compensable. The hybrid approach combines the benefits of both BP and GA to learn effectively. If one considers solely the need for global searching, the suggested method is more suited for neural networks. It performs well on global searches (as opposed to one-way searches) and operates on a population of points rather than a single point. Additionally, it combines the benefits of stochastic optimizing algorithm GA with deterministic gradient-based algorithm BP. GA is not as speed-efficient as the hybrid approach, which makes effective use of local gradient information. Hence, the ATM forecasting system is suggested to adopt a hybrid genetic based back propagation approach.
[1] Adendorff S. A., “A decision support model for the cash replenishment process in South African retail banking”. Ph.D. Thesis, University of Pretoria, Department of Industrial Engineering, 2000. [2] Aydin I., Karakose M. and Akin E., “The Prediction Algorithm Based on Fuzzy Logic Using Time Series Data Mining Method,” World Academy of Science, Engineering and Technology, vol. 51, pp. 91-98, 2009. [3] Azadeh A., “Integration of ANN and GA to predict electrical energy consumption”, Proc. 32nd IEEE Conference on Industrial Electron., IECON, Paris, France, 2006. [4] Bassam M. A, “Forecasting Energy Demand in Jordan Using Artificial Neural Networks”, Topics in Middle Eastern and African Economies vol. 14, 2012. [5] Bounie D. and Francois A., “Cash, Check or Bank Card: The effect of transaction characteristics on the sue of payment instruments”. Telecom Paris, Working papers in Economics and Social Sciences, 2006. [6] Brentnalla A. R., Crowderb M. J., and Handb. D. J., “Predictive-Sequential Forecasting System Development for Cash Machine Stocking,” International Journal of Forecasting, vol. 26 pp. 764–776, 2010. [7] Ceylan H. and Ozturk H., \"Estimating energy demand of Turkey based on economic indicators using genetic algorithm approach\", J. Energy Conversion and Management, vol. 30, no. 7, pp. 1003-1012, 2005. [8] Chun L. and Bingxue S., “Hybrid BP+GA multilayer feed forward neural networks” Proc. 7th IEEE International Conference on Electronics, Circuits and Systems, pp. 17-20, 2000. [9] Darwish Saad M., “A Methodology to Improve Cash Demand Forecasting for ATM Network”, International Journal of Computer and Electrical Engineering, vol. 5, no. 4, pp. 405-409, 2013. [10] Dilijonas and Bastina L., “Retail Banking Optimization System Based on Multi-agents Technology,” in Proc. 16th Int. Conf. on Computational intelligence, Man-Machine System and Cybernetics, Spain, Dec. 14-16, pp. 203-208, 2007. [11] Ghodrati A., Abyak H. and Sharifihosseini A., “ATM cash management using genetic algorithm”, Management Science Letters , vol.3, pp. 2007–2014, 2013. [12] Goldberg D. E., “Genetic Algorithms in Search, Optimization and Machine learning”, ed. 3rd, published by Dorling Kindersley Pvt. Ltd. with Pearson Education Inc., pp. 120-125, 2008. [13] Haykin S., “Neural Networks: A Comprehensive Foundation”, published by IEEE Society Press, Macmillan College Publishing, New York, 1994. [14] Holland and J. H., “Adaptation in Natural and Artificial Systems”, published by Univ. of Michigan Press. Ann Arbor, MA, 1975. [15] Huawang S. and Yong D., “Application of an improved genetic algorithms in artificial neural networks”, Proc. International Symposium on Inform. Process. (ISIP’09) Huangshan, China, pp. 263-266, 2009. [16] Kaastra I. and Boyd M., “Designing a neural network for forecasting financial and economic time series”, Neurocomputing, Elsevier, vol. 10, pp. 215-236, 1996. [17] Kurdel P. and Sebestyenova J. “Modeling and optimization of ATM cash replenishment. Proceeding of conference in Latest Trends in Information Technology, Vienna”, pp. 322-327, 2012. [18] Kutsurelis J. E., “Forecasting Financial Markets using Neural Networks: An analysis of Methods and Accuracy”, MS Thesis, US Naval Postgraduate School, 1998. [19] Ioan I., Rotar C. and Incze A., “The optimization of feed-forward neural networks structure using genetic algorithms”, Proc. International Conference on Theory and Applications of Math and Informatics - ICTAMI 2004, Thessaloniki, Greece, 2004. [20] Maqsood I., Khan M.R. and Abraham A., “Weather forecasting models using ensembles of neural networks”, Proc. 3rd International Conference on Intel. Sys. Design and Applications, Germany, pp. 33-42, 2003. [21] Mathur S., “Offline handwriting recognition using genetic programming”, Proc. 6th International Conference on Inform. Research and Applications, Varna, Bulgaria, 2008. [22] McCulloch W.S. and Pitts W., \"A logical calculus of the ideas immanent in nervous activity\", Bulletin of Math. Biophysics, vol. 5, pp. 115-133, 1943. [23] Minsky M., “Perceptrons”, published by MA: MIT Press, Cambridge, 1969. [24] Pauli M., “Neural network models for short term load forecasting”, Master’s Thesis, Helsinki University of Technology, Department of Engineering Physics and Mathematics, 1998. [25] Pranik R. and Vina V., “What moves Indian Stock Market: A study on the Linkage with Real Economy in the Post-Reform era” Proceedings of the 6th International Conference of Asia-Pacific Operation Research Societies, New Delhi, 2003. [26] Kumar P. and Walia E., “Cash Forecasting: An Application of Artificial Neural Networks in Finance”, International Journal of Computer Science & applications, vol. 3, pp. 61, 2006. [27] Rajasekaran S. and Vijayalakshmi P., “Neural Networks, Fuzzy Logic and Genetic Algorithms”, published by Prentice Hall of India, New Delhi, pp. 253-265, 2004. [28] Rao H., Ghorpade Vaishali G. and Mukherjee A., “A genetic algorithm based back propagation network for simulation of stress-strain response of ceramic-matrix-composites”, J. Computers and Structures, vol. 84, no. 5-6, 2006. [29] Rathvanit C. and Prabhas C., “Optimal Cash Management for ATM Center by Genetic Algorithm”, The 29th International Technical Conference on Circuit/Systems Computers and Communications (ITC-CSCC), Phuket, Thailand, 2014. [30] Roberto A., Cosimo B., Eugenio S., and Luigi T.,” Optimizing ATM Cash Management by Genetic Algorithms, “International Journal of Computer Information Systems and Industrial Management Applications, vol.4, pp. 598-608, 2012. [31] Rojas R., “Neural Networks - A Systematic Introduction”, published by Springer-Verlag, Berlin, no. 3-5, pp. 152-187, 1996. [32] Rosenblatt F., \"The perceptron: A model for information storage and organization in the brain,\" J. Psychological Review, vol. 65, pp. 386-408, 1959. [33] Schwaiger., “Evolving topologies of artificial neural networks adapted to image processing tasks”, Proc. 26th International Symposium on Remote Sensing of Environment, Vancouver, BC, pp. 71-74, 1996. [34] Seedig H., Grothmann R. and Runkler T., “Forecasting of clustered time series with recurrent neural networks and a fuzzy clustering scheme,” in Neural Networks, IJCNN 2009. Int. Joint Conf. on, pp. 2846-2853, 2009. [35] Simmy S., “Improving the back-propagation algorithm using evolutionary strategy”, IEEE Trans. Circuits and Syst., vol. 54, no. 2, 2007. [36] Simutis R., Dilijonas D., Bastina L., and Friman J., “A Flexible Neural Network for ATM Cash Demand Forecasting,” in Proc. 16th Int. Conf. on Computational intelligence, Man-Machine System and Cybernetics, Spain, pp. 162-165, 2007. [37] Simutis R., Dilijonas D., Bastina L., Friman J., and Drobinov P., “Optimization of cash management for ATM network,” Information Technology And Control, Kaunas, Technologija, vol. 36, no. 1A, pp. 117-121, 2007. [38] Snellman H. and Viren M.,: ATM networks and cash usage”, Research Discussion Papers, Bank of Finland, no.21, pp. 1-33, 2006. [39] Srinivas M. and Patnaik L. M., “Genetic algorithms: a survey,” IEEE Trans. Comput., vol. 27, no. 6, pp. 17-26, 1994. [40] Teddy S. D. and Ng S. K., “Forecasting ATM Cash Demands Using a Local Learning Model of Cerebellar Associative Memory Network,” International Journal of Forecasting, vol. 27, pp. 760–776, 2011. [41] Thomas B., Ulrich H. and Hans-Paul S., “Evolutionary computation: Comments on the history and current state,” IEEE Trans. Evol. Comput., vol. l, no. l, pp. 3-17, 1997. [42] VanderNoot T. J. and Abrahams I., \"The use of genetic algorithms in the non-linear regression of immittance data\", J. Electro Analytical Chemistry, vol. 448, no. 1, pp. 17-23, 1998. [43] Wagner M., “Forecasting Daily Demand in Cash Supply Chains,” American Journal of Economics and Business Administration, vol. 2, no.4, pp. 377-383, 2010. [44] Werbos P., “The roots of back propagation – from ordered derivatives to neural networks and political forecasting”, published by Wiley & Sons, New York, 1994. [45] Westland C.J., “Preference ordering cash, near cash and electronic cash. Journal of Organizational Computing and Electronic Commerce”, vol.12, no.3, pp. 223-242, 2002. [46] Widrow B. and Hoff M.E., \"Adaptive Switching Circuits\", IRE WESCON Convention Rec.: Part 4, Computers: Man-Machine Systems, pp. 96-104, 1964. [47] Xiaofeng L., “The establishment of forecasting model based on BP neural network of self-adjusted all parameters”, J. Forecasting, vol. 20, no. 3, pp. 69-71, 2001. [48] Yu T., Chen S. H., and Kuo. T. W., “Discovering financial technical trading rules using genetic programming with lambda abstraction,” in Genetic Programming Theory and Practice II, Una-May O’Reilly, Tina Yu, Rick L. Riolo, and Bill Worzel, Eds. Ann Arbor: Springer, ch. 2, pp. 11–30,2004. [49] ATMmarketplace.com, “ATM software trends and analysis,” NetWorld Alliance, Tech. Rep., 2010. [50] Alireza Fallahtafti1 · Mohammadreza Aghaaminiha2· Sara Akbarghanadian · Gary R. Weckman3, Forecasting ATM Cash Demand Before and During the COVID 19 Pandemic Using an Extensive Evaluation of Statistical and Machine Learning Models, SN Computer Science (2022) 3:164 [51] Sarveswararao Vangala, Ravi Vadlamani, “ATM Cash demand forecasting in an Indian Bank with chaos and deep learning”, Expert Systems with Applications. 211 (2023) 118645 [52] Venkatesh Kamini 1 Vadlamani Ravi 2 Anita Prinzie3 Dirk Van den Poel4 (2013), “Cash Demand Forecasting in ATMs by Clustering and Neural Networks”, FACULTEIT ECONOMIE EN BEDRIJFSKUNDE, Universiteit GENT.
Copyright © 2024 Farida Khanam, Ravinder Pal Singh. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET59083
Publish Date : 2024-03-17
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here