mlsanityData to 14 Oct 2026

Transformers versus LSTMs for electronic trading

arXiv 2309.11400 ↗First posted 20 Sep 2023q-fin.TR cs.LG econ.EMcited by 4

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 25 of its 64 references that are in the map. First posted on arXiv 20 Sep 2023.

Builds on

25 of 64 references.

References · 25

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  5. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  6. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  7. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,676
  8. 2020Reformer: The Efficient Transformercited by 1,668
  9. 2022Are Transformers Effective for Time Series Forecasting?cited by 1,424
  10. 2022FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecastingcited by 1,210
  11. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
  12. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 607
13 more
  1. 2013Generating Sequences With Recurrent Neural Networkscited by 554
  2. 2022Transformers in Time Series: A Surveycited by 497
  3. 2019A Comparative Study on Transformer vs RNN in Speech Applicationscited by 211
  4. 2018Universal features of price formation in financial markets: perspectives from Deep Learningcited by 60
  5. 2016Neural Speech Recognizer: Acoustic-to-Word LSTM Model for Large Vocabulary Speech Recognitioncited by 33
  6. 2018Using Deep Learning for price prediction by exploiting stationary limit order book featurescited by 27
  7. 2018A Comparison of Transformer and Recurrent Neural Networks on Multilingual Neural Machine Translationcited by 23
  8. 2019Fast Multi-language LSTM-based Online Handwriting Recognitioncited by 22
  9. 2019A Comparative Analysis of Forecasting Financial Time Series Using ARIMA, LSTM, and BiLSTMcited by 13
  10. 2021Stock price prediction using BERT and GANcited by 11
  11. 2021Multi-Horizon Forecasting for Limit Order Books: Novel Deep Learning Approaches and Hardware Acceleration using Intelligent Processing Unitscited by 10
  12. 2019Financial series prediction using Attention LSTMcited by 7
  13. 2023Exploring the Advantages of Transformers for High-Frequency Tradingcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 1.

4 papers.