paper-with-me

홈 › Papers

Towards Robustness Against Natural Language Word Substitutions

2021-07-28 · ICLR 2021 1 · Xinshuai Dong, Anh Tuan Luu, Rongrong Ji, Hong Liu

Robustness against word substitutions has a well-defined and widely acceptable form, i.e., using semantically similar words as substitutions, and thus it is considered as a fundamental stepping-stone towards broader robustness in natural language processing. Previous defense methods capture word substitutions in vector space by using either $l_2$-ball or hyper-rectangle, which results in perturbation sets that are not inclusive enough or unnecessarily large, and thus impedes mimicry of worst cases for robust training. In this paper, we introduce a novel \textit{Adversarial Sparse Convex Combination} (ASCC) method. We model the word substitution attack space as a convex hull and leverages a regularization term to enforce perturbation towards an actual substitution, thus aligning our modeling better with the discrete textual space. Based on the ASCC method, we further propose ASCC-defense, which leverages ASCC to generate worst-case perturbations and incorporates adversarial training towards robustness. Experiments show that ASCC-defense outperforms the current state-of-the-arts in terms of robustness on two prevailing NLP tasks, \emph{i.e.}, sentiment analysis and natural language inference, concerning several attacks across multiple model architectures. Besides, we also envision a new class of defense towards robustness in NLP, where our robustly trained word vectors can be plugged into a normally trained model and enforce its robustness without applying any other defense techniques.

📄 PDF Abstract BibTeX arXiv:2107.13541

Code (1)

dongxinshuai/ASCC 공식 구현 pytorch

Tasks

Natural Language InferenceSentiment Analysis

Similar Papers 제목 키워드 기반

Certified Robustness Against Natural Language Attacks by Causal Intervention

2022-05-24 · Haiteng Zhao, Chang Ma, Xinshuai Dong, Anh Tuan Luu 외

Deep learning models have achieved great success in many fields, yet they are vulnerable to adversarial examples. This paper follows a causal perspective to look into the adversarial vulnerability and proposes Causal Int…

Certified Robustness to Adversarial Word Substitutions

2019-09-03 · IJCNLP 2019 11 · Robin Jia, aditi raghunathan, Kerem Göksel, Percy Liang

State-of-the-art NLP models can often be fooled by adversaries that apply seemingly innocuous label-preserving transformations (e.g., paraphrasing) to input text. The number of possible transformations scales exponential…

Data AugmentationNatural Language InferenceSentiment Analysis

BERT is Robust! A Case Against Synonym-Based Adversarial Examples in Text Classification

2021-09-15 · Jens Hauser, Zhao Meng, Damián Pascual, Roger Wattenhofer

Deep Neural Networks have taken Natural Language Processing by storm. While this led to incredible improvements across many tasks, it also initiated a new research field, questioning the robustness of these neural networ…

Data Augmentationtext-classificationText Classification

Frequency-Guided Word Substitutions for Detecting Textual Adversarial Examples

2020-04-13 · EACL 2021 2 · Maximilian Mozes, Pontus Stenetorp, Bennett Kleinberg, Lewis D. Griffin

Recent efforts have shown that neural text processing models are vulnerable to adversarial examples, but the nature of these examples is poorly understood. In this work, we show that adversarial attacks against CNN, LSTM…

General ClassificationSST-2Text Classification

Differentially Private Adversarial Robustness Through Randomized Perturbations

2020-09-27 · Nan Xu, Oluwaseyi Feyisetan, Abhinav Aggarwal, Zekun Xu 외

Deep Neural Networks, despite their great success in diverse domains, are provably sensitive to small perturbations on correctly classified examples and lead to erroneous predictions. Recently, it was proposed that this …

Adversarial RobustnessSemantic SimilaritySemantic Textual Similarity