r/VerifiedAI • • 14d ago

Welcome to r/VerifiedAI - why this sub exists and quick intro

3 Upvotes

Hi!!

I created this sub back in july because I felt reddit was missing a dedicated space specifically focused on verified, certified and mathematically safe AI.

most ML communities right now are flooded with prompt tricks or generic benchmark hype, while people working on those topics are scattered across the internet. this sub is a place to talk tools, real world case studies and papers.

a quick intro: I'm Giovanni (norbedo[dot]xyz) and I'm just a student. I'm deeply interested in safety-critical machine learning, formal verification and bridging the gap between "it works" and rigorous mathematical proofs.

are you actively working on something in the field or just here because you are curious about the math side of AI?


r/VerifiedAI • • 18d ago

Resource Most people don't know you can mathematically prove a neural network is safe instead of just testing it

0 Upvotes

Hey everyone,

We all know deep learning models are essentially black boxes: you train them, evaluate them on a test set, and hope they don't fail. But in safety-critical settings like self-driving cars, drones, or medicine, "hoping that works" isn't enough. Testing 10,000 images doesn't guarantee that changing three imperceptible pixels won't suddenly turn a stop sign into a speed limit.

What many developers don't realize is that there is an entire field of computer science dedicated to this called Neural Network Formal Verification. Instead of testing models through trial and error, these tools use mathematical solvers to formally prove that a network will never produce an unsafe output within a given range of inputs.

The problem is that this field is notoriously hard to get into. The research is scattered between formal logic, programming language theory, and machine learning, so finding modern, working tools is a headache.

To make the topic accessible to anyone in ai, I put together an open-source guide mapping out the active tools, annual competitions, and foundational papers:
https://github.com/giovanni-norbedo/awesome-nn-formal-verification

It explains how the solvers work under the hood without overwhelming jargon, from exact mathematical engines like Marabou, to fast geometric approximations like ERAN, all the way to modern gpu accelerated tools like alpha,beta-CROWN that prove properties on real pytorch models.

I'm curious: had you ever heard of formally verifying neural networks before, or has your experience with ai safety mostly been empirical testing?


r/VerifiedAI • • 20d ago

Project When PGD attacks fail, is your model actually safe? I tested empirical robustness vs. exact SMT proofs (Marabou) on traffic signs

2 Upvotes

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