LinyangLee / BERT-Attack
Code for EMNLP2020 long paper: BERT-Attack: Adversarial Attack Against BERT Using BERT
☆188Updated 4 years ago
Related projects ⓘ
Alternatives and complementary repositories for BERT-Attack
- Code and data of the ACL 2020 paper "Word-level Textual Adversarial Attacking as Combinatorial Optimization"☆85Updated 3 years ago
- Generating Natural Language Adversarial Examples through Probability Weighted Word Saliency☆67Updated last year
- Natural Language Attacks in a Hard Label Black Box Setting.☆43Updated 3 years ago
- Adversarial Training for Natural Language Understanding☆250Updated last year
- A2T: Towards Improving Adversarial Training of NLP Models (EMNLP 2021 Findings)☆24Updated 3 years ago
- Contextualized Perturbation for Textual Adversarial Attack, NAACL 2021☆43Updated 3 years ago
- Official implementation of the EMNLP 2021 paper "ONION: A Simple and Effective Defense Against Textual Backdoor Attacks"☆29Updated 3 years ago
- Natural Universal Trigger Search (NUTS)☆21Updated 3 years ago
- Official repository for Jia, Raghunathan, Göksel, and Liang, "Certified Robustness to Adversarial Word Substitutions" (EMNLP 2019)☆39Updated 4 years ago
- Code for ACL2018 HotFlip: White-Box Adversarial Examples for Text Classification, Word-level Adversarial Examples☆33Updated 5 years ago
- An Open-Source Package for Textual Adversarial Attack.☆689Updated last year
- Implementation code for the paper "Generating Natural Language Adversarial Examples"☆167Updated 5 years ago
- ☆62Updated 2 years ago
- [NAACL 2022] "SemAttack: Natural Textual Attacks via Different Semantic Spaces" by Boxin Wang, Chejian Xu, Xiangyu Liu, Yu Cheng, Bo Li☆19Updated 2 years ago
- ☆14Updated 3 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
- ☆9Updated 3 years ago
- A Query Efficient Natural Language Attack in a Black Box Setting☆16Updated 3 years ago
- For Certified Robustness to Text Adversarial Attacks by Randomized [MASK]☆15Updated last month
- Code and data of the EMNLP 2021 paper "Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer"☆41Updated 2 years ago
- codes for paper "learning to discriminate perturbations for blocking adversarial attacks in text classification" in EMNLP19☆15Updated 4 years ago
- Code for the paper "Weight Poisoning Attacks on Pre-trained Models" (ACL 2020)☆138Updated 3 years ago
- codes for "Searching for an Effective Defender:Benchmarking Defense against Adversarial Word Substitution"☆31Updated last year
- For the code release of our arXiv paper "Revisiting Few-sample BERT Fine-tuning" (https://arxiv.org/abs/2006.05987).☆184Updated last year
- [ICLR 2021] "InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective" by Boxin Wang, Shuohang Wang, Y…☆83Updated last year
- ☆11Updated 4 years ago
- Universal Adversarial Triggers for Attacking and Analyzing NLP (EMNLP 2019)☆294Updated 3 months ago
- SAFER: A Structure-free Approach For cErtified Robustness to Adversarial Word Substitutions (ACL 2020)☆27Updated 3 years ago
- A Model for Natural Language Attack on Text Classification and Inference☆494Updated last year
- ACL 2021 - Defense against Adversarial Attacks in NLP via Dirichlet Neighborhood Ensemble☆15Updated last year