Anomalous Node Detection in Blockchain Networks Based on Graph Neural Networks

With the rapid development of blockchain technology, fraudulent activities have significantly increased, posing a major threat to the personal assets of blockchain users. The blockchain transaction network formed during user transactions can be represented as a graph consisting of nodes and edges, m...

Full description

Saved in:
Bibliographic Details
Main Authors: Ze Chang, Yunfei Cai, Xiao Fan Liu, Zhenping Xie, Yuan Liu, Qianyi Zhan
Format: Article
Language:English
Published: MDPI AG 2024-12-01
Series:Sensors
Subjects:
Online Access:https://www.mdpi.com/1424-8220/25/1/1
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1841549013044690944
author Ze Chang
Yunfei Cai
Xiao Fan Liu
Zhenping Xie
Yuan Liu
Qianyi Zhan
author_facet Ze Chang
Yunfei Cai
Xiao Fan Liu
Zhenping Xie
Yuan Liu
Qianyi Zhan
author_sort Ze Chang
collection DOAJ
description With the rapid development of blockchain technology, fraudulent activities have significantly increased, posing a major threat to the personal assets of blockchain users. The blockchain transaction network formed during user transactions can be represented as a graph consisting of nodes and edges, making it suitable for a graph data structure. Fraudulent nodes in the transaction network are referred to as anomalous nodes. In recent years, the mainstream method for detecting anomalous nodes in graphs has been the use of graph data mining techniques. However, anomalous nodes typically constitute only a small portion of the transaction network, known as the minority class, while the majority of nodes are normal nodes, referred to as the majority class. This discrepancy in sample sizes results in class imbalance data, where models tend to overfit the features of the majority class and neglect those of the minority class. This issue presents significant challenges for traditional graph data mining techniques. In this paper, we propose a novel graph neural network method to overcome class imbalance issues by improving the Graph Attention Network (GAT) and incorporating ensemble learning concepts. Our method combines GAT with a subtree attention mechanism and two ensemble learning methods: Bootstrap Aggregating (Bagging) and Categorical Boosting (CAT), called SGAT-BC. We conducted experiments on four real-world blockchain transaction datasets, and the results demonstrate that SGAT-BC outperforms existing baseline models.
format Article
id doaj-art-ac1b8c275dbc4e2293edb56d3bc3edbe
institution Kabale University
issn 1424-8220
language English
publishDate 2024-12-01
publisher MDPI AG
record_format Article
series Sensors
spelling doaj-art-ac1b8c275dbc4e2293edb56d3bc3edbe2025-01-10T13:20:30ZengMDPI AGSensors1424-82202024-12-01251110.3390/s25010001Anomalous Node Detection in Blockchain Networks Based on Graph Neural NetworksZe Chang0Yunfei Cai1Xiao Fan Liu2Zhenping Xie3Yuan Liu4Qianyi Zhan5School of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi 214122, ChinaSchool of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi 214122, ChinaDepartment of Media and Communication, City University of Hong Kong, Hong Kong SAR, ChinaSchool of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi 214122, ChinaSchool of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi 214122, ChinaSchool of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi 214122, ChinaWith the rapid development of blockchain technology, fraudulent activities have significantly increased, posing a major threat to the personal assets of blockchain users. The blockchain transaction network formed during user transactions can be represented as a graph consisting of nodes and edges, making it suitable for a graph data structure. Fraudulent nodes in the transaction network are referred to as anomalous nodes. In recent years, the mainstream method for detecting anomalous nodes in graphs has been the use of graph data mining techniques. However, anomalous nodes typically constitute only a small portion of the transaction network, known as the minority class, while the majority of nodes are normal nodes, referred to as the majority class. This discrepancy in sample sizes results in class imbalance data, where models tend to overfit the features of the majority class and neglect those of the minority class. This issue presents significant challenges for traditional graph data mining techniques. In this paper, we propose a novel graph neural network method to overcome class imbalance issues by improving the Graph Attention Network (GAT) and incorporating ensemble learning concepts. Our method combines GAT with a subtree attention mechanism and two ensemble learning methods: Bootstrap Aggregating (Bagging) and Categorical Boosting (CAT), called SGAT-BC. We conducted experiments on four real-world blockchain transaction datasets, and the results demonstrate that SGAT-BC outperforms existing baseline models.https://www.mdpi.com/1424-8220/25/1/1blockchaingraph neural networkensemble learninganomaly detection
spellingShingle Ze Chang
Yunfei Cai
Xiao Fan Liu
Zhenping Xie
Yuan Liu
Qianyi Zhan
Anomalous Node Detection in Blockchain Networks Based on Graph Neural Networks
Sensors
blockchain
graph neural network
ensemble learning
anomaly detection
title Anomalous Node Detection in Blockchain Networks Based on Graph Neural Networks
title_full Anomalous Node Detection in Blockchain Networks Based on Graph Neural Networks
title_fullStr Anomalous Node Detection in Blockchain Networks Based on Graph Neural Networks
title_full_unstemmed Anomalous Node Detection in Blockchain Networks Based on Graph Neural Networks
title_short Anomalous Node Detection in Blockchain Networks Based on Graph Neural Networks
title_sort anomalous node detection in blockchain networks based on graph neural networks
topic blockchain
graph neural network
ensemble learning
anomaly detection
url https://www.mdpi.com/1424-8220/25/1/1
work_keys_str_mv AT zechang anomalousnodedetectioninblockchainnetworksbasedongraphneuralnetworks
AT yunfeicai anomalousnodedetectioninblockchainnetworksbasedongraphneuralnetworks
AT xiaofanliu anomalousnodedetectioninblockchainnetworksbasedongraphneuralnetworks
AT zhenpingxie anomalousnodedetectioninblockchainnetworksbasedongraphneuralnetworks
AT yuanliu anomalousnodedetectioninblockchainnetworksbasedongraphneuralnetworks
AT qianyizhan anomalousnodedetectioninblockchainnetworksbasedongraphneuralnetworks