pith. sign in

arxiv: 2606.21769 · v1 · pith:PZANHXIOnew · submitted 2026-06-19 · 💱 q-fin.MF · q-fin.TR

Optimal Dynamic Fees for Automated Market Makers: A Stochastic Control Approach to Loss-Versus-Rebalancing

Pith reviewed 2026-06-26 12:17 UTC · model grok-4.3

classification 💱 q-fin.MF q-fin.TR
keywords automated market makersdynamic feesloss versus rebalancingstochastic controlergodic controlliquidity provisionoptimal fees
0
0 comments X

The pith

The growth-optimal fee for an AMM liquidity provider depends only on instantaneous volatility, is independent of wealth and risk aversion, and rises with variance.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper models the liquidity provider's relative wealth in a constant-product AMM as a controlled process where the fee influences revenue and arbitrage extraction but enters only the drift term. This structure reduces the expected-utility maximization to an ergodic control problem solved by pointwise feedback on volatility. The resulting policy is wealth-independent, risk-aversion-independent, constant under fixed volatility, and strictly increasing in variance, yielding a pro-cyclical schedule. A reader would care because programmable hooks now allow such dynamic fees, and the model provides a way to set them optimally to maximize long-run growth relative to a rebalanced benchmark.

Core claim

We prove that the growth-optimal fee is independent of the LP's wealth and of its constant relative risk aversion, that it collapses to a static constant when volatility is constant, and that it is strictly increasing in instantaneous variance, so that the optimal schedule is pro-cyclical. When volatility is stochastic, we characterise the optimal fee through a scalar ergodic Hamilton-Jacobi-Bellman equation and a linear Poisson equation, solved by a finite-difference scheme. We further show that the optimal fee is invariant to price jumps under logarithmic preferences.

What carries the argument

The fee enters only the drift of relative wealth and never its diffusion, reducing the problem to an ergodic control problem whose solution is pointwise volatility feedback.

If this is right

  • The optimal fee collapses to a static constant under constant volatility.
  • The optimal fee is strictly increasing in instantaneous variance.
  • The optimal fee is invariant to price jumps under logarithmic preferences.
  • The optimal dynamic fee weakly dominates static and volatility-linked heuristics in calibrated simulations.
  • Gas costs can be incorporated via an impulse-control dead-band with negligible impact.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • If implemented in programmable AMMs, this would lead to pro-cyclical fee schedules that charge more during volatile periods.
  • The independence from risk aversion suggests the policy maximizes growth even for highly risk-averse providers.
  • This framework could apply to other market-making venues where fees affect only expected returns.
  • The reduction to a scalar equation makes real-time computation feasible for on-chain execution.

Load-bearing premise

The fee affects only the drift of the LP's relative wealth process and has no effect on its diffusion term.

What would settle it

A numerical experiment or market simulation in which the computed dynamic fee produces a lower long-run growth rate than a well-chosen static fee under stochastic volatility would falsify the optimality claim.

Figures

Figures reproduced from arXiv: 2606.21769 by Farbod Ghasemlu.

