A Scalable Approach to Probabilistic Neuro-Symbolic Verification

Vasileios Manginas, Nikolaos Manginas, Edward Stevinson, Sherwin Varghese, Nikos Katzouris, Georgios Paliouras, Alessio Lomuscio · DOI

Introduction

Neuro-Symbolic (NeSy) AI combines the perceptual strengths of Neural Networks (NNs) with the rigorous reasoning of symbolic logic. However, ensuring the robustness of these hybrid systems is challenging: small, adversarial perturbations to input data can lead to incorrect symbolic decisions. This paper presents the first scalable framework for the formal verification of probabilistic NeSy systems, providing safety certificates for complex pipelines like autonomous driving.

The Verification Challenge

Verifying a NeSy system requires understanding how input uncertainty propagates through both the "eyes" (NNs) and the "brain" (logic). The authors prove that exactly calculating the probability of a symbolic output under input perturbations is $NP^{PP}$-complete. This high complexity suggests that exact solvers will inevitably fail to scale to real-world applications.

Methodology: End-to-End Relaxation

To achieve scalability, the researchers propose a unified approach:

  1. Knowledge Compilation: Logical constraints are compiled into Arithmetic Circuits (ACs). These circuits represent logic as multi-linear polynomials, turning discrete "AND/OR" operations into continuous "multiplication/addition." A key insight of the paper is that the extreme values of these polynomials always lie at the "corners" of the input intervals, facilitating the use of relaxation-based verification.
  2. Unified Representation: The entire system—NNs and ACs—is exported as a single ONNX computational graph.
  3. Relaxation-Based Verification: By treating logic as additional layers in the neural graph, the authors apply Interval Bound Propagation (IBP) via the auto_LiRPA library. This allows for the efficient propagation of uncertainty bounds from raw pixels to the final decision in a single pass.
The proposed framework integrates neural perception and logical reasoning into a single computational graph for unified verification.

Key Results

The framework was evaluated on Multi-Digit MNIST Addition and the ROAD-R autonomous driving dataset.

  • Exponential Scalability: On the MNIST benchmark, the proposed E2E-R (End-to-End Relaxation) method scaled exponentially better than exact solvers. While exact methods failed as logical complexity increased, E2E-R maintained sub-second performance.
  • Tightness of Bounds: Despite being an approximation, E2E-R produced robustness certificates very close to exact values. For instance, in a 5-digit addition task, the robustness percentage was 76.67% compared to the exact 78.31%.
  • Real-World Application: The method successfully verified safety properties on the high-dimensional ROAD-R dataset involving 6-layer CNNs and high-resolution images—a task previously impossible for exact NeSy verifiers.
Performance comparison showing that E2E-R maintains low computational overhead as logical complexity increases, unlike exact solvers.

Conclusion

By unifying neural and symbolic components into a single differentiable graph, this work enables formal verification at a scale previously unreachable. While IBP can be conservative, the minimal loss in precision is a worthwhile trade-off for the massive gains in speed and applicability to high-dimensional safety-critical systems. Future research will focus on tighter bounding methods like $\beta$-CROWN and certified training to further harden NeSy systems against adversarial inputs.

Summary updated

BibTeX
@inproceedings{manginas2025scalable,
  author = {Vasileios Manginas and Nikolaos Manginas and Edward Stevinson and Sherwin Varghese and Nikos Katzouris and Georgios Paliouras and Alessio Lomuscio},
  title = {{A Scalable Approach to Probabilistic Neuro-Symbolic Verification}},
  booktitle = {NeSy - Phase 2},
  year = {2025},
  url = {https://openreview.net/forum?id=DAp8WCTGVj},
}
Figure