Skip to main content
QUICK REVIEW

[Paper Review] Multi-Horizon Forecasting for Limit Order Books: Novel Deep Learning Approaches and Hardware Acceleration using Intelligent Processing Units

Zihao Zhang, Stefan Zohren|arXiv (Cornell University)|May 21, 2021
Stock Market Forecasting MethodsDecision Sciences18 citations
TL;DR

This paper proposes a novel multi-horizon forecasting framework for limit order book (LOB) data using deep learning-based encoder-decoder architectures with attention mechanisms. It demonstrates superior long-horizon prediction performance over state-of-the-art models and achieves up to 6.7x faster training times using Intelligent Processing Units (IPUs) compared to GPUs, enabling efficient deployment for high-frequency trading applications.

ABSTRACT

We design multi-horizon forecasting models for limit order book (LOB) data by using deep learning techniques. Unlike standard structures where a single prediction is made, we adopt encoder-decoder models with sequence-to-sequence and Attention mechanisms to generate a forecasting path. Our methods achieve comparable performance to state-of-art algorithms at short prediction horizons. Importantly, they outperform when generating predictions over long horizons by leveraging the multi-horizon setup. Given that encoder-decoder models rely on recurrent neural layers, they generally suffer from slow training processes. To remedy this, we experiment with utilising novel hardware, so-called Intelligent Processing Units (IPUs) produced by Graphcore. IPUs are specifically designed for machine intelligence workload with the aim to speed up the computation process. We show that in our setup this leads to significantly faster training times when compared to training models with GPUs.

Motivation & Objective

  • To address the limitation of single-point prediction in high-frequency LOB forecasting by enabling multi-horizon path prediction.
  • To improve long-horizon predictive performance by leveraging autoregressive decoding in sequence-to-sequence models.
  • To overcome the slow training of recurrent encoder-decoder models through hardware acceleration using Intelligent Processing Units (IPUs).
  • To benchmark the computational efficiency of IPUs versus GPUs for training deep learning models on LOB data.
  • To explore the feasibility of deploying such models in low-latency, high-frequency trading environments.

Proposed method

  • Adapts sequence-to-sequence (Seq2Seq) and self-attention mechanisms to generate multi-step forecasts from LOB data.
  • Uses an encoder to extract temporal features from raw LOB sequences and a decoder to autoregressively predict future price movements.
  • Modifies the DeepLOB architecture to output a forecasting path across multiple time horizons instead of a single point estimate.
  • Employs an autoregressive structure where each prediction step uses the previous output as input, improving long-horizon consistency.
  • Utilizes Graphcore's Intelligent Processing Units (IPUs) to accelerate training, leveraging their massively parallel design for machine learning workloads.
  • Conducts comparative training benchmarks between IPU and GPU (NVIDIA RTX 2080) across multiple network architectures on FI-2010 and LSE LOB datasets.

Experimental results

Research questions

  • RQ1Can attention-based encoder-decoder models outperform single-step forecasting models in multi-horizon LOB prediction?
  • RQ2Does the autoregressive structure of Seq2Seq models improve long-horizon predictive accuracy compared to single-point estimators?
  • RQ3Can IPUs significantly accelerate the training of complex recurrent neural networks used in LOB forecasting compared to GPUs?
  • RQ4How does the performance of the proposed multi-horizon model compare to state-of-the-art models on standard LOB benchmarks?
  • RQ5What is the computational efficiency gain of using IPUs over GPUs when training deep learning models on high-frequency LOB data?

Key findings

  • The proposed DeepLOB-Attention model achieves 65.51% F1 score at prediction horizon k=20, outperforming the baseline DeepLOB model (64.83% F1) on the FI-2010 dataset.
  • At k=100, the model maintains a 60.00% F1 score, demonstrating robustness in long-horizon forecasting, with a 0.26% improvement over the baseline.
  • IPUs reduce average training time per epoch by up to 85% compared to GPUs, with the IPU achieving 33 seconds per epoch for DeepLOB-Attention versus 270 seconds on GPU.
  • The IPU achieves a 6.7x speedup for the largest model (DeepLOB-Attention), reducing training time from 270s to 33s per epoch.
  • The multi-horizon setup enables a single network to generate forecasting paths, avoiding error accumulation from sequential single-step predictions.
  • Transfer learning experiments show consistent performance gains, with the DeepLOB-Attention model achieving 65.51% F1 at k=20 across all tested instruments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.