Multimodal Feature Fusion Framework for Smart Contract Vulnerability Detection

Smart contracts play a central role in automating processes on blockchain platforms, enabling operations such as identity management, access control, and logic execution. However, due to their inherent complexity and extensive interactions, they are often vulnerable to a range of security issues, such as reentrancy and timestamp dependency. In this work, we propose a novel vulnerability detection framework that integrates expert knowledge and multimodal representations to improve both accuracy and interpretability in smart contract analysis. Specifically, we leverage the Code Llama large language model to extract expert pattern features and construct three semantic graphs — textual, opcode-level, and transaction-based — to capture heterogeneous behavioral patterns of contracts. These multimodal features are aligned and fused through graph neural networks and attention mechanisms to form a unified representation, which is then used for binary classification of vulnerability presence. Experimental results on both public and custom datasets demonstrate that our approach achieves strong detection performance;for instance, the accuracy rate for detecting timestamp dependency vulnerabilities reaches 89 % on private datasets. These findings validate the effectiveness of combining multimodal fusion with large language model-guided knowledge extraction for enhanced smart contract security analysis.

Authors

Institutions

Publication Details

Published
2025-06-06
DOI
https://doi.org/10.1109/dlcv65218.2025.11088821
Primary Topic
Insurance and Financial Risk Management
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Multimodal Feature Fusion Framework for Smart Contract Vulnerability Detection

Leixiao Li, Shuitao Guo, Z. Liu, Wenjie Li
Insurance and Financial Risk Management
article

Multimodal Feature Fusion Framework for Smart Contract Vulnerability Detection

Leixiao Li, Shuitao Guo, Z. Liu, Wenjie Li
article en

Abstract

Smart contracts play a central role in automating processes on blockchain platforms, enabling operations such as identity management, access control, and logic execution. However, due to their inherent complexity and extensive interactions, they are often vulnerable to a range of security issues, such as reentrancy and timestamp dependency. In this work, we propose a novel vulnerability detection framework that integrates expert knowledge and multimodal representations to improve both accuracy and interpretability in smart contract analysis. Specifically, we leverage the Code Llama large language model to extract expert pattern features and construct three semantic graphs — textual, opcode-level, and transaction-based — to capture heterogeneous behavioral patterns of contracts. These multimodal features are aligned and fused through graph neural networks and attention mechanisms to form a unified representation, which is then used for binary classification of vulnerability presence. Experimental results on both public and custom datasets demonstrate that our approach achieves strong detection performance;for instance, the accuracy rate for detecting timestamp dependency vulnerabilities reaches 89 % on private datasets. These findings validate the effectiveness of combining multimodal fusion with large language model-guided knowledge extraction for enhanced smart contract security analysis.

Inner Mongolia University of Technology (CN)
National Natural Science Foundation of China, Natural Science Foundation of Inner Mongolia
Openalex Percentile: Top 72%
Insurance and Financial Risk Management
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.