[Paper Review] SoK: Decentralized Exchanges (DEX) with Automated Market Maker (AMM) Protocols
This paper presents the first systematization of knowledge (SoK) on decentralized exchanges (DEXs) using automated market maker (AMM) protocols, introducing a formal state-space framework to model AMM mechanics, compare conservation functions, and analyze slippage and divergence loss. It provides a comprehensive survey of security and privacy issues in AMM-based DEXs and establishes a foundational taxonomy for future research and protocol development in DeFi.
As an integral part of the decentralized finance (DeFi) ecosystem, decentralized exchanges (DEXs) with automated market maker (AMM) protocols have gained massive traction with the recently revived interest in blockchain and distributed ledger technology (DLT) in general. Instead of matching the buy and sell sides, automated market makers (AMMs) employ a peer-to-pool method and determine asset price algorithmically through a so-called conservation function. To facilitate the improvement and development of automated market maker (AMM)-based decentralized exchanges (DEXs), we create the first systematization of knowledge in this area. We first establish a general automated market maker (AMM) framework describing the economics and formalizing the system's state-space representation. We then employ our framework to systematically compare the top automated market maker (AMM) protocols' mechanics, illustrating their conservation functions, as well as slippage and divergence loss functions. We further discuss security and privacy concerns, how they are enabled by automated market maker (AMM)-based decentralized exchanges (DEXs)' inherent properties, and explore mitigating solutions. Finally, we conduct a comprehensive literature review on related work covering both decentralized finance (DeFi) and conventional market microstructure.
Motivation & Objective
- To establish a formal, general framework for modeling AMM-based DEXs using state-space representation and conservation functions.
- To systematically compare top AMM protocols by analyzing their conservation functions, slippage, and divergence loss characteristics.
- To identify and analyze inherent security and privacy risks in AMM-based DEXs arising from their design and operational properties.
- To survey and categorize existing research on AMM protocols, DeFi market microstructure, and related security threats.
- To provide a structured foundation for future research and development in decentralized finance by unifying fragmented insights into a coherent knowledge system.
Proposed method
- Proposes a general AMM framework based on state-space representation, modeling the system's state and dynamics through conservation functions.
- Employs mathematical formalization of conservation functions (e.g., constant product, weighted, logarithmic market scoring rule) to compare protocol mechanics.
- Derives and analyzes slippage and divergence loss functions as key economic performance metrics for AMM protocols.
- Conducts a comprehensive literature review covering DeFi, market microstructure, and security threats, including MEV, front-running, and blockchain DoS attacks.
- Integrates insights from empirical studies, simulations, and case studies to evaluate protocol behavior under real-world conditions.
- Uses a taxonomy-based approach to classify AMM variants, security vulnerabilities, and mitigation strategies.
Experimental results
Research questions
- RQ1How can AMM-based DEXs be formally modeled using a unified state-space framework to capture their economic and mechanical behavior?
- RQ2What are the key differences in conservation functions across leading AMM protocols, and how do they affect price discovery, slippage, and impermanent loss?
- RQ3What are the primary security and privacy threats inherent in AMM-based DEXs, and how do they stem from protocol design and blockchain properties?
- RQ4How do existing AMM protocols compare in terms of economic efficiency, risk exposure, and resilience to market and adversarial conditions?
- RQ5What are the critical research gaps and open challenges in the design and analysis of AMM-based DEXs, and how can they be addressed systematically?
Key findings
- The proposed state-space framework successfully abstracts and formalizes the mechanics of diverse AMM protocols, enabling systematic comparison across conservation functions.
- Constant function market makers (CFMMs), such as the constant product model, dominate the current AMM landscape, but exhibit significant slippage and divergence loss under price volatility.
- Divergence loss is formally quantified as a function of price movement and initial liquidity allocation, with LPs bearing the risk when asset prices deviate from initial values.
- Security threats such as MEV, front-running, and L7 DDoS attacks are inherent to the public and probabilistic nature of blockchain transaction ordering and are exacerbated by AMM design.
- Privacy risks arise from on-chain transaction transparency, enabling tracking of LP positions and trading patterns, with limited mitigation in current protocols.
- The literature review identifies a growing body of research on AMM security, particularly around MEV and front-running, but highlights a lack of unified formal models for economic and security analysis.
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.