r/VerifiedAI • u/v3npy • 20d ago
Project When PGD attacks fail, is your model actually safe? I tested empirical robustness vs. exact SMT proofs (Marabou) on traffic signs

Hi everyone,
A question has been bugging me for a while: when an adversarial attack like PGD fails to find a counterexample on a neural network, does that actually mean the network is robust? Or are we just trusting gradient descent to search a space it can't possibly cover?
In safety-critical computer vision (like autonomous driving perception), a false sense of security is dangerous. If an adversarial patch or slight lighting change causes a vehicle to read a STOP sign as a 50 km/h limit, empirical "it held up against 15 steps of PGD" isn't a guarantee.
So for an ML course project at the University of Trieste, I decided to test this end-to-end: I trained two identical architectures on German Traffic Signs (GTSRB), one with standard ERM and one with mixed adversarial training, and compared empirical PGD attack gainst exact mathematical proofs using the Marabou SMT solver.
The repo and the notebook are here:
https://github.com/giovanni-norbedo/gtsrb-formal-verification