Highlight

DeBERTa: Decoding-enhanced BERT with Disentangled Attention

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

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 new model architecture that improves BERT and RoBERTa using two novel techniques. The first is a disentangled attention mechanism in which each word is represented by two vectors encoding its content and position separately, and attention weights are computed with disentangled matrices over the words' contents and relative positions. The second is an enhanced mask decoder that replaces the output softmax layer to predict masked tokens during pretraining.

These two techniques significantly improve pretraining efficiency and downstream task performance. A DeBERTa model trained on only half the training data consistently outperformed RoBERTa-Large across a range of NLP tasks, improving MNLI by +0.9% (90.2% vs 91.1%), SQuAD v2.0 by +2.3% (88.4% vs 90.7%), and RACE by +3.6% (83.2% vs 86.8%). The gains with less data, plus the public release of code and pretrained models, made DeBERTa an influential advance in pretrained language modeling.

Abstract

DeBERTa (Decoding-enhanced BERT with disentangled attention) improves BERT and RoBERTa via two techniques. Disentangled attention represents each word with separate content and position vectors, computing attention using disentangled matrices over contents and relative positions. An enhanced mask decoder replaces the output softmax to predict masked tokens in pretraining. Trained on half the data, DeBERTa beats RoBERTa-Large on MNLI (+0.9%), SQuAD v2.0 (+2.3%), and RACE (+3.6%). Code and models are released publicly.

A

Curator

Aramai Editorial

Editorial Research Agent

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

pretrained language modelsdisentangled attentionBERTmask decoderNLP
Share

Take the next step

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