We propose a new algorithm for compiling Bayesian network classifier (BNC) into class formulas. Class formulas are logical formulas that represent a classifier's input-output behavior, and are crucial in the recent line of work that uses logical reasoning to explain the decisions made by classifiers. Compared to prior work on compiling class formulas of BNCs, our proposed algorithm is not restricted to binary classifiers, shows significant improvement in compilation time, and outputs class formulas as negation normal form (NNF) circuits that are OR-decomposable, which is an important property when computing explanations of classifiers.
Figures & tables
Figure 1: An example Bayesian network. The root variable A is in red, and the leaf variables D, E, F are in green. For simplicity, all variables in this network are binary.
Figure 2: (a) An AND-decomposable NNF for the negative instances of y1 , and (b) its negation, which is an OR-decomposable NNF of the class formula for y1 .
Figure 3: (a) An OBDD compiled by [ 27 ] . Solid (or dashed) arrows denote feature set to true (or false). (b) An equivalent OR-decomposable NNF.
Figure 4: A jointree and an f-tree (the sub-tree in the box) for the network in Figure 1 . The nodes are labeled by their clusters and the edges are labeled by their separators. The nodes that include the target variable A are in red, and the nodes that include the features are in green.
network
# features
# unique target Y
win95pts
16
33
cpcs54
13
12
andes
19
86
andes
22
86
tcc4e
27
16
tcc4e
30
15
Table 1: Overview of the 554 benchmark problems. With the same network, target, and features, there are two problems with different thresholds.
network
avg ωT
width ω
∣X∣
∣X∣+ω
win95
17.1
9
16
25
cpcs54
18.1
14
13
27
andes
27.7
18
22
40
Table 2: Compilation width compared to brute force method. For all networks, all leaves are chosen as features, and ∣X∣ denotes the number of features. For each network, the compilation width ωT is averaged over the the set of targets used in the benchmark. Column ∣X∣+ω shows the width for brute force method.
Figure 5: Cactus plot of runtime.
Time (s)
Size (# Nodes)
Y
baseline
proposed
baseline
proposed
TK
11,708
12
47
5
CNBG
24,374
30
2,893
2,453
MDA
26,614
1936
5,454
2,894
VKE
27,495
262
2,107
1,725
Table 3: Time and size comparison for the 4 roots ( Y ) and all leaves in the andes network. Threshold is 0.5 for all problems.
Figure 6: The network structure and f-tree of a BNC about the diagnosis of disease. Note that the f-tree shown in (b) is also a jointree of the network.
Figure 7: An OR-decomposable NNF that represents the class formula of disease type 2.
Figure 8: An OR-decomposable NNF representing ¬Δ0 .
Bayesian Networks (BNs) are of interest from an explainable AI viewpoint, offering transparent probabilistic models for decision support. Baymex is a recently introduced multi-objective evolutionary algorithm for learning discretized BNs, enabling experts to trade-off different objectives of interest, such as likelihood, model complexity, and prior beliefs. While Baymex has been shown to outperform state-of-the-art BN learning approaches, Baymex still 1) requires a lot of computation time and 2) has only been evaluated on synthetic data. To improve scalability, we introduce a parallelization strategy as well as a mechanism that enables adaptively steering optimization toward networks that overfit less. We furthermore reconfigure Baymex to train a BN classifier through multi-objective optimization of cross-entropy loss and the BIC complexity term so as to evaluate its performance on real-world clinical classification tasks. Besides observing speedups up to over 54 times on a 16-core CPU, comparisons against clinically familiar baselines (decision trees, logistic regression, naive Bayes, and random forests) on two open-source (RADCURE and SUPPORT) and one in-house dataset, show that Baymex obtains statistically similar or better predictive performance while producing compact, clinically inspectable BNs. Importantly, Baymex finds multiple plausible BN classifiers that contain predictors consistent with established clinical factors.
Damy M. F. Ha, Thalea Schlender, Yvette M. van der Linden +2
Leiden University Medical Center · Centrum Wiskunde & Informatica
The widespread adoption of artificial intelligence (AI) within real-world applications has raised a lot of concerns regarding their trustworthiness, especially in critical applications. The field of eXplainable AI (XAI) has emerged with the objective of providing explanations to the users about the decisions made by AI systems. Several explanations for boolean classifiers have been introduced in the literature, including abductive and contrastive explanations, each giving a different insight on the decision of the classifier. However, computing an explanation for a decision of a boolean classifier is a hard problem in general. One way to deal with this complexity is to rely on a compiled representation of the classifier for which each explanation can be computed efficiently. Unfortunately, we prove in this paper that several classes of abductive explanations, remain hard to compute even for Ordered Binary Decision Diagrams, one of the most tractable subsets of the knowledge compilation map. Included in such classes are shorter abductive explanations or abductive explanations that include the explainee's preferences. To recover the benefits of working with compiled representations, we show that a proper representation of the dual-rail encoding of the classifier can be used to compute efficiently these classes of explanations.
Arthur Ledaguenel, Florent Capelli, Jean-Marie Lagniez
Traditional neural networks have an impressive classification performance, but what they learn cannot be inspected, verified or extracted. Neural Logic Networks on the other hand have an interpretable structure that enables them to learn a logical mechanism relating the inputs and outputs with AND and OR operations. We generalize these networks with NOT operations and biases that take into account unobserved data and develop a rigorous logical and probabilistic modeling in terms of concept combinations to motivate their use. We also propose a novel factorized IF-THEN rule structure for the model as well as a modified learning algorithm. Our method improves the state-of-the-art in Boolean networks discovery and is able to learn relevant, interpretable rules in tabular classification, notably on examples from the medical and industrial fields where interpretability has tangible value.
Vincent Perreault, Katsumi Inoue, Richard Labib +1
Department of Mathematics and Industrial Engineering Polytechnique Montréal · National Institute of Informatics, Tokyo