IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2509.10542.html
   My bibliography  Save this paper

Adaptive Temporal Fusion Transformers for Cryptocurrency Price Prediction

Author

Listed:
  • Arash Peik
  • Mohammad Ali Zare Chahooki
  • Amin Milani Fard
  • Mehdi Agha Sarram

Abstract

Precise short-term price prediction in the highly volatile cryptocurrency market is critical for informed trading strategies. Although Temporal Fusion Transformers (TFTs) have shown potential, their direct use often struggles in the face of the market's non-stationary nature and extreme volatility. This paper introduces an adaptive TFT modeling approach leveraging dynamic subseries lengths and pattern-based categorization to enhance short-term forecasting. We propose a novel segmentation method where subseries end at relative maxima, identified when the price increase from the preceding minimum surpasses a threshold, thus capturing significant upward movements, which act as key markers for the end of a growth phase, while potentially filtering the noise. Crucially, the fixed-length pattern ending each subseries determines the category assigned to the subsequent variable-length subseries, grouping typical market responses that follow similar preceding conditions. A distinct TFT model trained for each category is specialized in predicting the evolution of these subsequent subseries based on their initial steps after the preceding peak. Experimental results on ETH-USDT 10-minute data over a two-month test period demonstrate that our adaptive approach significantly outperforms baseline fixed-length TFT and LSTM models in prediction accuracy and simulated trading profitability. Our combination of adaptive segmentation and pattern-conditioned forecasting enables more robust and responsive cryptocurrency price prediction.

