Samuel Teuber (@teuber_dev) profile picture

Doctoral Researcher @KITinformatik (@KITKarlsruhe) | Formal Methods for Software & AI (Focus on CPS and Fairness Verification)

Karlsruhe, Baden-Württemberg
Joined March 2021
You want to ensure that your neural network *never* crashes your control system? Our (now accepted 🥳) #NeurIPS paper introduces: - Reusing control theory for NN verification - Verifying *nonlinear arithmetic* specs on NNs This guarantees your NN won't behave like this (1/12):
1
1
3
555
I decided I'll try out the other option...
37
Samuel Teuber retweeted
That was surprisingly accurate.
1
9
74
4,921
If anyone in Edinburgh is interested in learning more about this work: I will give a talk about it at the LFCS Seminar @InfAtEd on Tuesday, 29th of October, at 4 pm. web.inf.ed.ac.uk/lfcs/events…
You want to ensure that your neural network *never* crashes your control system? Our (now accepted 🥳) #NeurIPS paper introduces: - Reusing control theory for NN verification - Verifying *nonlinear arithmetic* specs on NNs This guarantees your NN won't behave like this (1/12):
2
129
Our verification tool for polynomial arithmetic specifications (possibly with prepositionally complicated structure) for (ReLU) neural networks is also open source and can be found here: github.com/samysweb/NCubeV
38
This project was joint work with Stefan Mitsch and @AndrePlatzer. We started working on this project during my visit to @SCSatCMU and continued working on it @KITinformatik. I'm looking forward to presenting it at #neurips2024 in Vancouver. Preprint: arxiv.org/abs/2402.10998
1
1
63
However, even to this apriori work, there is an upside: For many Cyber-Physical Systems, other people have already analyzed the abstract system and we can reuse these control theory results for our analyses (we already did this for VCAS!)
1
19
Overall, our work proposes an alternative pathway to safe NNCS autonomy that does not rely on simulations for time-bounded guarantees. Instead, we provide stronger, infinite-time horizon guarantees, but require more apriori reasoning via deductive verification in dL.
1
24
We also verified an adaptive cruise control system in which an NN is supposed to control the acceleration of a car following another car: Here we showed that handing over control to the NN will *never* lead to a crash -- no matter how long the two cars follow each other!
1
21
We also proved safety for two VCAS scenarios. In these cases, we were able to show that (under some assumptions) the NNs' actions will guarantee safety on an infinite time horizon. "Unfortunately", safe systems make for less pretty pictures... 🥲
1
20
We applied the overall approach to multiple case studies including Vertical Airborne Collision Avoidance (VCAS): Here, we analyzed NNs from prior work and found numerous concrete safety problems -- but see for yourself (any plane trajectory in the red region is BAD!):
1
33
We introduce a framework that: - Supports polynomial arithmetic in a sound and complete manner - Significantly simplifies verification for specifications with complicated propositional structure Importantly, we can *lift* off-the-shelf NN verifiers to this setting!
1
22
Yes, but only because of our second contribution: The derived specifications typically contain polynomial (nonlinear) arithmetic and may have a very complicated logical structure. Meanwhile, SotA NN verifiers only support linear constraints and little more than conjunctions...
1
60
Our approach comes with many advantages: - support for continuous-time control - support for infinite-time safety - no reliance on simulation which incurs approximation errors - rigorous formal foundations in dL - reuse of control theory results But is it applicable in practice?
1
31
We start with a dL safety proof for an abstract control envelope. Our approach then derives an NN specification. We rigorously define the NN's semantics in dL via "nondeterministic mirrors". Verification of the NN is then mirrored by a proof of infinite-time safety in dL.
1
29
I'm very excited this work is finally public as it brings together two of my favorite topics: Dynamic Logic and NN Verification. The first part of the paper explains how models of Cyber-Physical Systems in Differential Dynamic Logic (dL) can be used for NN Verification:
1
30
Replying to @alpha_convert
Bet you’re feeling pretty vindicated today huh
1
1
39
1,892
Replying to @moyix
Sometimes it even tells you what’s wrong: Recently, when I ran an experiment with GPT 4o, I noticed it responded something like „I’m afraid I can’t see the prior conversation, but let me take an educated guess“ – indeed, it was not seeing most of the chat history due to a bug…
1
177
Samuel Teuber retweeted
Please find the registration form here: s.kit.edu/mnp
2
1
325
Correction: It's actually poster number 205
1
42