mlsanityData to 7 Oct 2026

Automated Vulnerability Detection in Source Code Using Quantum Natural Language Processing

arXiv 2303.07525 ↗First posted 13 Mar 2023cs.LG cs.CVcited by 6

Not on the map. Why?

Abstract (arXiv)

One of the most important challenges in the field of software code audit is the presence of vulnerabilities in software source code. These flaws are highly likely ex-ploited and lead to system compromise, data leakage, or denial of ser-vice. C and C++ open source code are now available in order to create a large-scale, classical machine-learning and quantum machine-learning system for function-level vulnerability identification. We assembled a siz-able dataset of millions of open-source functions that point to poten-tial exploits. We created an efficient and scalable vulnerability detection method based on a deep neural network model Long Short Term Memory (LSTM), and quantum machine learning model Long Short Term Memory (QLSTM), that can learn features extracted from the source codes. The source code is first converted into a minimal intermediate representation to remove the pointless components and shorten the de-pendency. Therefore, We keep the semantic and syntactic information using state of the art word embedding algorithms such as Glove and fastText. The embedded vectors are subsequently fed into the classical and quantum convolutional neural networks to classify the possible vulnerabilities. To measure the performance, we used evaluation metrics such as F1 score, precision, re-call, accuracy, and total execution time. We made a comparison between the results derived from the classical LSTM and quantum LSTM using basic feature representation as well as semantic and syntactic represen-tation. We found that the QLSTM with semantic and syntactic features detects significantly accurate vulnerability and runs faster than its classical counterpart.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 8 of its 45 references that are in the map. First posted on arXiv 13 Mar 2023.

Builds on

8 of 45 references.

References · 8

  1. 2018Supervised learning with quantum enhanced feature spacescited by 654
  2. 2020Quantum Long Short-Term Memorycited by 118
  3. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  4. 2019Transfer learning in hybrid classical-quantum neural networkscited by 113
  5. 2022A Review of Quantum Cybersecurity: Threats, Risks and Opportunitiescited by 4
  6. 2017Survey of Automated Vulnerability Detection and Exploit Generation Techniques in Cyber Reasoning Systemscited by 3
  7. 2022Quantum Machine Learning for Software Supply Chain Attacks: How Far Can We Go?cited by 3
  8. 2019FaSTExt: Fast and Small Text Extractorcited by 1

Built on by

Cited by year

Citing papers per year: 2023: 4; 2024: 2.

6 papers.