Robust Conversational Agents against Imperceptible Toxicity TriggersRobust Conversational Agents against Imperceptible Toxicity Triggers
The researchers propose a class of imperceptible toxicity-triggering attacks against conversational agents; these attacks fit the dialogue context in coherence, relevance, and fluency, and can automatically induce the system to generate toxic language, addressing the shortcomings of prior manual attacks, which are costly and hard to scale, and automatic attacks, which do not conform to human language habits and are easily detected by language model loss. The authors also propose a corresponding defense mechanism that mitigates the attack while maintaining the dialogue flow as much as possible; automatic and human evaluations show that the defense prevents toxic language generation and that the generated content fits the dialogue context in coherence and relevance. The authors further verify that the defense mechanism generalizes to language generation models beyond conversational agents.