Adversarial AI Lab
Learn how AI models are fooled and how they are protected, through interactive experiments that run in your browser with real numbers: image attacks, poisoning, evasion, defense, privacy, backdoors and robustness evaluation.
- 8Labs
- 30Experiments
- 25Lessons
- 36Verified references
The labs
Image Attacks Lab
FGSM, PGD, DeepFool, C&W, BIM and the adversarial patch: tiny changes that flip a model's decision.
Open the labData Poisoning Lab
Label flipping, backdoors, clean-label poisoning and dataset integrity checks.
Open the labEvasion Attacks Lab
White-, black- and gray-box attacks, transferability, query attacks and decision boundaries.
Open the labDefense Lab
Adversarial training, preprocessing, detection, distillation, randomized smoothing and formal certificates.
Open the labLLM Red Teaming Lab
A transparent rule-based simulator for prompt injection, disclosure and tool misuse. It is not a real language model.
Open the labModel Privacy Lab
Membership inference, model inversion and differential privacy (DP-SGD) with a real ε accountant.
Open the labBackdoor / Trojan Lab
Trigger visualisation, Neural Cleanse detection, and pruning / fine-tuning mitigation.
Open the labRobustness Evaluation Lab
Compare models and attacks, ε-curves and exportable reports.
Open the labModels used
| Model | Support | Note |
|---|---|---|
| Softmax regression | Browser | Linear model on 8×8 digits (64 inputs), trained in this project. |
| MLP (ReLU) | Browser | A 64-48-10 ReLU network. |
| MLP (tanh) | Browser | A 64-48-10 tanh network. |
| Small CNN | Browser | A small convolutional network on 8×8 inputs. |
| Adversarially trained MLP | Browser | An MLP trained with PGD (Madry) for comparison. |
| ResNet | Not supported | Not supported in the browser; needs the optional Python engine and licensed weights. Untested. |
| MobileNet | Not supported | Not supported in the browser; needs the optional engine. Untested. |
| EfficientNet | Not supported | Not supported in the browser; needs the optional engine. Untested. |
| Vision Transformer | Not supported | Not supported in the browser; needs the optional engine. Untested. |
