arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1709.07470cs.CL
收藏

从稀疏网络安全文本中学习特定领域的词嵌入

Learning Domain-Specific Word Embeddings from Sparse Cybersecurity Texts

University of Maryland, Baltimore County(马里兰大学巴尔的摩郡分校);IBM(IBM公司)

Arpita Roy, Youngja Park, SHimei Pan

摘要:

词嵌入是一种自然语言处理(NLP)技术,它自动将词汇表中的词映射到嵌入空间中的实数向量。近年来,它已被广泛用于提高各种NLP任务的性能,如命名实体识别,句法分析和情感分析。经典的词嵌入方法,如Word2Vec和GloVe,在大型文本语料库中工作良好。当输入文本像在许多专门领域中那样稀疏时(例如,网络安全),这些方法往往不能产生高质量的载体。本文提出了一种从稀疏文本中训练特定领域词嵌入的新方法。除了领域文本,我们的方法还利用了不同类型的领域知识,如领域词汇和语义关系。具体来说,我们首先提出了一个通用的框架,编码不同类型的领域知识的文本注释。在此基础上,提出了一种新的词标注嵌入算法(WAE),将不同类型的文本标注融合到词嵌入中。我们已经评估了我们的方法在两个网络安全文本语料库:恶意软件描述语料库和常见的漏洞和暴露(CVE)语料库。我们的评估结果证明了我们的方法在学习特定领域的词嵌入方面的有效性。

英文摘要:

Word embedding is a Natural Language Processing (NLP) technique that automatically maps words from a vocabulary to vectors of real numbers in an embedding space. It has been widely used in recent years to boost the performance of a vari-ety of NLP tasks such as Named Entity Recognition, Syntac-tic Parsing and Sentiment Analysis. Classic word embedding methods such as Word2Vec and GloVe work well when they are given a large text corpus. When the input texts are sparse as in many specialized domains (e.g., cybersecurity), these methods often fail to produce high-quality vectors. In this pa-per, we describe a novel method to train domain-specificword embeddings from sparse texts. In addition to domain texts, our method also leverages diverse types of domain knowledge such as domain vocabulary and semantic relations. Specifi-cally, we first propose a general framework to encode diverse types of domain knowledge as text annotations. Then we de-velop a novel Word Annotation Embedding (WAE) algorithm to incorporate diverse types of text annotations in word em-bedding. We have evaluated our method on two cybersecurity text corpora: a malware description corpus and a Common Vulnerability and Exposure (CVE) corpus. Our evaluation re-sults have demonstrated the effectiveness of our method in learning domain-specific word embeddings.

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

↑