An Axiomatic Characterization of CFMMs and Equivalence to Prediction Markets

Authors Rafael Frongillo , Maneesha Papireddygari , Bo Waggoner



PDF
Thumbnail PDF

File

LIPIcs.ITCS.2024.51.pdf
  • Filesize: 1.65 MB
  • 21 pages

Document Identifiers

Author Details

Rafael Frongillo
  • University of Colorado, Boulder, CO, USA
Maneesha Papireddygari
  • University of Colorado, Boulder, CO, USA
Bo Waggoner
  • University of Colorado, Boulder, CO, USA

Acknowledgements

We thank David Pennock, Daniel Reeves, Anson Kahng, and Manifold Markets for collaboration in working out the cost function corresponding to Uniswap. We also thank Scott Kominers, Ciamac Moallemi, Abe Othman, Tim Roughgarden, and Christoph Schlegel for helpful discussions.

Cite AsGet BibTex

Rafael Frongillo, Maneesha Papireddygari, and Bo Waggoner. An Axiomatic Characterization of CFMMs and Equivalence to Prediction Markets. In 15th Innovations in Theoretical Computer Science Conference (ITCS 2024). Leibniz International Proceedings in Informatics (LIPIcs), Volume 287, pp. 51:1-51:21, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)
https://doi.org/10.4230/LIPIcs.ITCS.2024.51

Abstract

Constant-function market makers (CFMMs), such as Uniswap, are automated exchanges offering trades among a set of assets. We study their technical relationship to another class of automated market makers, cost-function prediction markets. We first introduce axioms for market makers and show that CFMMs with concave potential functions characterize "good" market makers according to these axioms. We then show that every such CFMM on n assets is equivalent to a cost-function prediction market for events with n outcomes. Our construction directly converts a CFMM into a prediction market, and vice versa. Using this equivalence, we give another construction which can produce any 1-homogenous, increasing, and concave CFMM, as are typically used in practice, from a cost function. Conceptually, our results show that desirable market-making axioms are equivalent to desirable information-elicitation axioms, i.e., markets are good at facilitating trade if and only if they are good at revealing beliefs. For example, we show that every CFMM implicitly defines a proper scoring rule for eliciting beliefs; the scoring rule for Uniswap is unusual, but known. From a technical standpoint, our results show how tools for prediction markets and CFMMs can interoperate. We illustrate this interoperability by showing how liquidity strategies from both literatures transfer to the other, yielding new market designs.

Subject Classification

ACM Subject Classification
  • Theory of computation → Algorithmic game theory
  • Mathematics of computing → Information theory
