FinFlowRL: Adaptive RL for Market Making
- The paper introduces FinFlowRL, an imitation–reinforcement learning framework that consolidates diverse expert market-making strategies in volatile, non-Markovian environments.
- It employs a two-stage process: initial imitation pretraining with a MeanFlow network followed by PPO-based fine-tuning on a latent noise policy to generate action chunks.
- Experimental results across simulated regimes demonstrate superior Sharpe ratios, improved PnL, and lower maximum drawdowns compared to traditional benchmarks.
FinFlowRL is an imitation–reinforcement learning framework for adaptive stochastic control in finance, introduced for market making under non-stationary and non-Markovian market conditions. In its stated formulation, the framework first pretrains an adaptive meta-policy from a pool of expert strategies and then fine-tunes that policy through reinforcement learning in the noise space, while using action chunking to generate short action sequences rather than isolated one-step decisions. The core claim is that this combination allows the policy to consolidate heterogeneous expert behavior, adapt online through PPO-based optimization, and outperform individually optimized experts across diverse market conditions (Li et al., 30 Aug 2025).
1. Formal stochastic-control formulation
FinFlowRL poses the market-making problem over discrete time steps as an MDP
In the more explicit specification, the state at time is
where is cash, is inventory, is the mid-price, and . In practice, the last states are stacked into an observation buffer . A broader formulation also states that the observation may encode mid-price, order-book depths, Hawkes intensities, fractional-Brownian signals, inventory 0, and cash position 1 (Li et al., 30 Aug 2025).
The action space is continuous. The agent selects bid and ask offsets
2
The market dynamics combine a jump–diffusion mid-price process with mutually exciting Hawkes order arrivals. The mid-price evolves as
3
where 4 is fractional Brownian motion, 5, and 6 is a Poisson jump process. Buy and sell arrival intensities are specified through Hawkes processes, for example
7
with execution intensity then modulated by the chosen spread as 8, yielding buy fills with probability 9 (Li et al., 30 Aug 2025).
The reward is defined as profit-and-loss minus an inventory penalty. One formulation gives
0
while an alternate summary expresses it as
1
with 2 typically quadratic. The control objective is the discounted return
3
Within the paper’s framing, this formalization is used to argue that classical stochastic-control methods are limited by simplifying assumptions and stylized environments, especially when market conditions shift (Li et al., 22 Sep 2025).
2. Meta-policy construction and imitation pretraining
The central policy object in FinFlowRL is a flow-matching “meta-policy,” described as a MeanFlow network 4. It maps a standard normal noise variable together with state conditioning to an action sequence. In the concise formulation,
5
where 6 and 7 is the flattened observation (Li et al., 30 Aug 2025).
Pretraining uses a Mixture of Experts pool comprising Avellaneda–Stoikov, GLFT, GLFT-drift, and PPO across 108 simulated market scenarios. One version states that this produces 8 million state–action pairs,
9
with scenarios varying 0, 1, and jump intensity (Li et al., 22 Sep 2025). Another summary describes the collection procedure more selectively: for each scenario, the best expert 2 is chosen and corresponding state–action pairs are retained.
The imitation objective is given in two closely related forms. In one, the network is trained by behavioral cloning: 3 where 4 is the one-step flow-matching likelihood under 5 (Li et al., 30 Aug 2025). In the fuller MeanFlow presentation, the model learns to denoise a Gaussian latent 6 into an expert action by minimizing
7
with
8
and
9
At generation time, one-step inference is
0
which the paper states meets microsecond latency requirements in HFT (Li et al., 22 Sep 2025).
This pretraining stage is presented as knowledge consolidation rather than single-expert replication. The pretrained MeanFlow alone is reported to match its strongest expert, GLFT, in Sharpe ratio, which the paper interprets as successful consolidation of diverse expert behavior (Li et al., 22 Sep 2025).
3. Reinforcement-learning fine-tuning in noise space
After imitation pretraining, FinFlowRL freezes the MeanFlow meta-policy and introduces a separate stochastic noise policy
1
along with a value network 2. The latent-action construction is
3
with reward
4
Fine-tuning therefore updates 5 and 6 while leaving 7 frozen (Li et al., 30 Aug 2025).
The RL stage uses PPO. The clipped surrogate objective is written as
8
where
9
The total optimization objective includes value fitting and entropy regularization,
0
A parallel description states the RL objective as
1
with advantage estimates obtained from 2 (Li et al., 22 Sep 2025).
Algorithmically, the pipeline is explicitly two-stage. Phase I simulates diverse market scenarios, selects or aggregates expert behavior, and trains 3 under the imitation objective. Phase II freezes 4, initializes 5, samples latent noise 6, generates action chunks 7, executes the first 8 actions, stores 9, computes advantages via GAE, and performs minibatch gradient updates on the PPO objective. At inference time, the policy uses 0, forms an action chunk, and executes the first 1 actions before replanning (Li et al., 30 Aug 2025).
A recurrent misconception is to treat FinFlowRL as end-to-end PPO over raw actions. The framework is not described that way. PPO appears in three different roles: as one expert in the imitation pool, as an end-to-end baseline in evaluation, and as the optimizer of the separate noise policy in the latent space while the pretrained MeanFlow module remains frozen (Li et al., 30 Aug 2025).
4. Action chunking and non-Markovian market structure
A defining design choice in FinFlowRL is action chunking. Rather than outputting a single action 2, the model generates a short sequence
3
where 4, and only the first 5 actions are executed before the agent re-observes the environment (Li et al., 30 Aug 2025).
The fuller notation introduces three time scales: 6 as the look-back window, 7 as the prediction horizon or chunk length, and 8 as the number of actions actually executed before replanning. One summary writes the chunk output as
9
after which only the first 0 actions are carried out (Li et al., 22 Sep 2025).
The stated motivation is to address the non-Markovian nature of markets. The paper attributes this non-Markovianity to path dependence, volatility clustering, order-flow autocorrelations, and limit-order-book microstructure. Chunking is said to encode a short “plan” into each decision, integrate history over 1, and mitigate single-step compounding errors. This suggests that the framework treats temporal abstraction not merely as an efficiency device but as part of the model class for financial control under persistent microstructural effects (Li et al., 30 Aug 2025).
5. Experimental setup, baselines, and reported outcomes
The reported evaluation uses four simulated market regimes: High Vol/High Demand (HH), High Vol/Low Demand (HL), Low Vol/High Demand (LH), and Low Vol/Low Demand (LL), with
2
and episodes of length 100 (Li et al., 30 Aug 2025). Out-of-sample performance is summarized over 1 million trials in the later preprint (Li et al., 22 Sep 2025).
The baselines are Random, Avellaneda–Stoikov (AS), Guéant–Lehalle–Fernandez–Tapia (GLFT), GLFT-drift, end-to-end PPO, and pretrained MeanFlow. The metrics are Profit & Loss (PnL), Sharpe ratio (SR), and maximum drawdown (MDD %) (Li et al., 30 Aug 2025).
The principal numerical claims reported for FinFlowRL are the following:
- In all four regimes, it yields the highest Sharpe ratio.
- In the HH regime, SR is approximately 3, compared with 4 for GLFT and 5 for AS.
- In the LL regime, PnL is approximately 6, compared with 7 for GLFT, and SR is approximately 8, compared with 9.
- MDD is uniformly lower than PPO and AS in every regime (Li et al., 30 Aug 2025).
A more detailed version gives regime-wise FinFlowRL values:
- HH: PnL 0, SR 1, MDD 2
- HL: PnL 3, SR 4, MDD 5
- LH: PnL 6, SR 7, MDD 8
- LL: PnL 9, SR 0, MDD 1 (Li et al., 22 Sep 2025)
The same source states that the FlowRL fine-tuning stage consistently outperforms all baselines, including the experts and the frozen model, especially under sudden jumps, and that the framework achieves the highest risk-adjusted returns and lowest drawdowns across all four regimes (Li et al., 22 Sep 2025).
Training-efficiency claims are also central. FlowRL is reported to train with only approximately 2 million trainable parameters, converge in 3 steps, run at approximately 4 the time of PPO, and achieve approximately 5 inference latency over 6 steps, which is described as “fully suitable for real-time HFT” (Li et al., 30 Aug 2025).
6. Scope, related formulations, and interpretive issues
Within the provided sources, FinFlowRL is consistently defined as a finance-specific framework for adaptive stochastic control that combines imitation learning, flow matching, noise-space reinforcement learning, and action chunking (Li et al., 30 Aug 2025). Its stated target problem is market making under jump–diffusion price dynamics and Hawkes order-flow dynamics, rather than generic continuous control.
A source of potential confusion is nomenclature. A separate paper, “ReinFlow: Fine-tuning Flow Matching Policy with Online Reinforcement Learning,” is about continuous robotic control and the associated summary explicitly states that “FinFlowRL” refers to the ReinFlow algorithm (Zhang et al., 28 May 2025). That summary also describes a different application domain—locomotion and manipulation tasks rather than financial stochastic control. By contrast, the two preprints titled “FinFlowRL: An Imitation-Reinforcement Learning Framework for Adaptive Stochastic Control in Finance” define FinFlowRL as a market-making framework in finance (Li et al., 22 Sep 2025). The overlap therefore appears to be methodological—flow-matching policies fine-tuned with RL—rather than domain-specific identity.
Another interpretive issue concerns the evaluation scope. The abstract states that traditional methods struggle in “real world markets,” and one summary concludes that experiments span “diverse simulated and real HFT environments” (Li et al., 30 Aug 2025). The detailed quantitative setup, however, is explicitly given in terms of four simulated regimes with specified volatility and demand parameters. This suggests that the framework is positioned as relevant to real-world market adaptation, while the numerical evidence provided in the summaries is simulation-based.
In the paper’s own synthesis, FinFlowRL unifies imitation of multiple expert market-making strategies through a fast one-step MeanFlow policy, adapts that policy through lightweight noise-space PPO fine-tuning, and uses action chunking to address path dependence. The conceptual significance lies in how these components are combined: expert consolidation through flow matching, adaptation through latent stochastic control, and temporal planning through chunked quoting policies (Li et al., 30 Aug 2025).