In-GPU Cache for Acceleration of Anomaly Detection in Blockchain

Shin MORISHIMA  Hiroki MATSUTANI  

Publication
IEICE TRANSACTIONS on Information and Systems   Vol.E103-D   No.8   pp.1814-1824
Publication Date: 2020/08/01
Online ISSN: 1745-1361
DOI: 10.1587/transinf.2019EDP7159
Type of Manuscript: PAPER
Category: Computer System
Keyword: 
Blockchain,  anomaly detection,  GPU,  

Full Text: PDF(2.3MB)>>
Buy this Article




Summary: 
Blockchain is a distributed ledger system composed of a P2P network and is used for a wide range of applications, such as international remittance, inter-individual transactions, and asset conservation. In Blockchain systems, tamper resistance is enhanced by the property of transaction that cannot be changed or deleted by everyone including the creator of the transaction. However, this property also becomes a problem that unintended transaction created by miss operation or secret key theft cannot be corrected later. Due to this problem, once an illegal transaction such as theft occurs, the damage will expand. To suppress the damage, we need countermeasures, such as detecting illegal transaction at high speed and correcting the transaction before approval. However, anomaly detection in the Blockchain at high speed is computationally heavy, because we need to repeat the detection process using various feature quantities and the feature extractions become overhead. In this paper, to accelerate anomaly detection, we propose to cache transaction information necessary for extracting feature in GPU device memory and perform both feature extraction and anomaly detection in the GPU. We also propose a conditional feature extraction method to reduce computation cost of anomaly detection. We employ anomaly detection using K-means algorithm based on the conditional features. When the number of users is one million and the number of transactions is 100 millions, our proposed method achieves 8.6 times faster than CPU processing method and 2.6 times faster than GPU processing method that does not perform feature extraction on the GPU. In addition, the conditional feature extraction method achieves 1.7 times faster than the unconditional method when the number of users satisfying a given condition is 200 thousands out of one million.