ByteGen: A Tokenizer-Free Generative Model for Orderbook Events in Byte Space
Not on the map. Why?
Abstract (arXiv)
Generative modeling of high-frequency limit order book (LOB) dynamics is a critical yet unsolved challenge in quantitative finance, essential for robust market simulation and strategy backtesting. Existing approaches are often constrained by simplifying stochastic assumptions or, in the case of modern deep learning models like Transformers, rely on tokenization schemes that affect the high-precision, numerical nature of financial data through discretization and binning. To address these limitations, we introduce ByteGen, a novel generative model that operates directly on the raw byte streams of LOB events. Our approach treats the problem as an autoregressive next-byte prediction task, for which we design a compact and efficient 32-byte packed binary format to represent market messages without information loss. The core novelty of our work is the complete elimination of feature engineering and tokenization, enabling the model to learn market dynamics from its most fundamental representation. We achieve this by adapting the H-Net architecture, a hybrid Mamba-Transformer model that uses a dynamic chunking mechanism to discover the inherent structure of market messages without predefined rules. Our primary contributions are: 1) the first end-to-end, byte-level framework for LOB modeling; 2) an efficient packed data representation; and 3) a comprehensive evaluation on high-frequency data. Trained on over 34 million events from CME Bitcoin futures, ByteGen successfully reproduces key stylized facts of financial markets, generating realistic price distributions, heavy-tailed returns, and bursty event timing. Our findings demonstrate that learning directly from byte space is a promising and highly flexible paradigm for modeling complex financial systems, achieving competitive performance on standard market quality metrics without the biases of tokenization.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 15 of its 25 references that are in the map. First posted on arXiv 4 Aug 2025.
Builds on
15 of 25 references.
References · 15
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
- 2023Language Modeling Is Compressioncited by 225
- 2024Byte Latent Transformer: Patches Scale Better Than Tokenscited by 146
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 116
- 2019Neural Machine Translation with Byte-Level Subwordscited by 115
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
- 2018Universal features of price formation in financial markets: perspectives from Deep Learningcited by 60
- 2023Generative AI for End-to-End Limit Order Book Modelling: A Token-Level Autoregressive Generative Model of Message Flow Using a Deep State Space Networkcited by 20
- 2023Conditional Generators for Limit Order Book Environments: Explainability, Challenges, and Robustnesscited by 14
3 more
- 2024ML-Mamba: Efficient Multi-Modal Large Language Model Utilizing Mamba-2cited by 10
- 2025FlowHFT: Imitation Learning via Flow Matching Policy for Optimal High-Frequency Trading under Diverse Market Conditionscited by 3
- 2025FlowOE: Imitation Learning with Flow Policy from Ensemble RL Experts for Optimal Execution under Heston Volatility and Concave Market Impactscited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025LOB-Bench: Benchmarking Generative AI for Finance -- an Application to Limit Order Book Data
- 2025DiffVolume: Diffusion Models for Volume Generation in Limit Order Books
- 2025TRADES: Generating Realistic Market Simulations with Diffusion Models
- 2025Deep Learning Meets Queue-Reactive: A Framework for Realistic Limit Order Book Simulation
- 2025Exploring Diffusion Models for Generative Forecasting of Financial Charts
- 2022Learning to simulate realistic limit order book markets from data as a World Agent
- 2026Deep Learning for Financial Time Series: A Large-Scale Benchmark of Risk-Adjusted Performance
- 2026DiffLOB: Diffusion Models for Counterfactual Generation in Limit Order Books