Conditional BERT Contextual Augmentation

By Xing Wu, Shangwen Lv, Liangjun Zang, Jizhong Han, Songlin Hu. 2018

348 citations recorded by the source corpus.

Data augmentation methods are often applied to prevent overfitting and improve generalization of deep neural network models. Recently proposed contextual augmentation augments labeled sentences by randomly replacing words with more varied substitutions predicted by language model. Bidirectional Encoder Representations from Transformers (BERT) demonstrates that a deep bidirectional language model is more powerful than either an unidirectional language model or the shallow concatenation of a forward and backward model. We propose a novel data augmentation method for labeled sentences called conditional BERT contextual augmentation. We retrofit BERT to conditional BERT by introducing a new conditional masked language model (The term “conditional masked language model” appeared once in original BERT paper, which indicates context-conditional, is equivalent to term “masked language model”. In our paper, “conditional masked language model” indicates we apply extra label-conditional constraint to the “masked language model”.) task. The well trained conditional BERT can be applied to enhance contextual augmentation. Experiments on six various different text classification tasks show that our method can be easily applied to both convolutional or recurrent neural networks classifier to obtain improvement.

Subfields: Artificial Intelligence, Natural Language Processing, Representation & Self-Supervised Learning

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. Mohit Bansal
  2. Jianfeng Gao
  3. Yejin Choi
  4. Graham Neubig
  5. Luke S. Zettlemoyer
  6. Percy Liang
  7. Noah A. Smith
  8. Kyunghyun Cho

In Natural Language Processing

  1. Yejin Choi
  2. Jianfeng Gao
  3. Mohit Bansal
  4. Luke S. Zettlemoyer
  5. Graham Neubig
  6. Kyunghyun Cho
  7. Noah A. Smith
  8. Percy Liang

In Representation & Self-Supervised Learning

  1. Iryna Gurevych
  2. Kyunghyun Cho
  3. Yejin Choi
  4. Nils Reimers
  5. Eric P. Xing
  6. Xipeng Qiu
  7. Chandra Bhagavatula
  8. Xuanjing Huang

Citations in the corpus