AI Security: Adversarial Attacks on a Classifier Decision Boundary (2D)

This 2D companion drives the exact same attack math as the 3D version — bounded FGSM/PGD-style perturbations pushing points across a linear decision boundary, with an adversarial-training defense that widens the margin — through a flat scatter plot plus a live accuracy-vs-ε curve, so the tradeoff between attack strength and defense is readable as two numbers and a line instead of an orbiting scene.