Paper: arXiv 2506.05755
Authors: Yang Li, Zhi Chen
Abstract
Optimal execution in financial markets refers to the process of strategically transacting a large volume of assets over a period to achieve the best possible outcome by balancing the trade-off between market impact costs and timing or volatility risks. Traditional optimal execution strategies, such as static Almgren-Chriss models, often prove suboptimal in dynamic financial markets. This paper propose flowOE, a novel imitation learning framework based on flow matching models, to address these limitations. FlowOE learns from a diverse set of expert traditional strategies and adaptively selects the most suitable expert behavior for prevailing market conditions. A key innovation is the incorporation of a refining loss function during the imitation process, enabling flowOE not only to mimic but also to improve upon the learned expert actions. To the best of our knowledge, this work is the first to apply flow matching models in a stochastic optimal execution problem. Empirical evaluations across various market conditions demonstrate that flowOE significantly outperforms both the specifically calibrated expert models and other traditional benchmarks, achieving higher profits with reduced risk. These results underscore the practical applicability and potential of flowOE to enhance adaptive optimal execution.
Complexity vs Empirical Score
- Math Complexity: 8.0/10
- Empirical Rigor: 7.0/10
- Quadrant: Holy Grail — high math complexity, high empirical rigor
Why this score: The paper employs advanced mathematical concepts including stochastic optimal control, flow matching models, and Heston volatility modeling, indicating high mathematical complexity. The rigorous empirical evaluation across multiple market conditions with benchmarks against traditional models and clear performance metrics shows substantial empirical rigor.
Research Flowchart
flowchart TD A["Research Goal:<br>Develop Adaptive Optimal Execution Strategy<br>under Heston Volatility & Concave Impact"] --> B["Key Methodology:<br>FlowOE Framework"] B --> C["Data & Inputs:<br>Simulated Market Data<br>Ensemble RL Experts<br>Traditional Strategies"] C --> D["Computational Process:<br>1. Flow Matching Imitation<br>2. Refining Loss Function<br>3. Expert Selection"] D --> E["Key Findings:<br>1. Outperforms Calibrated Experts<br>2. Higher Profits, Reduced Risk<br>3. First Flow Matching Application<br>in Stochastic Optimal Execution"]
Cited References (151)
- Finagent: A multimodal foundation agent for financial trading: Tool-augmented, diversified, and generalist (2024)
- Flow Q-Learning (2025) — link
- KAN: Kolmogorov-Arnold Networks (2024) — link
- Static Hedging of Standard Options (2014) — link
- Financial trading as a game: A deep reinforcement learning approach (2018) — link
- Automatic financial trading agent for low-risk portfolio management using deep reinforcement learning (2019) — link
- Adaptive quantitative trading: An imitative deep reinforcement learning approach (2020)
- An Overview of Machine Learning, Deep Learning, and Reinforcement Learning-Based Techniques in Quantitative Finance: Recent Progress and Challenges (2023)
and 143 more
- CHATREPORT: Democratizing Sustainability Disclosure Analysis through LLM-based Tools (2023) — link
- Improving Factuality and Reasoning in Language Models through Multiagent Debate (2023) — link
- Replication and analysis of Ebbinghaus’ forgetting curve (2015)
- Generative agents: Interactive simulacra of human behavior (2023) — link
- Code Llama: Open Foundation Models for Code (2023) — link
- Improving language understanding by generative pre-training (2018)
- GPT-4 Technical Report (2023) — link
- FinGPT: Open-Source Financial Large Language Models — → 2306.06031
- Bloomberggpt: A large language model for finance (2023) — link
- Sentiment-influenced trading system based on multimodal deep reinforcement learning (2021)
- A Deep Multimodal Reinforcement Learning System Combined with CNN and LSTM for Stock Trading (2019) — link
- Design and implementation of a multiagent stock trading system (2012)
- MSPM: A modularized and scalable multi-agent reinforcement learning-based system for financial portfolio management (2022)
- A multi-agent Q-learning framework for optimizing stock trading systems (2002)
- A multi-agent deep reinforcement learning framework for algorithmic trading in financial markets (2022)
- Modelling stock markets by multi-agent reinforcement learning (2021)
- word2vec Explained: deriving Mikolov et al.’s negative-sampling word-embedding method (2014) — link
- Glove: Global vectors for word representation (2014)
- Bert: Pre-training of deep bidirectional transformers for language understanding (2018) — link
- Long short-term memory based recurrent neural network architectures for large vocabulary speech recognition (2014) — link
- Interactive narrative: A novel application of artificial intelligence for computer games (2012)
- Weaviate — link
- Cohere: Privacy Management in Large Scale Systems (2023) — link
- Human memory: A proposed system and its control processes (1968)
- What are the differences between long-term, short-term, and working memory? (2008)
- Llama: Open and efficient foundation language models (2023) — link
- 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) — link
- Modelling microstructure noise with mutually exciting point processes (2013)
- Modeling foreign exchange market activity around macroeconomic news: Hawkes-process approach (2015)
- Modelling security market events in continuous time: Intensity based, multivariate point process models (2007)
- Limit theorems for nearly unstable Hawkes processes (2016)
- Exact simulation of Hawkes process with exponentially decaying intensity (2013)
- Bayesian Estimation of the ETAS Model for Earthquake Occurrences (2021)
- Bayesian Inference for Hawkes Processes (2013) — link
- Sora by OpenAI (2024) — link
- Mamba: Linear-Time Sequence Modeling with Selective State Spaces (2023) — link
- Benchmark dataset for mid-price forecasting of limit order book data with machine learning methods (2018) — link
- Forecasting Stock Prices from the Limit Order Book Using Convolutional Neural Networks (2017) — link
- DeepLOB: Deep Convolutional Neural Networks for Limit Order Books (2019) — link
- BDLOB: Bayesian Deep Convolutional Neural Networks for Limit Order Books (2018) — link
- Transformers for Limit Order Books (2020) — link
- Flow Matching for Generative Modeling (2022) — link
- Proximal Policy Optimization Algorithms (2017) — link
- Denoising diffusion probabilistic models (2020)
- Score-Based Generative Modeling through Stochastic Differential Equations (2021)
- Reverse-Time Diffusion Equation Models (1982)
- Market microstructure: A survey (2000)
- Trading and exchanges: Market microstructure for practitioners (2002)
- High-frequency trading in a limit order book (2008)
- Buy low, sell high: A high frequency trading perspective (2014)
- High frequency market making: Implications for liquidity (2017)
- Dealing with the inventory risk: a solution to the market making problem (2013)
- Reinforcement learning: An introduction (2018)
- Reinforcement Learning in High-frequency Market Making — → 2407.21025
- Deep reinforcement learning in high frequency trading (2018) — link
- Reinforcement learning in robotics: A survey (2013)
- Deep unsupervised learning using nonequilibrium thermodynamics (2015)
- Planning with diffusion for flexible behavior synthesis (2022) — link
- Diffusion Policy: Visuomotor Policy Learning via Action Diffusion (2024)
- Diffusion policies as an expressive policy class for offline reinforcement learning (2022) — link
- One step diffusion via shortcut models (2024) — link
- Point spectra of some mutually exciting point processes (1971)
- Attention is all you need (2017)
- Film: Visual reasoning with a general conditioning layer (2018)
- U-net: Convolutional networks for biomedical image segmentation (2015)
- Hawkes processes in finance (2015)
- Option pricing when underlying stock returns are discontinuous (1976)
- Continuous auctions and insider trading (1985)
- Informed speculation with imperfect competition (1989)
- Nice: Non-linear independent components estimation (2014) — link
- Score-based generative modeling through stochastic differential equations (2020) — link
- Handbook of Stochastic Methods (2004)
- The Fokker-Planck Equation: Methods of Solution and Applications (1996)
- Numerical Solution of Stochastic Differential Equations (1999)
- Markov chain Monte Carlo with approximate proposals (2015)
- Large deviations for diffusion processes with unbounded coefficients (2006)
- Optimal execution of portfolio transactions (2001)
- Optimal Trade Execution (1996)
- Optimal execution and transaction costs (1996)
- Volume Weighted Average Price: A Primer (2018)
- Reinforcement Learning: An Introduction (1998)
- Human-level control through deep reinforcement learning (2015)
- Continuous control with deep reinforcement learning (2015) — link
- Denoising diffusion probabilistic models (2020) — link
- Title of the Paper (2019)
- A multivariate Hawkes process approach for modeling financial market activity (2014)
- Hawkes processes for energy markets: Modeling negative and positive jumps (2021)
- Long short-term memory (1997)
- Learning phrase representations using RNN encoder-decoder for statistical machine translation (2014)
- HiPPO: A continuous-time sequence model (2020) — link
- Mamba2: Enhancing state-space models for continuous memory (2023)
- Chain-of-thought prompting elicits reasoning in large language models (2022) — link
- Chain of Continuous Thought: Novel Paradigm with Enhanced LLM Reasoning in Continuous Latent Space (2023)
- Multi-Agent Systems for Financial Trading: A Survey (2021)
- Language models are few-shot learners (2020) — link
- Advanced Continuous Reasoning in Latent Spaces (2024) — link
- Training Large Language Models to Reason in a Continuous Latent Space (2024) — link
- Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality (2024) — link
- HiPPO: Recurrent Memory with Optimal Polynomial Projections (2020) — link
- Market making under a weakly consistent limit order book model (2019)
- High-frequency market making to large institutional trades (2019)
- High-frequency market-making with inventory constraints and directional bets (2012) — link
- Brownian motion (2010)
- Lectures on the Poisson process (2017)
- The Financial Mathematics of Market Liquidity: From optimal execution to market making (2016)
- The problem of calibrating an agent-based model of high-frequency trading (2016) — link
- Deep reinforcement learning for active high frequency trading (2021) — link
- Reinforcement learning: A survey (1996)
- Introduction to reinforcement learning (2020)
- Markov decision processes (1990)
- Earnhft: Efficient hierarchical reinforcement learning for high frequency trading (2024)
- Reinforcement learning for stock prediction and high-frequency trading with T+ 1 rules (2022)
- Deep reinforcement learning for trading (2019) — link
- Frequant: A reinforcement-learning based adaptive portfolio optimization with multi-frequency decomposition (2024)
- Inside the black box: A simple guide to quantitative and high-frequency trading (2013)
- MacroHFT: Memory Augmented Context-aware Reinforcement Learning On High Frequency Trading (2024)
- Flow matching in latent space (2023) — link
- Flow matching guide and code (2024) — link
- Flowpolicy: Enabling fast and robust 3d flow-based policy via consistency flow matching for robot manipulation (2025)
- Shortcut to greatness: The new thinking and the revolution in Soviet foreign policy (2003)
- Heston’s stochastic volatility model: Implementation, calibration and some extensions (2004)
- Permanent market impact can be nonlinear (2013) — link
- Optimal execution: A review (2022)
- Optimal execution with non-linear transient market impact (2017)
- To Hedge or Not to Hedge: Optimal Strategies for Stochastic Trade Flow Management — → 2503.02496
- Optimal Execution with Reinforcement Learning — → 2411.06389
- Reinforcement learning for optimal execution when liquidity is time-varying — → 2402.12049
- Rectified flow: A marginal preserving approach to optimal transport (2022) — link
- Conditional flow matching: Simulation-free dynamic optimal transport (2023) — link
- Consistency models (2023)
- A reinforcement learning extension to the Almgren-Chriss framework for optimal trade execution (2014)
- Optimal trading with predictable return and stochastic volatility (2015)
- Optimal trading strategy and supply/demand dynamics (2013)
- A Class of Optimal Liquidation Problem with a Nonlinear Temporary Market Impact (2020)
- Optimal trade execution under geometric Brownian motion in the Almgren and Chriss framework (2011)
- Optimal execution with nonlinear impact functions and trading-enhanced risk (2003)
- Mean–variance optimal adaptive execution (2011)
- FlowHFT: Flow Policy Induced Optimal High-Frequency Trading under Diverse Market Conditions — → 2505.05784
- OpenAI Gym (2016) — link
- Optimal Execution: Linear Market Impact with Exponential Decay (2009)
- Correlated order flow: Pervasiveness, sources, and pricing effects (2005)
- Optimal execution with uncertain order fills in Almgren–Chriss framework (2017)
- Static versus adapted optimal execution strategies in two benchmark trading models (2019)
6 of 151 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.