DeBERTa

Also known as: Decoding-enhanced BERT with Disentangled Attention

Category: NLP / Language Processing

An enhanced BERT variant that uses disentangled attention mechanisms to separately encode content and position information for improved language understanding.

Full Explanation

DeBERTa (Decoding-enhanced BERT with Disentangled Attention), developed by Microsoft, introduces two key innovations over BERT. First, disentangled attention represents each word using two separate vectors encoding its content and position, computing attention weights using disentangled matrices for content-to-content, content-to-position, and position-to-content interactions. Second, an enhanced mask decoder incorporates absolute position information in the decoding layer for masked token prediction. DeBERTa V3 further improves efficiency by replacing masked language modeling with replaced token detection (similar to ELECTRA). DeBERTa consistently outperforms BERT and RoBERTa on NLU benchmarks, and DeBERTa-large was the first model to surpass human performance on the SuperGLUE benchmark. It represents one of the strongest encoder models available.

Related Terms

More in NLP / Language Processing

Explore More