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

被引:1
作者
Kang, Yeajun [1 ]
Kim, Wonwoong [1 ]
Kim, Hyunji [1 ]
Lee, Minwoo [1 ]
Song, Minho [1 ]
Seo, Hwajeong [1 ]
机构
[1] Hansung Univ, Div IT Convergence Engn, Seoul 02876, South Korea
关键词
smart contract; greedy contract detection; deep learning; explainable artificial intelligence; lightweight;
D O I
10.3390/electronics12183893
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页数:15
相关论文
共 24 条
  • [1] Albawi S, 2017, I C ENG TECHNOL
  • [2] Explainable Artificial Intelligence (XAI): What we know and what is left to attain Trustworthy Artificial Intelligence
    Ali, Sajid
    Abuhmed, Tamer
    El-Sappagh, Shaker
    Muhammad, Khan
    Alonso-Moral, Jose M.
    Confalonieri, Roberto
    Guidotti, Riccardo
    Del Ser, Javier
    Diaz-Rodriguez, Natalia
    Herrera, Francisco
    [J]. INFORMATION FUSION, 2023, 99
  • [3] Buterin V, 2014, ETHEREUM NEXT GENERA
  • [4] Erion G., 2020, P INT C LEARN REPR I
  • [5] Generative Adversarial Networks
    Goodfellow, Ian
    Pouget-Abadie, Jean
    Mirza, Mehdi
    Xu, Bing
    Warde-Farley, David
    Ozair, Sherjil
    Courville, Aaron
    Bengio, Yoshua
    [J]. COMMUNICATIONS OF THE ACM, 2020, 63 (11) : 139 - 144
  • [6] XAI-Explainable artificial intelligence
    Gunning, David
    Stefik, Mark
    Choi, Jaesik
    Miller, Timothy
    Stumpf, Simone
    Yang, Guang-Zhong
    [J]. SCIENCE ROBOTICS, 2019, 4 (37)
  • [7] Haykin S., 2009, Neural Networks and Learning Machines
  • [8] Kokhlikyan N, 2020, Arxiv, DOI [arXiv:2009.07896, 10.48550/arXiv.2009.07896.]
  • [9] A Conceptual Blockchain Enhanced Information Model of Product Service Systems Framework for Sustainable Furniture
    Liu, Jing
    Liu, Zhen
    Yang, Qiong
    Osmani, Mohamed
    Demian, Peter
    [J]. BUILDINGS, 2023, 13 (01)
  • [10] Blockchain Enhanced Construction Waste Information Management: A Conceptual Framework
    Liu, Zhen
    Wu, Tzuhui
    Wang, Fenghong
    Osmani, Mohamed
    Demian, Peter
    [J]. SUSTAINABILITY, 2022, 14 (19)