RAmmStein: Regime Adaptation in Mean-reverting Markets with Stein Thresholds -- Optimal Impulse Control in Concentrated AMMs

📅 2026-02-22
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the challenge of liquidity provision in concentrated liquidity automated market making, where providers must balance fee revenue against rebalancing costs such as gas fees and slippage, a trade-off poorly handled by existing strategies under dynamic market conditions. The authors formulate liquidity management as an optimal impulse control problem and introduce, for the first time, a partitioning of state space into action and inaction regions. They propose RAmmStein, a deep reinforcement learning approach that incorporates an Ornstein-Uhlenbeck process to model mean-reverting price dynamics and approximately solves the associated Hamilton–Jacobi–Bellman quasi-variational inequality (HJB-QVI) equation for policy optimization in high-dimensional settings. Evaluated on 6.8 million high-frequency observations from Coinbase, RAmmStein achieves a net ROI of 0.72%, reduces rebalancing frequency by 67% compared to greedy strategies, and remains active 88% of the time, substantially enhancing capital efficiency and operational inertia.

Technology Category

Application Category

📝 Abstract
Concentrated liquidity provision in decentralized exchanges presents a fundamental Impulse Control problem. Liquidity Providers (LPs) face a non-trivial trade-off between maximizing fee accrual through tight price-range concentration and minimizing the friction costs of rebalancing, including gas fees and swap slippage. Existing methods typically employ heuristic or threshold strategies that fail to account for market dynamics. This paper formulates liquidity management as an optimal control problem and derives the corresponding Hamilton-Jacobi-Bellman quasi-variational inequality (HJB-QVI). We present an approximate solution RAmmStein, a Deep Reinforcement Learning method that incorporates the mean-reversion speed (theta) of an Ornstein-Uhlenbeck process among other features as input to the model. We demonstrate that the agent learns to separate the state space into regions of action and inaction. We evaluate the framework using high-frequency 1Hz Coinbase trade data comprising over 6.8M trades. Experimental results show that RAmmStein achieves a superior net ROI of 0.72% compared to both passive and aggressive strategies. Notably, the agent reduces rebalancing frequency by 67% compared to a greedy rebalancing strategy while maintaining 88% active time. Our results demonstrate that regime-aware laziness can significantly improve capital efficiency by preserving the returns that would otherwise be eroded by the operational costs.
Problem

Research questions and friction points this paper is trying to address.

Impulse Control
Concentrated Liquidity
Liquidity Provision
Decentralized Exchanges
Friction Costs
Innovation

Methods, ideas, or system contributions that make the work stand out.

Impulse Control
Mean-reverting Markets
Concentrated AMMs
Deep Reinforcement Learning
Hamilton-Jacobi-Bellman QVI
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
P
Pranay Anchuri
Offchain Labs