NAPO-SCVD: Noise-Aware Preference Reinforcement Large Language Model for Smart Contract Vulnerability Detection
Computers · 27.06.2026 · 15 (7) · 413
DOI: 10.3390/computers15070413 ↗Kurz gefasst
Fachartikel in der Zeitschrift Computers, online erschienen am 27.06.2026. Verfasst von Dianjun Xie und 4 weiteren Autor:innen. Die Arbeit nennt 39 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Natural Science Foundation of China, Higher Education Institutions in Shanxi.
Abstract (Originalsprache)
As the core automated execution components of blockchain technology, smart contracts enable programmatic control over digital assets; however, their immutable characteristics and inherent logical vulnerabilities give rise to substantial security risks. Although smart contract vulnerability detection methods based on large language models (LLMs) have exhibited certain potential in vulnerability detection and explanation, the coarse-grained modeling of traditional binary preference optimization paradigms hinders the model ability to learn the priority of domain-specific requirements, frequently leading to extreme optimization at the cost of detection accuracy. Furthermore, existing approaches fail to consider non-ideal factors in real-world application scenarios and overlook noise interference induced by missing prompts, which results in inadequate detection stability and reliability, making them challenging to adapt to complex practical scenarios. To address these critical issues, this study proposes a Noise-Aware Preference Reinforcement Large Language Model for Smart Contract Vulnerability Detection (NAPO-SCVD). This method adopts a four-stage framework consisting of data construction, continuous pre-training, supervised fine-tuning, and noise-aware preference optimization. Specifically, it enhances the model’s comprehension of contract syntax and semantics through domain-specific pre-training, improves its detection and explanation capabilities using high-quality datasets, constructs deliberately guided biased explanations to simulate noisy samples, refines preference gradients, and strengthens the model’s anti-interference ability. Consequently, this approach achieves high-precision and high-reliability smart contract vulnerability detection, along with fine-grained explanations.
Förderung
- National Natural Science Foundation of China
- Higher Education Institutions in Shanxi
Zitieren
APA
Xie, D., Song, W., Zhu, B., Guo, R., & Li, Y. (2026). NAPO-SCVD: Noise-Aware Preference Reinforcement Large Language Model for Smart Contract Vulnerability Detection. Computers, 15(7), 413. https://doi.org/10.3390/computers15070413
Vancouver
Xie D, Song W, Zhu B, Guo R, Li Y. NAPO-SCVD: Noise-Aware Preference Reinforcement Large Language Model for Smart Contract Vulnerability Detection. Computers. 2026;15(7):413. doi:10.3390/computers15070413
BibTeX
@article{Xie2026,
author = {Xie, Dianjun and Song, Wenai and Zhu, Biaokai and Guo, Ruize and Li, Yiran},
title = {NAPO-SCVD: Noise-Aware Preference Reinforcement Large Language Model for Smart Contract Vulnerability Detection},
journal = {Computers},
year = {2026},
volume = {15},
number = {7},
pages = {413},
doi = {10.3390/computers15070413}
}
EUVIMED