Keywords
  • Convex analysis
  • Equivalence result
  • Axiomatic characterization
  • Market Makers
  • Prediction markets
  • Scoring rules
  • Cost-functions

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Jacob Abernethy, Yiling Chen, and Jennifer Wortman Vaughan. Efficient market making via convex optimization, and a connection to online learning. ACM Transactions on Economics and Computation, 1(2):12, 2013. URL: http://dl.acm.org/citation.cfm?id=2465777.
  2. Jacob D. Abernethy, Rafael M. Frongillo, and Sindhu Kutty. On Risk Measures, Market Making, and Exponential Families. SIGecom Exchanges, 13(2):21-25, January 2015. URL: https://doi.org/10.1145/2728732.2728734.
  3. Jacob D. Abernethy, Rafael M. Frongillo, Xiaolong Li, and Jennifer Wortman Vaughan. A General Volume-parameterized Market Making Framework. In Proceedings of the Fifteenth ACM Conference on Economics and Computation, EC '14, pages 413-430, New York, NY, USA, 2014. ACM. URL: https://doi.org/10.1145/2600057.2602900.
  4. Shipra Agrawal, Erick Delage, Mark Peters, Zizhuo Wang, and Yinyu Ye. A unified framework for dynamic prediction market design. Operations research, 59(3):550-568, 2011. URL: http://pubsonline.informs.org/doi/abs/10.1287/opre.1110.0922.
  5. Guillermo Angeris, Akshay Agrawal, Alex Evans, Tarun Chitra, and Stephen Boyd. Constant Function Market Makers: Multi-asset Trades via Convex Optimization, pages 415-444. Springer International Publishing, Cham, 2022. URL: https://doi.org/10.1007/978-3-031-07535-3_13.
  6. Guillermo Angeris and Tarun Chitra. Improved price oracles: Constant function market makers. In Proceedings of the 2nd ACM Conference on Advances in Financial Technologies, pages 80-91, 2020. Google Scholar
  7. Shalev Ben-David and Eric Blais. A new minimax theorem for randomized algorithms. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pages 403-411. IEEE, 2020. Google Scholar
  8. Maxim Bichuch and Zachary Feinstein. Axioms for automated market makers: A mathematical framework in fintech and decentralized finance, 2022. URL: https://doi.org/10.48550/ARXIV.2210.01227.
  9. Andreas Buja, Werner Stuetzle, and Yi Shen. Loss functions for binary class probability estimation and classification: Structure and applications. Working draft, November, 3:13, 2005. URL: https://pdfs.semanticscholar.org/d670/6b6e626c15680688b0774419662f2341caee.pdf.
  10. Agostino Capponi and Ruizhe Jia. The adoption of blockchain-based decentralized exchanges. arXiv preprint arXiv:2103.08842, 2021. Google Scholar
  11. Y. Chen and D.M. Pennock. A utility framework for bounded-loss market makers. In Proceedings of the 23rd Conference on Uncertainty in Artificial Intelligence, pages 49-56, 2007. Google Scholar
  12. Y. Chen and J.W. Vaughan. A new understanding of prediction markets via no-regret learning. In Proceedings of the 11th ACM conference on Electronic commerce, pages 189-198, 2010. Google Scholar
  13. Chris Connell and Eric B Rasmusen. Concavifying the quasiconcave. Journal of Convex Analysis, 24(4):1239-1262, 2017. Google Scholar
  14. Michael Egorov. Stableswap-efficient mechanism for stablecoin liquidity. Retrieved Feb, 24:2021, 2019. Google Scholar
  15. W. Fenchel. Convex Cones, Sets, and Functions. Princeton University, Department of Mathematics, Logistics Research Project, 1953. URL: https://books.google.com/books?id=qOQ-AAAAIAAJ.
  16. Rafael Frongillo and Mark D. Reid. Convergence Analysis of Prediction Markets via Randomized Subspace Descent. In Advances in Neural Information Processing Systems, pages 3016-3024, 2015. URL: http://papers.nips.cc/paper/5727-convergence-analysis-of-prediction-markets-via-randomized-subspace-descent.
  17. Rafael Frongillo and Bo Waggoner. An Axiomatic Study of Scoring Rule Markets. In Anna R. Karlin, editor, 9th Innovations in Theoretical Computer Science Conference (ITCS 2018), volume 94 of Leibniz International Proceedings in Informatics (LIPIcs), pages 15:1-15:20, Dagstuhl, Germany, 2018. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. URL: https://doi.org/10.4230/LIPIcs.ITCS.2018.15.
  18. Hans Föllmer and Alexander Schied. Convex and coherent risk measures. October, 8:2008, 2008. URL: http://alexschied.de/Encyclopedia6.pdf.
  19. Hans Föllmer and Stefan Weber. The Axiomatic Approach to Risk Measures for Capital Determination. Annual Review of Financial Economics, 7(1), 2015. Google Scholar
  20. Tilmann Gneiting and Adrian E. Raftery. Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association, 102(477):359-378, 2007. Google Scholar
  21. Gnosis. Automated market makers for prediction markets, 2020. URL: https://docs.gnosis.io/conditionaltokens/docs/introduction3/.
  22. Mohak Goyal, Geoffrey Ramseyer, Ashish Goel, and David Mazieres. Finding the right curve: Optimal design of constant function market makers. In Proceedings of the 24th ACM Conference on Economics and Computation, EC '23, pages 783-812, New York, NY, USA, 2023. Association for Computing Machinery. URL: https://doi.org/10.1145/3580507.3597688.
  23. R. Hanson. Combinatorial Information Market Design. Information Systems Frontiers, 5(1):107-119, 2003. Google Scholar
  24. Johannes Rude Jensen, Victor von Wachter, and Omri Ross. An introduction to decentralized finance (defi). Complex Systems Informatics and Modeling Quarterly, 26:46-54, 2021. URL: https://doi.org/10.7250/CSIMQ.2021-26.03.
  25. Xiaolong Li and Jennifer Wortman Vaughan. An axiomatic characterization of adaptive-liquidity market makers. In ACM EC, 2013. Google Scholar
  26. Manifold. Maniswap. https://www.notion.so/Maniswap-ce406e1e897d417cbd491071ea8a0c39, 2022.
  27. Jason Milionis, Ciamac C. Moallemi, and Tim Roughgarden. A myersonian framework for optimal liquidity provision in automated market makers, 2023. URL: https://arxiv.org/abs/2303.00208.
  28. A. Othman and T. Sandholm. Profit-charging market makers with bounded loss, vanishing bid/ask spreads, and unlimited market depth. In ACM EC, 2012. Google Scholar
  29. A. Othman, T. Sandholm, D. M Pennock, and D. M Reeves. A practical liquidity-sensitive automated market maker. In Proceedings of the 11th ACM conference on Electronic commerce, pages 377-386, 2010. Google Scholar
  30. Abraham Othman. New invariants for automated market making, 2021. URL: https://github.com/shipyard-software/market-making-whitepaper/blob/main/paper.pdf.
  31. Abraham Othman, David M Pennock, Daniel M Reeves, and Tuomas Sandholm. A practical liquidity-sensitive automated market maker. ACM Transactions on Economics and Computation (TEAC), 1(3):1-25, 2013. Google Scholar
  32. Paradigm. Uniswap v3: The universal amm. https://www.paradigm.xyz/2021/06/uniswap-v3-the-universal-amm, 2021.
  33. Jan Christoph Schlegel, Mateusz Kwaśnicki, and Akaki Mamageishvili. Axioms for constant function market makers, 2022. URL: https://doi.org/10.48550/ARXIV.2210.00048.
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail