arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.06590cs.CLcs.CRcs.SE
收藏

基于预训练语言模型的安全漏洞报告少样本命名实体识别

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

Stevens Institute of Technology(史蒂文斯理工学院)

Guanqun Yang, Shay Dineen, Zhipeng Lin, Xueqing Liu

摘要:

公共安全漏洞报告(例如,CVE报告)在计算机和网络系统的维护中起着重要的作用。安全公司和管理员依靠这些报告中的信息来确定为客户开发和部署补丁程序的任务的优先级。由于这些报告是非结构化文本,因此自动信息抽取(IE)可以通过将非结构化报告转换为结构化表格来帮助放大处理,例如,软件名称和版本以及漏洞类型。现有的自动IE安全漏洞报告的工作往往依赖于大量的标记训练样本。然而,创建大量的标记训练集既昂贵又耗时。在这项工作中,第一次,我们建议调查这个问题,只有少量的标记训练样本。特别是,我们研究了在我们的小训练数据集上微调几个最先进的预训练语言模型的性能。结果表明,通过预先训练的语言模型和精心调整的超参数,我们在这项任务上已经达到或略优于最先进的系统。与之前的两步过程一致,首先对主类别进行微调,然后迁移学习到其他类别,如[7]中,如果按照我们提出的方法,则所需的标记样本的数量在两个阶段中大幅减少:微调从5758减少90%到576,迁移学习减少88.8%,每个类别64个标记样本。因此,我们的实验证明了小样本学习NER的安全漏洞报告的有效性。这一结果为安全漏洞报告的少样本学习提供了多种研究机会,本文对此进行了讨论。代码:https://github.com/guanqun-yang/FewVulnerability.

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