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

本原置换的合成推广

Compositional Generalization for Primitive Substitutions

Baidu Research(百度研究院)

Yuanpeng Li, Liang Zhao, Jianyu Wang, Joel Hestness

摘要:

成分泛化是人类语言学习的一个基本机制,但目前的神经网络缺乏这种能力。本文对神经网络的编码组合性进行了基础性研究。传统的方法对输入句子使用单一的表示,使得很难应用组合性的先验知识。相比之下,我们的方法利用这样的知识与两个表示,一个生成注意力地图,和其他的映射参加输入单词输出符号。我们减少每个表示中的熵以提高泛化能力。我们的实验表明,在五个自然语言处理任务,包括指令学习和机器翻译的显着改善传统的方法。在SCAN域中,Jump任务的准确率从14.0%提高到98.8%,TurnLeft任务的准确率从92.0%提高到99.7%。在少样本学习任务上,它也胜过人类。我们希望所提出的方法可以帮助减轻未来的研究对人类水平的合成语言学习。

英文摘要:

Compositional generalization is a basic mechanism in human language learning, but current neural networks lack such ability. In this paper, we conduct fundamental research for encoding compositionality in neural networks. Conventional methods use a single representation for the input sentence, making it hard to apply prior knowledge of compositionality. In contrast, our approach leverages such knowledge with two representations, one generating attention maps, and the other mapping attended input words to output symbols. We reduce the entropy in each representation to improve generalization. Our experiments demonstrate significant improvements over the conventional methods in five NLP tasks including instruction learning and machine translation. In the SCAN domain, it boosts accuracies from 14.0% to 98.8% in Jump task, and from 92.0% to 99.7% in TurnLeft task. It also beats human performance on a few-shot learning task. We hope the proposed approach can help ease future research towards human-level compositional language learning.

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

↑