paper-with-me

Papers

Transformers versus LSTMs for electronic trading

2023-09-20 · SSRN 2023 9 · Paul Bilokon, Yitao Qiu

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.

📄 PDF Abstract BibTeX arXiv:2309.11400

Code (1)

772435284/transformers_versus_lstms_for_electronic_trading 공식 구현 pytorch

Tasks

PredictionTime SeriesTime Series ForecastingTime Series Prediction

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Position-Wise Feed-Forward Layer 설명 없음
Sigmoid Activation 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Tanh Activation 설명 없음

Similar Papers 제목 키워드 기반

VLSTM: Very Long Short-Term Memory Networks for High-Frequency Trading

2018-09-05 · Prakhar Ganesh, Puneet Rakheja

Financial trading is at the forefront of time-series analysis, and has grown hand-in-hand with it. The advent of electronic trading has allowed complex machine learning solutions to enter the field of financial trading. …

Time SeriesTime Series AnalysisTime Series ForecastingVocal Bursts Intensity Prediction

Fusing Memory and Attention: A study on LSTM, Transformer and Hybrid Architectures for Symbolic Music Generation

2026-03-22 · Soudeep Ghoshal, Sandipan Chakraborty, Pradipto Chowdhury, Himanshu Buckchash arxiv

Machine learning techniques, such as Transformers and Long Short-Term Memory (LSTM) networks, play a crucial role in Symbolic Music Generation (SMG). Existing literature indicates a difference between LSTMs and Transform…

Music Generation

Quantum vs. Classical Machine Learning: A Benchmark Study for Financial Prediction

2026-01-07 · Rehan Ahmad, Muhammad Kashif, Nouhaila Innan, Muhammad Shafique arxiv

In this paper, we present a reproducible benchmarking framework that systematically compares QML models with architecture-matched classical counterparts across three financial tasks: (i) directional return prediction on …

David vs. Goliath in Next Activity Prediction: Argmax vs. LSTM, Transformer, and LLM

2026-06-14 · Hans Weytjens, Ingo Weber arxiv

Next activity prediction (NAP) is a cornerstone of predictive process monitoring (PPM), enabling organizations to move from retrospective analysis to proactive process steering. The PPM field has progressed from classica…

Activity Prediction

Learning the grammar of drug prescription: recurrent neural network grammars for medication information extraction in clinical texts

2020-04-24 · Ivan Lerner, Jordan Jouffroy, Anita Burgun, Antoine Neuraz

In this study, we evaluated the RNNG, a neural top-down transition based parser, for medication information extraction in clinical texts. We evaluated this model on a French clinical corpus. The task was to extract the n…

Event DetectionInductive Bias