EconBase
← All papers

Transformers versus LSTMs for electronic trading

Paul Bilokon, Yitao Qiu

arXiv 20 Sep 2023 · Finance — Trading · 31 citations (OpenAlex)

arXiv:2309.11400 · PDF · DOI · OpenAlex · Extracted main text

Abstract

With the rapid development of artificial intelligence, long short term memory (LSTM), one kind of recurrent neural network (RNN), has been widely applied in time series prediction. Like RNN, Transformer is designed to handle the sequential data. As Transformer achieved great success in Natural Language Processing (NLP), researchers got interested in Transformer's performance on time series prediction, and plenty of Transformer-based solutions on long time series forecasting have come out recently. However, when it comes to financial time series prediction, LSTM is still a dominant architecture. Therefore, the question this study wants to answer is: whether the Transformer-based model can be applied in financial time series prediction and beat LSTM. To answer this question, various LSTM-based and Transformer-based models are compared on multiple financial prediction tasks based on high-frequency limit order book data. A new LSTM-based model called DLSTM is built and new architecture for the Transformer-based model is designed to adapt for financial prediction. The experiment result reflects that the Transformer-based model only has the limited advantage in absolute price sequence prediction. The LSTM-based models show better and more robust performance on difference sequence prediction, such as price difference and price movement.

Citation extraction

63
references
182
in-text mentions
63
distinct cited
2
self-citations
14,434
main-text words

appendix boundary found by appendix_command · 99% of the source is main text. Read the extracted text to check this.

Most heavily cited references

The works this paper leans on most, across its whole bibliography — not restricted to papers in our corpus. Ranked by composite intensity, which combines how often a work is mentioned, how many sections mention it, and how much of that falls in the main text rather than the appendix.

ReferenceIntensityMentionsSectionsMain text
1Zihao Zhang, Stefan Zohren, and Stephen Roberts (2019) DeepLOB: Deep convolutional neural networks for limit order books1.000155100%
2Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long (2021) Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting, 20211.000154100%
3Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin (2022) Fedformer: Frequency enhanced decomposed transformer for long-term series forecasting, 2022a1.000134100%
4Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hu… (2012) Informer: Beyond efficient transformer for long sequence time-series forecasting, 20201.000134100%
5Zihao Zhang and Stefan Zohren (2021) Multi-horizon forecasting for limit order books: Novel deep learning approaches and hardware acceleration using intelligent proc…1.000124100%
6Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jo… Attention is all you need1.000103100%
7Nikita Kitaev, Łukasz Kaiser, and Anselm Levskaya (2001) Reformer: The efficient transformer, 20201.00073100%
8Shiyang Li, Xiaoyong Jin, Yao Xuan, Xiyou Zhou, Wenhu Chen, Yu-Xiang… (1907) Enhancing the locality and breaking the memory bottleneck of transformer on time series forecasting, 20191.00064100%
9Petter N. Kolm, Jeremy D. Turiel, and Nicholas Westray (2021) Deep order flow imbalance: Extracting alpha at multiple horizons from the limit order book1.00054100%
10Shizhan Liu, Hang Yu, Cong Liao, Jianguo Li, Weiyao Lin, Alex X. Liu… (2022) Pyraformer: Low-complexity pyramidal attention for long-range time series modeling and forecasting0.92843100%

Showing the top 10 of 63 scored citations.