HyWE: A Hybrid Word Embedding Method for Smart Contract Vulnerability Detection

With the rise of blockchain technology, the use of smart contracts has increased, alongside challenges in detecting and addressing unknown vulnerabilities. Existing systems face limitations, including inadequate manual testing and flaws in automated tools. To improve smart contract security, this study introduces a Hybrid Word Embedding (HyWE) method that combines Word2Vec, FastText, and GloVe models, augmented by a channel self-attention mechanism for enhanced feature extraction in the field of deep learning smart contract vulnerability detection. HyWE captures semantic and contextual relationships in code more accurately, aiding in precise vulnerability detection. The method involves preprocessing smart contract data, extracting features with various embeddings, and applying self-attention to highlight critical features. Applied within the SCVD-SA framework, HyWE’s performance was evaluated experimentally, demonstrating superior accuracy and efficiency in vulnerability detection. This method is intuitive but effective, and can be easily adapted to other models, increasing performance.

Authors

Institutions

Publication Details

Published
2024-10-28
DOI
https://doi.org/10.1109/issrew63542.2024.00075
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

HyWE: A Hybrid Word Embedding Method for Smart Contract Vulnerability Detection

Jinfu Chen, Zhehao Li, Dongjie Wang
Artificial Intelligence in Law
article

HyWE: A Hybrid Word Embedding Method for Smart Contract Vulnerability Detection

Jinfu Chen, Zhehao Li, Dongjie Wang
article en

Abstract

With the rise of blockchain technology, the use of smart contracts has increased, alongside challenges in detecting and addressing unknown vulnerabilities. Existing systems face limitations, including inadequate manual testing and flaws in automated tools. To improve smart contract security, this study introduces a Hybrid Word Embedding (HyWE) method that combines Word2Vec, FastText, and GloVe models, augmented by a channel self-attention mechanism for enhanced feature extraction in the field of deep learning smart contract vulnerability detection. HyWE captures semantic and contextual relationships in code more accurately, aiding in precise vulnerability detection. The method involves preprocessing smart contract data, extracting features with various embeddings, and applying self-attention to highlight critical features. Applied within the SCVD-SA framework, HyWE’s performance was evaluated experimentally, demonstrating superior accuracy and efficiency in vulnerability detection. This method is intuitive but effective, and can be easily adapted to other models, increasing performance.

Jiangsu University (CN)
National Natural Science Foundation of China, China Postdoctoral Science Foundation, Natural Science Foundation of Jiangsu Province
Openalex Percentile: Top 65%
Artificial Intelligence in Law
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.