Research on blockchain abnormal transaction detection technology combining CNN and transformer structure

Zhiqiang Wang,Anfa Ni,Ziqing Tian,Ziyi Wang,Yongguang Gong
DOI: https://doi.org/10.1016/j.compeleceng.2024.109194
IF: 4.152
2024-03-25
Computers & Electrical Engineering
Abstract:With the rapid development of blockchain and digital currencies, cybercrimes targeting blockchain transactions are proliferating. Various abnormal transaction behaviors caused by malicious nodes and malicious transactions have emerged in blockchain systems. Therefore, blockchain transaction security research is a hot issue in blockchain research. Deep learning has made remarkable achievements in image and audio. However, deep learning is less effective when processing text-like data than tree-based models. Therefore, for the highly unbalanced textual financial dataset, this paper designs a deep learning anomaly detection method called 1D SA-Inception by combining CNN with Transformer structure on the basis of traditional one-dimensional CNN (1D-CNN), introduces the Inception structure to learn the information of different scales of tabular data, and introduces the Transformer (self-attention) self-attention mechanism for the research of blockchain anomaly transaction detection technology, effectively improving the prediction effect. Finally, by conducting experiments on the extreme class imbalance dataset, the results show that the 1D SA-Inception designed in this paper outperforms the traditional CNN with AUC, G-mean, and F1 indexes of 91.05 %, 84.95 %, and 83.52 %, respectively, on the textual dataset. This method can more efficiently achieve the detection of abnormal transaction behavior, safeguard consumer rights and interests, and ensure the safe development of the financial sector.
engineering, electrical & electronic,computer science, interdisciplinary applications, hardware & architecture
What problem does this paper attempt to address?