Snopy: Bridging Sample Denoising with Causal Graph Learning for Effective Vulnerability Detection
Sicong Cao, Xiaobing Sun, Xiaoxue Wu, David Lo, Lili Bo, Bin Li, Xiaolei Liu, Xingwei Lin, Wei Liu
摘要
Deep Learning (DL) has emerged as a promising means for vulnerability detection due to its ability to automatically derive features from vulnerable code. Unfortunately, current solutions struggle to focus on vulnerability-related parts of vulnerable functions, and tend to exploit spurious correlations for prediction, thus undermining their effectiveness in practice. In this paper, we propose Snopy, a novel DL-based approach, which bridges sample denoising with causal graph learning to capture real vulnerability patterns from vulnerable samples with numerous noise for effective detection. Specifically, Snopy adopts a change-based sample denoising approach to automatically weed out vulnerability-irrelevant code elements in the vulnerable functions without sacrificing the label accuracy. Then, Snopy constructs a novel Causality-Aware Graph Attention Network (CA-GAT) with Feature Caching Scheme (FCS) to learn causal vulnerability features while maintaining efficiency. Experiments on the three public benchmark datasets show that Snopy outperforms the state-of-the-art baselines by an average of 27.22%, 85.89%, and 75.50% in terms of F1-score, respectively.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SymRadar: PoC-Centered Bounded Verification for Vulnerability Repair 引用了 Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detection
- Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detection 引用了 Data Quality for Software Vulnerability Datasets
- Natural Attack for Pre-trained Models of Code 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- Well Begun is Half Done: Location-Aware and Trace-Guided Iterative Automated Vulnerability Repair 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- Data Quality for Software Vulnerability Datasets 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- Data Quality for Software Vulnerability Datasets 引用了 Vulnerability detection with fine-grained interpretations
- LLMxCPG: Context-Aware Vulnerability Detection Through Code Property Graph-Guided Large Language Models 引用了 Vulnerability detection with fine-grained interpretations
引用它的顶会 Paper4
- Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability DetectionNiklas Risse, Jing Liu, Marcel BöhmeISSTA 2025 · 8 次引用
- SymRadar: PoC-Centered Bounded Verification for Vulnerability RepairSeungheon Han, YoungJae Kim, Yeseung Lee, Jooyong YiICSE 2026 · 1 次引用
- Well Begun is Half Done: Location-Aware and Trace-Guided Iterative Automated Vulnerability RepairZhenlei Ye, Xiaobing Sun, Sicong Cao, Lili Bo 等ICSE 2026
- LLMxCPG: Context-Aware Vulnerability Detection Through Code Property Graph-Guided Large Language ModelsAhmed Lekssays, Hamza Mouhcine, Khang Tran, Ting Yu 等USENIX Security 2025
它引用的 Paper27
- CodeBERT: A Pre-Trained Model for Programming and Natural LanguagesZhangyin Feng, Daya Guo, Duyu Tang, Nan Duan 等EMNLP Findings 2020 · 2,828 次引用
- Vulnerability detection with fine-grained interpretationsYi Li, Shaohua Wang, Tien N. NguyenFSE 2021 · 283 次引用
- A Large-Scale Empirical Study of Security PatchesFrank Li, Vern PaxsonCCS 2017 · 273 次引用
- Natural Attack for Pre-trained Models of CodeZhou Yang, Jieke Shi, Junda He, David LoICSE 2022 · 150 次引用
- Data Quality for Software Vulnerability DatasetsRoland Croft, Muhammad Ali Babar, M. Mehdi KholoosiICSE 2023 · 138 次引用
相关 Paper
- Learning Program Semantics for Vulnerability Detection via Vulnerability-Specific Inter-procedural SlicingBozhi Wu, Shangqing Liu, Yang Xiao, Zhiming Li 等FSE 2023 · 16 次引用
- Are We Learning the Right Features? A Framework for Evaluating DL-Based Software Vulnerability Detection SolutionsSatyaki Das, Syeda Tasnim Fabiha, Saad Shafiq, Nenad MedvidovicICSE 2025 · 1 次引用
- Vulnerability Detection with Graph Simplification and Enhanced Graph Representation LearningXin-Cheng Wen, Yupan Chen, Cuiyun Gao, Hongyu Zhang 等ICSE 2023 · 77 次引用
- Dataflow Analysis-Inspired Deep Learning for Efficient Vulnerability DetectionBenjamin Steenhoek, Hongyang Gao, Wei LeICSE 2024 · 54 次引用
- Enhancing Deep Learning-based Vulnerability Detection by Building Behavior Graph ModelBin Yuan, Yifan Lu, Yilin Fang, Yueming Wu 等ICSE 2023 · 20 次引用
