paper-with-me

홈 › Papers

Profanity-Avoiding Training Framework for Seq2seq Models with Certified Robustness

2021-11-01 · EMNLP 2021 11 · Hengtong Zhang, Tianhang Zheng, Yaliang Li, Jing Gao, Lu Su, Bo Li

Seq2seq models have demonstrated their incredible effectiveness in a large variety of applications. However, recent research has shown that inappropriate language in training samples and well-designed testing cases can induce seq2seq models to output profanity. These outputs may potentially hurt the usability of seq2seq models and make the end-users feel offended. To address this problem, we propose a training framework with certified robustness to eliminate the causes that trigger the generation of profanity. The proposed training framework leverages merely a short list of profanity examples to prevent seq2seq models from generating a broader spectrum of profanity. The framework is composed of a pattern-eliminating training component to suppress the impact of language patterns with profanity in the training set, and a trigger-resisting training component to provide certified robustness for seq2seq models against intentionally injected profanity-triggering expressions in test samples. In the experiments, we consider two representative NLP tasks that seq2seq can be applied to, i.e., style transfer and dialogue generation. Extensive experimental results show that the proposed training framework can successfully prevent the NLP models from generating profanity.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Dialogue GenerationStyle Transfer

Similar Papers 제목 키워드 기반

Towards Universal Certified Robustness with Multi-Norm Training

2024-10-03 · Enyi Jiang, David S. Cheung, Gagandeep Singh

Existing certified training methods can only train models to be robust against a certain perturbation type (e.g. $l_\infty$ or $l_2$). However, an $l_\infty$ certifiably robust model may not be certifiably robust against…

Accelerating Certified Robustness Training via Knowledge Transfer

2022-10-25 · Pratik Vaishnavi, Kevin Eykholt, Amir Rahmati

Training deep neural network classifiers that are certifiably robust against adversarial attacks is critical to ensuring the security and reliability of AI-controlled systems. Although numerous state-of-the-art certified…

Transfer Learning

A Framework of Randomized Selection Based Certified Defenses Against Data Poisoning Attacks

2020-09-18 · Ruoxin Chen, Jie Li, Chentao Wu, Bin Sheng 외

Neural network classifiers are vulnerable to data poisoning attacks, as attackers can degrade or even manipulate their predictions thorough poisoning only a few training samples. However, the robustness of heuristic defe…

Data Poisoning

Can pruning improve certified robustness of neural networks?

2022-06-15 · Zhangheng Li, Tianlong Chen, Linyi Li, Bo Li 외

With the rapid development of deep learning, the sizes of neural networks become larger and larger so that the training and inference often overwhelm the hardware resources. Given the fact that neural networks are often …

Network Pruning

Certified Causal Defense with Generalizable Robustness

2024-08-28 · Yiran Qiao, Yu Yin, Chen Chen, Jing Ma

While machine learning models have proven effective across various scenarios, it is widely acknowledged that many models are vulnerable to adversarial attacks. Recently, there have emerged numerous efforts in adversarial…

Adversarial Defense