From Risk to Rescue: An Agentic Survival Analysis Framework for Liquidation Prevention
Fernando Spadea, Oshani Seneviratne

TL;DR
This paper introduces an autonomous agent for DeFi liquidation prevention that uses survival analysis and simulation to proactively intervene, outperforming static risk management tools.
Contribution
It presents a novel agentic framework leveraging survival analysis, counterfactual simulation, and optimization to prevent liquidations in DeFi protocols.
Findings
Successfully prevented liquidations in high-risk scenarios.
Maintained a zero worsening rate, ensuring safety.
Differentiated actionable risks from dust events for efficiency.
Abstract
Decentralized Finance (DeFi) lending protocols like Aave v3 rely on over-collateralization to secure loans, yet users frequently face liquidation due to volatile market conditions. Existing risk management tools utilize static health-factor thresholds, which are reactive and fail to distinguish between administrative "dust" cleanup and genuine insolvency. In this work, we propose an autonomous agent that leverages time-to-event (survival) analysis and moves beyond prediction to execution. Unlike passive risk signals, this agent perceives risk, simulates counterfactual futures, and executes protocol-faithful interventions to proactively prevent liquidations. We introduce a return period metric derived from a numerically stable XGBoost Cox proportional hazards model to normalize risk across transaction types, coupled with a volatility-adjusted trend score to filter transient market noise.…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
