paper-with-me

홈 › Papers

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 exponentially with text length, so data augmentation cannot cover all transformations of an input. This paper considers one exponentially large family of label-preserving transformations, in which every word in the input can be replaced with a similar word. We train the first models that are provably robust to all word substitutions in this family. Our training procedure uses Interval Bound Propagation (IBP) to minimize an upper bound on the worst-case loss that any combination of word substitutions can induce. To evaluate models' robustness to these transformations, we measure accuracy on adversarially chosen word substitutions applied to test examples. Our IBP-trained models attain $75\%$ adversarial accuracy on both sentiment analysis on IMDB and natural language inference on SNLI. In comparison, on IMDB, models trained normally and ones trained with data augmentation achieve adversarial accuracy of only $8\%$ and $35\%$, respectively.

📄 PDF Abstract BibTeX arXiv:1909.00986

Code (2)

https://worksheets.codalab.org/worksheets/0x79feda5f1998497db75422eca8fcd689 공식 구현
robinjia/certified-word-sub pytorch

Tasks

Data AugmentationNatural Language InferenceSentiment Analysis

Similar Papers 제목 키워드 기반

SAFER: A Structure-free Approach for Certified Robustness to Adversarial Word Substitutions

2020-05-29 · ACL 2020 6 · Mao Ye, Chengyue Gong, Qiang Liu

State-of-the-art NLP models can often be fooled by human-unaware transformations such as synonymous word substitution. For security reasons, it is of critical importance to develop models with certified robustness that c…

text-classificationText Classification

Certified Robustness to Text Adversarial Attacks by Randomized [MASK]

2021-05-08 · Jiehang Zeng, Xiaoqing Zheng, Jianhan Xu, Linyang Li 외

Recently, few certified defense methods have been developed to provably guarantee the robustness of a text classifier to adversarial synonym substitutions. However, all existing certified defense methods assume that the …

UniT: A Unified Look at Certified Robust Training against Text Adversarial Perturbation

2023-09-21 · NeurIPS 2023 11

Recent years have witnessed a surge of certified robust training pipelines against text adversarial perturbation constructed by synonym substitutions. Given a base model, existing pipelines provide prediction certificate…

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…

CR-UTP: Certified Robustness against Universal Text Perturbations on Large Language Models

2024-06-04 · Qian Lou, Xin Liang, Jiaqi Xue, Yancheng Zhang 외

It is imperative to ensure the stability of every prediction made by a language model; that is, a language's prediction should remain consistent despite minor input variations, like word substitutions. In this paper, we …

Language Modelling