[Paper Review] Ethereum Fraud Detection with Heterogeneous Graph Neural Networks
This paper proposes a heterogeneous graph neural network (GNN) approach for detecting phishing fraud in Ethereum transaction networks, leveraging node and edge type heterogeneity to improve detection performance. The RGCN model outperformed all homogeneous and heterogeneous GNN baselines across precision, recall, F1-score, and PR-AUC, demonstrating that modeling edge types explicitly yields superior fraud detection accuracy on real-world blockchain data.
While transactions with cryptocurrencies such as Ethereum are becoming more prevalent, fraud and other criminal transactions are not uncommon. Graph analysis algorithms and machine learning techniques detect suspicious transactions that lead to phishing in large transaction networks. Many graph neural network (GNN) models have been proposed to apply deep learning techniques to graph structures. Although there is research on phishing detection using GNN models in the Ethereum transaction network, models that address the scale of the number of vertices and edges and the imbalance of labels have not yet been studied. In this paper, we compared the model performance of GNN models on the actual Ethereum transaction network dataset and phishing reported label data to exhaustively compare and verify which GNN models and hyperparameters produce the best accuracy. Specifically, we evaluated the model performance of representative homogeneous GNN models which consider single-type nodes and edges and heterogeneous GNN models which support different types of nodes and edges. We showed that heterogeneous models had better model performance than homogeneous models. In particular, the RGCN model achieved the best performance in the overall metrics.
Motivation & Objective
- To address the challenge of detecting phishing fraud in large-scale, imbalanced Ethereum transaction networks using graph neural networks.
- To evaluate and compare the performance of homogeneous and heterogeneous GNN models on real Ethereum transaction data with labeled phishing reports.
- To investigate whether modeling node and edge types explicitly improves fraud detection accuracy compared to homogeneous GNNs.
- To identify optimal hyperparameters and model configurations for effective fraud detection in heterogeneous blockchain graphs.
- To provide empirical evidence on the effectiveness of heterogeneous GNNs, particularly RGCN, in handling the scale and label imbalance typical of real-world cryptocurrency fraud detection.
Proposed method
- Constructed a heterogeneous transaction network from real Ethereum logs, classifying nodes into types such as wallets and exchanges.
- Applied representative homogeneous GNNs (GCN, GraphSAGE, GAT) and heterogeneous GNNs (RGCN, HAN, HGT) to the transaction graph.
- Used edge types (based on node type pairs) as a key input for heterogeneous models, enabling type-specific message passing.
- Trained models using supervised learning with phishing labels from reported fraud incidents, optimizing for precision, recall, F1-score, and PR-AUC.
- Performed exhaustive hyperparameter tuning, including hidden layer size, learning rate, dropout, and weight decay.
- Evaluated model performance using standard metrics on a real-world dataset with significant class imbalance.
Experimental results
Research questions
- RQ1Does modeling node and edge type heterogeneity in Ethereum transaction networks improve fraud detection performance compared to homogeneous GNNs?
- RQ2Which GNN architecture—homogeneous or heterogeneous—achieves the highest precision, recall, and F1-score on real Ethereum phishing data?
- RQ3How do hyperparameters such as learning rate, hidden layer size, dropout, and weight decay affect model performance in this context?
- RQ4Can one-hot encoding of node types alone improve performance of homogeneous GNNs to match that of heterogeneous models?
- RQ5To what extent does edge-type-specific learning in RGCN contribute to superior detection accuracy?
Key findings
- The RGCN model achieved the best overall performance across all metrics, outperforming all homogeneous and other heterogeneous GNNs in precision, recall, F1-score, and PR-AUC.
- Heterogeneous GNN models, particularly RGCN, significantly outperformed homogeneous GNNs like GCN, GAT, and GraphSAGE, confirming the benefit of modeling edge types.
- GraphSAGE achieved the highest precision among homogeneous models, but its recall and F1-score were lower than RGCN’s.
- Heterogeneous models like HAN and HGT showed strong recall and F1-score, but still underperformed RGCN, indicating RGCN’s superior edge-type-aware learning.
- One-hot encoding of node types did not improve homogeneous GNNs to match RGCN’s performance, suggesting that explicit edge-type modeling is essential.
- Small learning rates, large hidden layers, and avoiding dropout and weight decay were found to improve model performance, contrary to typical deep learning practices.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.