LOB-Bench: Benchmarking Generative AI for Finance – an Application to Limit Order Book Data


  • Peer Nagy*
  • Sascha Frey*
  • Kang Li
  • Bidipta Sarkar
  • Svitlana Vyetrenko
  • Stefan Zohren
  • Anisoara Calinescu
  • Jakob Foerster



  • ICML 2025

lobbench_img.png

Abstract

While financial data presents one of the most challenging and interesting sequence modelling tasks due to high noise, heavy tails, and strategic interactions, progress in this area has been hindered by the lack of consensus on quantitative evaluation paradigms. To address this, we present LOB-Bench, a benchmark, implemented in python, designed to evaluate the quality and realism of generative message-by-order data for limit order books (LOB) in the LOBSTER format. Our framework measures distributional differences in conditional and unconditional statistics between generated and real LOB data, supporting flexible multivariate statistical evaluation. The benchmark also includes features commonly used LOB statistics such as spread, order book volumes, order imbalance, and message inter-arrival times, along with scores from a trained discriminator network. Lastly, LOB-Bench contains "market impact metrics", i.e. the cross-correlations and price response functions for specific events in the data. We benchmark generative autoregressive state-space models, a (C)GAN, as well as a parametric LOB model and find that the autoregressive GenAI approach beats traditional model classes.

How to Use

Please refer to the benchmark readme for information on how to use along with the tutorial notebook.

Leaderboard

We evaluate models on a subsample of data from January 2023 (except for Coletta which was trained and tested on January 2019). If you would like to add your model to this leaderboard, please contact the authors via email, and provide the directory of CSVs with data_real, data_gen, and data_cond as shown in the tutorial notebook so we can reproduce your results. We highly encourage open-source development of models, and will provide links to your code or model if provided.

GOOG

Model Wasserstein (↓) L1 (↓) Link
LobS5 (3, 4) 0.16 0.14  
Baseline (2, 3) 0.29 0.36  
RWKV4 (3, 5) 0.36 0.29  
RWKV6 (3, 6) 0.45 0.31  
Coletta (1, 3) 0.54 0.48  

INTC

Model Wasserstein (↓) L1 (↓) Link
LobS5 (3, 4) 0.19 0.13  
RWKV6 (3, 6) 0.26 0.32  
Baseline (2, 3) 0.69 0.5  
RWKV4 (3, 5) 0.81 0.61  

Citation



The website template was borrowed from Jon Barron

[1] Coletta, Andrea and Jerome, Joseph and Savani, Rahul and Vyetrenko, Svitlana, Conditional Generators for Limit Order Book Environments: Explainability, Challenges, and Robustness, 2023.

[2] Cont, Rama and Stoikov, Sasha and Talreja, Rishi, A stochastic model for order book dynamics, Informs, 2010.

[3] Peer Nagy and Sascha Frey and Kang Li and Bidipta Sarkar and Svitlana Vyetrenko and Stefan Zohren and Anisoara Calinescu and Jakob Foerster, LOB-Bench: Benchmarking Generative AI for Finance – an Application to Limit Order Book Data, 2025.

[4] Peer Nagy and Sascha Frey and Silvia Sapora and Kang Li and Anisoara Calinescu and Stefan Zohren and Jakob Foerster, Generative AI for End-to-End Limit Order Book Modelling: A Token-Level Autoregressive Generative Model of Message Flow Using a Deep State Space Network, 2023.

[5] Peng, Bo and Alcaide, Eric and Anthony, Quentin and Albalak, Alon and Arcadinho, Samuel and Biderman, Stella and Cao, Huanqi and Cheng, Xin and Chung, Michael and Grella, Matteo and others, Rwkv: Reinventing rnns for the transformer era, arXiv preprint arXiv:2305.13048, 2023.

[6] Peng, Bo and Goldstein, Daniel and Anthony, Quentin and Albalak, Alon and Alcaide, Eric and Biderman, Stella and Cheah, Eugene and Du, Xingjian and Ferdinan, Teddy and Hou, Haowen and others, Eagle and finch: Rwkv with matrix-valued states and dynamic recurrence, arXiv preprint arXiv:2404.05892, 2024.