Growth rate of liquidity provider’s wealth in G3Ms
Abstract.
We study how trading fees and continuous-time arbitrage affect the profitability of liquidity providers (LPs) in Geometric Mean Market Makers (G3Ms). We use stochastic reflected diffusion processes to analyze the dynamics of a G3M model [Eva21] under the arbitrage-driven market [MMRZ22a]. Our research focuses on calculating LP wealth and extends the findings of Tassy and White [TW20] related to the constant product market maker (Uniswap v2) to a wider range of G3Ms, including Balancer. This allows us to calculate the long-term expected logarithmic growth of LP wealth, offering new insights into the complex dynamics of AMMs and their implications for LPs in decentralized finance.
Key words and phrases:
Automatic market making, Decentralized exchange, Decentralized finance1. Introduction
Decentralized finance (DeFi) has revolutionized financial markets by enabling trustless trading and investment activities through blockchain technology [CJ21, GM23]. At the heart of this revolution are Automated Market Makers (AMMs) [Moh22], which replace traditional order book exchanges with smart contracts that automate price discovery and order execution. This innovation eliminates intermediaries, reduces trading costs, and enhances accessibility for a wider range of participants.
Among the diverse landscape of AMM designs, Geometric Mean Market Makers (G3Ms) have gained significant traction, powering popular DeFi protocols like Uniswap [AZR20] and Balancer [MM19]. G3Ms utilize a weighted geometric mean function to determine asset prices within their liquidity pools. This unique pricing mechanism fosters a predictable relationship between asset reserves and prices, promoting market efficiency and arbitrage resistance.
Previous research has extensively examined various aspects of AMM mechanics. Angeris et al. [AKC+19, AC20] analyzed the theoretical properties and price-tracking capabilities of constant function markets. Evans [Eva21] extended this analysis to G3Ms with variable weights, while others like Fukasawa et al. [FMW23b, FMW23a] investigated impermanent loss and hedging strategies. Milionis et al. [MMRZ22b, MMRZ22a, MMR23], who quantified it as "loss-versus-rebalancing" (LVR) and developed frameworks for measuring systematic LP losses in both standard AMMs and concentrated liquidity markets.
Recent work by Cartea et al. [CDM23, CDM24] explored predictable loss in constant function markets and developed optimal liquidity provision strategies under separate fee rate models. Bronnimann et al. [BEK24] analyzed risks and incentives in AMM liquidity provision, proposing novel transaction cost structures. Najnudel et al. [NTYY24] examined arbitrage-driven price dynamics in fee-based AMMs, providing insights into the relationship between fee structures and market behavior.
While the existing literature provides a rich foundation for understanding AMMs, a key question remains: How do arbitrage dynamics and trading fees interact to influence the long-term growth of liquidity provider (LP) wealth in G3Ms? This paper aims to address this question by developing a novel framework for analyzing LP wealth evolution in G3Ms, extending beyond the specific case of Uniswap V2 studied in [TW20].
We model the G3M under the influence of continuous arbitrage activity in the presence of a frictionless reference market, drawing inspiration from the framework presented in [MMRZ22a, MMR23]. This approach allows us to isolate the impact of arbitrage on LP wealth, accounting for both trading fees and reserve adjustments. Our analysis leverages the theory of reflected diffusion processes [Har13, GW13] to capture the dynamics of mispricing and its effect on LP returns.
This research makes three key contributions:
-
(1)
Explicit Growth Rate Formulas: We derive explicit formulas for LP wealth growth rates under various market conditions, encompassing different volatility and drift scenarios.
-
(2)
Fee Structure Analysis: We analyze how different fee structures affect LP returns, offering insights into the optimal design of G3Ms.
-
(3)
Performance Comparison: We compare the performance of G3Ms to traditional constant rebalanced portfolio strategies, highlighting the potential of G3Ms to serve as an index infrastructure within the DeFi ecosystem.
By employing reflected diffusion processes, we extend and generalize existing results on LP wealth dynamics, providing a more comprehensive and unified framework. Our findings offer valuable insights for both LPs and AMM designers, contributing to a deeper understanding of DeFi market mechanisms and their implications for investor returns.
Outline
The remainder of the paper is organized as follows. Section 2 establishes notation and examines market dynamics with and without transaction costs. Section 3 explores the arbitrageur’s problem and G3M dynamics under both discrete and continuous arbitrage. Section 4 presents our main results, connecting LP wealth growth to parabolic PDEs with Neumann boundary conditions and extending results to cases with independent stochastic volatility and drift.
2. Constant Weight G3Ms
Geometric Mean Market Makers (G3Ms) are a prominent class of automated market makers (AMMs) that utilize a weighted geometric mean to define the feasible set of trades. This section provides a detailed review of G3M mechanisms, following the work in [Eva21, Moh22, FMW23a], for a system with two assets, and , and a fixed weight .
2.1. G3M Trading Mechanics
Let denote the reserves of assets and in the liquidity pool (LP). The core principle of a G3M is to maintain a constant weighted geometric mean of the reserves:
(1) |
where represents the overall liquidity in the pool.
2.1.1. Trading without Transaction Costs
In an idealized setting without transaction costs, trades in a G3M must preserve the constant weighted geometric mean of the reserves. This means a trade , representing the changes in asset reserves, is feasible if and only if:
(2) |
Here, indicates that asset is being added to the pool, while means is being withdrawn.
To determine the price of asset relative to asset , we analyze how infinitesimal changes in reserves affect the weighted geometric mean. Taking the total derivative of equation (1), we get
which simplifies to
This relationship between infinitesimal changes in x and y allows us to define the price P of asset X in terms of asset Y:
(3) |
Therefore, the price in a G3M without transaction costs is determined solely by the ratio of the reserves.
Remark 2.1.
A key advantage of G3Ms without transaction costs is their path independence [AC20, §2.3]. This means the final state of the pool depends only on the net change in reserves, not the specific sequence of trades that led to it. This property makes these G3Ms resistant to price manipulation strategies.
2.1.2. With Transaction Costs
In the actual scenario, there are transaction costs, typically modeled as a proportional fee. Let represent this proportional transaction cost, where . The trading process now involves two steps:
Step 1: Determining Feasible Trades
A trade is feasible if it satisfies the following conditions, which incorporate the transaction cost:
-
•
Buying Asset from the Pool (): The trader pays a fee on the amount of asset they provide.
(4) -
•
Selling Asset to the Pool (): The trader pays a fee on the amount of asset they provide.
(5)
Step 2: Updating Reserves
After a trade, the reserves and the pool’s liquidity are updated accordingly:
Key Observations
Introducing transaction costs leads to several important differences:
-
(a)
Marginal Exchange Rate: The effective price for infinitesimal trades is given by the marginal exchange rate, which now incorporates the transaction cost:
This creates a bid-ask spread, where the price for buying is higher than the price for selling .
-
(b)
Constant Wealth Proportion: Despite the transaction costs, the proportion of asset (and ) in the pool’s total wealth remains constant at (and , respectively) by (3), i.e.
(6) -
(c)
Relationship between Reserves and Liquidity: There is a correspondence between and by
-
(d)
Price Impact of Trading: The impact of trading on the pool price is by
Remark 2.2.
-
(1)
The transaction cost parameter creates a bid-ask spread, similar to traditional limit order books, where buyers pay a slightly higher price than sellers.
-
(2)
Unlike G3Ms without transaction fees, the presence of transaction costs introduces path dependence [AC20, §2.3]. This means that the order and size of trades influence the final outcome. To illustrate this, consider a trader selling of asset in exchange for of asset . The transaction satisfies
If the trader instead splits the trade into two smaller transactions, , receiving and of asset respectively, then the trades satisfy
Comparing these equations reveals that , demonstrating that splitting the trade leads to a higher cost (i.e., a smaller amount of asset Y received). This phenomenon is further explored in [AKC+19, Appendix D] and [FMW23a, Proposition 1].
2.2. Continuous Trading Dynamics
In the continuous trading regime, where trades occur infinitesimally often, we can describe the G3M dynamics using differential equations. These equations capture how the reserves, price, and liquidity evolve in response to continuous buying and selling.
2.2.1. Reserve Dynamics
The changes in reserves and are governed by the following equations, which incorporate the transaction cost parameter :
-
•
When buying from the pool ():
(7) -
•
When selling to the pool ():
(8)
These equations reflect that when buying , the trader pays a fee on the asset provided, while when selling , the fee is paid on the asset provided.
2.2.2. Price Dynamics
The price of asset relative to asset evolves according to:
(9) |
This equation shows how buying pressure () pushes the price up while selling pressure () pushes it down. The transaction cost affects the magnitude of these price changes.
2.2.3. Liquidity Dynamics
The liquidity of the pool changes as follows:
(10) |
This equation reveals that the liquidity consistently increases due to the transaction costs collected by the pool.
Remark 2.3.
In the continuous trading regime, the G3M effectively maintains certain quantities constant, depending on the direction of trading:
-
•
When buying : remains constant.
-
•
When selling : remains constant.
This behavior leads to a continuous accumulation of liquidity in the pool.
2.3. LP Wealth
The wealth of a liquidity provider (LP) in a G3M is determined by the value of their holdings in the pool. At any given time, the LP’s wealth, denoted by , is simply the sum of the value of their holdings and their holdings: where is the current price of asset relative to asset .
Using the relationship between the reserves, price, and liquidity (equation (6)), we can express the LP’s wealth in a more convenient form:
(11) |
This equation shows that the LP’s wealth is directly proportional to the pool’s liquidity and depends on the price raised to the power of the weight . Taking the logarithm of both sides, we obtain the log wealth:
(12) |
where . The term is the entropy of the weight distribution , which reflects the diversification of the LP’s holdings.
Remark 2.4.
The LP’s wealth is expressed here in terms of the G3M pool price P. This is natural from the LP’s perspective, as they may not always have access to the true reference market price. Furthermore, this formulation (equation (12)) is crucial for computing the long-term growth rate of LP wealth.
Section 3.3 compares this approach to a valuation based on the reference market price. This analysis will show that the logarithmic values of these two expressions differ by, at most, a constant factor, which depends on the transaction cost parameter .
3. Arbitrage-Driven G3M Dynamics
This section investigates how the presence of arbitrageurs influences the behavior of a G3M. Arbitrageurs are traders who exploit price discrepancies between different markets to profit. In our context, they will take advantage of any differences between the G3M pool price and the price on an external reference market.
To focus specifically on the impact of arbitrage, we make two simplifying assumptions:
Assumption 3.1.
There are no noise traders in the market.
Noise traders are those who trade based on non-fundamental factors, introducing randomness into the market. By excluding them, we can isolate the effects of arbitrageurs who act rationally based on price discrepancies.
Assumption 3.2.
There exists an external reference market with infinite liquidity and no trading costs.
This assumption ensures that arbitrageurs can execute trades in the reference market without incurring any costs or affecting the market price. This idealized setting allows us to focus on the arbitrageurs’ impact on the G3M.
3.1. Arbitrage Bounds and Price Dynamics
In the presence of a frictionless external reference market (Assumption 3.2), arbitrageurs can freely exploit any price discrepancies between the G3M and the reference market. This arbitrage activity imposes bounds on the G3M price, preventing it from straying too far from the reference market price.
To understand these bounds, let’s denote the price of asset relative to asset in the reference market as , and the corresponding price in the G3M pool as . Arbitrageurs aim to maximize their profit by buying asset where it’s cheaper and selling it where it’s more expensive. This leads to the following optimization problem for an arbitrageur, as shown in [AKC+19]:
(13) | ||||
s.t. | ||||
where represents the initial reserve of assets and in the pool. This optimization problem captures the arbitrageur’s objective: maximize profit while adhering to the G3M’s trading rules (equations (4) and (5)), which include transaction costs.
The solution to this optimization problem reveals that the G3M price, after arbitrageurs have acted, must satisfy
where is the transaction cost parameter of the G3M [AKC+19, §2.1]. This interval, , defines the no-arbitrage bounds.
Essentially, these bounds create a "safe zone" for the G3M price. If the price falls outside this zone, arbitrageurs will immediately execute trades, buying or selling asset until the price returns within the bounds. This arbitrage activity effectively regulates the G3M price, keeping it anchored to the reference market price.
Figure 1 provides empirical evidence of this behavior. It shows a time series of the G3M price, clearly demonstrating that it consistently stays within the no-arbitrage bounds.

