Robustness & adversarial attacks

Step 4 of 8 in Future & Safety · Build · Medium

Tiny crafted changes to inputs can flip predictions. Robust models need adversarial training and testing outside the training distribution.

Build it

  1. FGSM

    FGSM on your CIFAR/MNIST model at 3 epsilons, then adversarial training.

    Done when: Accuracy vs ε before and after.

Case study: Stickers on stop signs

  • A few black and white stickers made a classifier read a stop sign as a speed limit.
  • Worked from different angles and distances in the physical world.
  • Safety-critical vision needs more than test-set accuracy.

Read the case study

Resources

Earn this star

On the map, you log what you built. Finish the step and its star lights.

Open this step on the map