xingyizhao / PURELinks
Code associated with ICML (2024). "Defense against Backdoor Attack on Pre-trained Language Models via Head Pruning and Attention Normalization"
☆10Updated 8 months ago
Alternatives and similar repositories for PURE
Users that are interested in PURE are comparing it to the libraries listed below
Sorting:
- An open-source toolkit for textual backdoor attack and defense (NeurIPS 2022 D&B, Spotlight)☆186Updated 2 years ago
- Code and data of the ACL-IJCNLP 2021 paper "Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger"☆43Updated 2 years ago
- ☆19Updated last year
- ☆75Updated 3 years ago
- LAMP: Extracting Text from Gradients with Language Model Priors (NeurIPS '22)☆26Updated 2 months ago
- Code for the paper "Rethinking Stealthiness of Backdoor Attack against NLP Models" (ACL-IJCNLP 2021)☆24Updated 3 years ago
- ☆22Updated last year
- Natural Language Attacks in a Hard Label Black Box Setting.☆47Updated 4 years ago
- Code for the paper "RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models" (EMNLP 2021)☆24Updated 3 years ago
- Official implementation of the EMNLP 2021 paper "ONION: A Simple and Effective Defense Against Textual Backdoor Attacks"☆34Updated 3 years ago
- Unofficial implementation of "Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection"☆20Updated last year
- Hidden backdoor attack on NLP systems☆47Updated 3 years ago
- Repo for arXiv preprint "Gradient-based Adversarial Attacks against Text Transformers"☆107Updated 2 years ago
- Code for the paper "BadPrompt: Backdoor Attacks on Continuous Prompts"☆39Updated last year
- Code and data of the EMNLP 2021 paper "Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer"☆43Updated 2 years ago
- ☆30Updated last year
- [NDSS 2025] "CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Models"☆16Updated 8 months ago
- A survey of privacy problems in Large Language Models (LLMs). Contains summary of the corresponding paper along with relevant code☆68Updated last year
- ☆25Updated 2 years ago
- Robust natural language watermarking using invariant features☆26Updated last year
- Repository for Towards Codable Watermarking for Large Language Models☆38Updated last year
- Code related to the paper "Machine Unlearning of Features and Labels"☆71Updated last year
- The code for paper "The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)", exploring the privacy risk o…☆54Updated 6 months ago
- Fingerprint large language models☆41Updated last year
- Code for the paper "Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models" (NAACL-…☆41Updated 4 years ago
- ☆15Updated last year
- ☆18Updated 4 years ago
- TrojanLM: Trojaning Language Models for Fun and Profit☆16Updated 4 years ago
- TextGuard: Provable Defense against Backdoor Attacks on Text Classification☆12Updated last year
- ☆25Updated 4 years ago