Skip to main content
QUICK REVIEW

[Paper Review] Presentation and Publication: Loss and Slippage in Networks of Automated Market Makers

Daniel Engel, Maurice Herlihy|arXiv (Cornell University)|Oct 17, 2021
Auction Theory and ApplicationsDecision Sciences8 citations
TL;DR

This paper formalizes and analyzes key economic costs in networks of automated market makers (AMMs), including slippage, divergence loss, and load, showing they obey conservation laws that prevent full elimination. It introduces mathematical definitions for linear and angular slippage, divergence loss, and load, and demonstrates how these costs behave under sequential and parallel composition of AMMs, enabling systematic design of adaptive AMM protocols that balance costs across traders and liquidity providers.

ABSTRACT

Automated market makers (AMMs) are smart contracts that automatically trade electronic assets according to a mathematical formula. This paper investigates how an AMM's formula affects the interests of liquidity providers, who endow the AMM with assets, and traders, who exchange one asset for another at the AMM's rates. *Linear slippage* measures how a trade's size affects the trader's return, *angular slippage* measures how a trade's size affects the subsequent market price, *divergence loss* measures the opportunity cost of providers' investments, and *load* balances the costs to traders and providers. We give formal definitions for these costs, show that they obey certain conservation laws: these costs can be shifted around but never fully eliminated. We analyze how these costs behave under *composition*, when simple individual AMMs are linked to form more complex networks of AMMs.

Motivation & Objective

  • To formalize and quantify core economic costs—slippage, divergence loss, and load—in automated market makers (AMMs) used in decentralized finance.
  • To establish conservation laws showing that costs can be shifted between traders and liquidity providers but never fully eliminated.
  • To analyze how these costs behave under sequential and parallel composition of AMMs, enabling network-level cost prediction and optimization.
  • To propose adaptive AMM designs that dynamically adjust to minimize expected costs under changing market conditions.
  • To provide a rigorous mathematical framework for evaluating and improving AMM formulas based on trader and provider incentives.

Proposed method

  • Introduces two distinct mathematical definitions of slippage: linear slippage (price impact per trade size) and angular slippage (rate of price change with trade size).
  • Defines divergence loss as the opportunity cost for liquidity providers when asset prices deviate from initial values, expressed directly in terms of the AMM’s invariant function.
  • Proposes load as a new metric to quantify the balance of costs between traders and providers, enabling cost distribution analysis.
  • Applies conservation laws to show that total cost is invariant under reconfiguration, though redistribution among participants is possible.
  • Analyzes sequential and parallel composition of AMMs, deriving how composite AMM behavior emerges from individual components using invariant functions and market equilibrium principles.
  • Proposes adaptive strategies that update AMM functions in response to changing market valuations, preserving reserve and exchange rate continuity at the current state.

Experimental results

Research questions

  • RQ1How do linear and angular slippage differ in their mathematical formulation and economic implications for traders?
  • RQ2What is the precise mathematical definition of divergence loss in terms of an AMM’s invariant function, and how does it affect liquidity providers?
  • RQ3How do slippage, divergence loss, and load behave when AMMs are composed sequentially or in parallel?
  • RQ4Can conservation laws be established for these costs, and what do they imply about the impossibility of fully eliminating them?
  • RQ5What adaptive strategies can be used to dynamically reconfigure AMM functions to minimize expected costs under changing market conditions?

Key findings

  • Slippage is formally decomposed into linear and angular variants, both of which depend directly on the curvature of the AMM’s invariant function.
  • Divergence loss is precisely quantified as the shortfall in provider value relative to a buy-and-hold strategy, and is determined solely by the AMM’s functional form.
  • Load is introduced as a metric that balances cost distribution between traders and providers, enabling optimization of fairness and efficiency.
  • Conservation laws are established: total cost (slippage, divergence loss, load) is invariant under reconfiguration, meaning costs can be shifted but not eliminated.
  • Under sequential composition, the effective cost of a composite AMM network is the sum of individual costs, with propagation of price impacts through the chain.
  • Under parallel composition, traders can split trades across AMMs with different formulas, and the optimal split minimizes expected load or slippage, depending on market conditions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.