DeXposure: A Dataset and Benchmarks for Inter-protocol Credit Exposure in Decentralized Financial Networks

Wenbin Wu, Kejiang Qian, Alexis Lui, Christopher Jack, Yue Wu, Peter McBurney, Fengxiang He, Bryan ZhangarXiv 2025 · DOI

Abstract

DeXposure is the first large-scale dataset designed to map the "interconnected balance sheets" of the Decentralized Finance (DeFi) ecosystem. By tracking 43.7 million entries across thousands of protocols and blockchains, this research provides a high-fidelity map of how financial risks propagate through the "money lego" architecture of DeFi.

Introduction: The Challenge of Inter-protocol Credit Exposure

In traditional finance, regulatory frameworks provide relatively clear maps of inter-bank liabilities. In contrast, DeFi protocols are "composable"—they function as modular components that plug into each other. For instance, a lending protocol might accept a "wrapped" token issued by another protocol as collateral. If the issuing protocol fails, the collateral held by the lending protocol may become worthless, potentially triggering a cascade of failures. This phenomenon is known as inter-protocol credit exposure.

Until now, the research community lacked a comprehensive, longitudinal dataset to study these dependencies at scale. Most existing studies have focused on isolated protocols or specific "black swan" events. DeXposure addresses this gap by providing a systemic "weather map" of the $100B+ DeFi landscape, allowing for the analysis of how shocks propagate through the network.

Methodology

The researchers introduce a novel metric termed value-linked credit exposure. Given the privacy of certain on-chain transactions, financial dependency is inferred by analyzing fluctuations in Total Value Locked (TVL)—the aggregate value of assets held within a protocol's smart contracts.

The methodology involves several key technical stages:

  • Token-Protocol Mapping: Identifying the issuer of each token is critical for determining exposure. The team employed a four-tier fallback method: direct metadata lookup, manual expert mapping, TF-IDF textual analysis of protocol descriptions, and a "primary market" heuristic.
  • Network Modeling: DeFi is represented as a series of weighted directed graphs ($G_\tau$). In these models, nodes represent protocols (weighted by TVL), and edges represent the flow of credit (tokens) between them.
  • Benchmarking and Stress Testing: The dataset was validated through three primary benchmarks: graph clustering (using t-SNE and DBSCAN), Vector Autoregression (VAR) to quantify sectoral shock propagation, and Temporal Graph Neural Networks (TGNN) to predict future financial dependencies.

Datasets

The primary contribution of this work is the DeXposure dataset, which offers unprecedented scale and depth:

  • Scope: 43.7 million entries.
  • Breadth: 4,300 protocols across 602 blockchains, involving 24,300 unique tokens.
  • Timeline: Data spanning from 2020 to 2025, capturing the full lifecycle of the modern DeFi market.

To manage the complexity of thousands of protocols, the researchers categorized them into broad sectors to better understand systemic interactions.

Categorization schema mapping DefiLlama labels to broad sectoral categories.

Key Insights and Discussion

The analysis of the DeXposure dataset reveals several critical trends in the evolution of DeFi:

  • Market Consolidation: Despite the ethos of decentralization, the network is increasingly consolidating. The number of distinct protocol clusters decreased from 18 in 2021 to just 8 in 2024, with a small number of "key players" dominating the connection graph.
  • Declining Network Density: While total volume has grown, the ratio of actual to possible connections (density) is decreasing. This suggests that protocols are becoming more specialized and selective in their integrations.
  • Predictability as a Risk Signal: The researchers observed that Temporal Graph Neural Networks (TGNNs) experienced a significant drop in predictive accuracy immediately preceding major market crashes, such as the Terra/Luna and FTX collapses. This suggests that a sudden decrease in the "predictability" of the network graph could serve as an early warning indicator for systemic risk.
  • Sectoral Asymmetry in Shocks: Shocks propagate differently depending on their origin. The Terra collapse was a systemic "DeFi-native" shock that led to a $1.47 trillion contraction in the Asset Management sector. In contrast, the FTX collapse was more localized, primarily impacting the "Trading & Exchanges" sector.

Results

DeXposure significantly outperforms previous DeFi network datasets, which typically capped at approximately 100 protocols. The dataset's "learnability" for AI applications is demonstrated by the TGNN models, which achieved high precision (AUPRC between 0.94 and 0.99) for link prediction under stable market conditions. Furthermore, silhouette scores from clustering models track the market's transition from isolated protocol groups to a highly integrated, overlapping structure.

Limitations and Future Work

While TVL is a robust proxy for financial dependency, the authors acknowledge that "value-linked" measures are inferences that may not capture every nuance of smart contract logic. The dataset also depends on the accuracy of upstream providers like DefiLlama.

Future research directions include using the dataset for generative modeling to simulate hypothetical crashes, fine-tuning large graph foundation models for specialized risk assessment, and transitioning from daily snapshots to real-time risk dashboards for institutional and regulatory use.

Data and Code: https://github.com/dthinkr/DeXposure Interactive Visualization: https://ccaf.io/defi/ecosystem-map/visualisation/graph

Summary updated

BibTeX
@misc{wu2025dexposure,
  author = {Wenbin Wu and Kejiang Qian and Alexis Lui and Christopher Jack and Yue Wu and Peter McBurney and Fengxiang He and Bryan Zhang},
  title = {{DeXposure: A Dataset and Benchmarks for Inter-protocol Credit Exposure in Decentralized Financial Networks}},
  year = {2025},
  eprint = {2511.22314},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.22314},
}
Figure