@article{LI2024, 
author = {Min LI and Ruihao SHI and Ying ZHANG and Haibing YUAN and Libiao JIANG and Danyun MIAO},
title = {Smart contract vulnerability detection method based on MixStyle transfer},
year = {2024},
journal = {Journal of Chongqing University},
volume = {47},
number = {12},
pages = {70-82},
keywords = {smart contracts, vulnerability detection, transfer learning, MixStyle, maximum mean discrepancy},
url = {https://www.sciopen.com/article/10.11835/j.issn.1000.582X.2024.12.007},
doi = {10.11835/j.issn.1000.582X.2024.12.007},
abstract = {This study presents a smart contract vulnerability detection method using MixStyle transfer to address challenges related to limited datasets and the detection of unknown vulnerabilities when new ones arise in smart contracts. The method first extracts the abstract syntax tree from the smart contract source code and uses a graph attention network to capture dependencies and information flow between nodes. Then, maximum mean discrepancy(MMD) is used to facilitate effective knowledge transfer from known vulnerabilities to emerging ones, thus expanding the dataset available for deep learning model training. Finally, the MixStyle technique is incorporated into the classifier to enhance model generalization and improve the accuracy of identifying novel vulnerability types. Experimental results show that this method outperforms BLSTM-ATT, BiGAS, and Peculiar methods in F1, ACC, and MCC metrics for detecting four types of vulnerabilities.}
}