Towards Event-Aware Forecasting in DeFi: Insights from On-chain Automated Market Maker Protocols
Not on the map. Why?
Abstract (arXiv)
Automated Market Makers (AMMs), as a core infrastructure of decentralized finance (DeFi), uniquely drive on-chain asset pricing through a deterministic reserve ratio mechanism. Unlike traditional markets, AMM price dynamics is triggered largely by on-chain events (e.g., swap) that change the reserve ratio, rather than by continuous responses to off-chain information. This makes event-level analysis crucial for understanding price formation mechanisms in AMMs. However, existing research generally neglects the micro-structural dynamics at the AMMs level, lacking both a comprehensive dataset covering multiple protocols with fine-grained event classification and an effective framework for event-aware modeling. To fill this gap, we construct a dataset containing 8.9 million on-chain event records from four representative AMMs protocols: Pendle, Uniswap v3, Aave and Morpho, with precise annotations of transaction type and block height timestamps. Furthermore, we propose an Uncertainty Weighted Mean Squared Error (UWM) loss function, which incorporates the block interval regression term into the traditional Time-Point Process (TPP) objective function by weighting the uncertainty with homoscedasticity. Extensive experiments on eight advanced TPP architectures demonstrate that this loss function reduces the time prediction error by an average of 56.41% while maintaining the accuracy of event type prediction, establishing a robust benchmark for event-aware prediction in the AMMs ecosystem. This work provides the necessary data foundation and methodological framework for modeling the discreteness and event-driven characteristics of on-chain price discovery. All datasets and source code are publicly available. https://github.com/yosen-king/Deep-AMM-Events
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 46 references that are in the map. First posted on arXiv 22 Apr 2026.
Builds on
17 of 46 references.
References · 17
- 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,345
- 2018Fundamentals of Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) Networkcited by 415
- 2019Intensity-Free Learning of Temporal Point Processescited by 138
- 2019Fully Neural Network based Model for General Temporal Point Processescited by 119
- 2020Neural Spatio-Temporal Point Processescited by 92
- 2021Transformer Embeddings of Irregularly Spaced Events and Their Participantscited by 90
- 2023EasyTPP: Towards Open Benchmarking Temporal Point Processescited by 63
- 2019Imputing Missing Events in Continuous-Time Event Streamscited by 43
- 2022Token Spammers, Rug Pulls, and SniperBots: An Analysis of the Ecosystem of Tokens in Ethereum and in the Binance Smart Chain (BNB)cited by 15
- 2021Strategic Liquidity Provision in Uniswap v3cited by 11
- 2023Live Graph Lab: Towards Open, Dynamic and Real Transaction Graphs with NFTcited by 10
- 2022Differential Liquidity Provision in Uniswap v3 and Implications for Contract Designcited by 6
5 more
- 2023Show me your NFT and I tell you how it will perform: Multimodal representation learning for NFT selling price predictioncited by 6
- 2024CoinCLIP: A Multimodal Framework for Assessing Viability in Web3 Memecoinscited by 5
- 2025PulseReddit: A Novel Reddit Dataset for Benchmarking MAS in High-Frequency Cryptocurrency Tradingcited by 2
- 2024FinML-Chain: A Blockchain-Integrated Dataset for Enhanced Financial Machine Learningcited by 1
- 2025Multi-source Multi-level Multi-token Ethereum Dataset and Benchmark Platformcited by 1
Built on by
Not cited yet.