Eventizing Traditionally Opaque Binary Neural Networks as 1-safe Petri net Models
Mohamed Tarraf, Alex Chan, Alex Yakovlev, Rishad Shafik

TL;DR
This paper introduces a Petri net-based framework to model and verify Binary Neural Networks, making their internal causal processes transparent and enabling formal analysis for safety-critical applications.
Contribution
It presents a novel Petri net modeling approach that captures BNN operations as event-driven processes, facilitating formal verification and causal analysis.
Findings
Validated Petri net models against software BNNs
Proven 1-safeness and deadlock-freeness of models
Assessed scalability at multiple system levels
Abstract
Binary Neural Networks (BNNs) offer a low-complexity and energy-efficient alternative to traditional full-precision neural networks by constraining their weights and activations to binary values. However, their discrete, highly non-linear behavior makes them difficult to explain, validate and formally verify. As a result, BNNs remain largely opaque, limiting their suitability in safety-critical domains, where causal transparency and behavioral guarantees are essential. In this work, we introduce a Petri net (PN)-based framework that captures the BNN's internal operations as event-driven processes. By "eventizing" their operations, we expose their causal relationships and dependencies for a fine-grained analysis of concurrency, ordering, and state evolution. Here, we construct modular PN blueprints for core BNN components including activation, gradient computation and weight updates, and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Formal Methods in Verification · Petri Nets in System Modeling
