ConvBERT: Improving BERT with Span-based Dynamic Convolution
Zihang Jiang, Weihao Yu, Daquan Zhou, Yunpeng Chen, Jiashi Feng, Shuicheng Yan
摘要
Pre-trained language models like BERT and its variants have recently achieved impressive performance in various natural language understanding tasks. However, BERT heavily relies on the global self-attention block and thus suffers large memory footprint and computation cost. Although all its attention heads query on the whole input sequence for generating the attention map from a global perspective, we observe some heads only need to learn local dependencies, which means the existence of computation redundancy. We therefore propose a novel span-based dynamic convolution to replace these self-attention heads to directly model local dependencies. The novel convolution heads, together with the rest self-attention heads, form a new mixed attention block that is more efficient at both global and local context learning. We equip BERT with this mixed attention design and build a ConvBERT model. Experiments have shown that ConvBERT significantly outperforms BERT and its variants in various downstream tasks, with lower training costs and fewer model parameters. Remarkably, ConvBERTBASE model achieves 86.4 GLUE score, 0.7 higher than ELECTRABASE, using less than 1/4 training cost. 3 3 Code and pre-trained model will be released at https://github.com/yitu-opensource/ConvBert .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- VL-BERT: Pre-training of Generic Visual-Linguistic Representations 引用了 VideoBERT: A Joint Model for Video and Language Representation Learning
- STAR: A Structure-aware Lightweight Transformer for Real-time Image Enhancement 引用了 VL-BERT: Pre-training of Generic Visual-Linguistic Representations
引用它的顶会 Paper20
- Dynamic DETR: End-to-End Object Detection with Dynamic AttentionXiyang Dai, Yinpeng Chen, Jianwei Yang, Pengchuan Zhang 等ICCV 2021 · 429 次引用
- Rethinking Transformer-based Set Prediction for Object DetectionZhiqing Sun, Shengcao Cao, Yiming Yang, Kris KitaniICCV 2021 · 381 次引用
- STAR: A Structure-aware Lightweight Transformer for Real-time Image EnhancementZhaoyang Zhang, Yitong Jiang, Jun Jiang, Xiaogang Wang 等ICCV 2021 · 121 次引用
- DetGPT: Detect What You Need via ReasoningRenjie Pi, Jiahui Gao, Shizhe Diao, Rui Pan 等EMNLP 2023 · 57 次引用
- ProteinNPT: Improving protein property prediction and design with non-parametric transformersPascal Notin, Ruben Weitzman, Debora S. Marks, Yarin GalNeurIPS 2023 · 48 次引用
它引用的 Paper11
- VL-BERT: Pre-training of Generic Visual-Linguistic RepresentationsWeijie Su, Xizhou Zhu, Yue Cao, Bin Li 等ICLR 2020 · 1,825 次引用
- VideoBERT: A Joint Model for Video and Language Representation LearningChen Sun, Austin Myers, Carl Vondrick, Kevin Murphy 等ICCV 2019 · 1,396 次引用
- K-BERT: Enabling Language Representation with Knowledge GraphWeijie Liu, Peng Zhou, Zhe Zhao, Zhiruo Wang 等AAAI 2020 · 898 次引用
- Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 次引用
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited DevicesZhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu 等ACL 2020 · 660 次引用
相关 Paper
- DynaBERT: Dynamic BERT with Adaptive Width and DepthLu Hou, Zhiqi Huang, Lifeng Shang, Xin Jiang 等NeurIPS 2020 · 401 次引用
- Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language ModelsTyler A. Chang, Yifan Xu, Weijian Xu, Zhuowen TuACL 2021
- EarlyBERT: Efficient BERT Training via Early-bird Lottery TicketsXiaohan Chen, Yu Cheng, Shuohang Wang, Zhe Gan 等ACL 2021
- FastBERT: a Self-distilling BERT with Adaptive Inference TimeWeijie Liu, Peng Zhou, Zhiruo Wang, Zhe Zhao 等ACL 2020 · 257 次引用
- Blockwise Self-Attention for Long Document UnderstandingJiezhong Qiu, Hao Ma, Omer Levy, Wen-tau Yih 等EMNLP Findings 2020 · 165 次引用
