MockingBERT: A Method for Retroactively Adding Resilience to NLP Models
August 21, 2022 ยท Entered Twilight ยท ๐ International Conference on Computational Linguistics
Repo contents: .gitignore, README.md, configs, images, notebooks, output, resilient_nlp, runner.py, train_all_configs.sh, train_using_config.py, train_using_config.sh, word_score_attack.py
Authors
Jan Jezabek, Akash Singh
arXiv ID
2208.09915
Category
cs.CL: Computation & Language
Citations
0
Venue
International Conference on Computational Linguistics
Repository
https://github.com/akash13singh/resilient_nlp
โญ 3
Last Checked
1 month ago
Abstract
Protecting NLP models against misspellings whether accidental or adversarial has been the object of research interest for the past few years. Existing remediations have typically either compromised accuracy or required full model re-training with each new class of attacks. We propose a novel method of retroactively adding resilience to misspellings to transformer-based NLP models. This robustness can be achieved without the need for re-training of the original NLP model and with only a minimal loss of language understanding performance on inputs without misspellings. Additionally we propose a new efficient approximate method of generating adversarial misspellings, which significantly reduces the cost needed to evaluate a model's resilience to adversarial attacks.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Computation & Language
๐
๐
Old Age
๐
๐
Old Age
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
R.I.P.
๐ป
Ghosted
Language Models are Few-Shot Learners
R.I.P.
๐ป
Ghosted
RoBERTa: A Robustly Optimized BERT Pretraining Approach
R.I.P.
๐ป
Ghosted
BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
R.I.P.
๐ป
Ghosted