arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1702.03859cs.CLcs.AIcs.IR
收藏

离线双语词向量,正交变换和反向softmax

Offline bilingual word vectors, orthogonal transformations and the inverted softmax

babylon health(巴比伦健康)

Samuel L. Smith, David H. P. Turban, Steven Hamblin, Nils Y. Hammerla

摘要:

通常双语词向量是“在线”训练的。Mikolov等人表明,它们也可以“离线”找到,即使用从专家知识编译的字典,将两个预先训练的嵌入与线性变换对齐。本文证明了两个空间之间的线性变换是正交的。这种变换可以使用奇异值分解来获得。我们引入了一种新的“倒置softmax”用于识别翻译对,我们将Mikolov原始映射的精度从34%提高到43%,当将由常见和罕见的英语单词组成的测试集翻译成意大利语时。正交变换对噪声具有更强的鲁棒性,使我们能够在没有专家双语信号的情况下通过从两种语言中出现的相同字符串构建“伪字典”来学习变换,在相同的测试集上实现40%的精度。最后,我们扩展了我们的方法,从200k意大利语句子的语料库中检索英语句子的真实翻译,精度为68%。

英文摘要:

Usually bilingual word vectors are trained "online". Mikolov et al. showed they can also be found "offline", whereby two pre-trained embeddings are aligned with a linear transformation, using dictionaries compiled from expert knowledge. In this work, we prove that the linear transformation between two spaces should be orthogonal. This transformation can be obtained using the singular value decomposition. We introduce a novel "inverted softmax" for identifying translation pairs, with which we improve the precision @1 of Mikolov's original mapping from 34% to 43%, when translating a test set composed of both common and rare English words into Italian. Orthogonal transformations are more robust to noise, enabling us to learn the transformation without expert bilingual signal by constructing a "pseudo-dictionary" from the identical character strings which appear in both languages, achieving 40% precision on the same test set. Finally, we extend our method to retrieve the true translations of English sentences from a corpus of 200k Italian sentences with a precision @1 of 68%.

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

↑