[Paper Review] SoK: Automated Market Maker (AMM) based Decentralized Exchanges (DEXs)
This paper proposes a general framework for analyzing Automated Market Maker (AMM) based decentralized exchanges (DEXs), formalizing their state-space representation and deriving closed-form expressions for slippage and divergence loss across top protocols like Uniswap, Curve, and Sushiswap. The framework enables systematic comparison of AMM mechanics and quantifies key economic trade-offs for traders and liquidity providers.
As an integral part of the Decentralized Finance (DeFi) ecosystem, Automated Market Maker (AMM) based Decentralized Exchanges (DEXs) have gained massive traction with the revived interest in blockchain and distributed ledger technology in general. Most prominently, the top six AMMs -- Uniswap, Balancer, Curve, Dodo, Bancor and Sushiswap -- hold in aggregate 15 billion USD worth of crypto-assets as of March 2021. Instead of matching the buy and sell sides, AMMs employ a peer-to-pool method and determine asset price algorithmically through a so-called conservation function. Compared to centralized exchanges, AMMs exhibit the apparent advantage of decentralization, automation and continuous liquidity. Nonetheless, AMMs typically feature drawbacks such as high slippage for traders and divergence loss for liquidity providers. In this work, we establish a general AMM framework describing the economics and formalizing the system's state-space representation. We employ our framework to systematically compare the mechanics of the top AMM protocols, deriving their slippage and divergence loss functions.
Motivation & Objective
- To establish a unified framework for modeling the economics of AMM-based decentralized exchanges.
- To formalize the state-space representation of AMM protocols to enable systematic comparison.
- To derive closed-form expressions for slippage and divergence loss across leading AMM protocols.
- To quantify the economic trade-offs faced by traders and liquidity providers in AMM systems.
Proposed method
- The authors define a general AMM framework based on conservation functions that govern price determination in liquidity pools.
- They formalize the system's state-space representation using pool reserves and invariant values to model protocol behavior.
- The framework derives analytical expressions for slippage by analyzing the impact of trade size on price impact via the conservation function.
- Divergence loss is formalized as the opportunity cost of providing liquidity relative to holding assets, derived from the protocol's price function.
- The method is applied to six major AMMs—Uniswap, Balancer, Curve, Dodo, Bancor, and Sushiswap—using their respective invariant functions.
- The analysis compares protocol mechanics by evaluating how different invariant functions affect slippage and divergence loss.
Experimental results
Research questions
- RQ1How do different AMM protocols compare in terms of price impact and slippage under varying trade sizes?
- RQ2What is the formal relationship between a protocol's invariant function and its divergence loss for liquidity providers?
- RQ3How does the choice of conservation function affect the economic incentives for traders and liquidity providers?
- RQ4What are the quantitative differences in slippage and impermanent loss across top AMM protocols like Uniswap and Curve?
Key findings
- The framework successfully derives closed-form expressions for slippage and divergence loss across all six major AMM protocols studied.
- Protocols using constant product invariants (e.g., Uniswap) exhibit higher slippage for large trades compared to those with constant sum or other functions.
- Divergence loss is formally quantified as a function of price movement and the specific invariant used, showing significant variation across protocols.
- The analysis reveals that Curve’s stablecoin-focused invariant minimizes slippage and divergence loss in stablecoin trading pairs.
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.