An Efficient Transformer Decoder with Compressed Sub-layers
Yanyang Li, Ye Lin, Tong Xiao, Jingbo Zhu
摘要
The large attention-based encoder-decoder network (Transformer) has become prevailing recently due to its effectiveness. But the high computation complexity of its decoder raises the inefficiency issue. By examining the mathematic formulation of the decoder, we show that under some mild conditions, the architecture could be simplified by compressing its sub-layers, the basic building block of Transformer, and achieves a higher parallelism. We thereby propose Compressed Attention Network, whose decoder layer consists of only one sub-layer instead of three. Extensive experiments on 14 WMT machine translation tasks show that our model is 1.42x faster with performance on par with a strong baseline. This strong baseline is already 2x faster than the widely used standard baseline without loss in performance.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper6
- Towards Continual Knowledge Learning of Language ModelsJoel Jang, Seonghyeon Ye, Sohee Yang, Joongbo Shin 等ICLR 2022 · 204 次引用
- UniTabE: A Universal Pretraining Protocol for Tabular Foundation Model in Data ScienceYazheng Yang, Yuqi Wang, Guang Liu, Ledell Wu 等ICLR 2024 · 35 次引用
- RankNAS: Efficient Neural Architecture Search by Pairwise RankingChi Hu, Chenglong Wang, Xiangnan Ma, Xia Meng 等EMNLP 2021 · 10 次引用
- Probing Structured Pruning on Multilingual Pre-trained Models: Settings, Algorithms, and EfficiencyYanyang Li, Fuli Luo, Runxin Xu, Songfang Huang 等ACL 2022 · 3 次引用
- Efficient Inference for Multilingual Neural Machine TranslationAlexandre Berard, Dain Lee, Stéphane Clinchant, Kweon Woo Jung 等EMNLP 2021
它引用的 Paper5
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
- On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng 等ICML 2020 · 1,388 次引用
- Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 次引用
- Shallow-to-Deep Training for Neural Machine TranslationBei Li, Ziyang Wang, Hui Liu, Yufan Jiang 等EMNLP 2020 · 41 次引用
- Neural Machine Translation with Joint RepresentationYanyang Li, Qiang Wang, Tong Xiao, Tongran Liu 等AAAI 2020 · 10 次引用
相关 Paper
- Learning Hard Retrieval Decoder Attention for TransformersHongfei Xu, Qiuhui Liu, Josef van Genabith, Deyi XiongEMNLP Findings 2021
- Bag of Tricks for Optimizing Transformer EfficiencyYe Lin, Yanyang Li, Tong Xiao, Jingbo ZhuEMNLP Findings 2021 · 4 次引用
- Glancing Transformer for Non-Autoregressive Neural Machine TranslationLihua Qian, Hao Zhou, Yu Bao, Mingxuan Wang 等ACL 2021
- Simplifying Transformer BlocksBobby He, Thomas HofmannICLR 2024 · 52 次引用
- Attention-Only Transformers via Unrolled Subspace DenoisingPeng Wang, Yifu Lu, Yaodong Yu, Druv Pai 等ICML 2025
