arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.00336cs.LGcs.AI
收藏

具有独立机构竞争系综的Transformers

Transformers with Competitive Ensembles of Independent Mechanisms

Mila, University of Montreal(蒙特利尔大学Mila研究所);Microsoft Research Asia(微软亚洲研究院);Research Center for Information Technology Innovation, Academia Sinica(中央研究院资讯科技创新研究中心)

Alex Lamb, Di He, Anirudh Goyal, Guolin Ke, Chien-Feng Liao, Mirco Ravanelli, Yoshua Bengio

摘要:

从最早的MLP开始,深度学习的一个重要发展是转向具有结构归纳偏差的架构,这使得模型能够保持不同的信息源和处理路线。这种结构与因果关系文献中的独立机制的概念有关,在因果关系文献中,机制能够在世界的不相关方面发生变化时保持相同的处理。例如,convnets支持位置分离,而基于注意力的架构(特别是Transformers)学习动态处理哪个位置组合。在这项工作中,我们探讨了一种方式,其中的Transformer架构是不足的:它表示每个位置与一个大的单片隐藏表示和一组参数,适用于整个隐藏表示。这可能会将不相关的信息源放在一起,并限制了Transformer捕获独立机制的能力。为了解决这个问题,我们提出了Transformers with Independent Mechanisms(TIM),这是一个新的Transformer层,它将隐藏的表示和参数划分为多个机制,这些机制只通过注意力交换信息。此外,我们提出了一个竞争机制,鼓励这些机制专门化的时间步骤,从而更加独立。我们研究TIM上的一个大规模的BERT模型,图像Transformer,语音增强和语义有意义的专业化,以及提高性能的证据。

英文摘要:

An important development in deep learning from the earliest MLPs has been a move towards architectures with structural inductive biases which enable the model to keep distinct sources of information and routes of processing well-separated. This structure is linked to the notion of independent mechanisms from the causality literature, in which a mechanism is able to retain the same processing as irrelevant aspects of the world are changed. For example, convnets enable separation over positions, while attention-based architectures (especially Transformers) learn which combination of positions to process dynamically. In this work we explore a way in which the Transformer architecture is deficient: it represents each position with a large monolithic hidden representation and a single set of parameters which are applied over the entire hidden representation. This potentially throws unrelated sources of information together, and limits the Transformer's ability to capture independent mechanisms. To address this, we propose Transformers with Independent Mechanisms (TIM), a new Transformer layer which divides the hidden representation and parameters into multiple mechanisms, which only exchange information through attention. Additionally, we propose a competition mechanism which encourages these mechanisms to specialize over time steps, and thus be more independent. We study TIM on a large-scale BERT model, on the Image Transformer, and on speech enhancement and find evidence for semantically meaningful specialization as well as improved performance.

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

↑