paper-with-me

홈 › Papers

Robust Conversational Agents against Imperceptible Toxicity Triggers

2022-05-05 · NAACL 2022 7 · Ninareh Mehrabi, Ahmad Beirami, Fred Morstatter, Aram Galstyan

Warning: this paper contains content that maybe offensive or upsetting. Recent research in Natural Language Processing (NLP) has advanced the development of various toxicity detection models with the intention of identifying and mitigating toxic language from existing systems. Despite the abundance of research in this area, less attention has been given to adversarial attacks that force the system to generate toxic language and the defense against them. Existing work to generate such attacks is either based on human-generated attacks which is costly and not scalable or, in case of automatic attacks, the attack vector does not conform to human-like language, which can be detected using a language model loss. In this work, we propose attacks against conversational agents that are imperceptible, i.e., they fit the conversation in terms of coherency, relevancy, and fluency, while they are effective and scalable, i.e., they can automatically trigger the system into generating toxic language. We then propose a defense mechanism against such attacks which not only mitigates the attack but also attempts to maintain the conversational flow. Through automatic and human evaluations, we show that our defense is effective at avoiding toxic language generation even against imperceptible toxicity triggers while the generated language fits the conversation in terms of coherency and relevancy. Lastly, we establish the generalizability of such a defense mechanism on language generation models beyond conversational agents.

📄 PDF Abstract BibTeX arXiv:2205.02392

Code (1)

ninarehm/robust-agents 공식 구현 pytorch

Tasks

Language ModellingText Generation

Similar Papers 제목 키워드 기반

Invisible Backdoor Attack against Self-supervised Learning

2025-01-01 · CVPR 2025 1 · Hanrong Zhang, Zhenting Wang, Boheng Li, Fulin Lin 외

Self-supervised learning (SSL) models are vulnerable to backdoor attacks. Existing backdoor attacks that are effective in SSL often involve noticeable triggers, like colored patches or visible noise, which are vulner…

Backdoor AttackSelf-Supervised Learning

Towards Imperceptible Backdoor Attack in Self-supervised Learning

2024-05-23 · Hanrong Zhang, Zhenting Wang, Tingxu Han, Mingyu Jin 외

Self-supervised learning models are vulnerable to backdoor attacks. Existing backdoor attacks that are effective in self-supervised learning often involve noticeable triggers, like colored patches, which are vulnerable t…

Backdoor AttackSelf-Supervised Learning

Understanding Toxicity Triggers on Reddit in the Context of Singapore

2022-04-19 · Yun Yu Chong, Haewoon Kwak

While the contagious nature of online toxicity sparked increasing interest in its early detection and prevention, most of the literature focuses on the Western world. In this work, we demonstrate that 1) it is possible t…

TuneShield: Mitigating Toxicity in Conversational AI while Fine-tuning on Untrusted Data

2025-07-08 · Aravind Cheruvu, Shravya Kanchi, Sifat Muhammad Abdullah, Nicholas Kong 외

Recent advances in foundation models, such as LLMs, have revolutionized conversational AI. Chatbots are increasingly being developed by customizing LLMs on specific conversational datasets. However, mitigating toxicity d…

ChatbotInstruction FollowingSafety Alignment

UIBDiffusion: Universal Imperceptible Backdoor Attack for Diffusion Models

2024-12-16 · CVPR 2025 1 · Yuning Han, Bingyin Zhao, Rui Chu, Feng Luo 외

Recent studies show that diffusion models (DMs) are vulnerable to backdoor attacks. Existing backdoor attacks impose unconcealed triggers (e.g., a gray box and eyeglasses) that contain evident patterns, rendering remarka…

Backdoor Attack