Formal verification of designs with multiple properties has been a long-standing challenge for the verification research community. The task of coming up with an effective strategy that can efficiently cluster properties to be solved together has inspired a number of proposals, ranging from structural clustering based on the property cone of influence (COI) to leverage runtime design and verification statistics. In this paper, we present an attempt towards functional clustering of properties utilizing graph neural network (GNN) embeddings for creating effective property clusters. We propose a hybrid approach that can exploit neural functional representations of hardware circuits and runtime design statistics to speed up the performance of Bounded Model Checking (BMC) in the context of multi-property verification (MPV). Our method intelligently groups properties based on their functional embedding and design statistics, resulting in speedup in verification results. Experimental results on the HWMCC benchmarks show the efficacy of our proposal with respect to the state-of-the-art.
Figures & tables
Fig. 1 : Conflict Clause plot on 6s154.aig from HWMCC
Fig. 2 : Our Framework - MPBMC
Property
P1
P2
P3
P4
Influencing Cluster
{P1,P3,P4}
{P2,P3}
{P1,P3,P4}
{P1,P4}
TABLE I : Influencing clusters for a design B
Benchmark
#AND
#LAT
#Prop
#Inf-Prop
#Prop
MPBMC UNDET Gain (%)
[ 15 , 16 ] UNDET Gain (%)
Gainer(%)
Min
Avg
Max
Min
Avg
Max
6s154
18183
128
32
29
76
1.81
238.17
1200
285.71
1110.98
2600
6s329
1691790
31947
33
29
93
2.38
13.61
34.37
-
-
-
6s343
43996
4774
49
49
59
1.29
43.69
138.98
-88.14
-44
36.36
bob12m07m
63503
1258
53
50
68
4
20.34
50
-11.76
0.36
12.5
6s340
42291
3337
76
57
51
3.22
20.22
64.75
-2.33
26.61
55.56
TABLE II : Comparative results on HWMCC‘12-13 Benchmark
Fig. 3 : Conflict Clause (CC) Analysis
Fig. 4 : Verification Time (V Time) Comparison
Fig. 5 : Stand-alone vs MPBMC UNDET Depth Comparison
Branch and Bound (BaB) aims to achieve complete verification of neural networks by adaptively partitioning the problem and applying off-the-shelf verifiers to subproblems. Its problem-splitting history can be represented as a tree, where each subproblem corresponds to a child node. A key problem of BaB lies in searching for the verdict boundaries across all the paths that divide the verified and unverified subproblems. We observe that the existing BaB approach tackles this problem by solving each expensive subproblem sequentially along the tree path as its depth increases, requiring costly bounds propagation at every visited BaB tree node (i.e., subproblem), which is inefficient. To address this issue, we propose effective search approaches that leverage the monotonicity of each path to efficiently and precisely locate the verdict boundary by simultaneously splitting multiple activation functions (e.g., ReLU), rather than processing them one at a time as in the classical approach. Our approach performs an effective exponential search along each path, allowing us to skip many boundary-unrelated subproblems when identifying the verdict boundary. The enhanced version further improves this process by estimating the boundary's position using quantitative information obtained from subproblem solving. We perform experimental evaluation on commonly-used benchmarks to assess our proposed techniques, and compare them with recent BaB-based approaches.
Jiawei Ren, Guanqin Zhang, Zhenya Zhang +1
University of New South Wales, Sydney, Australia · Kyushu University, Fukuoka, Japan · National Institute of Informatics, Tokyo, Japan
We define an information-complexity property for aggregation functions, capturing a vast range of practical aggregations, and prove that any Message-Passing Graph Neural Network (MP-GNN) model with such aggregations induces only a polynomial number of equivalence classes on all graphs - while the number of non-isomorphic graphs is super-exponential (in number of vertices). Adding a familiar perspective, we observe that merely 2 iterations of Color Refinement (CR) induce at least an exponential number of equivalence classes, making the aforementioned MP-GNNs relatively infinitely weaker. Previous studies state that sum-aggregation MP-GNNs match full CR however they consider a weak, 'non-uniform', notion of distinguishing-power where each graph size may require a different MP-GNN to distinguish graphs up to that size. Our results concern both distinguishing between non-equivariant vertices and distinguishing between non-isomorphic graphs.
The increasing integration of deep neural networks in critical systems has spawned a theoretical and practical interest in formally guaranteeing safety properties about their behavior. To achieve this, contemporary verification algorithms rely on computing linear relaxations for a network's non-linear activation functions. Existing approaches for linear relaxations typically fall into one of two categories: single-neuron relaxation, in which each activation neuron is bounded in terms of its sources; and multi-neuron relaxation, in which linear bounds involving multiple activation neurons and their sources are calculated. However, existing methods might fail to balance tightness and scalability, as single-neuron bounds might not derive sufficiently tight bounds necessary for verification to complete, whereas generating multi-neuron relaxation for all activation neurons is computationally expensive. In this paper, we present a middle-ground approach featuring partial multi-neuron relaxation, in which we generate multi-neuron bounds for only a small, heuristically selected subset of neurons. To achieve this, we build upon existing branching heuristics for selecting neurons and for optimizing bounding hyper-planes for multi-neuron bounds. We integrated our proposed method within the Marabou verifier, and obtained favorable results in comparison to existing bound tightening methods. Our experiments showcase the potential of our technique for neural network verification.
Ido Shmuel, Guy Katz
The Hebrew University of Jerusalem, Jerusalem, Israel