首页 | 本学科首页   官方微博 | 高级检索  
     

word2vec-ACV:OOV语境含义的词向量生成模型
引用本文:王永贵,郑泽,李玥.word2vec-ACV:OOV语境含义的词向量生成模型[J].计算机应用研究,2019,36(6).
作者姓名:王永贵  郑泽  李玥
作者单位:辽宁工程技术大学软件学院,辽宁葫芦岛,125105;辽宁工程技术大学软件学院,辽宁葫芦岛,125105;辽宁工程技术大学软件学院,辽宁葫芦岛,125105
基金项目:国家自然科学基金青年基金资助项目(61404069)
摘    要:针对Word2Vec模型生成的词向量缺乏语境的多义性以及无法创建集外词(OOV)词向量的问题,引入相似信息与Word2Vec模型相结合,提出Word2Vec-ACV模型。该模型首先基于连续词袋(CBOW)和Hierarchical Softmax的Word2Vec模型训练出词向量矩阵即权重矩阵;然后将共现矩阵进行归一化处理得到平均上下文词向量,再将词向量组成平均上下文词向量矩阵;最后将平均上下文词向量矩阵与权重矩阵相乘得到词向量矩阵。为了能同时解决集外词及多义性问题,将平均上下文词向量分为全局平均上下文词向量(Global ACV)和局部平均上下文词向量(Local ACV)两种,并对两者取权值组成新的平均上下文词向量矩阵。将Word2Vec-ACV模型和Word2Vec模型分别进行类比任务实验和命名实体识别任务实验,实验结果表明,Word2Vec-ACV模型同时解决了语境多义性以及创建集外词词向量的问题,降低了时间消耗,提升了词向量表达的准确性和对海量词汇的处理能力。

关 键 词:word2vec模型  词向量  共现矩阵  平均上下文词向量
收稿时间:2017/12/9 0:00:00
修稿时间:2019/5/8 0:00:00

Word2Vec-ACV: word vector generation model of OOV context meaning
wangyonggui and zhengze.Word2Vec-ACV: word vector generation model of OOV context meaning[J].Application Research of Computers,2019,36(6).
Authors:wangyonggui and zhengze
Affiliation:Liaoning Technical University,
Abstract:The Word2Vec model is a neural network model (NNLM) that converts words in text into a word vector. It is widely used in natural language processing tasks such as emotional analysis, question answering robot and so on. Word vectors generated for the Word2Vec model lacked the ambiguity of context and the inability to create OOV word vectors. Based on the similarity information of document context and Word2Vec model, this paper proposed a word vector generation model that conforms to the meaning of OOV context. It is called the Word2Vec-ACV model. The model was similar to the process of the word vector generated by the Word2Vec model, but it was different. First of all, Word2Vec model of the continuous word bag (CBOW) and the Hierarchical Softmax trained the word vector matrix, namely the weight matrix. Secondly, the co-occurrence matrix was normalized to get the average context word vector. Then, the word vector consisted of an average context word vector matrix. Finally, the vector matrix of the average context word vector matrix and the weight matrix were multiplied to get the word vector matrix. In order to simultaneously solved the ambiguity problem of out of vocabulary words and out of vocabulary words to create. In this paper, the average context word vectors were divided into two kinds: the global average context word vector (global ACV) and the local average context word vector (local ACV) . In addition, the two taken the weight value to form a new average context word vector matrix. The Word2Vec model can effectively express the word in vector form. Experiments on analogical tasks and named entity recognition (NER) tasks respectively, the results show that the Word2Vec-ACV model is superior to the Word2Vec model in the accurate expression of the word vector. It is a word vector representation method to create a contextual context for OOV words.
Keywords:Word2Vec model  Word Vector  The co-occurrence matrix  ACV
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号