Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

DecBERT: Enhancing the Language Understanding of BERT with Causal Attention Masks (2204.08688v1)

Published 19 Apr 2022 in cs.CL

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 LLM 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Ziyang Luo (35 papers)
  2. Yadong Xi (10 papers)
  3. Jing Ma (136 papers)
  4. Zhiwei Yang (43 papers)
  5. Xiaoxi Mao (14 papers)
  6. Changjie Fan (79 papers)
  7. Rongsheng Zhang (36 papers)
Citations (3)