Towards Event-Aware Forecasting in DeFi: Insights from On-chain Automated Market Maker Protocols
arXiv cs.LG / 4/23/2026
📰 NewsDeveloper Stack & InfrastructureModels & Research
Key Points
- The paper argues that AMM pricing in DeFi is driven primarily by on-chain events (like swaps) that change reserve ratios, making event-level analysis essential for understanding how prices form.
- It introduces a new dataset with 8.9 million on-chain event records across four AMM protocols (Pendle, Uniswap v3, Aave, and Morpho), including fine-grained transaction-type labels and block timestamp annotations.
- The authors propose an event-aware modeling approach by introducing an Uncertainty Weighted Mean Squared Error (UWM) loss that adds a block-interval regression term to a Time-Point Process (TPP) objective using homoscedastic uncertainty weighting.
- Experiments across eight advanced TPP architectures show that the UWM loss cuts time prediction error by an average of 56.41% while preserving event-type prediction accuracy, providing a benchmark for event-aware forecasting in AMMs.
- The dataset and source code are released publicly to support further research on modeling the discrete, event-driven nature of on-chain price discovery.
Related Articles

Trajectory Forecasts in Unknown Environments Conditioned on Grid-Based Plans
Dev.to

Elevating Austria: Google invests in its first data center in the Alps.
Google Blog

OpenAI Just Named It Workspace Agents. We Open-Sourced Our Lark Version Six Months Ago
Dev.to

GPT Image 2 Subject-Lock Editing: A Practical Guide to input_fidelity
Dev.to

AI Tutor That Works Offline — Study Anywhere with EaseLearn AI
Dev.to