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

Word-Graph2vec:一种基于随机游走技术的词共现图高效词嵌入方法

Word-Graph2vec: An efficient word embedding approach on word co-occurrence graph using random walk technique

Shenzhen Technology University(深圳技术大学);Shenzhen Institute of Translational Medicine, Shenzhen Second People’s Hospital, The First Affiliated Hospital of Shenzhen University(深圳转化医学研究院,深圳市第二人民医院,深圳大学第一附属医院)

Wenting Li, Jiahong Xue, Xi Zhang, Huacan Chen, Zeyu Chen, Feijuan Huang, Yuanzhe Cai

AI总结:

本文提出Word-Graph2vec,一种基于词共现图和随机游走的词嵌入方法,将大语料转为图并采样训练,效率比Word2vec快4-5倍、比FastText快2-3倍,且误差小。

摘要:

词嵌入已成为普遍应用的技术,广泛用于各种自然语言处理(NLP)任务,如网络检索、网络语义分析和机器翻译等。然而,在相对较大的语料库上训练词嵌入的成本过高。我们提出了一种基于图的词嵌入算法,称为Word-Graph2vec,该算法将大型语料库转换为词共现图,然后通过随机游走从该图中采样词序列,并最终在此采样语料上训练词嵌入。我们认为,由于英语中词汇量有限、大量习语和固定表达的存在,词共现图的大小和密度随训练语料的增加而变化很小。因此,Word-Graph2vec在大规模数据集上具有稳定的运行时间,并且其性能优势随着训练语料的增长而越来越明显。在真实世界数据集上进行的大量实验表明,所提出的算法在效率上比传统Word2vec快四到五倍,比FastText快两到三倍,而随机游走技术产生的误差很小。

英文摘要:

Word embedding has become ubiquitous and is widely used in various natural language processing (NLP) tasks, such as web retrieval, web semantic analysis, and machine translation, and so on. Unfortunately, training the word embedding in a relatively large corpus is prohibitively expensive. We propose a graph-based word embedding algorithm, called Word-Graph2vec, which converts the large corpus into a word co-occurrence graph, then takes the word sequence samples from this graph by randomly traveling and trains the word embedding on this sampling corpus in the end. We posit that because of the limited vocabulary, huge idioms, and fixed expressions in English, the size and density of the word co-occurrence graph change slightly with the increase in the training corpus. So that Word-Graph2vec has stable runtime on the large-scale data set, and its performance advantage becomes more and more obvious with the growth of the training corpus. Extensive experiments conducted on real-world datasets show that the proposed algorithm outperforms traditional Word2vec four to five times in terms of efficiency and two to three times than FastText, while the error generated by the random walk technique is small.

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

↑