mlsanityData to 7 Oct 2026

Few-Sample Named Entity Recognition for Security Vulnerability Reports by Fine-Tuning Pre-Trained Language Models

arXiv 2108.06590 ↗First posted 14 Aug 2021cs.CL cs.CR cs.SEcited by 3

Not on the map. Why?

Abstract (arXiv)

Public security vulnerability reports (e.g., CVE reports) play an important role in the maintenance of computer and network systems. Security companies and administrators rely on information from these reports to prioritize tasks on developing and deploying patches to their customers. Since these reports are unstructured texts, automatic information extraction (IE) can help scale up the processing by converting the unstructured reports to structured forms, e.g., software names and versions and vulnerability types. Existing works on automated IE for security vulnerability reports often rely on a large number of labeled training samples. However, creating massive labeled training set is both expensive and time consuming. In this work, for the first time, we propose to investigate this problem where only a small number of labeled training samples are available. In particular, we investigate the performance of fine-tuning several state-of-the-art pre-trained language models on our small training dataset. The results show that with pre-trained language models and carefully tuned hyperparameters, we have reached or slightly outperformed the state-of-the-art system on this task. Consistent with previous two-step process of first fine-tuning on main category and then transfer learning to others as in [7], if otherwise following our proposed approach, the number of required labeled samples substantially decrease in both stages: 90% reduction in fine-tuning from 5758 to 576,and 88.8% reduction in transfer learning with 64 labeled samples per category. Our experiments thus demonstrate the effectiveness of few-sample learning on NER for security vulnerability report. This result opens up multiple research opportunities for few-sample learning for security vulnerability reports, which is discussed in the paper. Code: https://github.com/guanqun-yang/FewVulnerability.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 24 of its 46 references that are in the map. First posted on arXiv 14 Aug 2021.

Builds on

24 of 46 references.

References · 24

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  3. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  4. 2016Matching Networks for One Shot Learningcited by 2,246
  5. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  6. 2016Neural Architectures for Named Entity Recognitioncited by 548
  7. 2018Pyramid Stereo Matching Networkcited by 486
  8. 2019Generalizing from a Few Examples: A Survey on Few-Shot Learningcited by 462
  9. 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 377
  10. 2020On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselinescited by 254
  11. 2020Revisiting Few-sample BERT Fine-tuningcited by 237
  12. 2018Sentence Encoders on STILTs: Supplementary Training on Intermediate Labeled-data Taskscited by 214
12 more
  1. 2020Few-shot Slot Tagging with Collapsed Dependency Transfer and Label-enhanced Task-adaptive Projection Networkcited by 83
  2. 2018Few-shot classification in Named Entity Recognition Taskcited by 64
  3. 2019Few-shot Text Classification with Distributional Signaturescited by 58
  4. 2020Few-Shot Named Entity Recognition: A Comprehensive Studycited by 41
  5. 2017SwellShark: A Generative Model for Biomedical Named Entity Recognition without Labeled Datacited by 28
  6. 2019A Manually-Curated Dataset of Fixes to Vulnerabilities of Open-Source Softwarecited by 28
  7. 2013Automatic Labeling for Entity Extraction in Cyber Securitycited by 13
  8. 2021A System for Automated Open-Source Threat Intelligence Gathering and Managementcited by 7
  9. 2020Simple and Effective Few-Shot Named Entity Recognition with Structured Nearest Neighbor Learningcited by 6
  10. 2021Non-Parametric Few-Shot Learning for Word Sense Disambiguationcited by 4
  11. 2021Generating Informative CVE Description From ExploitDB Posts by Extractive Summarizationcited by 3
  12. 2020An Empirical Study of Android Security Bulletins in Different Vendorscited by 2

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 0; 2024: 1.

3 papers.