TLDR: The research paper “TABL-ABM: A Hybrid Framework for Synthetic LOB Generation” introduces a novel approach to create high-fidelity synthetic financial market data. It combines a deep learning model (Temporal Attention Bilinear Layer – TABL) with an agent-based model (Chiarella model) to simulate Limit Order Book (LOB) dynamics. The deep learning component predicts order type, size, and price, while the agent-based model determines order direction and anchors the simulation to a fundamental price. A simulated matching engine processes these orders, including a new method for modeling order deletions. The framework generates realistic price paths and market impact, but struggles to fully replicate certain market microstructure details like fat-tailed return distributions and long-term volatility persistence, indicating a need for more complex agent behaviors in future iterations.
In the rapidly evolving world of financial trading, the demand for high-fidelity financial time series data is greater than ever. This data is crucial for training advanced deep learning models that predict market movements and inform trading strategies. However, historical data can be limited, especially for rare, extreme events like the 2008 financial crisis or the COVID-19 pandemic. To address this, researchers are turning to synthetic data generation.
Traditional approaches often rely on either complex deep learning models that require vast amounts of historical data or agent-based models (ABMs) that simulate trader behaviors mechanistically. While deep learning excels at forecasting, it often struggles to capture the full dynamics of a Limit Order Book (LOB) – the electronic list of buy and sell orders for a financial instrument. ABMs, on the other hand, can recreate trading activity but might lack the predictive power of deep learning for short-term market microstructure.
Introducing TABL-ABM: A Hybrid Solution
A new research paper, “TABL-ABM: A Hybrid Framework for Synthetic LOB Generation” by Ollie Olby, Rory Baggott, and Namid Stillman, proposes a novel hybrid framework that combines the strengths of both deep learning and agent-based modeling. This framework, called TABL-ABM, integrates the Temporal Attention Bilinear Layer (TABL) model – a high-performing deep learning model for multivariate time series forecasting – with the Chiarella model, a popular agent-based framework for simulating intraday trading activity.
The core idea is to use the Chiarella ABM to infer the likely direction of the next order (buy or sell), grounding the model in established financial behaviors and preventing it from generating unrealistic, out-of-distribution values. Simultaneously, the TABL deep learning model is tasked with generating the specific characteristics of the order: its type (limit or market), size, and price. This division of labor allows the model to leverage the predictive power of deep learning for short-term market microstructure while maintaining behavioral realism.
How TABL-ABM Works
The TABL-ABM framework consists of three main components:
- Deep Learning Models: Three separate TABL models are trained. One acts as a binary classifier to predict if the next order is a limit order or a market order. Based on this prediction, a second model predicts the size and price of limit orders, while a third predicts only the size for market orders. The TABL model uses ‘bilinear layers’ to capture interactions between temporal (time) and feature dimensions of financial data, and an ‘attention layer’ to identify the most relevant time instances for prediction.
- Agent-Based Model (Chiarella Model): This model simulates traders as one of three types: fundamentalists (who trade based on the difference between current price and a ‘fundamental’ value), momentum traders (who follow market trends), and noise traders (who make uncorrelated decisions). The Chiarella model helps determine the overall demand, which in turn suggests the direction of the next order.
- Simulated Matching Engine: This engine processes the orders generated by the hybrid model. It correctly queues limit orders, matches market orders, and crucially, models the deletion of orders based on empirical statistics. This novel method for simulating deleted order flow is vital for creating realistic LOB dynamics.
Data and Training
The researchers used LOBSTER sample limit order book data for Apple (AAPL) to train and test their model. The data was preprocessed to infer market orders and include a measure of order flow imbalance. Three distinct datasets were created for training the order type, limit order, and market order prediction models. The models were trained with techniques like learning rate scheduling, checkpointing, early stopping, and dropout to ensure robust performance and prevent overfitting. The Chiarella ABM parameters were carefully calibrated using a grid search to minimize a loss function based on several ‘stylised facts’ – commonly observed features in real financial time series.
Results and Limitations
The TABL-ABM framework demonstrated promising results. It successfully reproduced realistic order deletion rates, which are often challenging to model. The generated mid-price paths showed key market features like volatility and mean-reverting behavior, and the model effectively simulated market impact experiments, showing initial sharp price movements followed by gradual reversion. These findings suggest the model’s potential for stress testing and designing execution algorithms.
However, a deeper analysis using ‘stylised facts’ revealed some limitations. While the model accurately captured the weak autocorrelation of returns (consistent with the efficient market hypothesis), it showed less persistence in the direction of orders at higher lags compared to historical data. More significantly, the simulated market exhibited lighter tails in its return distribution (meaning fewer extreme events) and lacked the long-term persistence in volatility clustering observed in real markets. These discrepancies were attributed to structural differences in the simulated market microstructure, such as a wider and more diverse bid/ask spread and a lack of instantaneous price jumps seen in historical data, which are often caused by aggressive, small-volume limit orders.
Also Read:
- AI-Powered Multi-Agent System Transforms Fundamental Investing with Hierarchical Design
- Dynamic Market Connections: How AI Adapts Investment Portfolios to Financial Crises
Conclusion
The TABL-ABM framework represents a significant step towards generating realistic, synthetic order flow by combining deep learning and agent-based modeling. While it successfully reproduces plausible price paths and market reactions, the study highlights the ongoing challenge of fully replicating the intricate details of market microstructure. Future work will focus on incorporating more sophisticated agent behaviors and comprehensive evaluation methods to further enhance the fidelity of synthetic LOB data.


