{"title":"调查分散式金融(DeFi)服务的相似性","authors":"Junliang Luo, Stefan Kitzler, Pietro Saggese","doi":"arxiv-2404.00034","DOIUrl":null,"url":null,"abstract":"We explore the adoption of graph representation learning (GRL) algorithms to\ninvestigate similarities across services offered by Decentralized Finance\n(DeFi) protocols. Following existing literature, we use Ethereum transaction\ndata to identify the DeFi building blocks. These are sets of protocol-specific\nsmart contracts that are utilized in combination within single transactions and\nencapsulate the logic to conduct specific financial services such as swapping\nor lending cryptoassets. We propose a method to categorize these blocks into\nclusters based on their smart contract attributes and the graph structure of\ntheir smart contract calls. We employ GRL to create embedding vectors from\nbuilding blocks and agglomerative models for clustering them. To evaluate\nwhether they are effectively grouped in clusters of similar functionalities, we\nassociate them with eight financial functionality categories and use this\ninformation as the target label. We find that in the best-case scenario purity\nreaches .888. We use additional information to associate the building blocks\nwith protocol-specific target labels, obtaining comparable purity (.864) but\nhigher V-Measure (.571); we discuss plausible explanations for this difference.\nIn summary, this method helps categorize existing financial products offered by\nDeFi protocols, and can effectively automatize the detection of similar DeFi\nservices, especially within protocols.","PeriodicalId":501372,"journal":{"name":"arXiv - QuantFin - General Finance","volume":"301 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Investigating Similarities Across Decentralized Financial (DeFi) Services\",\"authors\":\"Junliang Luo, Stefan Kitzler, Pietro Saggese\",\"doi\":\"arxiv-2404.00034\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"We explore the adoption of graph representation learning (GRL) algorithms to\\ninvestigate similarities across services offered by Decentralized Finance\\n(DeFi) protocols. Following existing literature, we use Ethereum transaction\\ndata to identify the DeFi building blocks. These are sets of protocol-specific\\nsmart contracts that are utilized in combination within single transactions and\\nencapsulate the logic to conduct specific financial services such as swapping\\nor lending cryptoassets. We propose a method to categorize these blocks into\\nclusters based on their smart contract attributes and the graph structure of\\ntheir smart contract calls. We employ GRL to create embedding vectors from\\nbuilding blocks and agglomerative models for clustering them. To evaluate\\nwhether they are effectively grouped in clusters of similar functionalities, we\\nassociate them with eight financial functionality categories and use this\\ninformation as the target label. We find that in the best-case scenario purity\\nreaches .888. We use additional information to associate the building blocks\\nwith protocol-specific target labels, obtaining comparable purity (.864) but\\nhigher V-Measure (.571); we discuss plausible explanations for this difference.\\nIn summary, this method helps categorize existing financial products offered by\\nDeFi protocols, and can effectively automatize the detection of similar DeFi\\nservices, especially within protocols.\",\"PeriodicalId\":501372,\"journal\":{\"name\":\"arXiv - QuantFin - General Finance\",\"volume\":\"301 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-03-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - QuantFin - General Finance\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2404.00034\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - QuantFin - General Finance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2404.00034","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Investigating Similarities Across Decentralized Financial (DeFi) Services
We explore the adoption of graph representation learning (GRL) algorithms to
investigate similarities across services offered by Decentralized Finance
(DeFi) protocols. Following existing literature, we use Ethereum transaction
data to identify the DeFi building blocks. These are sets of protocol-specific
smart contracts that are utilized in combination within single transactions and
encapsulate the logic to conduct specific financial services such as swapping
or lending cryptoassets. We propose a method to categorize these blocks into
clusters based on their smart contract attributes and the graph structure of
their smart contract calls. We employ GRL to create embedding vectors from
building blocks and agglomerative models for clustering them. To evaluate
whether they are effectively grouped in clusters of similar functionalities, we
associate them with eight financial functionality categories and use this
information as the target label. We find that in the best-case scenario purity
reaches .888. We use additional information to associate the building blocks
with protocol-specific target labels, obtaining comparable purity (.864) but
higher V-Measure (.571); we discuss plausible explanations for this difference.
In summary, this method helps categorize existing financial products offered by
DeFi protocols, and can effectively automatize the detection of similar DeFi
services, especially within protocols.