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

Transformer与MLP-混频器:NLP问题的指数表达间隙

Transformer Vs. MLP-Mixer: Exponential Expressive Gap For NLP Problems

Technion(以色列理工学院)

Dan Navon, Alex M. Bronstein

摘要:

视觉转换器广泛用于各种视觉任务。与此同时,还有另一条工作线,从MLP混频器开始,试图使用基于MLP的架构实现类似的性能。有趣的是,到目前为止,这些基于mlp的架构还没有适应NLP任务。此外,到目前为止,基于mlp的架构在视觉任务中未能实现最先进的性能。在这篇文章中,我们分析了基于mlp的体系结构在同时对多个不同输入之间的依赖关系建模时的表现力,并显示了注意力和基于mlp的机制之间的指数差距。我们的研究结果为mlp无法与NLP问题中基于注意力的机制竞争提供了理论解释,他们还表明,视觉任务中的性能差距可能是由于mlp在建模多个不同位置之间的依赖关系时相对薄弱,并且将智能输入排列与mlp架构相结合可能不足以单独缩小性能差距。

英文摘要:

Vision-Transformers are widely used in various vision tasks. Meanwhile, there is another line of works starting with the MLP-mixer trying to achieve similar performance using mlp-based architectures. Interestingly, until now those mlp-based architectures have not been adapted for NLP tasks. Additionally, until now, mlp-based architectures have failed to achieve state-of-the-art performance in vision tasks. In this paper, we analyze the expressive power of mlp-based architectures in modeling dependencies between multiple different inputs simultaneously, and show an exponential gap between the attention and the mlp-based mechanisms. Our results suggest a theoretical explanation for the mlp inability to compete with attention-based mechanisms in NLP problems, they also suggest that the performance gap in vision tasks may be due to the mlp relative weakness in modeling dependencies between multiple different locations, and that combining smart input permutations with mlp architectures may not be enough to close the performance gap alone.

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

↑