Figure 1
Figure 1. Figure 1: Left: the optimal fee f ∗ (v) is strictly increasing in volatility until it reaches the cap (pro-cyclicality, Proposition 3). Right: the excess growth rate m(·; v) for four volatility levels, with the optimum marked; higher volatility shifts the optimal fee to the right. 4.3 Pro-cyclicality The next result is the paper’s central comparative static. Proposition 3 (Pro-cyclical optimal fee). Let α > 0 and su… view at source ↗
Figure 2
Figure 2. Figure 2: Stationary density of reference volatility under the calibrated CIR process (shaded, [PITH_FULL_IMAGE:figures/full_fig_p011_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: Mean relative wealth WLP t /Wreb t under three policies on common variance paths. The static 5 bps fee bleeds value to arbitrage; the optimal dynamic fee tracks the best static fee in calm regimes and separates from it during volatility spikes. 5. the optimal dynamic fee f ∗ (vt). For each path we record the annualised excess growth rate over the rebalancing benchmark, T −1 R T 0 m(ft ; vt) dt. Because the… view at source ↗
read the original abstract

We study the fee policy of a liquidity provider (LP) in a constant-product automated market maker (AMM) whose fee can be adjusted continuously, as enabled by programmable hooks. Building on the loss-versus-rebalancing (LVR) framework of Milionis et al. (2022) and its extension to nonzero fees by Milionis et al. (2024), we model the LP's wealth relative to the continuously rebalanced benchmark as a controlled process in which the fee governs two opposing forces: it raises revenue per uninformed trade while discouraging uninformed volume, and it widens the no-arbitrage band, which lowers the rate at which arbitrageurs extract value. Because the fee enters only the drift of relative wealth and never its diffusion, the LP's expected-utility problem reduces to an ergodic control problem whose solution is a pointwise volatility feedback. We prove that the growth-optimal fee is independent of the LP's wealth and of its constant relative risk aversion, that it collapses to a static constant when volatility is constant, and that it is strictly increasing in instantaneous variance, so that the optimal schedule is pro-cyclical. When volatility is stochastic, we characterise the optimal fee through a scalar ergodic Hamilton-Jacobi-Bellman equation and a linear Poisson equation, solved by a finite-difference scheme. We further show that the optimal fee is invariant to price jumps under logarithmic preferences, relate the optimal fee to a stylised model of competition among venues, and treat gas costs through an impulse-control dead-band. In a calibration to liquid large-capitalisation conditions, the optimal dynamic fee weakly dominates every static and volatility-linked heuristic fee on each simulated path, improving the LP's growth rate over the best static fee by a modest but uniformly positive margin, with a dead-band rendering gas costs negligible.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 2 minor

Summary. The paper models an LP's relative wealth process in a constant-product AMM with dynamically adjustable fees enabled by hooks. Building on the LVR framework, it posits that the fee control appears exclusively in the drift term of relative wealth (raising revenue while widening the no-arbitrage band and reducing uninformed volume) and leaves the diffusion coefficient unchanged. This permits reduction of the expected-utility maximization to an ergodic stochastic control problem whose HJB equation admits pointwise optimization over instantaneous variance. The authors prove that the growth-optimal fee is independent of initial wealth and of any constant relative risk aversion parameter, collapses to a constant under constant volatility, and is strictly increasing in instantaneous variance (hence pro-cyclical). When volatility is stochastic they characterize the optimum via a scalar ergodic HJB plus linear Poisson equation solved by finite differences, treat jumps under log utility, incorporate gas costs via impulse control, and calibrate to show modest but uniform outperformance versus static and heuristic fees.

Significance. If the drift-only modeling step is rigorously justified, the independence results and the explicit ergodic HJB characterization constitute a clean theoretical advance for dynamic fee design in programmable AMMs. The finite-difference solution of the scalar ergodic equation and the calibration exercise that reports uniform dominance on every simulated path are concrete, reproducible contributions. The work supplies a falsifiable prediction (optimal fees rise with instantaneous variance) that can be tested against on-chain data once hooks are live.

major comments (2)
  1. [Abstract and §2 (model derivation)] The reduction to an ergodic control problem whose solution is pointwise volatility feedback rests entirely on the assertion that the fee enters only the drift of relative wealth and never its diffusion coefficient. The abstract states this property but the manuscript provides neither the explicit SDE for the relative-wealth process nor a derivation showing that the quadratic-variation term is independent of the fee (via volume-dependent intensity or via the no-arbitrage band affecting effective exposure). Without this step the claimed wealth- and CRRA-independence, the collapse to a constant under constant volatility, and the strict monotonicity in variance do not follow from the stated HJB.
  2. [§4 (numerical solution) and §5 (calibration)] The finite-difference scheme for the ergodic HJB and Poisson equation is presented without verification against a known closed-form case (e.g., constant volatility) or against Monte-Carlo simulation of the controlled process. Because the central claims are quantitative (growth-rate improvement, pro-cyclicality), numerical confirmation that the scheme recovers the analytically known constant-vol solution is required before the calibration results can be trusted.
minor comments (2)
  1. [Abstract] The abstract claims proofs of independence properties; the manuscript should state explicitly in which theorem or proposition each independence result is established.
  2. [§2] Notation for the relative-wealth process, the fee control, and the instantaneous variance process should be introduced once in a dedicated subsection rather than piecemeal.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for the thorough reading and constructive feedback. The two major comments identify gaps in the presentation of the model derivation and in the validation of the numerical scheme. We address each point below and will revise the manuscript to incorporate the requested material.

read point-by-point responses
  1. Referee: [Abstract and §2 (model derivation)] The reduction to an ergodic control problem whose solution is pointwise volatility feedback rests entirely on the assertion that the fee enters only the drift of relative wealth and never its diffusion coefficient. The abstract states this property but the manuscript provides neither the explicit SDE for the relative-wealth process nor a derivation showing that the quadratic-variation term is independent of the fee (via volume-dependent intensity or via the no-arbitrage band affecting effective exposure). Without this step the claimed wealth- and CRRA-independence, the collapse to a constant under constant volatility, and the strict monotonicity in variance do not follow from the stated HJB.

    Authors: We agree that an explicit derivation of the relative-wealth SDE is required for the reduction to the ergodic problem to be fully self-contained. Although the modeling step follows directly from the LVR framework in the cited works (Milionis et al. 2022, 2024), the present manuscript does not reproduce the SDE or the argument that the quadratic variation is unaffected by the fee. In the revision we will insert a dedicated subsection in §2 that derives the controlled SDE from first principles, showing that the fee modulates only the drift (via revenue, volume, and no-arbitrage band) while leaving the diffusion coefficient unchanged. This will make the subsequent HJB reduction and the independence results transparent. revision: yes

  2. Referee: [§4 (numerical solution) and §5 (calibration)] The finite-difference scheme for the ergodic HJB and Poisson equation is presented without verification against a known closed-form case (e.g., constant volatility) or against Monte-Carlo simulation of the controlled process. Because the central claims are quantitative (growth-rate improvement, pro-cyclicality), numerical confirmation that the scheme recovers the analytically known constant-vol solution is required before the calibration results can be trusted.

    Authors: We concur that verification of the finite-difference scheme against the analytically solvable constant-volatility case is necessary to support the quantitative claims. The current manuscript reports only the calibration results without such checks. In the revised version we will add, in §4, (i) a direct comparison of the numerical solution under constant volatility with the closed-form constant fee derived in §3, and (ii) Monte-Carlo paths of the controlled relative-wealth process that confirm the growth-rate improvement matches the ergodic value function. These diagnostics will be placed before the stochastic-volatility calibration. revision: yes

Circularity Check

0 steps flagged

No significant circularity; central reduction rests on external modeling framework and explicit assumption.

full rationale

The paper cites Milionis et al. (2022, 2024) by different authors for the base LVR setup and extends it with a controlled relative-wealth process. The load-bearing claim that 'the fee enters only the drift of relative wealth and never its diffusion' is stated as a direct consequence of the AMM mechanics and fee policy (widening no-arbitrage band, revenue vs. volume trade-off) rather than derived from the target results. The ergodic HJB, pointwise volatility feedback, wealth/CRRA independence, and pro-cyclicality then follow from standard stochastic control arguments applied to that generator; none of these steps reduce by construction to a fit, self-definition, or self-citation chain. The derivation is therefore self-contained against the stated assumptions.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 0 invented entities

The model inherits the LVR framework and adds the assumption that fee affects only drift; no explicit free parameters or new entities are named in the abstract.

axioms (1)
  • domain assumption Fee enters only the drift of relative wealth and never its diffusion
    Stated explicitly as the reason the problem reduces to ergodic control.

pith-pipeline@v0.9.1-grok · 5867 in / 1120 out tokens · 29696 ms · 2026-06-26T12:17:51.869554+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

31 extracted references · 10 canonical work pages

  1. [1]

    C., Reynolds, S., Robinson, D

    Adams, A., Moallemi, C. C., Reynolds, S., Robinson, D. (2024).am-AMM: An Auction-Managed Automated Market Maker. Financial Cryptography and Data Security (FC 2025), Springer LNCS 15751. arXiv:2403.03367. 16

  2. [2]

    (2024).Uniswap v4 Core

    Adams, H., Salem, M., Zinsmeister, N., Reynolds, S., Adams, A., Pote, W., Toda, M., Henshaw, A., Williams, E., Robinson, D. (2024).Uniswap v4 Core. Uniswap Labs technical whitepaper

  3. [3]

    Angeris, G., Chitra, T. (2020). Improved price oracles: Constant function market makers.Proc. 2nd ACM Conf. on Advances in Financial Technologies (AFT ’20), 80–91

  4. [4]

    Angeris, G., Kao, H.-T., Chiang, R., Noyes, C., Chitra, T. (2021). An analysis of Uniswap markets. Cryptoeconomic Systems1(1)

  5. [5]

    Aqsha, A., Bergault, P., Sánchez-Betancourt, L. (2026). Equilibrium reward for liquidity providers in automated market makers.Mathematical Finance, forthcoming. DOI:10.1111/mafi.70030. arXiv:2503.22502

  6. [6]

    Avellaneda, M., Stoikov, S. (2008). High-frequency trading in a limit order book.Quantitative Finance8(3), 217–224

  7. [7]

    (2025).Optimal Dynamic Fees in Automated Market Makers

    Baggiani, L., Herdegen, M., Sánchez-Betancourt, L. (2025).Optimal Dynamic Fees in Automated Market Makers. arXiv:2506.02869

  8. [8]

    (2026).Competition between DEXs through Dynamic Fees

    Baggiani, L., Herdegen, M., Sánchez-Betancourt, L. (2026).Competition between DEXs through Dynamic Fees. arXiv:2603.09669

  9. [9]

    Bergault, P., Bertucci, L., Bouba, D., Guéant, O.(2024).Automatedmarketmakers: Mean-variance analysis of LPs payoffs and design of pricing functions.Digital Finance6(2), 225–247

  10. [10]

    (2025).Optimal Exit Time for Liquidity Providers in Automated Market Makers

    Bergault, P., Bieber, S., Sánchez-Betancourt, L. (2025).Optimal Exit Time for Liquidity Providers in Automated Market Makers. arXiv:2509.06510

  11. [11]

    (2025).Optimal Fees for Liquidity Provision in Automated Market Makers

    Campbell, J., Bergault, P., Milionis, J., Nutz, M. (2025).Optimal Fees for Liquidity Provision in Automated Market Makers. arXiv:2508.08152

  12. [12]

    (2021).The Adoption of Blockchain-based Decentralized Exchanges

    Capponi, A., Jia, R. (2021).The Adoption of Blockchain-based Decentralized Exchanges. arXiv:2103.08842

  13. [13]

    Cartea, Á., Drissi, F., Monga, M. (2023). Predictable losses of liquidity provision in constant func- tion markets and concentrated liquidity markets.Applied Mathematical Finance30(2), 69–93

  14. [14]

    Cartea, Á., Drissi, F., Monga, M. (2024). Decentralised finance and automated market making: Predictable loss and optimal liquidity provision.SIAM Journal on Financial Mathematics15(3), 931–959

  15. [15]

    (2015).Algorithmic and High-Frequency Trading

    Cartea, Á., Jaimungal, S., Penalva, J. (2015).Algorithmic and High-Frequency Trading. Cambridge University Press

  16. [16]

    C., Ingersoll, J

    Cox, J. C., Ingersoll, J. E., Ross, S. A. (1985). A theory of the term structure of interest rates. Econometrica53(2), 385–407

  17. [17]

    Evans, A., Angeris, G., Chitra, T.(2021).Optimalfeesforgeometricmeanmarketmakers.Financial Cryptography and Data Security 2021 Workshops, Springer, 65–79

  18. [18]

    Fan, Z., Marmolejo-Cossío, F., Moroz, D., Neuder, M., Rao, R., Parkes, D. C. (2023). Strategic liquidity provision in Uniswap v3.5th Conf. on Advances in Financial Technologies (AFT 2023), LIPIcs 282, 25:1–25:22

  19. [19]

    H., Soner, H

    Fleming, W. H., Soner, H. M. (2006).Controlled Markov Processes and Viscosity Solutions, 2nd ed. Springer

  20. [20]

    (2021).A noteon optimalfees forconstant functionmarketmakers.ACM CCS Workshop on Decentralized Finance and Security (DeFi ’21), 9–14

    Fritsch, R. (2021).A noteon optimalfees forconstant functionmarketmakers.ACM CCS Workshop on Decentralized Finance and Security (DeFi ’21), 9–14

  21. [21]

    (2016).The Financial Mathematics of Market Liquidity

    Guéant, O. (2016).The Financial Mathematics of Market Liquidity. Chapman & Hall/CRC

  22. [22]

    Guéant, O., Lehalle, C.-A., Fernandez-Tapia, J. (2013). Dealing with the inventory risk: a solution to the market making problem.Mathematics and Financial Economics7(4), 477–507. 17

  23. [23]

    Ho, T., Stoll, H. R. (1981). Optimal dealer pricing under transactions and return uncertainty. Journal of Financial Economics9(1), 47–73

  24. [24]

    J., Dupuis, P

    Kushner, H. J., Dupuis, P. (2001).Numerical Methods for Stochastic Control Problems in Contin- uous Time, 2nd ed. Springer

  25. [25]

    Merton, R. C. (1969). Lifetime portfolio selection under uncertainty: The continuous-time case. Review of Economics and Statistics51(3), 247–257

  26. [26]

    Milionis, C

    Milionis, J., Moallemi, C. C., Roughgarden, T., Zhang, A. L. (2022).Automated Market Making and Loss-Versus-Rebalancing. arXiv:2208.06046. Short version: Quantifying loss in automated market makers,ACM CCS DeFi ’22, 71–74

  27. [27]

    C., Roughgarden, T

    Milionis, J., Moallemi, C. C., Roughgarden, T. (2024). Automated market making and arbitrage profits in the presence of fees.Financial Cryptography and Data Security (FC 2024), Springer LNCS 14744. arXiv:2305.14604

  28. [28]

    C., Roughgarden, T

    Milionis, J., Moallemi, C. C., Roughgarden, T. (2024). A Myersonian framework for optimal liq- uidity provision in automated market makers.15th Innovations in Theoretical Computer Science (ITCS 2024), LIPIcs 287

  29. [29]

    (2025).Loss-Versus-Rebalancing under Deterministic and Generalized Block-Times

    Nezlobin, A., Tassy, M. (2025).Loss-Versus-Rebalancing under Deterministic and Generalized Block-Times. arXiv:2505.05113

  30. [30]

    (2009).Continuous-time Stochastic Control and Optimization with Financial Applica- tions

    Pham, H. (2009).Continuous-time Stochastic Control and Optimization with Financial Applica- tions. Springer

  31. [31]

    Sirignano, J., Spiliopoulos, K. (2018). DGM: A deep learning algorithm for solving partial differen- tial equations.Journal of Computational Physics375, 1339–1364. 18