EX-Graph: A Pioneering Dataset Bridging Ethereum and X

Qian Wang, Zhen Zhang, Zemin Liu, Shengliang Lu, Bingqiao Luo, Bingsheng He

TL;DR

EX-Graph is the first large-scale, verified dataset that bridges the gap between Ethereum transactions and X (formerly Twitter) social networks. By linking over 30,000 Ethereum addresses to verified X accounts, researchers demonstrate that "off-chain" social data significantly boosts the performance of machine learning models in detecting financial crimes like wash trading and predicting future transactions.

Conceptual overview of bridging Ethereum and X networks

What Problem Does This Paper Address?

Blockchain technology is famous for its anonymity. On-chain, users are represented not by personal identities, but by 42-character hash strings. While this protects privacy, it creates a massive "feature-poor" environment for data scientists and security analysts.

Graph Neural Networks (GNNs), the gold standard for analyzing networked data, struggle when nodes (users) lack descriptive features. Previously, researchers tried to guess node features based solely on transaction patterns, but this relies on circular logic—the features are just a reflection of the graph structure itself. While some attempts were made to link social media profiles to addresses, they were either tiny in scale or relied on unverified "ENS" usernames that anyone could fake. This paper addresses the need for a massive, authentically verified bridge between the financial world of Ethereum and the social world of X.

Methods

The researchers built a heterogeneous graph—a complex network with different types of nodes and edges—to capture both financial and social behaviors.

Data collection, graph construction, and feature extraction pipeline
  1. Data Collection: They used a local Ethereum Virtual Machine (EVM) client to pull nearly 30 million NFT-related transaction records. To link these to the real world, they scraped OpenSea’s API to find 30,387 verified connections where users explicitly linked their X accounts to their crypto wallets.
  2. Feature Extraction:
    • Structural Features: For Ethereum addresses, they calculated metrics like "in-degree" (incoming transactions) and "average neighbor degree."
    • Semantic Features: For X accounts, they used BERT (a powerful language model) to turn profile descriptions into numerical vectors. They then used Principal Component Analysis (PCA) to compress these complex social signals into a format that matches the structural data.
  3. Modeling: They tested eleven different baseline models, including standard GNNs like GraphSAGE and GAT, to evaluate if adding the X data improved the models' understanding of the blockchain.

Datasets

The paper introduces EX-Graph, which is significantly larger and more heterogeneous than its predecessors:

  • Ethereum Graph: 2.6 million nodes and 29.5 million transaction edges.
  • X Graph: 1.1 million nodes and 3.7 million "follow" edges.
  • Matching Links: 30,667 verified links (compared to just 890 in previous datasets).
  • Ground Truth Labels: 1,445 addresses labeled as "wash-traders" (users who trade with themselves to fake volume) sourced from Dune Analytics.

Key Insights and Ideas

  • The "Influencer" Signature: Statistical analysis showed that X-matched addresses are far more active than the average user. They have higher transaction volumes and interact with high-degree nodes (like NFT minting contracts), suggesting these users are the "movers and shakers" of the ecosystem.
  • Wash-Trading is a Closed Loop: The researchers found that wash-traders have a much lower "average neighbor degree." Because they operate in tiny, tightly-knit circles to avoid detection, they create "circular flows" of funds that look distinctly different from healthy, socially-driven trading.
  • Social Context Matters: What a person says about themselves on X (their bio, interests, and who they follow) serves as a strong predictor of how they will behave with their money on-chain.

Key Results

The inclusion of X data provided a massive boost across three major analytical tasks:

  1. Link Prediction: Predicting who will transact with whom in the future saw an 8% increase in AUC (Area Under the Curve) when social features were added.
  2. Wash-Trading Detection: Adding X data improved the recall of wash-trading detection by up to 18%. This means the model became significantly better at catching hidden bad actors who would have been invisible using transaction data alone.
  3. Matching Link Prediction: The models were able to predict which X account belonged to which Ethereum address with 74% AUC, proving that the two worlds are mathematically and behaviorally linked.

Limitations and Future Work

While EX-Graph is a major step forward, the authors acknowledge a few hurdles:

  • Data Imbalance: Even with 30,000 links, that is a tiny fraction of the millions of active Ethereum addresses. The dataset remains sparse relative to the entire network.
  • Static vs. Dynamic: The X data (profiles and followers) is a snapshot in time, whereas Ethereum transactions are a constant, high-speed stream. Future work could involve incorporating real-time tweets to capture market sentiment.
  • Privacy Concerns: Although the researchers anonymized handles into numerical IDs, the act of deanonymizing blockchain users remains a sensitive ethical area that requires ongoing scrutiny.

Check out the dataset: https://exgraph.deno.dev/

Summary updated

BibTeX
@inproceedings{wang2024ex,
  author = {Qian Wang and Zhen Zhang and Zemin Liu and Shengliang Lu and Bingqiao Luo and Bingsheng He},
  title = {{EX-Graph: A Pioneering Dataset Bridging Ethereum and X}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=juE0rWGCJW},
}
Figure