scimeatlas

Research map / Architectures and efficiency / Attention and transformers

DecBERT: Enhancing the Language Understanding of BERT with Causal Attention Masks

Ziyang Luo, Yadong Xi, Jing Ma, Zhiwei Yang, Xiaoxi Mao, Changjie Fan, Rongsheng Zhang

NAACL 2022Architectures and efficiency › Attention and transformersapproach: Long-context KV and memory attentionopen problems in this approach6 citations (OpenAlex)

Hong Kong Baptist University · NetEase Inc · Jilin University

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
9improved
4no clear effect
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add causal attention masks to first two layers (no PE) (ablation)BERT-reImp w/o PE · English Wikipedia validationvalid PPL: 353.97 -> 4.59Improved
add learnable position embeddings (ablation)BERT-reImp · English Wikipedia validationvalid PPL: 353.97 -> 4.28Improved
add learnable position embeddings (ablation)Transformer Decoder (causal LM) · WikiText-103 validationperplexity: 23.52 -> 23.37No clear effect
add learnable position embeddings (ablation)Transformer Decoder (causal LM) · Chinese Wikipedia validationperplexity: 12.96 -> 12.75No clear effect
replace BERT with DecBERT-Diff (causal masks in lower layers), with PEBERT-reImp w/ PE · GLUE dev avg (small-scale)average score: 83.37 -> 83.84Improved
replace BERT with DecBERT-Diff (causal masks), with PEBERT-reImp w/ PE · English Wikipedia validationvalid PPL: 4.28 -> 4.07Improved
use opposite direction mask in second decoder layer (Diff vs Same), with PE (ablation)DecBERT w/ PE · GLUE dev avg (small-scale)average score: 83.51 -> 83.84Improved
use DecBERT without position embeddings instead of BERT w/ PEDecBERT-Same w/o PE · GLUE dev avg (small-scale)average score: 83.37 vs 83.05No clear effect
replace BERT with DecBERT-Diff in large-scale pretrainingBERT-reImp · GLUE test avg (large-scale)average score: 82.4 -> 83.6Improved
replace BERT with DecBERT-Diff in large-scale pretrainingBERT-reImp · RTE test (large-scale)accuracy: 66.5 -> 72.0Improved
replace BERT with DecBERT-Diff in large-scale pretrainingBERT-reImp · SST-2 and QQP test (large-scale)accuracy: 94.7 -> 94.5 (SST-2); 89.4 -> 89.3 (QQP)No clear effect
add causal masks to lower layersBERT-reImp · pretraining speed (large-scale)valid PPL: 3.48 at epoch 13 vs same at epoch 15Improved

Open problems in long-context KV and memory attention

How can long-context attention be made fast and small in memory without losing quality against full attention?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy