Management of Exchange Rate Forecasting Through Vanilla Long Short-Term Memory Networks (LSTM) and Auto-Regressive Integrated Moving Average (ARIMA)

Authors

  • Mysarah Haslan Universiti Teknologi MARA, Cawangan Perlis, Kampus Arau
  • Nor Hayati Shafii Universiti Teknologi MARA, Cawangan Perlis, Kampus Arau
  • Diana Sirmayunie Md Nasir Universiti Teknologi MARA, Cawangan Perlis, Kampus Arau
  • Nur Fatihah Fauzi Universiti Teknologi MARA, Cawangan Perlis, Kampus Arau
  • Nor Azriani Mohamad Nor Universiti Teknologi MARA, Cawangan Perlis, Kampus Arau

Keywords:

ARIMA, exchange rate, machine learning, Time Series Predictions, Vanilla LSTM

Abstract

Predicting foreign exchange rates presents a formidable challenge within financial forecasting, given its pivotal role in influencing a country's economic trajectory. To address this challenge, numerous forecasting models are employed with the aim of anticipating future exchange rate movements. This study aims to determine the efficacy of two prominent machine learning models, namely Vanilla Long Short-Term Memory Networks (LSTM) and Auto-Regressive Integrated Moving Average (ARIMA), in forecasting the exchange rate between the Malaysian Ringgit (MYR) and the United States Dollar (USD). Employing Python's robust statistical packages for time series forecasting, both Vanilla LSTM and ARIMA models undergo rigorous training on the dataset. Leveraging Python's programming capabilities enables in-depth analysis, essential for model refinement and accuracy assessment. Upon comparing the error measures of both models, it becomes evident that the Vanilla LSTM model outperforms ARIMA, exhibiting lower Mean Squared Error (MSE) and Root Mean Squared Error (RMSE) values. Specifically, the MSE and RMSE for Vanilla LSTM stand at 0.0102 and 0.1011, respectively, surpassing ARIMA's 0.0113 and 0.1062. Thus, affirming Vanilla LSTM's superiority in exchange rate forecasting. Consequently, the study concludes that Vanilla LSTM emerges as the most accurate model for exchange rate prediction, with a projected exchange rate of RM4.22 for July 2022.

References

Au Yong, H. N., & Yeoh, B. (2020). Exchange rate, foreign direct investment, inflation and export performance in Malaysia. ACM International Conference Proceeding Series. https://doi.org/10.1145/3440094.3440382

Bora, (2021). Understanding Arima models for machine learning. Capital One. https://www.capitalone.com/tech/machine-learning/understanding-arima-models/

Chen, Z. (2022). Asset Allocation Strategy with Monte-Carlo Simulation for Forecasting Stock Price by ARIMA Model. ACM International Conference Proceeding Series, 481–485. https://doi.org/10.1145/3514262.3514331

Fischer, T., & Krauss, C. (2017). Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research. https://www.sciencedirect.com/science/article/abs/pii/S0377221717310652

Gavirangaswamy, V. B., Gupta, G., Gupta, A., & Agrawal, R. (2013). Assessment of ARIMA-based prediction techniques for road-traffic volume. Proceedings of the 5th International Conference on Management of Emergent Digital EcoSystems, MEDES 2013, 246–251. https://doi.org/10.1145/2536146.2536176

Kumar, S. A., Ravindra, H. V., & Srinivasa, Y. G. (1997). In-process tool wear monitoring through time series modelling and pattern recognition. Taylor & Francis. Retrieved January 25, 2023, from https://www.tandfonline.com/doi/abs/10.1080/002075497195687

Meyler, Aidan, Kenny, Geoff, Quinn, & Terry. (1998). Munich Personal RePEc Archive Forecasting Irish inflation using ARIMA models. Munich Personal RePEc Archive, 11359, 1–8.

Nakhat, K., Khalique, F., & Khan, S. A. (2020). Disease predictive modelling for healthcare management system. ACM International Conference Proceeding Series, 37–44. https://doi.org/10.1145/3418094.3418134

Pettis, M. (2022). Changing the top global currency means changing the patterns of Global Trade. Carnegie Endowment for International Peace. Retrieved from https://carnegieendowment.org/chinafinancialmarkets/86878

Quadry, M. O., Mohamad, A., & Yusof, Y. (2017). On the Malaysian Ringgit Exchange Rate Determination and Recent Depreciation. International Journal of Economics, Management and Accounting, 25(1), 1–26.

Salim, S., & Chong, J. H. (2022). Ringgit weakens past 4.4 against US dollar for first time since pandemic onset. The Edge Markets. https://www.theedgemarkets.com/article/ringgit-weakens-past-44-against-us-dollar-first-time-2017

Van Houdt, G., Mosquera, C., & Nápoles, G. (2020). A review on the long short-term memory model. Artificial Intelligence Review, 53(8), 5929–5955. https://doi.org/10.1007/s10462-020-09838-1

Zhang, Z., Zhou, G., Lu, J., & Liao, X. (2018). Research on tool wear prediction based on LSTM and ARIMA. ACM International Conference Proceeding Series, 73–77. https://doi.org/10.1145/3297730.3297732.

Downloads

Published

2025-08-04