Scalable Anomaly Detection Method for Blockchain Transactions using GPU

Shin Morishima
{"title":"Scalable Anomaly Detection Method for Blockchain Transactions using GPU","authors":"Shin Morishima","doi":"10.1109/PDCAT46702.2019.00039","DOIUrl":null,"url":null,"abstract":"Blockchain is a distributed ledger system composed of P2P network proposed as an electronic cash system which can transfer money without a trusted third party. Blockchain has high tamper resistance by the structure which cannot modify a transaction by everyone including the creator of it. However, it also becomes a problem that Blockchain system cannot modify fraudulent transaction already approved. This problem means once an illegal transaction occurs, the damage expands. It is necessary to detect the transaction by the anomaly detection and modify it before approval in order to suppress the damage. However, existing anomaly detection methods of Blockchain need the processing for all the past transactions in Blockchain. The execution time exceeds the approval interval of the major Blockchain system (Ethereum). In this paper, we propose an anomaly detection method using a fixed size user-centric subgraph which is extracted from whole graph made from all the transactions, to prevent the increase of the execution time. Furthermore, to accelerate the anomaly detections, we propose the subgraph structure which is suitable for GPU processing so that all of the subgraph making, the feature extraction, and the anomaly detection are performed in GPU. When the number of transactions is 300 million, our proposed method archives 195 times faster than the existing GPU-based method and the execution time is shorter than the approval interval of the Ethereum. In terms of accuracy, the true positive rate is significantly higher than the existing method in the case of small scale transactions because the local anomaly can be detected by the subgraph with locality. And the rate in the case of large scale and the false positive rate are close to the existing method.","PeriodicalId":166126,"journal":{"name":"2019 20th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 20th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PDCAT46702.2019.00039","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Blockchain is a distributed ledger system composed of P2P network proposed as an electronic cash system which can transfer money without a trusted third party. Blockchain has high tamper resistance by the structure which cannot modify a transaction by everyone including the creator of it. However, it also becomes a problem that Blockchain system cannot modify fraudulent transaction already approved. This problem means once an illegal transaction occurs, the damage expands. It is necessary to detect the transaction by the anomaly detection and modify it before approval in order to suppress the damage. However, existing anomaly detection methods of Blockchain need the processing for all the past transactions in Blockchain. The execution time exceeds the approval interval of the major Blockchain system (Ethereum). In this paper, we propose an anomaly detection method using a fixed size user-centric subgraph which is extracted from whole graph made from all the transactions, to prevent the increase of the execution time. Furthermore, to accelerate the anomaly detections, we propose the subgraph structure which is suitable for GPU processing so that all of the subgraph making, the feature extraction, and the anomaly detection are performed in GPU. When the number of transactions is 300 million, our proposed method archives 195 times faster than the existing GPU-based method and the execution time is shorter than the approval interval of the Ethereum. In terms of accuracy, the true positive rate is significantly higher than the existing method in the case of small scale transactions because the local anomaly can be detected by the subgraph with locality. And the rate in the case of large scale and the false positive rate are close to the existing method.
基于GPU的区块链事务可扩展异常检测方法
区块链是一种由P2P网络组成的分布式账本系统,被提出作为一种电子现金系统,可以在没有可信第三方的情况下转移资金。区块链的结构具有很高的抗篡改性,每个人都不能修改交易,包括它的创建者。然而,区块链系统无法修改已经批准的欺诈交易也成为了一个问题。这个问题意味着一旦发生非法交易,损害就会扩大。有必要通过异常检测检测事务,并在批准前对其进行修改,以抑制损害。然而,现有的区块链异常检测方法需要对区块链中所有的过去交易进行处理。执行时间超过主要区块链系统(以太坊)的审批间隔。本文提出了一种以用户为中心的固定大小子图的异常检测方法,该子图从所有事务组成的整体图中提取,以防止执行时间的增加。此外,为了加快异常检测的速度,我们提出了适合GPU处理的子图结构,使得所有的子图制作、特征提取和异常检测都在GPU中完成。当交易数量为3亿次时,我们提出的方法比现有的基于gpu的方法存档速度快195倍,执行时间短于以太坊的审批间隔。在准确性方面,由于局部异常可以通过具有局部性的子图检测到,因此在小规模交易情况下,该方法的真阳性率明显高于现有方法。并且在大规模情况下的检出率和假阳性率与现有方法接近。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信