Malicious Contract Detection for Blockchain Network Using Lightweight Deep Learning Implemented through Explainable AI

2Citations
Citations of this article
30Readers
Mendeley users who have this article in their library.

Abstract

A smart contract is a digital contract on a blockchain. Through smart contracts, transactions between parties are possible without a third party on the blockchain network. However, there are malicious contracts, such as greedy contracts, which can cause enormous damage to users and blockchain networks. Therefore, countermeasures against this problem are required. In this work, we propose a greedy contract detection system based on deep learning. The detection model is trained through the frequency of opcodes in the smart contract. Additionally, we implement Gredeeptector, a lightweight model for deployment on the IoT. We identify important instructions for detection through explainable artificial intelligence (XAI). After that, we train the Greedeeptector through only important instructions. Therefore, Greedeeptector is a computationally and memory-efficient detection model for the IoT. Through our approach, we achieve a high detection accuracy of 92.3%. In addition, the file size of the lightweight model is reduced by 41.5% compared to the base model and there is little loss of accuracy.

Cite

CITATION STYLE

APA

Kang, Y., Kim, W., Kim, H., Lee, M., Song, M., & Seo, H. (2023). Malicious Contract Detection for Blockchain Network Using Lightweight Deep Learning Implemented through Explainable AI. Electronics (Switzerland), 12(18). https://doi.org/10.3390/electronics12183893

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free