DeFi Survival Analysis: Insights Into the Emerging Decentralized Financial Ecosystem

Aaron M. Green, Michael P. Giannattasio, John S. Erickson, O. Seneviratne, Kristin P. Bennett
{"title":"DeFi Survival Analysis: Insights Into the Emerging Decentralized Financial Ecosystem","authors":"Aaron M. Green, Michael P. Giannattasio, John S. Erickson, O. Seneviratne, Kristin P. Bennett","doi":"10.1145/3638064","DOIUrl":null,"url":null,"abstract":"We propose a survival analysis approach for discovering and characterizing user behavior and risks for lending protocols in decentralized finance (DeFi). We demonstrate how to gather and prepare DeFi transaction data for survival analysis. We illustrate our approach using transactions in Aave, one of the largest lending protocols. We develop a DeFi survival analysis pipeline that first prepares transaction data for survival analysis through the selection of different index events (or transactions) and associated outcome events. Then we apply survival analysis statistical and visualization methods modified for competing risks when appropriate, such as Kaplan–Meier survival curves, cumulative incidence functions, Cox hazard regression, and Fine-Gray models for sub-distribution hazards to gain insights into usage patterns and risks within the protocol. We show how, by varying the index and outcome events as well as covariates, we can use DeFi survival analysis to answer questions like “How does loan size affect the repayment schedule of the loan?”; “How does loan size affect the likelihood that an account gets liquidated?”; “How does user behavior vary between Aave markets?”; “How has user behavior in Aave varied from quarter to quarter?” The proposed DeFi survival analysis can easily be generalized to other DeFi lending protocols. By defining appropriate index and outcome events, DeFi survival analysis can be applied to any cryptocurrency protocol with transactions.","PeriodicalId":509104,"journal":{"name":"Distributed Ledger Technologies: Research and Practice","volume":"46 3","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-01-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Distributed Ledger Technologies: Research and Practice","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3638064","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We propose a survival analysis approach for discovering and characterizing user behavior and risks for lending protocols in decentralized finance (DeFi). We demonstrate how to gather and prepare DeFi transaction data for survival analysis. We illustrate our approach using transactions in Aave, one of the largest lending protocols. We develop a DeFi survival analysis pipeline that first prepares transaction data for survival analysis through the selection of different index events (or transactions) and associated outcome events. Then we apply survival analysis statistical and visualization methods modified for competing risks when appropriate, such as Kaplan–Meier survival curves, cumulative incidence functions, Cox hazard regression, and Fine-Gray models for sub-distribution hazards to gain insights into usage patterns and risks within the protocol. We show how, by varying the index and outcome events as well as covariates, we can use DeFi survival analysis to answer questions like “How does loan size affect the repayment schedule of the loan?”; “How does loan size affect the likelihood that an account gets liquidated?”; “How does user behavior vary between Aave markets?”; “How has user behavior in Aave varied from quarter to quarter?” The proposed DeFi survival analysis can easily be generalized to other DeFi lending protocols. By defining appropriate index and outcome events, DeFi survival analysis can be applied to any cryptocurrency protocol with transactions.
DeFi 生存分析:洞察新兴去中心化金融生态系统
我们提出了一种生存分析方法,用于发现和描述分散金融(DeFi)中借贷协议的用户行为和风险。我们演示了如何收集和准备用于生存分析的 DeFi 交易数据。我们使用最大的借贷协议之一 Aave 中的交易来说明我们的方法。我们开发了一个 DeFi 生存分析管道,首先通过选择不同的指标事件(或交易)和相关的结果事件,为生存分析准备交易数据。然后,我们应用生存分析统计和可视化方法,如卡普兰-梅耶生存曲线、累积发生率函数、考克斯危害回归和用于子分布危害的费恩-格雷模型,在适当情况下针对竞争风险进行修改,以深入了解协议内的使用模式和风险。我们展示了如何通过改变指标和结果事件以及协变量,利用 DeFi 生存分析来回答以下问题:"贷款规模如何影响贷款的偿还时间表?";"贷款规模如何影响账户被清算的可能性?";"Aave 市场之间的用户行为如何变化?";"Aave 的用户行为在不同季度之间如何变化?"提议的 DeFi 生存分析可以很容易地推广到其他 DeFi 借贷协议。通过定义适当的指标和结果事件,DeFi 生存分析可应用于任何有交易的加密货币协议。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信