计算机科学 > 机器学习
[提交于 2024年10月7日]
标题:Vulnerability Detection via Topological Analysis of Attention Maps
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Recently, deep learning (DL) approaches to vulnerability detection have gained significant traction. These methods demonstrate promising results, often surpassing traditional static code analysis tools in effectiveness. In this study, we explore a novel approach to vulnerability detection utilizing the tools from topological data analysis (TDA) on the attention matrices of the BERT model. Our findings reveal that traditional machine learning (ML) techniques, when trained on the topological features extracted from these attention matrices, can perform competitively with pre-trained language models (LLMs) such as CodeBERTa. This suggests that TDA tools, including persistent homology, are capable of effectively capturing semantic information critical for identifying vulnerabilities.
提交历史
来自:Pavel Snopov[v1] 2024年10月7日 星期一 00:00:00 UTC