paper-with-me

홈 › Papers

Exploring the Vulnerability of Natural Language Processing Models via Universal Adversarial Texts

2021-12-01 · ALTA 2021 12 · Xinzhe Li, Ming Liu, Xingjun Ma, Longxiang Gao

Universal adversarial texts (UATs) refer to short pieces of text units that can largely affect the predictions of NLP models. Recent studies on universal adversarial attacks assume the accessibility of datasets for the task, which is not realistic. We propose two types of Data-Free Adjusted Gradient (DFAG) attacks to show that it is possible to generate effective UATs with only one arbitrary example which could be manually crafted. Based on the proposed DFAG attacks, this paper explores the vulnerability of commonly used NLP models in terms of two factors: network architectures and pre-trained embeddings. Our empirical studies on three text classification datasets reveal that: 1) CNN based models are more extremely vulnerable to UATs while self-attention models show the most robustness, 2) the vulnerability of CNN and LSTM models and robustness of self-attention models could be attributed to whether they rely on training data artifacts for their predictions, and 3) the pre-trained embeddings could expose vulnerability to both universal adversarial attack and the UAT transfer attack.

📄 PDF Abstract BibTeX

Code (1)

xinzhel/attack_alta 공식 구현 pytorch

Tasks

Adversarial Attacktext-classificationText Classification

Similar Papers 제목 키워드 기반

Exploring the Universal Vulnerability of Prompt-based Learning Paradigm

2022-04-11 · Findings (NAACL) 2022 7 · Lei Xu, Yangyi Chen, Ganqu Cui, Hongcheng Gao 외

Prompt-based learning paradigm bridges the gap between pre-training and fine-tuning, and works effectively under the few-shot setting. However, we find that this learning paradigm inherits the vulnerability from the pre-…

Exploring the Universal Vulnerability of Prompt-based Learning Paradigm

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Prompt-based learning paradigm bridges the gap between pre-training and fine-tuning, and works effectively under the few-shot setting. However, we find that this learning paradigm inherits the vulnerability from the pre-…

Exploring Software Naturalness through Neural Language Models

2020-06-22 · Luca Buratti, Saurabh Pujar, Mihaela Bornea, Scott McCarley 외

The Software Naturalness hypothesis argues that programming languages can be understood through the same techniques used in natural language processing. We explore this hypothesis through the use of a pre-trained transfo…

Language ModelingLanguage Modelling

XNLP: An Interactive Demonstration System for Universal Structured NLP

2023-08-03 · Hao Fei, Meishan Zhang, Min Zhang, Tat-Seng Chua

Structured Natural Language Processing (XNLP) is an important subset of NLP that entails understanding the underlying semantic or syntactic structure of texts, which serves as a foundational component for many downstream…

Red Alarm for Pre-trained Models: Universal Vulnerability to Neuron-Level Backdoor Attacks

2021-01-18 · ICML Workshop AML 2021 7 · Zhengyan Zhang, Guangxuan Xiao, Yongwei Li, Tian Lv 외

Pre-trained models (PTMs) have been widely used in various downstream tasks. The parameters of PTMs are distributed on the Internet and may suffer backdoor attacks. In this work, we demonstrate the universal vulnerabilit…

Backdoor Attack