Skip to main navigation Skip to search Skip to main content

The comparison of word embedding techniques in RNNS for vulnerability detection

  • Ritsumeikan University
  • Ritsumeikan University Biwako-Kusatsu Campus
  • Osaka University

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

13 Citations (Scopus)

Abstract

Many studies have combined Deep Learning and Natural Language Processing (NLP) techniques in security systems in performing tasks such as bug detection, vulnerability prediction, or classification. Most of these works relied on NLP embedding methods to generate input vectors for the deep learning models. However, there are many existing embedding methods to encode software text files into vectors, and the structures of neural networks are immense and heuristic. This leads to a challenge for the researcher to choose the appropriate combination of embedding techniques and the model structure for training the vulnerability detection classifiers. For this task, we propose a system to investigate the use of four popular word embedding techniques combined with four different recurrent neural networks (RNNs), including both bidirectional RNNs (BRNNs) and unidirectional RNNs. We trained and evaluated the models by using two types of vulnerable function datasets written in C code. Our results showed that the FastText embedding technique combined with BRNNs produced the most efficient detection rate, compared to other combinations, on a real-world but not on an artificially-produced dataset. Further experiments on other datasets are necessary to confirm this result.

Original languageEnglish
Title of host publicationICISSP 2021 - Proceedings of the 7th International Conference on Information Systems Security and Privacy
EditorsPaolo Mori, Lenzini Gabriele, Steven Furnell
PublisherSciTePress
Pages109-120
Number of pages12
ISBN (Electronic)9789897584916
Publication statusPublished - 2021
Externally publishedYes
Event7th International Conference on Information Systems Security and Privacy, ICISSP 2021 - Virtual, Online
Duration: 11 Feb 2021 → 13 Feb 2021

Publication series

NameICISSP 2021 - Proceedings of the 7th International Conference on Information Systems Security and Privacy

Conference

Conference7th International Conference on Information Systems Security and Privacy, ICISSP 2021
CityVirtual, Online
Period11/02/21 → 13/02/21

Keywords

  • Deep Learning
  • RNNs
  • Vulnerability Detection
  • Word Embeddings

Fingerprint

Dive into the research topics of 'The comparison of word embedding techniques in RNNS for vulnerability detection'. Together they form a unique fingerprint.

Cite this