CBOW不是你需要的全部:结合CBOW与组合矩阵空间模型
CBOW Is Not All You Need: Combining CBOW with the Compositional Matrix Space Model
摘要:
连续词袋(CBOW)是一种强大的文本嵌入方法。由于其强大的文字内容编码能力,CBOW嵌入在广泛的下游任务中表现良好,同时计算效率高。但是,CBOW不能捕获词序。原因是CBOW的词嵌入的计算是可交换的,即,XYZ和ZYX的嵌入是相同的。为了解决这个问题,我们提出了一个学习算法的连续矩阵空间模型,我们称之为连续字乘法(CMOW)。我们的算法是word 2 vec的一种改编,因此它可以在大量未标记的文本上进行训练。我们的经验表明,CMOW更好地捕捉语言特性,但它是劣于CBOW记忆单词内容。受这些发现的启发,我们提出了一个结合CBOW和CMOW优势的混合模型。我们的研究结果表明,混合CBOW-CMOW模型保留了CBOW的强大的记忆单词内容的能力,而在同一时间大幅提高其编码其他语言信息的能力8%。因此,混合算法在11个有监督的下游任务中的8个上也表现得更好,平均提高了1.2%。
英文摘要:
Continuous Bag of Words (CBOW) is a powerful text embedding method. Due to its strong capabilities to encode word content, CBOW embeddings perform well on a wide range of downstream tasks while being efficient to compute. However, CBOW is not capable of capturing the word order. The reason is that the computation of CBOW's word embeddings is commutative, i.e., embeddings of XYZ and ZYX are the same. In order to address this shortcoming, we propose a learning algorithm for the Continuous Matrix Space Model, which we call Continual Multiplication of Words (CMOW). Our algorithm is an adaptation of word2vec, so that it can be trained on large quantities of unlabeled text. We empirically show that CMOW better captures linguistic properties, but it is inferior to CBOW in memorizing word content. Motivated by these findings, we propose a hybrid model that combines the strengths of CBOW and CMOW. Our results show that the hybrid CBOW-CMOW-model retains CBOW's strong ability to memorize word content while at the same time substantially improving its ability to encode other linguistic information by 8%. As a result, the hybrid also performs better on 8 out of 11 supervised downstream tasks with an average improvement of 1.2%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。