[Paper Review] Automated Market Makers: Mean-Variance Analysis of LPs Payoffs and Design of Pricing Functions
This paper proposes oracle-based Automated Market Makers (AMMs) that use external price oracles to improve liquidity provider (LP) performance, contrasting them with traditional Constant Function Market Makers (CFMMs). Using mean-variance analysis inspired by Markowitz portfolio theory, it shows that oracle-based AMMs deliver higher risk-adjusted returns—achieving positive excess PnL with lower volatility—even under delayed oracles and adverse selection, outperforming standard CFMMs with or without fees.
With the emergence of decentralized finance, new trading mechanisms called Automated Market Makers have appeared. The most popular Automated Market Makers are Constant Function Market Makers. They have been studied both theoretically and empirically. In particular, the concept of impermanent loss has emerged and explains part of the profit and loss of liquidity providers in Constant Function Market Makers. In this paper, we propose another mechanism in which price discovery does not solely rely on liquidity takers but also on an external exchange rate or price oracle. We also propose to compare the different mechanisms from the point of view of liquidity providers by using a mean / variance analysis of their profit and loss compared to that of agents holding assets outside of Automated Market Makers. In particular, inspired by Markowitz' modern portfolio theory, we manage to obtain an efficient frontier for the performance of liquidity providers in the idealized case of a perfect oracle. Beyond that idealized case, we show that even when the oracle is lagged and in the presence of adverse selection by liquidity takers and systematic arbitrageurs, optimized oracle-based mechanisms perform better than popular Constant Function Market Makers.
Motivation & Objective
- To analyze the performance of liquidity providers (LPs) in Automated Market Makers (AMMs) using a mean-variance framework inspired by modern portfolio theory.
- To investigate how integrating external price oracles into AMM pricing functions affects LP payoff distribution and risk-adjusted performance.
- To compare oracle-based AMMs with traditional Constant Function Market Makers (CFMMs), especially regarding impermanent loss and transaction fee dependence.
- To evaluate robustness under realistic market frictions, including lagged oracles, adverse selection by liquidity takers, and systematic arbitrageurs.
- To design an optimal oracle-based AMM mechanism that minimizes volatility and maximizes expected excess PnL for LPs.
Proposed method
- The paper applies mean-variance analysis to model LP profit and loss (PnL) relative to a benchmark of holding assets off-chain, using a continuous-time stochastic framework.
- It formulates an optimal control problem to derive the efficient frontier of LP performance under perfect and lagged oracles, using stochastic optimal control techniques.
- The pricing function of the proposed AMM dynamically adjusts bid/ask spreads around the oracle-provided market exchange rate, based on pool reserves and external price signals.
- The model incorporates liquidity takers' trades and systematic arbitrageurs who exploit mispricings, simulating real market microstructure dynamics.
- It compares performance across different mechanisms: CFMMs (e.g., Uniswap), CFMMs with fees, and oracle-based AMMs using simulated excess PnL distributions.
- Key equations include the mean-variance optimization of LP PnL, the oracle-based pricing function, and the efficient frontier derived from convex analysis under risk aversion.
Experimental results
Research questions
- RQ1How does the integration of a price oracle into an AMM design affect the mean and variance of LPs' excess profit and loss compared to traditional CFMMs?
- RQ2Can an oracle-based AMM achieve a higher risk-adjusted return than CFMMs, even when the oracle is delayed or imperfect?
- RQ3What is the impact of systematic arbitrageurs on the risk and return profile of LPs in oracle-based AMMs?
- RQ4How does the efficient frontier of LP performance change under different levels of risk aversion when using an oracle versus no oracle?
- RQ5To what extent do adverse selection and liquidity taker behavior distort LP returns in CFMMs versus oracle-enhanced AMMs?
Key findings
- Oracle-based AMMs achieve a positive expected excess PnL on average, while traditional CFMMs often exhibit negative excess PnL due to impermanent loss.
- The efficient frontier for LPs in oracle-based AMMs lies above that of CFMMs, indicating superior risk-adjusted performance even under perfect information.
- With a lagged oracle, the performance of the optimal strategy remains significantly better than CFMMs, with reduced volatility and higher expected returns.
- The presence of systematic arbitrageurs improves the risk-return profile of oracle-based AMMs by narrowing the bid-ask spread and reducing price deviations.
- Even under adverse selection by liquidity takers, the oracle-based mechanism outperforms CFMMs in terms of Sharpe ratio and downside risk.
- The study confirms that oracles can significantly enhance LP performance, but only if the oracle is robust to manipulation and delays.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.