• Home
  • Search
  • The Impact of Input Types on Smart Contract Vulnerability Detection Performance Based on Deep Learning: A Preliminary Study
  • Cite Icon6
  • https://doi.org/10.3390/info15060302Copy DOI Icon

The Impact of Input Types on Smart Contract Vulnerability Detection Performance Based on Deep Learning: A Preliminary Study

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Stemming vulnerabilities out of a smart contract prior to its deployment is essential to ensure the security of decentralized applications. As such, numerous tools and machine-learning-based methods have been proposed to help detect vulnerabilities in smart contracts. Furthermore, various ways of encoding the smart contracts for analysis have also been proposed. However, the impact of these input methods has not been systematically studied, which is the primary goal of this paper. In this preliminary study, we experimented with four common types of input, including Word2Vec, FastText, Bag-of-Words (BoW), and Term Frequency–Inverse Document Frequency (TF-IDF). To focus on the comparison of these input types, we used the same deep-learning model, i.e., convolutional neural networks, in all experiments. Using a public dataset, we compared the vulnerability detection performance of the four input types both in the binary classification scenarios and the multiclass classification scenario. Our findings show that TF-IDF is the best overall input type among the four. TF-IDF has excellent detection performance in all scenarios: (1) it has the best F1 score and accuracy in binary classifications for all vulnerability types except for the delegate vulnerability where TF-IDF comes in a close second, and (2) it comes in a very close second behind BoW (within 0.8%) in the multiclass classification.

Loading PDF

Similar Papers
  • PDF
  • Research Article
  • Citations55

Deep learning-based solution for smart contract vulnerabilities detection

  • Nov 16, 2023
  • Scientific Reports
  • Xueyan Tang +4
  • PDF
  • Research Article
  • Citations14

Trading Stocks Based on Financial News Using Attention Mechanism

  • Jun 10, 2022
  • Mathematics
  • Saurabh Kamal +5
  • Research Article
  • Citations2

A Reliable Framework for Detection of Smart Contract Vulnerabilities for Enhancing Operability in Inter-Organizational Systems

  • Mar 29, 2024
  • Journal of Mobile Multimedia
  • S Arunprasath +1
  • Conference Article
  • Citations2

GSVD: Common Vulnerability Dataset for Smart Contracts on BSC and Polygon

  • Mar 25, 2023
  • Ziniu Shen +2
  • Research Article
  • Citations3

OC-Detector: Detecting Smart Contract Vulnerabilities Based on Clustering Opcode Instructions

  • Nov 20, 2023
  • International Journal of Software Engineering and Knowledge Engineering
  • Xiguo Gu +4
  • Book Chapter
  • Citations19

An Efficient Vulnerability Detection Model for Ethereum Smart Contracts

  • Jan 01, 2019
  • Jingjing Song +5
  • Research Article
  • Citations16

FunFuzz: A Function-Oriented Fuzzer for Smart Contract Vulnerability Detection with High Effectiveness and Efficiency

  • Sep 27, 2024
  • ACM Transactions on Software Engineering and Methodology
  • Mingxi Ye +5
  • Book Chapter
  • Citations8

Detecting Unknown Vulnerabilities in Smart Contracts with Multi-Label Classification Model Using CNN-BiLSTM

  • Jan 01, 2023
  • Wanyi Gu +6
  • PDF
  • Research Article
  • Citations135

Attention-Based CNN and Bi-LSTM Model Based on TF-IDF and GloVe Word Embedding for Sentiment Analysis

  • Nov 27, 2021
  • Applied Sciences
  • Marjan Kamyab +2
  • Research Article
  • Citations56

Deep Ensemble Fake News Detection Model Using Sequential Deep Learning Technique.

  • Sep 15, 2022
  • Sensors (Basel, Switzerland)
  • Abdullah Marish Ali +4
  • Research Article
  • Citations6

A Smart Contract Vulnerability Detection Model Based on Syntactic and Semantic Fusion Learning

  • Feb 03, 2023
  • Wireless Communications and Mobile Computing
  • Daojun Han +3
  • PDF
  • Research Article
  • Citations3

Optimizing Cheating Detection in Online Exams with K-Shingling, MinHashing, and LSH: A Comparative Analysis with TF-IDF and BoW

  • May 21, 2025
  • International Journal of Engineering Pedagogy (iJEP)
  • Nabila El Rhezzali +2
  • Research Article

SDN-ATK: a novel SDN-specific attack dataset

  • Feb 10, 2026
  • PeerJ Computer Science
  • S Melih Doğan +2
  • Research Article
  • Citations10

Enhancing the prediction of IDC breast cancer staging from gene expression profiles using hybrid feature selection methods and deep learning architecture.

  • Aug 02, 2023
  • Medical & Biological Engineering & Computing
  • Akash Kishore +4
  • Conference Article
  • Citations89

DeeSCVHunter: A Deep Learning-Based Framework for Smart Contract Vulnerability Detection

  • Jul 18, 2021
  • Xingxin Yu +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.