3.2. Mispricing and Arbitrage Dynamics
To formally analyze how arbitrageurs influence the G3M’s behavior, we introduce the concept of mispricing. Mispricing quantifies the discrepancy between the G3M pool price and the reference market price. We’ll investigate how this mispricing evolves under both discrete and continuous arbitrage scenarios, building upon the framework in [MMRZ22a, MMR23].
3.2.1. Discrete Arbitrage Model
First, we consider a discrete-time model where arbitrageurs arrive at discrete times:
Assumption 3.3.
Arbitrageurs arrive at discrete times .
At each arrival time , an arbitrageur observes the reference market price and the prevailing G3M pool price . They then execute trades to exploit any price difference, aiming to maximize their profit.
To quantify this price difference, we define the mispricing as:
(14) |
This quantity measures the logarithmic difference between the reference market price and the G3M pool price .
As shown in [MMR23, Lemma 2], the arbitrage process can be described as follows:
-
•
If the G3M price is too high relative to the reference market ( or equivalently ), the arbitrageur buys asset X from the pool at the relatively cheaper price and immediately sells it on the reference market at the higher price. This arbitrage activity pushes the G3M price down until it reaches the lower no-arbitrage bound ().
-
•
If the G3M price is too low relative to the reference market ( or equivalently ), the arbitrageur sells asset to the pool at the relatively higher price and simultaneously buys it on the reference market at the lower price. This pushes the G3M price up until it reaches the upper no-arbitrage bound ().(5).
-
•
If the G3M price is already within the no-arbitrage bounds ( or equivalently ), there is no profitable arbitrage opportunity, and the arbitrageur does not execute any trades.
This arbitrage process leads to the following update rule for the G3M price at each arbitrageur arrival time:
(15) |
Accordingly, the mispricing process evolves as:
(16) |
These equations capture how arbitrageurs adjust the G3M price in discrete steps to keep it within the no-arbitrage bounds.
Proposition 3.4 (Discrete Mispricing Dynamics).
Proof.
Remark 3.5.
-
•
The processes and act as regulatory barriers on the mispricing process . Specifically, at each arbitrage time , prevents from falling below the lower bound , while prevents it from exceeding the upper bound . This ensures that the mispricing remains within the no-arbitrage interval .
-
•
While [FMW23a] analyzed arbitrage in G3Ms by focusing on the dynamics of the reserve processes, this paper adopts a different perspective by directly analyzing the mispricing process. Although the results in [FMW23a] are compatible with ours through equation (6), our approach offers a more direct and insightful framework for understanding the growth rate of liquidity provider wealth, as discussed in Section 4.
3.2.2. Continuous Arbitrage Model
Now, let’s consider the continuous-time limit, where arbitrageurs continuously monitor the market and react instantaneously to any arbitrage opportunities. This idealized scenario allows us to capture the dynamics of a highly efficient market with vigilant arbitrageurs.
Formally, we make the following assumption:
Assumption 3.6.
Arbitrageurs continuously monitor and immediately act on arbitrage opportunities.
Under this assumption, arbitrageurs continuously adjust their trading strategies to maintain the G3M price within the no-arbitrage bounds. Their actions effectively prevent any significant mispricing from persisting.
The following proposition characterizes the dynamics of the mispricing process in this continuous setting:
Proposition 3.7 (Continuous Mispricing Dynamics).
Given that the market price is continuous and adheres to the initial condition , and under Assumptions 3.1, 3.2, and 3.6, we have:
-
a)
The mispricing process, denoted as , can be decomposed into and takes value within the range for all .
-
b)
and are non-decreasing and continuous, with their initial values set at .
-
c)
and increase only when and , respectively.
Furthermore, and satisfy:
(19) | ||||
(20) |
Proof.
Following the approach in [FMW23a, §3], we decompose the log pool price as , where and represent the cumulative changes in log price due to buy and sell arbitrage orders, respectively. These processes naturally satisfy properties (a) to (c). Equations (19) and (20) then follow directly from the characterization of reflected processes in [Har13, Proposition 2.4]. ∎
Remark 3.8.
The mispricing process can be viewed as a stochastic storage system with finite capacity, where and act as reflecting barriers that keep within the allowed range [Har13, §2.3]. In the special case where the reference market price follows a geometric Brownian motion, becomes a reflected Brownian motion [Har13, §6].
We now consider the dynamics of the reserve process (or ). Time is a point of increase (or decrease) for if there exists such that (or ) for all . The reserve process increases (or decreases) only when if, at every point of increase (or decrease) for , .
Corollary 3.9 (Inventory Dynamics in Arbitrage).
Under the assumptions of Proposition 3.7, the following hold:
-
(a)
and are predictable processes.
-
(b)
increases only when and decreases only when ; increases only when and decreases only when .
-
(c)
and are continuous and of bounded variation on bounded intervals of .
-
(d)
The arbitrage inventory process can be characterized by
(21)
Proof.
The dynamics of liquidity growth based on the mispricing process can be described by incorporating ((d)) into (10).
Corollary 3.10 (Liquidity Dynamics in Arbitrage).
Under the assumptions of Proposition 3.7, the liquidity process is nondecreasing and predictable. Its rate of change is given by:
(22) |
3.3. LP Wealth Growth
In this section, we analyze how the wealth of liquidity providers (LPs) evolves in the G3M under arbitrage-driven dynamics. To do this, we’ll express the LP’s wealth in terms of the reference market prices and the mispricing process.
Define that the LP’s wealth as the total value of their holdings in the pool, denominated in terms of the reference market prices and for assets and , respectively. This can be written as:
(23) |
where is the relative price of asset in the reference market.
Using the relationship between the G3M pool price and the reserves (equation (6)), we can derive bounds on the term :
These inequalities show that the value of the LP’s holdings, , is always within a certain factor of the value based on the G3M pool price, . To quantify this relationship, we define the ratio:
From the above inequalities, we see that is bounded:
Now, we can express the logarithmic wealth of the LP as:
(24) |
Note that and are bounded. This decomposition is the key to understanding the LP wealth growth in the G3M under arbitrage.
4. LP wealth growth analysis
This section develops a methodology for calculating the ergodic growth rates of LP wealth components, denoted by , , and . We begin by establishing the stochastic market model that governs the price dynamics of the assets involved.
4.1. Market Model Setup
We consider a market with two assets, and , whose price dynamics are governed by the following SDEs:
(25) | ||||
where , , , , , are measurable and adapted, and and are independent Brownian motions. The corresponding covariance processes for and are given by
(26) | ||||
In this framework, the AMM price, denoted by , is driven by the relative price of the two assets, . Applying Itô’s lemma to , we obtain
(27) | ||||
where , , and .
Finally, we assume the following long-term limits exist for :
(28) |
These limits represent the long-term average growth rates of the asset prices. For convenience, we define , which represents the long-term average growth rate of the relative price .
4.2. Mispricing Process as a Reflected Diffusion
To analyze the dynamics of mispricing, we model the log relative price as a diffusion process:
(29) |
where and both satisfy Lipschitz and linear growth condition in .
Building on Proposition 3.7 (which presumably establishes the continuity of the mispricing process), we may connect mispricing with reflected diffusions as follows:
Proposition 4.1 (Mispricing and Reflected Diffusion).
This proposition establishes that the mispricing process can be equivalently represented as a diffusion process confined to the interval , where . This "reflection" at the boundaries captures the dynamics of mispricing being bounded within a certain range. The process evolves according to
where recall that and are non-decreasing, continuous processes with . These processes increase only when hits the lower boundary ( increases) or the upper boundary ( increases), respectively, ensuring the reflection.
For notational convenience, we define the following conditional expectations:
(30) |
Here, denotes the conditional expectation with respect to the filtration up to time .
The following lemma shows a Feynman-Kac style formula for reflected diffusions.
Lemma 4.2.
For any given deterministic functions and of , the solution to the following parabolic PDE
(31) |
with boundary condition
and terminal condition has the following stochastic representation
(32) |
where is the reflected diffusion driven by
(33) |
Proof.
Itô’s formula implies that
By taking into account the boundary and terminal conditions and taking conditional expectation on both sides of the last equation, we obtain
By following the proof of Harrison [Har13, Proposition 6.1] and using the Markov property of the diffusion , we can show that satisfies Markov property in the sense that for all and ,
where is measurable, , , , , and . In particular, this implies that
Likewise,
It follows that
since satisfies the PDE (31). By rearranging terms, it follows that the stochastic representation (32) holds. ∎
In general, the solution to the terminal-boundary value problem in Lemma 4.2 admits no simple analytical expression. We will focus on two special cases where the eigensystem associated with the infinitesimal generator of (with Neumann boundary conditions) is readily accessible. To handle these cases, we introduce the following lemma, which addresses parabolic PDEs with non-zero Neumann boundary conditions.
Lemma 4.3.
The solution to the parabolic PDE
(34) |
with boundary conditions
for some constants , , and terminal condition is given by
(35) |
where is the solution to the following inhomogeneous parabolic PDE
with Neumann boundary conditions and terminal condition
Proof.
The result follows from straightforward calculations. ∎
4.3. Time-homogeneous reflected diffusion
This section focuses on the scenario where the mispricing process , defined by (33), is time-homogeneous. This means that the drift and volatility in (30) are independent of time, simplifying the analysis. In this case, we can leverage the eigensystem of the infinitesimal generator of to express the conditional expectation in (32).
Recall that the infinitesimal generator of is given by the differential operator . This operator can be expressed in the Sturm-Liouville form (48):
where
Here, represents the speed measure from classical diffusion theory, which measures how quickly the diffusion moves through different regions of the state space.
Let be the normalized eigensystem associated with with Neumann boundary condition in the interval . This eigensystem provides a convenient basis for analyzing the dynamics of . The following theorem presents an eigensystem expansion for conditional expectations of time-homogeneous reflected diffusions.
Theorem 4.4.
For a time-homogeneous reflected diffusion and any constants and , the conditional expectation
(36) |
admits the following eigensystem expansion associated with with Neumann boundary condition:
where the coefficients and , for , are given by
(38) |
with
Proof.
Let
Then, by Lemma 4.2, satisfies the PDE
with boundary condition , , for all , and terminal condition . Thus, by Lemma 4.3, the solution can be written as
where is the solution to the following inhomogeneous parabolic PDE
with Neumann boundary conditions and terminal condition
Hence, the eigensystem expansion for as in (4.4) in Section A is given by
where the coefficients ’s and ’s are defined in (38). Finally, since
it follows that the eigensystem expansion (4.4) holds. ∎
This theorem provides a concrete way to calculate the conditional expectation in (36) using the eigensystem of the infinitesimal generator. This result enables us to analyze the long-term behavior of the mispricing process and its impact on LP wealth.
Corollary 4.5.
As , the limit of time-average of the conditional expectation (36) is given by
This corollary, which can also be found in [GW13], provides a concise expression for the long-term average behavior of the processes and , which regulate the reflection of the mispricing process at the boundaries.
Leveraging this result, we can determine the long-term expected logarithmic growth rate of an LP’s wealth in the G3M model.
Theorem 4.6 (Log Growth Rate of LP Wealth in G3M Time-homogeneous).
For a time-homogeneous mispricing process , the long-term expected logarithmic growth rate of an LP’s wealth in a G3M is given by
(39) |
where and are the long-term growth rates of the asset prices (defined in (28)), and
Proof.
Theorem 4.6 provides a practical method for calculating the long-term growth rate of an LP’s wealth. The terms and quantify the influence of mispricing on this growth rate, capturing the effects of the boundaries on mispricing and the speed measure.
Remark 4.7.
Theorem 4.6 reveals an intriguing connection between liquidity wealth dynamics in G3Ms under arbitrage-driven scenarios and the principles of Stochastic Portfolio Theory (SPT), particularly in frictionless markets. More precisely, Equation (39) corresponds to the growth rate
of a constant rebalanced portfolio with the same weight, as discussed in [Fer02, §1.1]. Furthermore, the term converges to the excess growth rate as the fee tier approaches 1.
Finally, we characterize the steady-state distribution of the time-homogeneous mispricing process , for which we refer the reader to Theorem A.2 in the appendix.
Theorem 4.8 (Steady-State Distribution).
For a time-homogeneous mispricing process , the reflected diffusion defined in (33) has a steady-state distribution given by
provided that is integrable on . This implies that the steady-state distribution is proportional to the speed measure.
The steady-state distribution describes the long-term behavior of the mispricing process. Its proportionality to the speed measure indicates that the process tends to spend more time in regions where the speed measure is large, i.e., where the diffusion moves slowly.
4.4. Optimal fees and optimal growth
To illustrate the link between LP wealth growth and SPT (as discussed in Remark 4.7), we consider a G3M operating within a GBM market model. This simplifies the market dynamics in (25) by assuming constant parameters for the asset prices. Consequently, the covariance processes in (4.1) also have constant parameters, and the relative price follows a simpler SDE:
where and are constants defined in (4.1). This simplified setting allows us to explicitly compute the long-term expected logarithmic growth rate of LP wealth using Theorem 4.6.
Corollary 4.9 (Log Growth Rate of LP under GBM).
In a G3M operating under a GBM market with constant drift and volatility , the long-term logarithmic growth rate of LP wealth is:
where and
-
•
if .
-
•
and if .
Furthermore, the steady-state distribution of the mispricing process is:
-
•
If , then is the uniform distribution on .
-
•
If , is the truncated exponential distribution
Proof.
Remark 4.10.
This result is consistent with the calculation in [Har13, Proposition 6.6], which utilizes the stationary distribution of the mispricing process.
4.4.1. Numerical Analysis and Optimal Fees
We now numerically investigate the growth rate of LP wealth in G3Ms across different fee tiers and asset weights . This analysis extends the work in [TW20, §5], which focused on the specific case of .
To quantify the impact of fees, we define as the ratio of the "mispricing-related" term in the G3M growth rate to the excess return in SPT. Corollary 4.9 yields
Figures 2 and 3 illustrate this growth rate ratio for various weights and values of . These figures reveal interesting "phase transitions" for both and , where the ratio can exhibit non-monotonicity. This suggests that the optimal fee tier that maximizes LP wealth growth may lie within the interior of the interval , a behavior not observed when .
The figures also highlight the symmetry of with respect to and .
-
•
By replacing with , we obtain
which explains the symmetry between the plots for positive and negative values of in Figure 2.
-
•
Let . Then, can be expressed in terms of as
For , we have , explaining why only "red colors" appear when in Figures 2 and 3. For , a similar symmetry around (i.e., ) is observed, as shown in Figure 2.
Heatmaps in Figures 4 and 5 further visualize the growth rate ratio. The location of the maximum value in each row is labeled, emphasizing the potential for non-monotonicity and interior optimal fee tiers. Notably, under certain conditions, the G3M can outperform both the unrebalanced () and constant rebalanced () portfolio strategies. ]




