RealFormer: Transformer Likes Residual Attention

By Ruining He, Anirudh Ravula, Bhargav Kanagal, J. Ainslie. 2020

138 citations recorded by the source corpus.

Transformer is the backbone of modern NLP models. In this paper, we propose RealFormer, a simple and generic technique to create Residual Attention Layer Transformer networks that significantly outperform the canonical Transformer and its variants (BERT, ETC, etc.) on a wide spectrum of tasks including Masked Language Modeling, GLUE, SQuAD, Neural Machine Translation, WikiHop, HotpotQA, Natural Questions, and OpenKP. We also observe empirically that RealFormer stabilizes training and leads to models with sparser attention. Source code and pre-trained checkpoints for RealFormer can be found at https://github.com/google-research/google-research/tree/master/realformer.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yi Tay
  2. Mostafa Dehghani
  3. Donald Metzler
  4. Dara Bahri
  5. Jie Tang
  6. Xipeng Qiu
  7. Qiang Liu
  8. Sebastian Farquhar

In Computer Vision and Pattern Recognition

  1. Yi Tay
  2. Mostafa Dehghani
  3. Donald Metzler
  4. Dara Bahri
  5. Ming Ding
  6. Yarin Gal
  7. Luc Van Gool
  8. Jai Gupta

In Model Architectures

  1. Yi Tay
  2. Mostafa Dehghani
  3. Donald Metzler
  4. Dara Bahri
  5. Jai Gupta
  6. Xipeng Qiu
  7. Zhen Qin
  8. Sebastian Farquhar

Citations in the corpus