A new adversarial purification method that uses the forward and reverse processes of diffusion models to remove adversarial perturbations.
☆347Jan 29, 2023Updated 3 years ago
Alternatives and similar repositories for DiffPure
Users that are interested in DiffPure are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ☆63Aug 9, 2023Updated 3 years ago
- Code for the paper "Better Diffusion Models Further Improve Adversarial Training" (ICML 2023)☆144Jul 31, 2023Updated 3 years ago
- RobustBench: a standardized adversarial robustness benchmark [NeurIPS 2021 Benchmarks and Datasets Track]☆790Apr 14, 2026Updated 6 months ago
- An unrestricted attack based on diffusion models that can achieve both good transferability and imperceptibility.☆266Nov 23, 2025Updated 11 months ago
- ☆24Jul 29, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- [NeurIPS 2023] Codes for DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial Purification☆40Feb 29, 2024Updated 2 years ago
- Code relative to "Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks"☆755May 16, 2024Updated 2 years ago
- ☆25Sep 23, 2025Updated last year
- The code of the ICLR 2024 paper: Adversarial Training on Purification (AToP): Advancing Both Robustness and Generalization☆10Nov 21, 2024Updated last year
- [NeurIPS'2023] Official Code Repo:Diffusion-Based Adversarial Sample Generation for Improved Stealthiness and Controllability☆120Oct 31, 2023Updated 2 years ago
- ☆15Dec 12, 2022Updated 3 years ago
- Official Implementation for CVPR 2025 paper Instant Adversarial Purification with Adversarial Consistency Distillation.☆17Dec 19, 2025Updated 10 months ago
- [ICCV 2023 Oral] Official implementation of "Robust Evaluation of Diffusion-Based Adversarial Purification"☆24Dec 3, 2023Updated 2 years ago
- Implementation of "Adversarial purification with Score-based generative models", ICML 2021☆30Oct 24, 2021Updated 5 years ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- [NeurIPS, 500+ Citations!] Alignment & Safety for multimodal foundation models☆232Oct 20, 2026Updated last week
- Auto1111 port of NVlab's adversarial purification method that uses the forward and reverse processes of diffusion models to remove advers…☆13Aug 8, 2023Updated 3 years ago
- This Repository contains the PyTorch Implementation of the Spatially Transformed Adversarial Attack (ICLR'18).☆10May 16, 2021Updated 5 years ago
- ☆14Dec 29, 2025Updated 10 months ago
- PyTorch implementation of BPDA+EOT attack to evaluate adversarial defense with an EBM☆27Jun 30, 2020Updated 6 years ago
- [AAAI-2024] Official code for work "Adv-Diffusion: Imperceptible Adversarial Face Identity Attack via Latent Diffusion Model"☆62Aug 17, 2024Updated 2 years ago
- [BMVC 2023] Semantic Adversarial Attacks via Diffusion Models☆27Nov 30, 2023Updated 2 years ago
- [CVPR2025] Divide and Conquer: Heterogeneous Noise Integration for Diffusion-based Adversarial Purification☆18Nov 9, 2025Updated 11 months ago
- Code of paper [CVPR'24: Can Protective Perturbation Safeguard Personal Data from Being Exploited by Stable Diffusion?]☆26Apr 2, 2024Updated 2 years ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Codes for NeurIPS 2020 paper "Adversarial Weight Perturbation Helps Robust Generalization"☆192Feb 18, 2021Updated 5 years ago
- ☆85Jul 23, 2024Updated 2 years ago
- Official code implement of Robust Classification via a Single Diffusion Model☆97Mar 7, 2025Updated last year
- TRADES (TRadeoff-inspired Adversarial DEfense via Surrogate-loss minimization)☆561Mar 30, 2023Updated 3 years ago
- Official repository for "On Generating Transferable Targeted Perturbations" (ICCV 2021)☆63Aug 16, 2026Updated 2 months ago
- ☆45Oct 9, 2024Updated 2 years ago
- Implementation of Self-supervised-Online-Adversarial-Purification☆13Aug 2, 2021Updated 5 years ago
- Towards Efficient and Effective Adversarial Training, NeurIPS 2021☆15Feb 15, 2022Updated 4 years ago
- PyTorch implementation of adversarial attacks [torchattacks]☆2,184Jun 29, 2024Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Beyond imagenet attack (accepted by ICLR 2022) towards crafting adversarial examples for black-box domains.☆61Jun 15, 2022Updated 4 years ago
- Code for ICLR2020 "Improving Adversarial Robustness Requires Revisiting Misclassified Examples"☆152Oct 15, 2020Updated 6 years ago
- Unofficial implementation of the DeepMind papers "Uncovering the Limits of Adversarial Training against Norm-Bounded Adversarial Examples…☆98Mar 4, 2022Updated 4 years ago
- ☆21Oct 5, 2023Updated 3 years ago
- Repository for the Paper (AAAI 2024, Oral) --- Visual Adversarial Examples Jailbreak Large Language Models☆286May 13, 2024Updated 2 years ago
- ☆56Jun 19, 2024Updated 2 years ago
- ☆16Jul 25, 2022Updated 4 years ago