4.5. Time-inhomogeneous reflected diffusion
In Section 4.3, we utilized the eigensystem of the infinitesimal generator to analyze the long-term growth rate of LP wealth for time-homogeneous reflected diffusions. However, this approach is not applicable when the drift and volatility coefficients are time-dependent, as there are no universal eigenfunctions associated with time-varying eigenvalues.
Nevertheless, we can still determine the long-term expected logarithmic growth rate by analyzing the asymptotic behavior of the time-averaged expectation. This section presents a method to achieve this for time-inhomogeneous reflected diffusions.
Let denote the transition density of the time-inhomogeneous reflected diffusion
confined to the interval . We assume that the time-dependent drift and volatility defined in (30) converge to limiting functions as :
in the sense, and that these limits are smooth and bounded. This implies that the mispricing process eventually approaches a time-homogeneous behavior. Define the limiting speed measure as:
This speed measure corresponds to the stationary distribution of the limiting time-homogeneous reflected diffusion with drift and volatility .
The following theorem, whose proof is deferred to Appendix B, characterizes the long-term time-averaged expectation for time-inhomogeneous reflected diffusions.
Theorem 4.11.
Let be the solution to the parabolic PDE
with Neumann boundary condition and terminal condition . Assume that and there exists a function such that
in . Then, the following asymptotic behavior holds for as :
This theorem provides a tool for analyzing the long-term behavior of time-inhomogeneous reflected diffusions. As a direct consequence, we obtain the following result for the long-term growth rate of LP wealth in the G3M model.
Corollary 4.12 (Log Growth Rate of LP Wealth in G3M Time-inhomogeneous).
Assume that the mispricing process follows the time-inhomogeneous reflected diffusion process in the interval governed by
(40) |
with time-dependent coefficients and defined in (30) converging to smooth and bounded limits and in the sense as . Then, the long-term expected logarithmic growth rate of LP wealth in a G3M is:
where
This corollary generalizes Theorem 4.6 to the time-inhomogeneous case, demonstrating that the long-term growth rate of LP wealth can be expressed in a similar form, with the limiting speed measure playing a key role.
4.6. Independent stochastic volatility and drift
In this section, we generalize the analysis to incorporate stochastic volatility and drift in the log price process, . Specifically, we assume follows the diffusion process:
where both and are stochastic processes but are independent of the driving Brownian motion . This allows for more realistic modeling of market dynamics where volatility and expected returns can fluctuate randomly over time. The mispricing process, , remains a reflected diffusion within the interval , where , and satisfies
We further impose a strong ellipticity condition on the volatility, requiring almost surely for all . This ensures that the volatility remains strictly positive.
Our goal is to derive the long-term limit of the time-averaged logarithmic growth rate of LP wealth in this setting. As in Section 4.5, the eigensystem approach used in Section 4.3 is not applicable here because the time-dependent drift prevents the existence of time-independent eigenfunctions.
4.6.1. Time-Dependent Volatility
To begin, we consider a simplified scenario where the volatility is a deterministic function of and the drift is zero ( for all ). This allows us to isolate the effect of time-dependent volatility. In this case, the infinitesimal generator becomes time-dependent:
Despite the time-dependence, we can still find eigenvalues and eigenfunctions associated with that satisfy the eigenvalue problem:
with Neumann boundary conditions . The solutions are:
(41) |
Importantly, while the eigenvalues are time-dependent, the eigenfunctions are not.
Using a similar approach as in Section 4.3, we can express the conditional expectation
in terms of the eigensystem (41). This leads to the following theorem (presented without proof):
Theorem 4.13.
Let be the reflected diffusion in the interval governed by
For given constants and , the conditional expectation
(42) |
can be written in terms of the eigensystem (41) associated with with Neumann boundary condition as
(43) |
where the time-dependent coefficients are given by
(44) |
and
Theorem 4.14 (Log Growth Rate of LP Wealth under Time-Dependent Volatility).
Assuming , the logarithmic growth rate of an LP’s wealth in a G3M can be expressed as
This theorem demonstrates how the time-averaged volatility influences the long-term growth of LP wealth.
Furthermore, since the volatility process is independent of the mispricing process , by conditioning on the -algebra generated by then applying the tower property for conditional expectation, we obtain the logarithmic growth rate of LP’s wealth under driftless, independent stochastic volatility as follows.
Theorem 4.15 (Log Growth Rate under Independent Stochastic Volatility).
Assuming , the logarithmic growth rate of an LP’s wealth in a G3M can be expressed as
We conclude the section by showing that if the stochastic but independent drift and volatility converge to their corresponding limits, similar asymptotics in expectation as in Corollary 4.12 can also be obtained.
Theorem 4.16 (Log Growth Rate of LP Wealth in G3M Independent Volatility and Drift).
Assume that the mispricing process follows the reflected diffusion process in the interval governed by
(45) |
where the coefficients and are stochastic but independent of the driving Brownian motion . Further, assume that the limits of the coefficients and as approaches infinity exist almost surely and in . Specifically, there exists an such that
(46) |
almost surely and in , where and are square integrable random variables. The long-term expected logarithmic growth rate of an LP’s wealth in a G3M can be expressed as
where
where , should the expectations exist.
Proof.
The proof essentially is based on conditioning on the realizations of and followed by applying the tower property since and are independent of the Brownian motion . ∎
We remark that the long-term expected logarithmic growth rate considered in Theorem 4.16 can also be obtained differently by first calculating the condition expectations as in (30), then apply the asymptotic result given in Corollary 4.12. This route is applicable even when and are not independent of ; it is, however, subject to the determination of the conditional expectations in (30), which in general do not admit easy to access analytical expressions. The expression obtained in Theorem 4.16 is more tractable in that it is subject to the determination of the limiting distributions for and as well as the corresponding expectations. However, it applies only if and are independent of .
Conclusion
This paper investigated the growth of liquidity provider (LP) wealth in Geometric Mean Market Makers (G3Ms), explicitly considering the impacts of continuous-time arbitrage and transaction fees. We extended the analysis of arbitrage in LP profitability beyond the constant product models studied in [TW20] to encompass a broader class of G3Ms.
Our model-free approach, building upon the framework in [MMRZ22b, MMRZ22a, MMR23], provides a refined understanding of G3M dynamics under the influence of arbitrage and fees. A key result is the characterization of LP wealth growth through a stochastic model driven by the mispricing process between the G3M and an external reference market. This model elucidates the crucial role of trading fees in LP returns and demonstrates how arbitrage activity establishes a no-trading band around the reference market price.
Our analysis reveals that the adverse selection risk posed by arbitrageurs necessitates a nuanced understanding of LP wealth dynamics. Notably, we demonstrated that, under certain market conditions, G3Ms with fees can outperform both buy-and-hold and constant rebalanced portfolio strategies. This finding highlights the potential of G3Ms as a competitive investment product within the DeFi landscape, effectively functioning as on-chain index funds.
Several promising avenues for future research emerge from our work. These include incorporating noise trader order flows to create more realistic market dynamics, investigating the interplay between different AMM liquidity pools, refining LP wealth growth models to account for factors like impermanent loss, and extending the analysis to G3Ms with dynamic weights, drawing connections to stochastic portfolio theory (SPT) as explored in [Eva21, Fer02, KF09]. These research directions will further enrich our understanding of AMM functionality and its broader implications for liquidity providers and the DeFi ecosystem.
Acknowledgement
The authors express their sincere gratitude to Shuenn-Jyi Sheu for his invaluable insights and guidance throughout this research. We also appreciate the fruitful discussions and support from our colleagues, which significantly contributed to the development of this work. We are also grateful to the anonymous referee for their careful reading of the manuscript and their constructive comments and suggestions, which helped improve the quality of this paper.
S.-N. T. gratefully acknowledges the financial support from the National Science and Technology Council of Taiwan under grant 111-2115-M-007-014-MY3. Furthermore, S.-N. T. extends heartfelt thanks to Ju-Yi Yen for her unwavering encouragement and support, which were instrumental in making this collaborative effort possible.
Appendix A Sturm-Liouville theory
This section provides a brief overview of Sturm-Liouville theory, which plays a key role in analyzing the mispricing process and deriving the growth rate of LP wealth in our framework.
A.1. Eigensystem
Consider a second-order differential operator in the Sturm-Liouville form
(48) |
where and are smooth functions. Let represent the eigensystem of , satisfying
with Neumann boundary conditions on the interval . These boundary conditions correspond to reflecting boundaries for the associated diffusion process. Since a constant function always satisfies the equation with , the first normalized eigenfunction is , where .
The eigensystem possesses the following important properties:
-
•
for all and each eigenvalue is of multiplicity one.
-
•
The normalized eigenfunctions form an orthonormal basis for the space with respect to the weight function . This means
where is the Kronecker delta. Consequently, any function can be expressed as
where the coefficients are given by
This expansion converges in the sense with respect to the weight function .
A.2. Solution to inhomogeneous PDE with general terminal condition
For the inhomogeneous parabolic PDE
(49) |
with terminal condition and Neumann boundary conditions for , we show how to formulate its solution using the eigensystem given in Section A.1. Let the eigenfunction expansions for functions and be represented as
where the coefficients and are defined as:
In particular, the term , expressed as
(50) |
is the weighted average of over the interval , weighted by .
The solution to the terminal-boundary value problem (49) can be expressed in terms of eigenvalues and eigenfunctions for as
(51) |
Consequently, the following long-term time-averaged limit of exists
where recall that , given in (50), is the zeroth Fourier coefficient of the inhomogeneous term . We note that this long-term time-averaged limit depends only on the zeroth coefficient of the inhomogeneous term, no other higher order coefficients are involved. Furthermore, we have the following long-term limit of as
A.3. Transition density in terms of eigensystem
The following proposition shows that the transition density of a reflected diffusion within a bounded interval can be expressed in terms of the eigensystem of its infinitesimal generator with Neumann boundary condition.
Proposition A.1.
The transition density of a reflected diffusion in the interval with infinitesimal generator given in (48) can be expressed in terms of the eigensystem for as
This leads to the following characterization of the steady-state distribution:
Theorem A.2 (Steady-State Distribution).
The reflected diffusion within the interval with infinitesimal generator (48) has a steady-state distribution given by
Proof.
By Proposition A.1, as , the steady-state distribution is given by
since the zeroth eigenfunction is a constant . ∎
Appendix B Time-inhomogeneous reflected diffusion
In this appendix, we provide the proof of the long-term time averaged expectation of a time-inhomogeneous reflected diffusion as stated in Theorem 4.11. For fixed , we shall sometimes suppress the reference to , in the transition density and simply denote by for simplicity. For any function defined in , denotes the norm of in . We start with stating an estimate of the -norm between the transition density and the stationary density in the following lemma, whose proof is omitted (for interested readers, we refer it to, for instance, [Kah83], see (3.21) on P.276), is classical and crucial to the proof that follows.
Lemma B.1.
Assume that the infinitesimal generator operator is strongly elliptic, i.e., there exists an such that for all , , and that the coefficients and are smooth and bounded, the following estimates hold. For any , we have
(52) |
for some constant depending only on the interval . As a result, we note that the norm of is bounded above by
(53) |
for .
With Lemma B.1 in hand, we provide the proof of Theorem 4.11 as follows. Note that we have
since is the transition density. Consider
(54) |
We separately determine the limits of the two terms on the right-hand side of (54).
For the first term in (54), by applying the Cauchy-Schwarz inequality we obtain that, for ,
where in the second inequality, we applied the upper bound for given in (53). It follows that
(55) |
For the second term in (54), we claim that, as in , we have
(56) |
for every and . Note that by applying the Cauchy-Schwarz inequality, we have
(57) |
We shall deal with the two pieces in (57) separately. For the first piece, since as in , for any , there exists a such that
for all . Hence, for given we have
where in the inequality we applied the upper bound for given in (53) and the constant is defined as
It follows that
Since is arbitrary, we obtain the limit of time-average of the first piece in (57) as approaches infinity as
Next, for the second piece in (57), note that from (52) we have
It follows immediately that
Finally, by combing (55) and (56) we conclude that
References
- [AC20] Guillermo Angeris and Tarun Chitra. Improved price oracles: Constant function market makers. In Proceedings of the 2nd ACM Conference on Advances in Financial Technologies (AFT ’20), AFT ’20, pages 80–91, New York, NY, USA, 2020. Association for Computing Machinery.
- [AKC+19] Guillermo Angeris, Hsien-Tang Kao, Rei Chiang, Charlie Noyes, and Tarun Chitra. An analysis of uniswap markets. arXiv e-prints, 2019.
- [AZR20] Hayden Adams, Noah Zinsmeister, and Dan Robinson. Uniswap v2 core, 2020.
- [BEK24] W. Brönnimann, P. Egloff, and T. Krabichler. Automated market makers and their implications for liquidity providers. Digital Finance, 6:573–604, 2024.
- [CDM23] Álvaro Cartea, Fayçal Drissi, and Marcello Monga. Predictable losses of liquidity provision in constant function markets and concentrated liquidity markets. Applied Mathematical Finance, 30(2):69–93, 2023.
- [CDM24] Álvaro Cartea, Fayçal Drissi, and Marcello Monga. Decentralized finance and automated market making: Predictable loss and optimal liquidity provision. SIAM Journal on Financial Mathematics, 15(3):931–959, 2024.
- [CJ21] Agostino Capponi and Ruizhe Jia. The adoption of blockchain-based decentralized exchanges. arXiv e-prints, 2021.
- [Eva21] Alex Evans. Liquidity provider returns in geometric mean markets. Cryptoeconomic Systems, 1(2), October 2021.
- [Fer02] E. Robert Fernholz. Stochastic Portfolio Theory, volume 48 of Applications of Mathematics (New York). Springer-Verlag, New York, 2002.
- [FMW23a] Masaaki Fukasawa, Basile Maire, and Marcus Wunsch. Model-free hedging of impermanent loss in geometric mean market makers. arXiv e-prints, 2023.
- [FMW23b] Masaaki Fukasawa, Basile Maire, and Marcus Wunsch. Weighted variance swaps hedge against impermanent loss. Quantitative Finance, 23(6):901–911, 2023.
- [GM23] Emmanuel Gobet and Anastasia Melachrinos. Decentralized finance & blockchain technology. In SIAM Financial Mathematics and Engineering 2023, Philadelphia, United States, 2023.
- [GW13] Peter Glynn and Rob Wang. Central limit theorems and large deviations for additive functionals of reflecting diffusion processes. Fields Institute Communications, 76, 2013.
- [Har13] J. Michael Harrison. Brownian Models of Performance and Control. Cambridge University Press, Cambridge, 2013.
- [Kah83] Charles S. Kahane. On the asymptotic behavior of solutions of parabolic equations. Czechoslovak Mathematical Journal, 33(2):262–285, 1983.
- [KF09] Ioannis Karatzas and Robert Fernholz. Stochastic portfolio theory: an overview. In Alain Bensoussan and Qiang Zhang, editors, Special Volume: Mathematical Modeling and Numerical Methods in Finance, volume 15 of Handbook of Numerical Analysis, pages 89–167. Elsevier, 2009.
- [MM19] Fernando Martinelli and Nikolai Mushegian. Balancer: A non-custodial portfolio manager, liquidity provider, and price sensor, 2019.
- [MMR23] Jason Milionis, Ciamac C. Moallemi, and Tim Roughgarden. Automated market making and arbitrage profits in the presence of fees. arXiv e-prints, 2023.
- [MMRZ22a] Jason Milionis, Ciamac C. Moallemi, Tim Roughgarden, and Anthony Lee Zhang. Automated market making and loss-versus-rebalancing. arXiv e-prints, 2022.
- [MMRZ22b] Jason Milionis, Ciamac C. Moallemi, Tim Roughgarden, and Anthony Lee Zhang. Quantifying loss in automated market makers. In Proceedings of the 2022 ACM CCS Workshop on Decentralized Finance and Security (DeFi’22), pages 71–74, New York, NY, USA, 2022. Association for Computing Machinery.
- [Moh22] V. Mohan. Automated market makers and decentralized exchanges: a defi primer. Financial Innovation, 8(20), 2022.
- [NTYY24] Joseph Najnudel, Shen-Ning Tung, Kazutoshi Yamazaki, and Ju-Yi Yen. An arbitrage driven price dynamics of automated market makers in the presence of fees. Frontiers of Mathematical Finance, 3(4):560–571, 2024.
- [TW20] Martin Tassy and David White. Growth rate of a liquidity provider’s wealth in automated market makers, 2020.