Eventizing Traditionally Opaque Binary Neural Networks as 1-safe Petri net Models

📅 2026-02-13
📈 Citations: 0
Influential: 0
📄 PDF

Technology Category

Application Category

📝 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 compose them into a complete system-level model. We then validate the composed PN against a reference software-based BNN, verify it against reachability and structural checks to establish 1-safeness, deadlock-freeness, mutual exclusion and correct-by-construction causal sequencing, before we assess its scalability and complexity at segment, component, and system levels using the automated measurement tools in Workcraft. Overall, this framework enables causal introspection of transparent and event-driven BNNs that are amenable to formal reasoning and verification.
Problem

Research questions and friction points this paper is trying to address.

Binary Neural Networks
formal verification
causal transparency
explainability
safety-critical systems
Innovation

Methods, ideas, or system contributions that make the work stand out.

Binary Neural Networks
Petri nets
formal verification
event-driven modeling
1-safeness
🔎 Similar Papers
No similar papers found.
M
Mohamed Tarraf
Newcastle University, Newcastle upon Tyne, NE1 7RU, United Kingdom
A
Alex Chan
Newcastle University, Newcastle upon Tyne, NE1 7RU, United Kingdom
A
Alex Yakovlev
Newcastle University, Newcastle upon Tyne, NE1 7RU, United Kingdom
Rishad Shafik
Rishad Shafik
Professor of Microelectronic Systems, Newcastle University, UK
Machine Learning HardwareEnergy-Aware ComputingHW/SW Co-design