Official implementation of the EMNLP 2021 paper "ONION: A Simple and Effective Defense Against Textual Backdoor Attacks"
☆40Nov 3, 2021Updated 5 years ago
Alternatives and similar repositories for ONION
Users that are interested in ONION are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Code and data of the EMNLP 2021 paper "Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer"☆48Oct 12, 2022Updated 4 years ago
- TextGuard: Provable Defense against Backdoor Attacks on Text Classification☆15Nov 7, 2023Updated 3 years ago
- Code for the paper "Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models" (NAACL-…☆44Jul 26, 2021Updated 5 years ago
- Code and data of the ACL 2021 paper "Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitution"☆16Jun 29, 2021Updated 5 years ago
- Code for the paper "RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models" (EMNLP 2021)☆25Oct 21, 2021Updated 5 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- [ICCV'2025 Highlight] Efficient Input-level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variation☆10Mar 30, 2026Updated 7 months ago
- Code for the paper "Deep Partition Aggregation: Provable Defenses against General Poisoning Attacks"☆14Aug 22, 2022Updated 4 years ago
- This work corroborates a run-time Trojan detection method exploiting STRong Intentional Perturbation of inputs, is a multi-domain Trojan …☆10Mar 7, 2021Updated 5 years ago
- ☆26Apr 15, 2021Updated 5 years ago
- ☆33Mar 4, 2022Updated 4 years ago
- ☆12Dec 20, 2024Updated last year
- ☆10Apr 15, 2023Updated 3 years ago
- pytorch版损失函数,改写自科学空间文章,【通过互信息思想来缓解类别不平衡问题】、【将“softmax+交叉熵”推广到多标签分类问题】☆12Aug 22, 2021Updated 5 years ago
- Implementation for Poison Attacks against Text Datasets with Conditional Adversarially Regularized Autoencoder (EMNLP-Findings 2020)☆15Oct 8, 2020Updated 6 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Evaluate QA models for consistency☆20Nov 21, 2022Updated 3 years ago
- ☆11Oct 3, 2021Updated 5 years ago
- ☆37Jun 27, 2022Updated 4 years ago
- [ECCV'24] T2IShield: Defending Against Backdoors on Text-to-Image Diffusion Models☆18Dec 21, 2025Updated 10 months ago
- ☆29Nov 9, 2022Updated 4 years ago
- [COLING25] CodeJudge Eval: Can Large Language Models be Good Judges in Code Understanding?☆12Dec 3, 2024Updated last year
- ☆19Feb 10, 2022Updated 4 years ago
- ☆32Apr 14, 2023Updated 3 years ago
- Contains pytorch implementation of Transformer and EvolvedTransformer architectures. WIP☆11Jul 25, 2024Updated 2 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- [NeurIPS'22] Trap and Replace: Defending Backdoor Attacks by Trapping Them into an Easy-to-Replace Subnetwork. Haotao Wang, Junyuan Hong,…☆15Nov 27, 2023Updated 2 years ago
- ☆13Oct 21, 2021Updated 5 years ago
- N/A☆19Aug 15, 2022Updated 4 years ago
- NLP Affective Computing - text-based emotion recognition with Deep Learning and LLMs☆16Nov 10, 2025Updated last year
- ☆13Nov 7, 2023Updated 3 years ago
- Official code and data repository for our EMNLP 2020 long paper "Reformulating Unsupervised Style Transfer as Paraphrase Generation" (htt…☆240Jun 13, 2022Updated 4 years ago
- ☆27Feb 9, 2022Updated 4 years ago
- ☆15Dec 3, 2025Updated 11 months ago
- Contests based Dataset for Code Generation☆13Dec 11, 2022Updated 3 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- This is the project repository of our ASE22 paper: Natural Test Generation for Precise Testing of Question Answering Software☆14Dec 1, 2022Updated 3 years ago
- [ICCV 2023] Source code for our paper "Rickrolling the Artist: Injecting Invisible Backdoors into Text-Guided Image Generation Models".☆63Nov 20, 2023Updated 3 years ago
- [NeurIPS 2025] Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack☆17Nov 19, 2025Updated last year
- ☆11May 26, 2021Updated 5 years ago
- Paper of AI Agent Security☆10Sep 10, 2025Updated last year
- An Open-Source Package for Textual Adversarial Attack.☆781Jul 20, 2023Updated 3 years ago
- Interpretable-through-prototypes deepfake detection for diffusion models☆14Apr 23, 2024Updated 2 years ago
Are these results useful?