忽略我但不要替换我:利用非语言元素进行网络安全领域的预训练
Ignore Me But Don't Replace Me: Utilizing Non-Linguistic Elements for Pretraining on the Cybersecurity Domain
AI总结:
针对网络安全文本中非语言元素不适合传统预训练的问题,本文提出选择性掩码语言模型与联合训练非语言元素分类的策略,并据此训练出在多数任务上优于其他网络安全预训练语言模型的CyBERTuned模型。
摘要:
网络安全信息通常在技术上很复杂,并通过非结构化文本进行传递,这使得网络威胁情报的自动化极具挑战性。对于这类涉及高度专业知识的文本领域,在领域内语料库上进行预训练已成为语言模型获取领域专业知识的一种流行方法。然而,网络安全文本通常包含非语言元素(如URL和哈希值),这些元素可能不适合既有的预训练方法。其他领域的先前工作已将此类文本作为噪声删除或过滤,但这些方法的有效性尚未得到研究,尤其是在网络安全领域。我们提出了不同的预训练方法,并通过下游任务和探测任务评估其有效性。我们提出的策略(选择性掩码语言模型和联合训练非语言元素分类)优于通常采用的替换非语言元素(NLE)的方法。我们使用领域定制的方法训练了CyBERTuned,这是一个网络安全领域语言模型,在大多数任务上优于其他网络安全预训练语言模型。
英文摘要:
Cybersecurity information is often technically complex and relayed through unstructured text, making automation of cyber threat intelligence highly challenging. For such text domains that involve high levels of expertise, pretraining on in-domain corpora has been a popular method for language models to obtain domain expertise. However, cybersecurity texts often contain non-linguistic elements (such as URLs and hash values) that could be unsuitable with the established pretraining methodologies. Previous work in other domains have removed or filtered such text as noise, but the effectiveness of these methods have not been investigated, especially in the cybersecurity domain. We propose different pretraining methodologies and evaluate their effectiveness through downstream tasks and probing tasks. Our proposed strategy (selective MLM and jointly training NLE token classification) outperforms the commonly taken approach of replacing non-linguistic elements (NLEs). We use our domain-customized methodology to train CyBERTuned, a cybersecurity domain language model that outperforms other cybersecurity PLMs on most tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。