Can Transformers Transform Financial Forecasting?

Hugo Gobato Souto,Amir Moradi
DOI: https://doi.org/10.2139/ssrn.4718033
2024-01-01
SSRN Electronic Journal
Abstract:This research evaluates Transformer-based models in financial forecasting, a field where precision and market understanding are critical. Prompted by Zeng et al. (2023), the study contrasts various Transformer models, including Temporal Fusion Transformer, Informer, Autoformer, and PatchTST, against established benchmarks in predicting stock realized volatility. The investigation reveals that while first-generation Transformer models underperform, their successors excel, especially in scenarios with limited data and volatile markets. The empirical analysis showcases the strengths of second-generation Transformers in short-term and long-term forecasting. This study challenges existing skepticism about Transformer models in financial forecasting, suggesting their potential when applied appropriately to different market conditions. It opens avenues for future research integrating Transformer models with traditional financial theories for enhanced predictive capabilities in financial markets.
What problem does this paper attempt to address?