TL;DR
This paper introduces a comprehensive dataset and a novel loss function for event-aware modeling of on-chain AMM protocols in DeFi, significantly improving time prediction accuracy.
Contribution
It provides the first detailed dataset with fine-grained event annotations and proposes an uncertainty-weighted loss function for better event timing predictions in AMMs.
Findings
The dataset contains 8.9 million on-chain event records from four AMM protocols.
The proposed UWM loss reduces time prediction error by an average of 56.41%.
The framework maintains high accuracy in event type classification.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
