Understanding and Improving Encoder Layer Fusion in Sequence-to-Sequence Learning
Xuebo Liu, Longyue Wang, Derek F. Wong, Liang Ding, Lidia S. Chao, Zhaopeng Tu
摘要
Encoder layer fusion (EncoderFusion) is a technique to fuse all the encoder layers (instead of the uppermost layer) for sequence-to-sequence (Seq2Seq) models, which has proven effective on various NLP tasks. However, it is still not entirely clear why and when EncoderFusion should work. In this paper, our main contribution is to take a step further in understanding EncoderFusion. Many of previous studies believe that the success of EncoderFusion comes from exploiting surface and syntactic information embedded in lower encoder layers. Unlike them, we find that the encoder embedding layer is more important than other intermediate encoder layers. In addition, the uppermost decoder layer consistently pays more attention to the encoder embedding layer across NLP tasks. Based on this observation, we propose a simple fusion method, SurfaceFusion, by fusing only the encoder embedding layer for the softmax layer. Experimental results show that SurfaceFusion outperforms EncoderFusion on several NLP benchmarks, including machine translation, text summarization, and grammatical error correction. It obtains the state-of-the-art performance on WMT16 Romanian-English and WMT14 English-French translation tasks. Extensive analyses reveal that SurfaceFusion learns more expressive bilingual word embeddings by building a closer relationship between relevant source and target embeddings. Source code is freely available at https://github.com/SunbowLiu/SurfaceFusion .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Learning Multiscale Transformer Models for Sequence Generation 引用了 ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation
- TemplateGEC: Improving Grammatical Error Correction with Detection Template 引用了 ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation
- TemplateGEC: Improving Grammatical Error Correction with Detection Template 引用了 Revisiting Grammatical Error Correction Evaluation and Beyond
- Revisiting Grammatical Error Correction Evaluation and Beyond 引用了 ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generation
引用它的顶会 Paper8
- ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence GenerationBei Li, Quan Du, Tao Zhou, Yi Jing 等ACL 2022 · 43 次引用
- TemplateGEC: Improving Grammatical Error Correction with Detection TemplateYinghao Li, Xuebo Liu, Shuo Wang, Peiyuan Gong 等ACL 2023 · 21 次引用
- Learning Multiscale Transformer Models for Sequence GenerationBei Li, Tong Zheng, Yi Jing, Chengbo Jiao 等ICML 2022 · 15 次引用
- Revisiting Grammatical Error Correction Evaluation and BeyondPeiyuan Gong, Xuebo Liu, Heyan Huang, Min ZhangEMNLP 2022 · 11 次引用
- Toward Human-Like Evaluation for Natural Language Generation with Error AnalysisQingyu Lu, Liang Ding, Liping Xie, Kanjian Zhang 等ACL 2023 · 10 次引用
它引用的 Paper2
- PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive SummarizationJingqing Zhang, Yao Zhao, Mohammad Saleh, Peter J. LiuICML 2020 · 2,453 次引用
- Neuron Interaction Based Representation Composition for Neural Machine TranslationJian Li, Xing Wang, Baosong Yang, Shuming Shi 等AAAI 2020 · 18 次引用
相关 Paper
- Towards Summary Candidates FusionMathieu Ravaut, Shafiq R. Joty, Nancy F. ChenEMNLP 2022 · 10 次引用
- Incorporating BERT into Neural Machine TranslationJinhua Zhu, Yingce Xia, Lijun Wu, Di He 等ICLR 2020 · 391 次引用
- A Novel Graph-based Multi-modal Fusion Encoder for Neural Machine TranslationYongjing Yin, Fandong Meng, Jinsong Su, Chulun Zhou 等ACL 2020 · 145 次引用
- Explicit Sentence Compression for Neural Machine TranslationZuchao Li, Rui Wang, Kehai Chen, Masao Utiyama 等AAAI 2020 · 31 次引用
- Improving Target-side Lexical Transfer in Multilingual Neural Machine TranslationLuyu Gao, Xinyi Wang, Graham NeubigEMNLP Findings 2020 · 4 次引用
