arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1906.01234cs.CLcs.AI
收藏

代码转换组合:使用注意力来寻找更普遍的解决方案

Transcoding compositionally: using attention to find more generalizable solutions

University of Amsterdam(阿姆斯特丹大学);Universitat Pompeu Fabra(庞培法布拉大学)

Kris Korrel, Dieuwke Hupkes, Verna Dankers, Elia Bruni

摘要:

虽然序列到序列模型在几个自然语言任务中表现出了显着的泛化能力,但它们的解决方案构造被认为比类似人类的泛化组合性更低。在本文中,我们提出了seq 2attn,一个新的架构,专门设计用于利用注意力在输入中找到组合模式。在seq 2attn中,编码器-解码器模型的两个标准组件通过代码转换器连接,代码转换器调制它们之间的信息流。我们表明,seq 2attn可以成功地概括,而不需要任何额外的监督,在两个任务,这是专门构造的神经网络的组成技能的挑战。该模型发现的解决方案具有高度的可解释性,可以轻松分析发现的解决方案类型和错误的潜在原因。我们利用这个机会引入一个新的范式来测试组合性,研究模型在遇到异常时过度概括的程度。我们发现,seq 2attn表现出这样的过度泛化到一个更大的程度比一个标准的序列到序列模型。

英文摘要:

While sequence-to-sequence models have shown remarkable generalization power across several natural language tasks, their construct of solutions are argued to be less compositional than human-like generalization. In this paper, we present seq2attn, a new architecture that is specifically designed to exploit attention to find compositional patterns in the input. In seq2attn, the two standard components of an encoder-decoder model are connected via a transcoder, that modulates the information flow between them. We show that seq2attn can successfully generalize, without requiring any additional supervision, on two tasks which are specifically constructed to challenge the compositional skills of neural networks. The solutions found by the model are highly interpretable, allowing easy analysis of both the types of solutions that are found and potential causes for mistakes. We exploit this opportunity to introduce a new paradigm to test compositionality that studies the extent to which a model overgeneralizes when confronted with exceptions. We show that seq2attn exhibits such overgeneralization to a larger degree than a standard sequence-to-sequence model.

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

↑