arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.08177cs.CLcs.LG
收藏

源代码的编码:目标语言间NMT表示的相似性

Encodings of Source Syntax: Similarities in NMT Representations Across Target Languages

Carleton College(卡尔顿学院)

Tyler A. Chang, Anna N. Rafferty

摘要:

我们训练神经机器翻译(NMT)模型从英语到六种目标语言,使用NMT编码器表示来预测源语言单词的祖先组成标签。我们发现,NMT编码器学习相似的源语法,而不管NMT目标语言,依赖于明确的形态句法线索,从源句子中提取的句法特征。此外,NMT编码器优于直接在几个组成标签预测任务上训练的RNN,这表明NMT编码器表示可以有效地用于涉及语法的自然语言任务。然而,NMT编码器和直接训练的RNN都从概率上下文无关文法(PCFG)解析器学习基本上不同的句法信息。尽管整体准确性得分较低,但PCFG通常在基于RNN的模型表现不佳的句子上表现良好,这表明RNN架构在它们可以学习的语法类型方面受到限制。

英文摘要:

We train neural machine translation (NMT) models from English to six target languages, using NMT encoder representations to predict ancestor constituent labels of source language words. We find that NMT encoders learn similar source syntax regardless of NMT target language, relying on explicit morphosyntactic cues to extract syntactic features from source sentences. Furthermore, the NMT encoders outperform RNNs trained directly on several of the constituent label prediction tasks, suggesting that NMT encoder representations can be used effectively for natural language tasks involving syntax. However, both the NMT encoders and the directly-trained RNNs learn substantially different syntactic information from a probabilistic context-free grammar (PCFG) parser. Despite lower overall accuracy scores, the PCFG often performs well on sentences for which the RNN-based models perform poorly, suggesting that RNN architectures are constrained in the types of syntax they can learn.

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

↑