Enhanced Detection of Code Vulnerability With Synergy Between Data-Driven, Rule-Based and Unsupervised Learnings
Code vulnerabilities pose risks to software security. This paper combines data-driven (deep learning) and rulebased methods to enhance vulnerability detection, leveraging unsupervised learning to prune the hybrid model. A neural network encodes source code into vectors preserving semanticsyntactic properties, which are classified using a Random Forest ensemble. A novel pruning algorithm, utilizing clustering techniques, removes low-impact trees to prevent overfitting. Evaluation on Java and C datasets shows that the proposed approach outperforms state-of-the-art rule-based, neural network, and vulnerability detection methods in accurately classifying methodlevel vulnerabilities.
Authors
- Samiha Shimmi
- Hibah Mohammed Ghouse
- Mona Rahimi (ORCID: https://orcid.org/0000-0002-4785-747X)
Institutions
- Northern Illinois University (US)
Publication Details
- Published
- 2025-05-03
- DOI
- https://doi.org/10.1109/encycris66464.2025.00013
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00