Figure 1.
A DIMLP network that discriminates circles and triangles. The step activation function for neuron h creates a hyperplane at . Generally, the presence or absence of this hyperplane depends on the values of and .
Figure 1.
A DIMLP network that discriminates circles and triangles. The step activation function for neuron h creates a hyperplane at . Generally, the presence or absence of this hyperplane depends on the values of and .
Figure 2.
Schematic representation of the global explainability for a DIMLP model. From a trained DIMLP the hyperplanes are precisely located from the weights of the first hidden layer; then, FidexGlo runs Fidex for all the training samples. Finally, by removing as many rules as possible, FidexGlo simplifies the rules generated by Fidex.
Figure 2.
Schematic representation of the global explainability for a DIMLP model. From a trained DIMLP the hyperplanes are precisely located from the weights of the first hidden layer; then, FidexGlo runs Fidex for all the training samples. Finally, by removing as many rules as possible, FidexGlo simplifies the rules generated by Fidex.
Figure 3.
An example of ruleset generated by FidexGlo applied to an ensemble of 25 DIMLPs with a single hidden layer.
Figure 3.
An example of ruleset generated by FidexGlo applied to an ensemble of 25 DIMLPs with a single hidden layer.
Figure 4.
An example of ruleset generated by FidexGlo applied to an ensemble of 100 DTs of depth three trained by gradient boosting.
Figure 4.
An example of ruleset generated by FidexGlo applied to an ensemble of 100 DTs of depth three trained by gradient boosting.
Figure 5.
Variation of the drop-out parameters (p and q) for the “Ionosphere” classification problem trained with DIMLP ensembles. The average number of rules is shown on the top left, the average number of antecedents per rule on the top right, the average fidelity on the bottom left, and the average prediction accuracy on the bottom right.
Figure 5.
Variation of the drop-out parameters (p and q) for the “Ionosphere” classification problem trained with DIMLP ensembles. The average number of rules is shown on the top left, the average number of antecedents per rule on the top right, the average fidelity on the bottom left, and the average prediction accuracy on the bottom right.
Figure 6.
Variation of the drop-out parameters (p and q) for the “Ionosphere” classification problem trained with Random Forests.
Figure 6.
Variation of the drop-out parameters (p and q) for the “Ionosphere” classification problem trained with Random Forests.
Figure 7.
Samples covered by a rule of class ’1’; rule antecedents are represented by colored dots. The top left shows the centroid of the 1426 covered samples in the training set, while the other pictures show three of the 242 samples in the test set that activate this rule.
Figure 7.
Samples covered by a rule of class ’1’; rule antecedents are represented by colored dots. The top left shows the centroid of the 1426 covered samples in the training set, while the other pictures show three of the 242 samples in the test set that activate this rule.
Figure 8.
Samples covered by a rule of class ’0’; rule antecedents are represented by colored dots. The top left shows the centroid of the 1114 covered samples in the training set, while the other pictures show three of the 183 samples in the test set that activate this rule.
Figure 8.
Samples covered by a rule of class ’0’; rule antecedents are represented by colored dots. The top left shows the centroid of the 1114 covered samples in the training set, while the other pictures show three of the 183 samples in the test set that activate this rule.
Figure 9.
Samples covered by a rule of class ’4’; rule antecedents are represented by colored dots. The top left shows the centroid of the 565 covered samples in the training set, while the other pictures show three of the 103 samples in the test set that activate this rule.
Figure 9.
Samples covered by a rule of class ’4’; rule antecedents are represented by colored dots. The top left shows the centroid of the 565 covered samples in the training set, while the other pictures show three of the 103 samples in the test set that activate this rule.
Figure 10.
Samples covered by a rule of class ’Happy’; rule antecedents are represented by colored dots. The top left shows the centroid of the 27 covered samples in the training set, while the other pictures show three of the eight samples in the test set that activate this rule.
Figure 10.
Samples covered by a rule of class ’Happy’; rule antecedents are represented by colored dots. The top left shows the centroid of the 27 covered samples in the training set, while the other pictures show three of the eight samples in the test set that activate this rule.
Figure 11.
Samples covered by a rule of class ’Happy’; rule antecedents are represented by colored dots. The top left shows the centroid of the 30 covered samples in the training set, while the other pictures show three of the six samples in the test set that activate this rule.
Figure 11.
Samples covered by a rule of class ’Happy’; rule antecedents are represented by colored dots. The top left shows the centroid of the 30 covered samples in the training set, while the other pictures show three of the six samples in the test set that activate this rule.
Figure 12.
Samples covered by a rule of class ’Happy’; rule antecedents are represented by colored dots. The top left shows the centroid of the 29 covered samples in the training set, while the other pictures show three of the eight samples in the test set that activate this rule.
Figure 12.
Samples covered by a rule of class ’Happy’; rule antecedents are represented by colored dots. The top left shows the centroid of the 29 covered samples in the training set, while the other pictures show three of the eight samples in the test set that activate this rule.
Figure 13.
Samples covered by a rule of class ’Cracks’; rule antecedents are represented by colored dots. The top left shows the centroid of the 4549 covered samples in the training set, while the other pictures show three of the 1120 samples in the test set that activate this rule.
Figure 13.
Samples covered by a rule of class ’Cracks’; rule antecedents are represented by colored dots. The top left shows the centroid of the 4549 covered samples in the training set, while the other pictures show three of the 1120 samples in the test set that activate this rule.
Figure 14.
Samples covered by a rule of class ’Cracks’; rule antecedents are represented by colored dots. The top left shows the centroid of the 4429 covered samples in the training set, while the other pictures show three of the 1070 samples in the test set that activate this rule.
Figure 14.
Samples covered by a rule of class ’Cracks’; rule antecedents are represented by colored dots. The top left shows the centroid of the 4429 covered samples in the training set, while the other pictures show three of the 1070 samples in the test set that activate this rule.
Table 1.
Datasets used in the experiments. From left to right, columns designate: number of samples; number of input features; type of features (boolean, categorical, integer, real); and proportion of samples in the majority class.
Table 1.
Datasets used in the experiments. From left to right, columns designate: number of samples; number of input features; type of features (boolean, categorical, integer, real); and proportion of samples in the majority class.
| Dataset |
#Samp. |
#Attr. |
Attr. Types |
Maj. Class (%) |
| Breast Cancer |
683 |
9 |
int. |
65.0 |
| Divorce |
170 |
54 |
bool. |
50.6 |
| Iris |
150 |
4 |
real |
33.3 |
| Ionosphere |
351 |
34 |
int., real |
64.1 |
Table 2.
Average results obtained on the “Iris” dataset by cross-validation.
Table 2.
Average results obtained on the “Iris” dataset by cross-validation.
| Model |
Acc. |
Fid. |
Acc. R. (a) |
Acc. R. (b) |
Nb. R. |
Nb. Ant. |
| DIMLP () |
94.9 (0.5) |
99.6 (0.5) |
95.3 (0.5) |
95.3 (0.5) |
4.5 (0.4) |
1.6 (0.1) |
| DIMLP () |
94.5 (0.6) |
99.5 (0.5) |
94.5 (0.8) |
94.7 (0.7) |
5.9 (0.6) |
1.9 (0.1) |
| RF () |
95.3 (0.5) |
99.5 (0.5) |
94.9 (0.5) |
95.3 (0.5) |
10.5 (0.3) |
2.4 (0.0) |
| RF (—) |
95.2 (0.8) |
99.1 (0.8) |
94.8 (0.5) |
95.4 (0.7) |
10.4 (0.2) |
2.4 (0.0) |
| GB () |
94.3 (0.6) |
99.8 (0.3) |
94.2 (0.5) |
94.3 (0.6) |
7.7 (0.4) |
2.3 (0.1) |
| GB () |
95.3 (0.4) |
99.5 (0.6) |
95.1 (0.6) |
95.5 (0.4) |
10.3 (0.3) |
2.4 (0.0) |
Table 3.
Average results obtained on the “Breast Cancer” dataset. The first row shows DIMLPs with only a single hidden layer, the second is DIMLP with ten neurons in the second hidden layer, then QSVM with the linear kernel, QSVM with the RBF kernel, RF with trees of depth ten, RF with unconstrained depth, GB with depth one and GB with depth three.
Table 3.
Average results obtained on the “Breast Cancer” dataset. The first row shows DIMLPs with only a single hidden layer, the second is DIMLP with ten neurons in the second hidden layer, then QSVM with the linear kernel, QSVM with the RBF kernel, RF with trees of depth ten, RF with unconstrained depth, GB with depth one and GB with depth three.
| Model |
Acc. |
Fid. |
Acc. R. (a) |
Acc. R. (b) |
Nb. R. |
Nb. Ant. |
| DIMLP () |
97.0 (0.1) |
99.4 (0.2) |
96.9 (0.2) |
97.2 (0.1) |
14.2 (0.4) |
2.2 (0.0) |
| DIMLP () |
97.2 (0.1) |
99.4 (0.2) |
97.3 (0.3) |
97.5 (0.2) |
14.3 (0.8) |
2.2 (0.0) |
| QSVM (lin.) |
97.1 (0.1) |
99.5 (0.1) |
97.2 (0.2) |
97.4 (0.2) |
14.8 (0.5) |
2.2 (0.0) |
| QSVM (RBF) |
97.1 (0.2) |
99.5 (0.3) |
97.1 (0.3) |
97.3 (0.2) |
14.2 (0.6) |
2.3 (0.0) |
| RF () |
97.1 (0.3) |
99.3 (0.2) |
96.8 (0.3) |
97.3 (0.4) |
29.0 (0.5) |
2.7 (0.0) |
| RF (—) |
97.2 (0.4) |
99.1 (0.3) |
96.8 (0.5) |
97.4 (0.5) |
28.9 (0.5) |
2.7 (0.0) |
| GB () |
96.5 (0.3) |
99.1 (0.3) |
96.6 (0.3) |
97.0 (0.2) |
15.1 (0.6) |
2.3 (0.0) |
| GB () |
97.0 (0.2) |
99.3 (0.2) |
96.6 (0.2) |
97.1 (0.2) |
28.6 (0.6) |
2.7 (0.0) |
| AdaC2 [35] |
92.4 (—) |
— (—) |
95.6 (—) |
— (—) |
10.8 (—) |
— (—) |
| RF [13] |
97.4 (0.1) |
98.5 (0.2) |
96.9 (0.2) |
97.9 (0.2) |
24.3 (0.5) |
3.3 (0.0) |
| RuleFit [33] |
— (—) |
— (—) |
97 (2) |
— (—) |
38 (5) |
— (—) |
| SR [13] |
— (—) |
— (—) |
94.4 (0.2) |
— (—) |
31.2 (1.7) |
2.7 (0.0) |
Table 4.
Average results obtained on the “Divorce” dataset.
Table 4.
Average results obtained on the “Divorce” dataset.
| Model |
Acc. |
Fid. |
Acc. R. (a) |
Acc. R. (b) |
Nb. R. |
Nb. Ant. |
| DIMLP () |
98.2 (0.2) |
99.8 (0.3) |
98.0 (0.3) |
98.2 (0.2) |
6.6 (0.4) |
1.2 (0.0) |
| DIML () |
98.2 (0.0) |
99.6 (0.4) |
97.8 (0.0) |
98.2 (0.0) |
6.8 (0.3) |
1.2 (0.0) |
| QSVM (lin.) |
97.6 (0.0) |
99.8 (0.3) |
97.8 (0.3) |
97.8 (0.3) |
6.0 (0.3) |
1.2 (0.0) |
| QSVM (RBF) |
97.6 (0.0) |
99.5 (0.5) |
97.7 (0.3) |
97.9 (0.3) |
2.4 (0.2) |
1.0 (0.0) |
| RF () |
97.6 (0.0) |
99.8 (0.3) |
97.8 (0.3) |
97.8 (0.3) |
6.9 (0.3) |
1.2 (0.0) |
| RF (—) |
97.6 (0.0) |
99.9 (0.2) |
97.7 (0.2) |
97.7 (0.2) |
7.0 (0.3) |
1.2 (0.0) |
| GB () |
97.6 (0.0) |
99.8 (0.3) |
97.8 (0.4) |
97.8 (0.3) |
6.2 (0.3) |
1.4 (0.0) |
| GB () |
97.6 (0.0) |
99.9 (0.2) |
97.7 (0.2) |
97.7 (0.2) |
7.0 (0.2) |
1.2 (0.0) |
| GB [13] |
97.6 (1.1) |
99.5 (0.3) |
97.3 (1.0) |
97.7 (1.0) |
3.8 (0.0) |
1.5 (0.0) |
| SR [13] |
— (—) |
— (—) |
96.5 (0.7) |
— (—) |
13.9 (1.0) |
2.7 (0.0) |
Table 5.
Average results obtained on the “Ionosphere” dataset.
Table 5.
Average results obtained on the “Ionosphere” dataset.
| Model |
Acc. |
Fid. |
Acc. R. (a) |
Acc. R. (b) |
Nb. R. |
Nb. Ant. |
| DIMLP () |
92.8 (0.5) |
97.8 (0.6) |
93.8 (0.6) |
94.3 (0.4) |
21.2 (0.7) |
2.3 (0.0) |
| DIMLP () |
93.0 (0.7) |
97.9 (0.5) |
93.9 (0.9) |
94.4 (0.6) |
22.0 (1.0) |
2.3 (0.0) |
| QSVM (lin.) |
86.9 (0.7) |
95.8 (0.8) |
87.9 (0.6) |
89.1 (0.6) |
26.3 (1.3) |
2.5 (0.0) |
| QSVM (RBF) |
94.2 (0.5) |
97.3 (0.7) |
93.4 (0.5) |
95.0 (0.7) |
25.1 (0.9) |
2.5 (0.0) |
| RF () |
93.4 (0.5) |
98.5 (0.6) |
94.3 (0.6) |
94.5 (0.5) |
28.8 (0.8) |
2.4 (0.0) |
| RF (—) |
93.2 (0.2) |
98.5 (0.3) |
93.8 (0.6) |
94.1 (0.4) |
31.3 (0.5) |
2.5 (0.0) |
| GB () |
93.0 (0.5) |
98.3 (0.4) |
92.7 (0.6) |
93.6 (0.5) |
13.8 (0.5) |
2.5 (0.0) |
| GB () |
93.8 (0.4) |
98.9 (0.6) |
94.0 (0.4) |
94.4 (0.4) |
28.4 (0.8) |
2.5 (0.0) |
| AdaC2 [35] |
87.6 (—) |
— (—) |
88.9 (—) |
— (—) |
18.2 (—) |
— (—) |
| DIMLP [13] |
93.0 (0.6) |
95.8 (0.8) |
92.3 (1.1) |
94.5 (0.6) |
18.3 (0.6) |
2.9 (0.1) |
| RuleFit [33] |
— (—) |
— (—) |
93 (5) |
— (—) |
25 (3) |
— (—) |
| SR [13] |
— (—) |
— (—) |
88.4 (0.8) |
— (—) |
14.1 (0.9) |
3.0 (0.0) |
Table 6.
Average results provided by two CNN architectures with the MNIST dataset (ten trials). The first row designates the architecture described above and the second is a VGG architecture that was fine-tuned to this classification problem.
Table 6.
Average results provided by two CNN architectures with the MNIST dataset (ten trials). The first row designates the architecture described above and the second is a VGG architecture that was fine-tuned to this classification problem.
| Model |
Acc. |
Fid. |
Acc. R. (a) |
Acc. R. (b) |
Nb. R. |
Nb. Ant. |
| CNN-Small |
99.43 (0.06) |
96.43 (0.14) |
96.09 (0.16) |
99.58 (0.06) |
6082.1 (41.3) |
5.5 (0.0) |
| CNN-VGG |
99.47 (0.06) |
96.40 (0.20) |
96.10 (0.20) |
99.62 (0.04) |
6063.6 (33.6) |
5.6 (0.0) |
Table 7.
Average results provided of a CNN-VGG architecture on the FER dataset (ten trials). The results are related to a two-class problem: ’Happy’ versus ’Unhappy’.
Table 7.
Average results provided of a CNN-VGG architecture on the FER dataset (ten trials). The results are related to a two-class problem: ’Happy’ versus ’Unhappy’.
| Model |
Acc. |
Fid. |
Acc. R. (a) |
Acc. R. (b) |
Nb. R. |
Nb. Ant. |
| CNN-VGG |
90.81 (0.69) |
93.06 (0.67) |
86.21 (0.63) |
91.38 (0.93) |
6765.1 (72.4) |
4.4 (0.1) |
Table 8.
Average results of a CNN-VGG architecture on the Cracks dataset (ten trials). The results are related to a two-class problem: ’Cracks’ versus ’No-Cracks’.
Table 8.
Average results of a CNN-VGG architecture on the Cracks dataset (ten trials). The results are related to a two-class problem: ’Cracks’ versus ’No-Cracks’.
| Model |
Acc. |
Fid. |
Acc. R. (a) |
Acc. R. (b) |
Nb. R. |
Nb. Ant. |
| CNN-VGG |
99.86 (0.02) |
99.30 (0.11) |
99.21 (0.09) |
99.88 (0.02) |
1104.3 (37.7) |
14.2 (0.3) |