Vulnerability Detection via Topological Analysis of Attention Maps
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 7 of its 15 references that are in the map. First posted on arXiv 4 Oct 2024.
Builds on
7 of 15 references.
References · 7
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2015Persistence Images: A Stable Vector Representation of Persistent Homologycited by 235
- 2017An introduction to Topological Data Analysis: fundamental and practical aspects for data scientistscited by 171
- 2021Artificial Text Detection via Examining the Topology of Attention Mapscited by 49
- 2022An Empirical Study of Deep Learning Models for Vulnerability Detectioncited by 44
- 2019Persistence Homology of Networks: Methods and Applicationscited by 30
Built on by
Citing papers per year: 2024: 1.
1 paper.