Organizations: Univ. Artois, CNRS Centre de Recherche en Informatique de Lens (CRIL), France · Université Sorbonne Paris Nord, CNRS Laboratoire d’Informatique de Paris Nord (LIPN), UMR 7030, France
Interpreting the predictions of complex black-box classifiers remains a central challenge in explainable artificial intelligence. While local explanations clarify individual predictions, there is a significant need for global probabilistic explanations that capture a model's overall behavior across the input distribution. Such an explanation is a small subset K of features, whose relevance is measured by the expected probability, over a random input x, that the classifier assigns the same label to x and to a random input agreeing with x on K. In this study, we investigate the task of identifying maximally relevant global explanations under a cardinality constraint, focusing on product distributions with full support on discrete feature spaces. We introduce a spectral explainer that leverages membership queries to the black-box classifier and employs Fourier-analytic, junta-learning methods to produce probably approximately correct (PAC) explanations. Our algorithm is fixed-parameter tractable with respect to the explanation size limit, maximum feature cardinality, and desired accuracy. Experiments on synthetic and real-world datasets confirm the theoretical guarantees and show that the spectral explainer outperforms a greedy baseline as the explanation size increases.
Figures & tables
Figure 1: Synthetic targets ( d=16 ); bars show the range over runs. (a) errf,D(K) against k , with opt=0 . (b) errf,D(K)−opt against ϵ , with the bound ϵ (dashed). (c) Membership queries against ϵ , with the value (2d+1)bn of the analysis (dashed).
Sweep
2d+1
n∝c2k
b
Q (observed)
d : 8→128 ( k=3 , c=2 )
×15.1
×1
×1.20
×18.1
k : k→k+1 ( d=16 , c=2 )
×1
×4
×1.04 to ×1.06
×4.2
c : 2→6 ( d=16 , k=2 )
×1
×81
×1.24
×101
Table 1: Growth of the number of queries Q=(2d+1)bn of SE along three sweeps on hidden parities ( ϵ=0.35 , δ=0.1 ): the observed factor is the product of the three predicted ones.
opt reached
errf,D(K) at k=5
Dataset
d
Acc.
SE
GE
SE
GE
opt
Time (s)
Breast Cancer (WI)
8
0.98
30/30
25/30
0.080
0.080±0.000
0.080
244
Tic-Tac-Toe
9
0.94
30/30
21/30
0.249
0.254±0.007
0.249
397
COMPAS
13
0.62
30/30
26/30
0.110
0.112±0.003
0.110
949
Mushroom
20
1.00
24/30
17/30
0.183
0.185±0.003
0.183
1998
Credit-G
20
0.70
24/30
21/30
0.217
0.221±0.004
0.217
2464
Table 2: Real-world benchmarks ( ϵ=0.35 , δ=0.1 ). “ opt reached”: runs with errf,D(K)=opt , over k∈{1,…,5} and 6 runs. SE returned the same explanation in all runs, hence a single value. Time: one run of SE at k=5 . Acc.: test accuracy of f . All nine datasets are reported in Appendix B .
checking status = no checking, duration >18 , savings <100
0.247
Table 3: Explanations returned by SE at k=3 , all optimal and identical across runs. Each feature is denoted by the binary test that defines it; the explanation partitions Ω into the 23=8 regions defined by the outcomes of its three tests. The other four datasets are in Appendix B.4 .
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 2: Failure frequency of SE against δ on the noisy parity ( d=16 , k=3 , ϵ=0.35 ), with 95% Wilson intervals over 100 runs, and the bound δ (dashed).
Figure 3: Cost of SE on hidden parities. Left: membership queries of SE and GE , with the value (2d+1)bn of the analysis (dashed). Right: number of estimations performed by IKM, with the bound N=8dc/θ2 (dashed). Both axes of the d -sweep are logarithmic.
Attributes
Accuracy of f
ID
Dataset
Instances
Raw
Cat.
Num.
Dropped
Train
Test
37
Pima Indians Diabetes
768
8
0
8
0
0.76
0.69
15
Breast Cancer (WI)
699
9
0
8
1
0.96
0.98
50
Tic-Tac-Toe
958
9
9
0
0
0.98
0.94
43,672
Heart Disease
1,190
11
0
11
0
0.86
0.79
179
Adult
48,842
14
9
2
3
0.83
0.83
Appendix
Table 4: Real-world benchmarks. Raw: attributes of the OpenML dataset; Cat./Num.: categorical and numerical attributes kept; Dropped: attributes removed because of missing values or a constant value. The binary dimension is d=Cat.+Num.
opt reached
errf,D(K) at k=5
Dataset
d
Acc.
SE
GE
SE
GE
opt
Time (s)
Pima Indians Diabetes
8
0.69
30/30
30/30
0.075
0.075±0.000
0.075
248
Breast Cancer (WI)
8
0.98
30/30
25/30
0.080
0.080±0.000
0.080
244
Tic-Tac-Toe
9
0.94
30/30
21/30
0.249
0.254±0.007
0.249
397
Heart Disease
11
0.79
30/30
28/30
0.176
0.176±0.000
0.176
722
Adult
11
0.83
30/30
30/30
0.076
0.076±0.000
0.076
580
Appendix
Table 5: All real-world benchmarks ( ϵ=0.35 , δ=0.1 ); columns as in Table 2 .
Dataset
Explanation K returned by SE ( k=3 )
errf,D(K)
Pima Indians Diabetes
plasma glucose >117 , body mass index >32 , age >29
education-num >10 , marital status = married-civ-spouse, capital gain =0
0.124
COMPAS
age >31 , priors count >2 , age category = less than 25
0.138
Appendix
Table 6: Explanations returned by SE at k=3 , all equal to the optimum. Each feature is denoted by the binary test that defines its binarized attribute. An explanation is a set of features, not a conjunction of literals: it partitions Ω into the 23=8 regions defined by the outcomes of its three tests.
Figure 4: errf,D(K) against k on the real-world benchmarks, with opt (dotted). Bars show the range over 6 runs.