paper-with-me

Papers

TextShield: Beyond Successfully Detecting Adversarial Sentences in Text Classification

2023-02-03 · Lingfeng Shen, Ze Zhang, Haiyun Jiang, Ying Chen

Adversarial attack serves as a major challenge for neural network models in NLP, which precludes the model's deployment in safety-critical applications. A recent line of work, detection-based defense, aims to distinguish adversarial sentences from benign ones. However, {the core limitation of previous detection methods is being incapable of giving correct predictions on adversarial sentences unlike defense methods from other paradigms.} To solve this issue, this paper proposes TextShield: (1) we discover a link between text attack and saliency information, and then we propose a saliency-based detector, which can effectively detect whether an input sentence is adversarial or not. (2) We design a saliency-based corrector, which converts the detected adversary sentences to benign ones. By combining the saliency-based detector and corrector, TextShield extends the detection-only paradigm to a detection-correction paradigm, thus filling the gap in the existing detection-based defense. Comprehensive experiments show that (a) TextShield consistently achieves higher or comparable performance than state-of-the-art defense methods across various attacks on different benchmarks. (b) our saliency-based detector outperforms existing detectors for detecting adversarial sentences.

📄 PDF Abstract BibTeX arXiv:2302.02023

Code (0)

등록된 구현이 없습니다.

Tasks

Adversarial AttackClassificationSentencetext-classificationText Classification

Similar Papers 제목 키워드 기반

TextShield-R1: Reinforced Reasoning for Tampered Text Detection

2026-02-23 · Chenfan Qu, Yiwu Zhong, Jian Liu, Xuekang Zhu 외 arxiv

The growing prevalence of tampered images poses serious security threats, highlighting the urgent need for reliable detection methods. Multimodal large language models (MLLMs) demonstrate strong potential in analyzing ta…

Reinforcement LearningText Detection

Detecting and Defending Against Adversarial Attacks on Automatic Speech Recognition via Diffusion Models

2024-09-12 · Nikolai L. Kühne, Astrid H. F. Kitchen, Marie S. Jensen, Mikkel S. L. Brøndt 외

Automatic speech recognition (ASR) systems are known to be vulnerable to adversarial attacks. This paper addresses detection and defence against targeted white-box attacks on speech signals for ASR systems. While existin…

Adversarial AttackAdversarial PurificationAutomatic Speech RecognitionSpeech Recognition

EFSG: Evolutionary Fooling Sentences Generator

2020-10-12 · Marco Di Giovanni, Marco Brambilla

Large pre-trained language representation models (LMs) have recently collected a huge number of successes in many NLP tasks. In 2018 BERT, and later its successors (e.g. RoBERTa), obtained state-of-the-art results in cla…

Adversarial AttackBinary ClassificationCoLAData Augmentation+1

Detecting Adversarial Examples in Batches -- a geometrical approach

2022-06-17 · Danush Kumar Venkatesh, Peter Steinbach

Many deep learning methods have successfully solved complex tasks in computer vision and speech recognition applications. Nonetheless, the robustness of these models has been found to be vulnerable to perturbed inputs or…

Adversarial AttackAdversarial Attack DetectionImage Classification

Making Attention Mechanisms More Robust and Interpretable with Virtual Adversarial Training

2021-04-18 · Shunsuke Kitada, Hitoshi Iyatomi

Although attention mechanisms have become fundamental components of deep learning models, they are vulnerable to perturbations, which may degrade the prediction performance and model interpretability. Adversarial trainin…

Semi-Supervised Text Classificationtext-classificationText Classification