Performance Comparison of Long Short-Term Memory and Convolutional Neural Network for Prediction of Exchange Rate of Indian Rupee against US Dollar

(1) * Kovat Rai Mail (Birla Institute of Technology and Science, India)
(2) Amit Vijayan Mail (Birla Institute of Technology and Science, India)
*corresponding author

Abstract


This study compares the effectiveness of Long Short-Term Memory (LSTM) and Convolutional Neural Network (CNN) models in predicting the exchange rate of the Indian Rupee (INR) against the United States Dollar (USD). Using historical data from 2017 to 2023 obtained from Yahoo Finance, both models were trained and evaluated based on several performance metrics including Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), coefficient of determination (R²), and accuracy. The results showed that the hybrid LSTM model consistently outperformed the CNN model on all evaluation metrics, with a Test RMSE value of 0.38 compared to 1.32 for CNN. The LSTM model also showed better stability between training and testing performance, indicating better generalization ability and lower risk of overfitting. These findings confirm the superiority of the LSTM architecture in capturing the complex temporal patterns inherent in financial time series data, making it a more reliable option for currency exchange rate prediction.

   

DOI

https://doi.org/10.33292/ijarlit.v3i1.41
      

Article metrics

10.33292/ijarlit.v3i1.41 Abstract views : 184 | PDF views : 59

   

Cite

   

Full Text

Download

References


F. Shen, J. Chao, and J. Zhao, "Forecasting exchange rate using deep belief networks and conjugate gradient method," Neurocomputing, vol. 167, pp. 243-253, 2015.

S. Galeshchuk and S. Mukherjee, "Deep networks for predicting direction of change in foreign exchange rates," Intell. Syst. Accounting, Financ. Manag., vol. 24, no. 4, pp. 100-110, 2017.

M. Kumar and M. Thenmozhi, "Forecasting stock index returns using ARIMA-SVM, ARIMA-ANN, and ARIMA-random forest hybrid models," Int. J. Banking, Account. Financ., vol. 5, no. 3, pp. 284-308, 2014.

T. Fischer and C. Krauss, "Deep learning with long short-term memory networks for financial market predictions," Eur. J. Oper. Res., vol. 270, no. 2, pp. 654-669, 2018.

O. B. Sezer, M. U. Gudelek, and A. M. Ozbayoglu, "Financial time series forecasting with deep learning: A systematic literature review: 2005-2019," Appl. Soft Comput., vol. 90, p. 106181, 2020.

S. Hochreiter and J. Schmidhuber, "Long short-term memory," Neural Comput., vol. 9, no. 8, pp. 1735-1780, 1997.

S. Siami-Namini, N. Tavakoli, and A. S. Namin, "A comparison of ARIMA and LSTM in forecasting time series," in 2018 17th IEEE international conference on machine learning and applications (ICMLA), 2018, pp. 1394-1401.

S. Bouktif, A. Fiaz, A. Ouni, and M. A. Serhani, "Optimal Deep Learning LSTM Model for Electric Load Forecasting Using Feature Selection and Genetic Algorithm: Comparison With Machine Learning Approaches†," Energies, vol. 11, no. 7, p. 1636, 2018, doi: 10.3390/en11071636.

H. Sood, D. Narula, and P. S. Rana, "Forecasting Ozone Concentration Data: Arima v/S LSTM," Int. J. Eng. Appl. Sci. Technol., vol. 04, no. 04, pp. 378-382, 2019, doi: 10.33564/ijeast.2019.v04i04.060.

S. Zaheer et al., "A Multi Parameter Forecasting for Stock Time Series Data Using LSTM and Deep Learning Model," Mathematics, vol. 11, no. 3, p. 590, 2023, doi: 10.3390/math11030590.

D. C. Y?ld?r?m, ?. H. Toroslu, and U. Fiore, "Forecasting Directional Movement of Forex Data Using LSTM With Technical and Macroeconomic Indicators," Financ. Innov., vol. 7, no. 1, 2021, doi: 10.1186/s40854-020-00220-2.

E. A. Rashed and A. Hirata, "One-Year Lesson: Machine Learning Prediction of COVID-19 Positive Cases With Meteorological Data and Mobility Estimate in Japan," Int. J. Environ. Res. Public Health, vol. 18, no. 11, p. 5736, 2021, doi: 10.3390/ijerph18115736.

A. W. Li and G. S. Bastos, "Stock Market Forecasting Using Deep Learning and Technical Analysis: A Systematic Review," IEEE Access, vol. 8, pp. 185232-185242, 2020, doi: 10.1109/ACCESS.2020.3030226.

A. Pranolo, Y. Mao, A. P. Wibawa, A. B. P. Utama, and F. A. Dwiyanto, "Robust LSTM With Tuned-PSO and Bifold-Attention Mechanism for Analyzing Multivariate Time-Series," IEEE Access, vol. 10, no. July, pp. 78423-78434, 2022, doi: 10.1109/ACCESS.2022.3193643.

A. Sagheer and M. Kotb, "Unsupervised Pre-Training of a Deep LSTM-based Stacked Autoencoder for Multivariate Time Series Forecasting Problems," Sci. Rep., vol. 9, no. 1, 2019, doi: 10.1038/s41598-019-55320-6.

A. Borovykh, S. Bohte, and C. W. Oosterlee, "Conditional time series forecasting with convolutional neural networks," arXiv Prepr. arXiv1703.04691., 2017.

Z.-Q. Zhao, P. Zheng, S. Xu, and X. Wu, "Object detection with deep learning: A review," IEEE Trans. neural networks Learn. Syst., vol. 30, no. 11, pp. 3212-3232, 2019.

Z. Hao, D. Niu, M. Yu, K. Wang, Y. Liang, and X. Xu, "A Hybrid Deep Learning Model and Comparison for Wind Power Forecasting Considering Temporal-Spatial Feature Extraction," Sustainability, vol. 12, no. 22, p. 9490, 2020, doi: 10.3390/su12229490.

K. Zhang, G. Zhong, J. Dong, S. Wang, and Y. Wang, "Stock market prediction based on generative adversarial network," Procedia Comput. Sci., vol. 147, pp. 400-406, 2019.

N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, "Dropout: A simple way to prevent neural networks from overfitting," J. Mach. Learn. Res., vol. 15, no. 1, pp. 1929-1958, 2014.

I. E. Livieris, E. Pintelas, and P. Pintelas, "A CNN-LSTM model for gold price time-series forecasting," Neural Comput. Appl., vol. 32, pp. 17351-17360, 2020.


Refbacks

  • There are currently no refbacks.


View My Stats IJARLIT