Suggested Citation

  • Arash Peik & Mohammad Ali Zare Chahooki & Amin Milani Fard & Mehdi Agha Sarram, 2025. "Adaptive Temporal Fusion Transformers for Cryptocurrency Price Prediction," Papers 2509.10542, arXiv.org.
  • Handle: RePEc:arx:papers:2509.10542
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2509.10542
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Yhlas Sovbetov, 2018. "Factors Influencing Cryptocurrency Prices: Evidence from Bitcoin, Ethereum, Dash, Litcoin, and Monero," Journal of Economics and Financial Analysis, Tripal Publishing House, vol. 2(2), pages 1-27.
    2. Erdinc Akyildirim & Oguzhan Cepni & Shaen Corbet & Gazi Salah Uddin, 2023. "Forecasting mid-price movement of Bitcoin futures using machine learning," Annals of Operations Research, Springer, vol. 330(1), pages 553-584, November.
    3. Bouteska, Ahmed & Abedin, Mohammad Zoynul & Hajek, Petr & Yuan, Kunpeng, 2024. "Cryptocurrency price forecasting – A comparative analysis of ensemble learning and deep learning methods," International Review of Financial Analysis, Elsevier, vol. 92(C).
    4. Eduardo Ramos-P'erez & Pablo J. Alonso-Gonz'alez & Jos'e Javier N'u~nez-Vel'azquez, 2021. "Multi-Transformer: A New Neural Network-Based Architecture for Forecasting S&P Volatility," Papers 2109.12621, arXiv.org.
    5. Cai, Jun, 1994. "A Markov Model of Switching-Regime ARCH," Journal of Business & Economic Statistics, American Statistical Association, vol. 12(3), pages 309-316, July.
    6. Chuen Yik Kang & Chin Poo Lee & Kian Ming Lim, 2022. "Cryptocurrency Price Prediction with Convolutional Neural Network and Stacked Gated Recurrent Unit," Data, MDPI, vol. 7(11), pages 1-13, October.
    7. Lim, Bryan & Arık, Sercan Ö. & Loeff, Nicolas & Pfister, Tomas, 2021. "Temporal Fusion Transformers for interpretable multi-horizon time series forecasting," International Journal of Forecasting, Elsevier, vol. 37(4), pages 1748-1764.
    8. Marco Bazzi & Francisco Blasques & Siem Jan Koopman & Andre Lucas, 2017. "Time-Varying Transition Probabilities for Markov Regime Switching Models," Journal of Time Series Analysis, Wiley Blackwell, vol. 38(3), pages 458-478, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Arash Peik & Mohammad Ali Zare Chahooki & Amin Milani Fard & Mehdi Agha Sarram, 2024. "Leveraging Time Series Categorization and Temporal Fusion Transformers to Improve Cryptocurrency Price Forecasting," Papers 2412.14529, arXiv.org.
    2. Dominik Stempie'n & Janusz Gajda, 2025. "Comparative analysis of financial data differentiation techniques using LSTM neural network," Papers 2505.19243, arXiv.org.
    3. Dominik Stempie'n & Robert 'Slepaczuk, 2025. "Hybrid Models for Financial Forecasting: Combining Econometric, Machine Learning, and Deep Learning Models," Papers 2505.19617, arXiv.org.
    4. Frederick Nsambu Kijjambu & Benjamin Musiita & Asaph Kaburura Katarangi & Geoffrey Kahangane & Sheilla Akampwera, 2023. "Determinants of Uganda’s Debt Sustainability: The Public Debt Dynamics Model in Perspective," Journal of Economics and Behavioral Studies, AMH International, vol. 15(4), pages 106-124.
    5. Hassan Heidari & Arash Refah-Kahriz & Nayyer Hashemi Berenjabadi, 2018. "Dynamic Relationship between Macroeconomic Variables and Stock Return Volatility in Tehran Stock Exchange: Multivariate MS ARMA GARCH Approach," Quarterly Journal of Applied Theories of Economics, Faculty of Economics, Management and Business, University of Tabriz, vol. 5(2), pages 223-250.
    6. Billio, Monica & Casarin, Roberto & Osuntuyi, Anthony, 2016. "Efficient Gibbs sampling for Markov switching GARCH models," Computational Statistics & Data Analysis, Elsevier, vol. 100(C), pages 37-57.
    7. Blasques, F. & Francq, Christian & Laurent, Sébastien, 2024. "Autoregressive conditional betas," Journal of Econometrics, Elsevier, vol. 238(2).
    8. Ataurima Arellano, Miguel & Rodríguez, Gabriel, 2020. "Empirical modeling of high-income and emerging stock and Forex market return volatility using Markov-switching GARCH models," The North American Journal of Economics and Finance, Elsevier, vol. 52(C).
    9. Chun-Chang Lee & Chih-Min Liang & Hsing-Jung Chou, 2013. "Identifying Taiwan real estate cycle turning points- An application of the multivariate Markov-switching autoregressive Model," Advances in Management and Applied Economics, SCIENPRESS Ltd, vol. 3(2), pages 1-1.
    10. John M. Maheu & Thomas H. McCurdy, 2002. "Nonlinear Features of Realized FX Volatility," The Review of Economics and Statistics, MIT Press, vol. 84(4), pages 668-681, November.
    11. Marie Bessec, 2019. "Revisiting the transitional dynamics of business cycle phases with mixed-frequency data," Econometric Reviews, Taylor & Francis Journals, vol. 38(7), pages 711-732, August.
    12. Raphaël Homayoun Boroumand & Stéphane Goutte & Simon Porcher & Thomas Porcher, 2014. "A Conditional Markov Regime Switching Model to Study Margins: Application to the French Fuel Retail Markets," Working Papers hal-01090837, HAL.
    13. Fédéric Holm-Hadulla & Kirstin Hubrich, 2017. "Macroeconomic Implications of Oil Price Fluctuations : A Regime-Switching Framework for the Euro Area," Finance and Economics Discussion Series 2017-063, Board of Governors of the Federal Reserve System (U.S.).
    14. Eugene Msizi Buthelezi, 2024. "Navigating Global Uncertainty: Examining the Effect of Geopolitical Risks on Cryptocurrency Prices and Volatility in a Markov-Switching Vector Autoregressive Model," International Economic Journal, Taylor & Francis Journals, vol. 38(4), pages 564-590, October.
    15. Frank, Johannes, 2023. "Forecasting realized volatility in turbulent times using temporal fusion transformers," FAU Discussion Papers in Economics 03/2023, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    16. He, Miao & Jiang, Weiwei & Gu, Weixi, 2024. "TriChronoNet: Advancing electricity price prediction with Multi-module fusion," Applied Energy, Elsevier, vol. 371(C).
    17. Shubhankar Mohapatra & Nauman Ahmed & Paulo Alencar, 2020. "KryptoOracle: A Real-Time Cryptocurrency Price Prediction Platform Using Twitter Sentiments," Papers 2003.04967, arXiv.org.
    18. Tiantian Tu, 2025. "Bridging Short- and Long-Term Dependencies: A CNN-Transformer Hybrid for Financial Time Series Forecasting," Papers 2504.19309, arXiv.org.
    19. Aloui, Chaker & Hammoudeh, Shawkat & Hamida, Hela Ben, 2015. "Price discovery and regime shift behavior in the relationship between sharia stocks and sukuk: A two-state Markov switching analysis," Pacific-Basin Finance Journal, Elsevier, vol. 34(C), pages 121-135.
    20. Lu, Xinjie & Zeng, Qing & Zhong, Juandan & Zhu, Bo, 2024. "International stock market volatility: A global tail risk sight," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 91(C).

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2509.10542. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.