LinyangLee / BERT-Attack
Code for EMNLP2020 long paper: BERT-Attack: Adversarial Attack Against BERT Using BERT
☆196Updated 4 years ago
Alternatives and similar repositories for BERT-Attack:
Users that are interested in BERT-Attack are comparing it to the libraries listed below
- Generating Natural Language Adversarial Examples through Probability Weighted Word Saliency☆69Updated 2 years ago
- Code and data of the ACL 2020 paper "Word-level Textual Adversarial Attacking as Combinatorial Optimization"☆88Updated 4 years ago
- Natural Language Attacks in a Hard Label Black Box Setting.☆47Updated 3 years ago
- Adversarial Training for Natural Language Understanding☆252Updated last year
- Official repository for Jia, Raghunathan, Göksel, and Liang, "Certified Robustness to Adversarial Word Substitutions" (EMNLP 2019)☆38Updated 5 years ago
- Contextualized Perturbation for Textual Adversarial Attack, NAACL 2021☆43Updated 3 years ago
- Natural Universal Trigger Search (NUTS)☆21Updated 4 years ago
- Code for ACL2018 HotFlip: White-Box Adversarial Examples for Text Classification, Word-level Adversarial Examples☆35Updated 6 years ago
- ☆63Updated 3 years ago
- An Open-Source Package for Textual Adversarial Attack.☆725Updated last year
- ACL 2021 - Defense against Adversarial Attacks in NLP via Dirichlet Neighborhood Ensemble☆18Updated last year
- Official implementation of the EMNLP 2021 paper "ONION: A Simple and Effective Defense Against Textual Backdoor Attacks"☆33Updated 3 years ago
- SAFER: A Structure-free Approach For cErtified Robustness to Adversarial Word Substitutions (ACL 2020)☆30Updated 4 years ago
- Code and data of the EMNLP 2021 paper "Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer"☆42Updated 2 years ago
- Code for the paper "Weight Poisoning Attacks on Pre-trained Models" (ACL 2020)☆141Updated 3 years ago
- codes for paper "learning to discriminate perturbations for blocking adversarial attacks in text classification" in EMNLP19☆15Updated 5 years ago
- ☆9Updated 3 years ago
- codes for "Searching for an Effective Defender:Benchmarking Defense against Adversarial Word Substitution"☆31Updated last year
- Implementation code for the paper "Generating Natural Language Adversarial Examples"☆169Updated 5 years ago
- [EMNLP 2020] "T3: Tree-Autoencoder Constrained Adversarial Text Generation for Targeted Attack" by Boxin Wang, Hengzhi Pei, Boyuan Pan, Q…☆26Updated 3 years ago
- Adversarial examples for Seq2Seq model in NLP☆40Updated 6 years ago
- A Model for Natural Language Attack on Text Classification and Inference☆509Updated 2 years ago
- For Certified Robustness to Text Adversarial Attacks by Randomized [MASK]☆16Updated 6 months ago
- Universal Adversarial Triggers for Attacking and Analyzing NLP (EMNLP 2019)☆296Updated 9 months ago
- A Query Efficient Natural Language Attack in a Black Box Setting☆16Updated 3 years ago
- Code for the paper "Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models" (NAACL-…☆40Updated 3 years ago
- Adversarial Training with Fast Gradient Projection Method against Synonym Substitution based Text Attacks☆24Updated 4 years ago
- [ICLR 2021] "InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective" by Boxin Wang, Shuohang Wang, Y…☆85Updated last year
- [NAACL 2022] "SemAttack: Natural Textual Attacks via Different Semantic Spaces" by Boxin Wang, Chejian Xu, Xiangyu Liu, Yu Cheng, Bo Li☆20Updated 2 years ago
- Code for the paper "RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models" (EMNLP 2021)☆24Updated 3 years ago