Highlight

DeBERTa: Decoding-enhanced BERT with Disentangled Attention

Introduces DeBERTa, improving BERT/RoBERTa with disentangled attention over content and position plus an enhanced mask decoder for pretraining.

Based on

DeBERTa: Decoding-enhanced BERT with Disentangled Attention

By Pengcheng He, Xiaodong Liu, Jianfeng Gao et al.International Conference on Learning Representations
Read original article →

DeBERTa (Decoding-enhanced BERT with disentangled attention) is a model architecture that improves the BERT and RoBERTa models with two novel techniques. The first is a disentangled attention mechanism in which each word is represented by two vectors that encode its content and position separately, with attention weights among words computed using disentangled matrices over their contents and relative positions. The second is an enhanced mask decoder that replaces the output softmax layer to predict masked tokens during model pretraining.

These techniques significantly improve both the efficiency of pretraining and downstream task performance. Compared to RoBERTa-Large, a DeBERTa model trained on only half of the training data performs consistently better across a wide range of NLP tasks, improving MNLI by +0.9% (90.2% to 91.1%), SQuAD v2.0 by +2.3% (88.4% to 90.7%), and RACE by +3.6% (83.2% to 86.8%). The authors stated that the code and pretrained models would be made publicly available.

Abstract

DeBERTa (Decoding-enhanced BERT with disentangled attention) improves BERT and RoBERTa with two techniques. Disentangled attention represents each word with separate content and position vectors and computes attention using disentangled matrices over contents and relative positions. An enhanced mask decoder replaces the output softmax layer to predict masked tokens during pretraining. Together they boost pretraining efficiency and downstream performance: trained on half of RoBERTa-Large's data, DeBERTa improves MNLI by +0.9%, SQuAD v2.0 by +2.3%, and RACE by +3.6%.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

language model pretrainingdisentangled attentionBERTRoBERTanatural language processing
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.