Abstract
Blockchain anonymity presents a significant challenge for regulatory oversight, providing a veil for malicious activities such as phishing and botting. This paper introduces $I^2BGNN$, a scalable end-to-end framework that transforms the large-scale task of blockchain identity inference into a manageable graph classification problem. By extracting local transaction subgraphs and employing Graph Neural Networks (GNNs), the proposed model achieves state-of-the-art performance, outperforming existing methods by up to 19% in F1-score on real-world datasets.
Introduction
The decentralized and anonymous nature of blockchain technology is a double-edged sword. While it ensures user privacy, it also facilitates illicit activities like money laundering and scams. To mitigate these risks, "identity inference"—the process of categorizing anonymous addresses based on transaction patterns—is essential. However, existing approaches face a critical trade-off between scalability and representational power. Traditional manual feature engineering scales well but lacks depth, while standard Graph Convolutional Networks (GCNs) often struggle with the gargantuan size of global blockchain transaction graphs, which can contain millions of nodes.
This research addresses these challenges by shifting the focus from global node classification to local subgraph classification, enabling an efficient and powerful end-to-end learning pipeline.
Methodology
The $I^2BGNN$ framework follows a three-stage pipeline designed for efficiency and accuracy in identifying malicious actors.
1. Subgraph Extraction and Sampling
To handle the massive scale of blockchain data, the system extracts a $k$-hop neighborhood for each target account. To prevent "neighbor explosion," a volume-based sampling mechanism is employed, selecting the top-$n_u$ neighbors based on transaction volume. This ensures the computational footprint remains constant regardless of the global graph's size.
2. Feature Engineering
The model utilizes two primary feature sets:
- Contract Calling (cc): A high-dimensional vector representing an account's functional behavior based on the smart contracts it interacts with.
- Node Labels (nl): Specific to the EOSIO blockchain, these features incorporate account name types, such as auction or sub-accounts, to provide additional context.
3. The $I^2BGNN$ Architecture
The core of the framework is an end-to-end GNN. The architecture consists of two Graph Convolutional layers that aggregate neighborhood information, followed by a critical Max Pooling layer. This pooling step compresses the neighborhood's features into a single graph-level representation, which is then processed by a final fully-connected layer to predict the account's identity.
Datasets and Evaluation
The model was rigorously evaluated on two real-world datasets:
- ETHG (Ethereum): Comprising 3,266 subgraphs (1,660 phishers and 1,700 non-phishers), with features derived from interactions with over 14,000 smart contracts.
- EOSG (EOSIO): Comprising 2,000 subgraphs (1,000 bots and 1,000 normal users), utilizing a 1,216-dimensional feature set.
Results and Discussion
$I^2BGNN$ demonstrated significant performance gains over traditional graph embedding (e.g., Graph2vec) and graph kernel methods (e.g., FGSD):
- High Accuracy: The model achieved a near-perfect F1-score of 0.9950 on the EOSG dataset and 0.8600 on the more complex ETHG dataset.
- Performance Improvement: Compared to the strongest baselines, $I^2BGNN$ showed an average F1-score improvement of 12% on EOSG and 19% on ETHG.
- Neighborhood Insights: Analysis revealed that 1-hop neighborhoods are sufficient for detecting bot behavior on EOSIO, whereas 2-hop neighborhoods are necessary for Ethereum, suggesting that phishing operations involve more complex, multi-step transaction chains.
Conclusion
By treating identity inference as a local subgraph classification problem, $I^2BGNN$ provides a scalable and highly accurate solution for blockchain de-anonymization. Future work will explore the integration of temporal transaction data to capture the dynamic nature of blockchain behavior and refine sampling techniques to detect "low-and-slow" attacks that might evade volume-based filters.
Summary updated