Papers1 provider Ā· 1 record
April 16, 2026Ā· International Journal on Semantic Web and Information Systems
article
Open access

a Semantic-Aware Multi-Granularity Framework for Explainable Smart Contract Vulnerability Analysis

Authors:Qiangshan ZhangMeng Yao

Abstract

Smart contracts exhibit increasingly complex semantics and interactions, yet existing vulnerability detection methods rely on single-granularity representations, limiting their ability to capture semantic mechanisms across bytecode execution and cross-contract interactions. In addition, vulnerability data are scarce and imbalanced, and most deep learning-based approaches lack semantic interpretability. To address these limitations, a semantic-aware cross multi-granularity representation enhanced detection framework (CMR-ED) is proposed. CMR-ED models opcode execution semantics, function-level behaviors, and cross-contract interactions, aligning multi-level semantic information within a unified representation space. A structure-aware vulnerability pattern generator mitigates data scarcity through semantically consistent sample synthesis, while an explainable detection mechanism provides triggering paths and reasoning-chain explanations. Extensive experiments show that CMR-ED outperforms state-of-the-art methods while improving interpretability under semantically complex scenarios.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.