Real or Fake? Learning to Discriminate Machine from Human Generated Text

By Anton Bakhtin, Sam Gross, Myle Ott, Yuntian Deng, Marc'Aurelio Ranzato, Arthur Szlam. 2019

189 citations recorded by the source corpus.

Energy-based models (EBMs), a.k.a. un-normalized models, have had recent successes in continuous spaces. However, they have not been successfully applied to model text sequences. While decreasing the energy at training samples is straightforward, mining (negative) samples where the energy should be increased is difficult. In part, this is because standard gradient-based methods are not readily applicable when the input is high-dimensional and discrete. Here, we side-step this issue by generating negatives using pre-trained auto-regressive language models. The EBM then works in the residual of the language model; and is trained to discriminate real text from text generated by the auto-regressive models. We investigate the generalization ability of residual EBMs, a pre-requisite for using them in other applications. We extensively analyze generalization for the task of classifying whether an input is machine or human generated, a natural task given the training loss and how we mine negatives. Overall, we observe that EBMs can generalize remarkably well to changes in the architecture of the generators producing negatives. However, EBMs exhibit more sensitivity to the training set used by such generators.

Subfields: Artificial Intelligence, Natural Language Processing, Safety, Robustness & Interpretability

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. Luke S. Zettlemoyer
  2. Jason Aaron Edward Weston
  3. Mohit Bansal
  4. Yejin Choi
  5. Jianfeng Gao
  6. Graham Neubig
  7. Percy Liang
  8. Richard Socher

In Natural Language Processing

  1. Jason Aaron Edward Weston
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Graham Neubig
  5. Richard Socher
  6. Yejin Choi
  7. Caiming Xiong
  8. Jianfeng Gao

In Safety, Robustness & Interpretability

  1. Kurt Shuster
  2. Y-Lan Boureau
  3. Myle Ott
  4. Jason Aaron Edward Weston
  5. Da Ju
  6. Irene Solaiman
  7. Arthur Szlam
  8. Nitish Shirish Keskar

Citations in the corpus