困惑
变压器
计算机科学
建筑
人工智能
机器学习
语言模型
工程类
电气工程
电压
艺术
视觉艺术
作者
Hanxiao Liu,Zihang Dai,David R. So,Quoc V. Le
出处
期刊:Cornell University - arXiv
日期:2022-02-22
卷期号:34
被引量:33
标识
DOI:10.48550/arxiv.2105.08050
摘要
Transformers have become one of the most important architectural innovations in deep learning and have enabled many breakthroughs over the past few years. Here we propose a simple network architecture, gMLP, based on MLPs with gating, and show that it can perform as well as Transformers in key language and vision applications. Our comparisons show that self-attention is not critical for Vision Transformers, as gMLP can achieve the same accuracy. For BERT, our model achieves parity with Transformers on pretraining perplexity and is better on some downstream NLP tasks. On finetuning tasks where gMLP performs worse, making the gMLP model substantially larger can close the gap with Transformers. In general, our experiments show that gMLP can scale as well as Transformers over increased data and compute.
科研通智能强力驱动
Strongly Powered by AbleSci AI