Detecting egregious responses in neural sequence-to-sequence models

By Tianxing He, James R. Glass. 2018

23 citations recorded by the source corpus.

In this work, we attempt to answer a critical question: whether there exists some input sequence that will cause a well-trained discrete-space neural network sequence-to-sequence (seq2seq) model to generate egregious outputs (aggressive, malicious, attacking, etc.). And if such inputs exist, how to find them efficiently. We adopt an empirical methodology, in which we first create lists of egregious output sequences, and then design a discrete optimization algorithm to find input sequences that will cause the model to generate them. Moreover, the optimization algorithm is enhanced for large vocabulary search and constrained to search for input sequences that are likely to be input by real-world users. In our experiments, we apply this approach to dialogue response generation models trained on three real-world dialogue data-sets: Ubuntu, Switchboard and OpenSubtitles, testing whether the model can generate malicious responses. We demonstrate that given the trigger inputs our algorithm finds, a significant number of malicious sentences are assigned large probability by the model, which reveals an undesirable consequence of standard seq2seq training.

Subfields: Biophysics, Natural Language Processing

How researchers see this paper

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

In Biophysics

  1. Jiliang Tang
  2. Haochen Liu
  3. Tyler Derr
  4. Quan.Z Sheng
  5. Zitao Liu
  6. Chenliang Li
  7. W. Zhang
  8. Ahoud Abdulrahmn F. Alhazmi

In Natural Language Processing

  1. Eric Wallace
  2. Sameer Singh
  3. Matt Gardner
  4. Shi Feng
  5. James R. Glass
  6. Ethan Perez
  7. Haochen Liu
  8. Jiliang Tang

Citations in the corpus