facebookresearch / text-adversarial-attackLinks
Repo for arXiv preprint "Gradient-based Adversarial Attacks against Text Transformers"
☆107Updated 2 years ago
Alternatives and similar repositories for text-adversarial-attack
Users that are interested in text-adversarial-attack are comparing it to the libraries listed below
Sorting:
- Code for the paper "Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models" (NAACL-…☆41Updated 3 years ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆157Updated last year
- Code for the paper "BadPrompt: Backdoor Attacks on Continuous Prompts"☆36Updated 11 months ago
- Implementation of the paper "Exploring the Universal Vulnerability of Prompt-based Learning Paradigm" on Findings of NAACL 2022☆29Updated 2 years ago
- This is the starter kit for the Trojan Detection Challenge 2023 (LLM Edition), a NeurIPS 2023 competition.☆90Updated last year
- Code for the paper "RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models" (EMNLP 2021)☆24Updated 3 years ago
- ☆54Updated 2 years ago
- ☆57Updated last year
- codes for "Searching for an Effective Defender:Benchmarking Defense against Adversarial Word Substitution"☆31Updated last year
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆65Updated 7 months ago
- Code and data of the ACL-IJCNLP 2021 paper "Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger"☆43Updated 2 years ago
- Official implementation of the EMNLP 2021 paper "ONION: A Simple and Effective Defense Against Textual Backdoor Attacks"☆33Updated 3 years ago
- Codes and datasets of the paper Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignment☆100Updated last year
- ICLR2024 Paper. Showing properties of safety tuning and exaggerated safety.☆85Updated last year
- TrojanLM: Trojaning Language Models for Fun and Profit☆16Updated 4 years ago
- Official Implementation of the paper "Three Bricks to Consolidate Watermarks for LLMs"☆48Updated last year
- [NeurIPS 2024] Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling☆29Updated 7 months ago
- Code for the paper "Rethinking Stealthiness of Backdoor Attack against NLP Models" (ACL-IJCNLP 2021)☆24Updated 3 years ago
- ☆53Updated 2 years ago
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆52Updated 10 months ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆51Updated 10 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆33Updated last year
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆42Updated last year
- ☆44Updated 4 months ago
- Code for watermarking language models☆79Updated 9 months ago
- Training data extraction on GPT-2☆187Updated 2 years ago
- Code for our paper "Defending ChatGPT against Jailbreak Attack via Self-Reminder" in NMI.☆50Updated last year
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆20Updated 11 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆55Updated last year
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆94Updated last year