Detecting egregious responses in neural sequence-to-sequence models
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Sep 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 4; 2023: 0; 2024: 0; 2025: 1.
6 papers.
- 2022Red Teaming Language Models with Language Modelscited by 983
- 2022On the Blind Spots of Model-Based Evaluation Metrics for Text Generationcited by 48
- 2022Why So Toxic? Measuring and Triggering Toxic Behavior in Open-Domain Chatbotscited by 31
- 2022Constructing Highly Inductive Contexts for Dialogue Safety through Controllable Reverse Generationcited by 8
- 2021Automatically Exposing Problems with Neural Dialog Modelscited by 5
- 2025Reducing the Probability of Undesirable Outputs in Language Models Using Probabilistic Inferencecited by 0
- 2025Reducing the Probability of Undesirable Outputs in Language Models Using Probabilistic Inference24 Oct 2025
- 2022On the Blind Spots of Model-Based Evaluation Metrics for Text Generation20 Dec 2022
- 2022Constructing Highly Inductive Contexts for Dialogue Safety through Controllable Reverse Generation4 Dec 2022
- 2022Why So Toxic? Measuring and Triggering Toxic Behavior in Open-Domain Chatbots7 Sep 2022
- 2022Red Teaming Language Models with Language Models7 Feb 2022
- 2021Automatically Exposing Problems with Neural Dialog Models14 Sep 2021