Skip to main navigation menu Skip to main content Skip to site footer

Articles

Vol. 60 No. 3 (2026)

A System-Dynamics-Inspired Transformer for Realized-Volatility Forecasting in Foreign-Exchange Markets

DOI:
https://doi.org/10.24818/18423264/60.3.26.12
Submitted
October 24, 2026

Abstract

Forecasting foreign-exchange (FX) return volatility matters for risk management, option pricing, and position sizing, yet deep-learning gains often vanish under realistic, cost- aware evaluation. We propose the SD -Transformer, coupling a Transforme r encoder to a differentiable, system-dynamics-inspired stock-flow cell (SDCell) that predicts a residual on a per-fold Heterogeneous Autoregressive (HAR) anchor. Evaluation is leakage -safe, multi- seed, and cost-aware, using an expanding walk-forward design with formal predictive tests. Across eleven FX pairs (2011 -2025), the model attains the lowest pooled QLIKE among random-walk, EWMA, GARCH, HAR, SHAR, and LightGBM benchmarks, is Diebold - Mariano-significant against HAR in every fold at the one-day horizon, and is the sole member of a 90% Model Confidence Set. These daily gains are statistically robust but numerically small; the economically large effect emerges at four -hour frequency, where the model outperforms HAR by 16 to 21 R -squared points. Ablations show the stock -flow core significantly outperforms matched GRU, PatchTST, Neural -ODE, and core -free Transformer alternatives at one day. We also document a label -accuracy illusion, whereby smoothed labels inflate apparent directional accuracy without real trading skill, and apply a uniform, validation-fitted QLIKE calibration across all models.

