Abstract
Since 2017, the Transformer-based models play critical roles in various downstream Natural Language Processing tasks. However, a common limitation of the attention mechanism utilized in Transformer Encoder is that it cannot automatically capture the information of word order, so explicit position embeddings are generally required to be fed into the target model. In contrast, Transformer Decoder with the causal attention masks is naturally sensitive to the word order. In this work, we focus on improving the position encoding ability of BERT with the causal attention masks. Furthermore, we propose a new pre-trained language model DecBERT and evaluate it on the GLUE benchmark. Experimental results show that (1) the causal attention mask is effective for BERT on the language understanding tasks; (2) our DecBERT model without position embeddings achieve comparable performance on the GLUE benchmark; and (3) our modification accelerates the pre-training process and DecBERT w/ PE achieves better overall performance than the baseline systems when pre-training with the same amount of computational resources.
Original language | English |
---|---|
Title of host publication | Findings of the Association for Computational Linguistics: NAACL 2022 |
Publisher | Association for Computational Linguistics (ACL) |
Pages | 1185–1197 |
Number of pages | 13 |
ISBN (Print) | 9781955917766 |
Publication status | Published - 10 Jul 2022 |
Event | Findings of the Association for Computational Linguistics: NAACL 2022 - Seattle, United States Duration: 10 Jul 2022 → 15 Jul 2022 |
Conference
Conference | Findings of the Association for Computational Linguistics: NAACL 2022 |
---|---|
Country/Territory | United States |
City | Seattle |
Period | 10/07/22 → 15/07/22 |
Scopus Subject Areas
- Information Systems
- Computer Science Applications
- Computational Theory and Mathematics