References

  1. [1] Bailey, D.H., Lopez de Prado, M. (2014), The deflated Sharpe ratio: Correcting for selection bias, backtest overfitting, and non -normality. Journal of Portfolio Management, 40(5), 94-107.
  2. [2] Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., Bengio, Y. (2014), Learning phrase representations using RNN encoder -decoder for statistical machine translation . In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar, October 2 014, Association for Computational Linguistics, Stroudsburg, PA, USA, 1724 -1734, https://doi.org/10.3115/v1/D14-1179.
  3. [3] Corsi, F. (2009), A simple approximate long -memory model of realized volatility . Journal of Financial Econometrics, 7(2), 174-196.
  4. [4] Della Corte, P., Ramadorai, T., Sarno, L. (2016), Volatility risk premia and exchange rate predictability. Journal of Financial Economics, 120(1), 21-40.
  5. [5] Della Corte, P., Sarno, L., Tsiakas, I. (20 11), Spot and forward volatility in foreign exchange. Journal of Financial Economics, 100(3), 496-513.
  6. [6] Diebold, F.X., Mariano, R.S. (1995), Comparing predictive accuracy . Journal of Business & Economic Statistics, 13(3), 253-263.
  7. [7] Doğanlar, M., Mike , F., Kızılkaya, O., Akyıldız, İ.E. (2025), How Geopolitical Risks Influence Real Exchange Rate Dynamics in Türkiye? Evidence from Fourier Cointegration Test with Non -Normal Errors . Economic Computation and Economic Cybernetics Studies and Research, 59(3), 238-253.
  8. [8] El Mahjouby, M., Bennani, M.T., Lamrini, M., El Far, M., Bossoufi, B., Alghamdi, T. A.H. (2024), Machine learning algorithms for forecasting and categorizing euro -to- dollar exchange rates. IEEE Access, 12.
  9. [9] Ferrara, M., Ciano, T. (2024), Improving the Interpretability of Asset Pricing Models by Explainable AI: A Machine Learning-based Approach. Economic Computation and Economic Cybernetics Studies and Research, 58(4), 5-19.
  10. [10] Fischer, T., Sterling, M., Lessmann, S. (2024), FX-spot predictions with state -of-the- art transformer and time embeddings. Expert Systems with Applications, 249, 123538.
  11. [11] Fisichella, M., Garolla, F. (2021), Can deep learning improve technical analysis of forex data to predict future price movements?. IEEE Access, 9, 153083-153101.
  12. [12] Forrester, J.W. (1961), Industrial Dynamics. MIT Press, Cambridge, MA, USA.
  13. [13] Friday, I.K., Pati, S.P., Mishra, D. (2025), A multi -modal approach using a hybrid Vision Transformer and Temporal Fusion Transformer model for stock price movement classification. IEEE Access, 13.
  14. [14] Ge, W., Lalbakhsh, P., Isai, L., Lenskiy, A., Suominen, H. (2023), Comparing deep learning models for the task of volatility prediction using multivariate data , arXiv preprint, arXiv:2306.12446, https://arxiv.org/abs/2306.12446.
  15. [15] Giacomini, R., White, H. (2006), Tests of conditional predictive ability. Econometrica, 74(6), 1545-1578. Nima Heidari, Saeed Mirzamohammadi, Babak Amiri
  16. [16] Han, Y., Huang, D., Huang, R., Zhou, G. (2026), Daily market return prediction with Transformer. SSRN Working Paper No. 6835039 , https://doi.org/10.2139/ ssrn.6835039.
  17. [17] Hansen, P.R., Lunde, A., Nason, J.M. (2011), The model confidence set. Econometrica, 79(2), 453-497.
  18. [18] Hernandez-Aguila, A., Garcia-Valdez, M., Merelo-Guervos, J.-J., Castañón-Puga, M., Castillo Lopez, O. (2021), Using fuzzy inference systems for the creation of forex market predictive models. IEEE Access, 9, 69391-69404.
  19. [19] Hochreiter, S., Schmidhuber, J. (1997), Long short-term memory. Neural Computation, 9(8), 1735-1780.
  20. [20] Hu, Z., Zhao, Y., Khushi, M. (2021), A survey of forex and stock price prediction using deep learning. Applied System Innovation, 4(1), 9.
  21. [21] Hurduzeu, G., Lupu, R., Lupu, I., Filip, R.I. (2024), Evolving Economic Relationships: A TVP -VAR Analysis of Trade, World Uncertainty, and Stock Market Volatility in Europe. Economic Computation and Economic Cybernetics Studies and Research , 58(4), 20-41.
  22. [22] Jung, G., Cho i, S. -Y. (2021), Forecasting foreign exchange volatility using deep learning autoencoder-LSTM techniques. Complexity, 2021, 6647534.
  23. [23] Kausar, R., Iqbal, F., Raziq, A., Sheikh, N., Rehman, A. (2024), Enhanced foreign exchange volatility forecasting using CEEMDAN with Optuna -optimized ensemble deep learning model . Sains Malaysiana , 53(9), 3229 -3239, https://doi.org/10.17576/ jsm-2024-5309-25.
  24. [24] Liao, S., Chen, J., Ni, H. (2021), Forex trading volatil ity prediction using neural network models, arXiv preprint, arXiv:2112.01166, https://arxiv.org/abs/2112.01166.
  25. [25] Lim, B., Arık, S.Ö., Loeff, N., Pfister, T. (2021), Temporal Fusion Transformers for interpretable multi -horizon time series forecasting . International Journal of Forecasting, 37(4), 1748-1764.
  26. [26] Liu, D., Ślepaczuk, R., Tang, Z. (2025), EXFormer: A multi -scale trend -aware Transformer with dynamic variable selection for foreign exchange returns prediction, arXiv preprint, arXiv:2512.12727, https://arxiv.org/abs/2512.12727.
  27. [27] Menkhoff, L., Sarno, L., Schmeling, M., Schrimpf, A. (2012), Carry trades and global foreign exchange volatility. Journal of Finance, 67(2), 681-718.
  28. [28] Michańkow, Z., Sakowski, P., Ślepaczuk, R. (2024), LSTM-GARCH hybrid model for the prediction of volatility. Computational Economics, 63, 1511-1542.
  29. [29] Naas, M.-N., Zouaoui, H. (2024), Forecasting foreign exchange rate volatility using deep learning: Case of US dollar/Algerian dinar during the COVID -19 pandemic . Research Papers in Economics and Finance, 8(1), 91-114.
  30. [30] Nie, Y., Nguyen, N.H., Sinthong, P., Kalagnanam, J. (2023), A time series is worth 64 words: L ong-term forecasting with Transformers . In Proceedings of the 11th International Conference on Learning Representations (ICLR), Kigali, Rwanda, 1 -5 May 2023, https://arxiv.org/abs/2211.14730.
  31. [31] Park, S., Moon, K. -S., Kim, H. (2025), Asian Option Pricing Using the Physics - Informed Neural Networks Method. Economic Computation and Economic Cybernetics Studies and Research, 59(1), 5-20. A System-Dynamics-Inspired Transformer for Realized-Volatility Forecasting in …
  32. [32] Patton, A.J. (2011), Volatility forecast comparison using i mperfect volatility proxies . Journal of Econometrics, 160(1), 246-256.
  33. [33] Pesaran, M.H., Timmermann, A. (1992), A simple nonparametric test of predictive performance. Journal of Business & Economic Statistics, 10(4), 461-465.
  34. [34] Pornwattanavichai, A., Maneeroj, S., Boonsiri, S. (2022), BERTFOREX: Cascading model for forex market forecasting using fundamental and technical indicator data based on BERT. IEEE Access, 10, 23425-23438.
  35. [35] Sari-Hassoun, S., Boudjourfa, N., Mekidiche, M. (2025), Forecasting the Weekly Spot Oil Price Using a Hybrid Model ARMA -GARCH-MLP and Prophet Forecasting Method. Economic Computation and Economic Cybernetics Studies and Research , 59(1), 156-173.
  36. [36] Sterman, J.D. (2000), Business Dynamics: Systems Thinking and Modeling fo r a Complex World. Irwin/McGraw-Hill, Boston, MA, USA.
  37. [37] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., Polosukhin, I. (2017), Attention is all you need . In Advances in Neural Information Processing Systems 30 (NeurIPS 2017), Curran Associates, Red Hook, NY, USA, 5998- 6008, https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a 845aa-Abstract.html.
  38. [38] Wu, H., Xu, J., Wang, J., Long , M. (2021), Autoformer: Decomposition Transformers with auto -correlation for long -term series forecasting . I n Advances in Neural Information Processing Systems 34 (NeurIPS 2021). Curran Associates, Red Hook, NY, USA, 22419 -22430, https://proceedings.neurips.cc/paper/2021/hash/bcc0d40028 8793e8bdcd7c19a8ac0c2b-Abstract.html.
  39. [39] Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., Zhang, W. (2021), Informer: Beyond efficient Transformer for long sequence time-series forecasting. In Proceedings of the 35th AAAI Conference on Artificial Intelligence , AAAI Press, Palo Alto, CA, USA, 35(12), 11106-11115, https://doi.org/10.1609/aaai.v35i12.17325.

Similar Articles

1-10 of 1796

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)