Papers › Learning local discrete features in explainable-by-design convolutional neural networks

Learning local discrete features in explainable-by-design convolutional neural networks

31 Oct 2024arXiv:2411.00139archive 2025-07-28

Pantelis I. Kaplanoglou, Konstantinos Diamantaras

Our proposed framework attempts to break the trade-off between performance and explainability by introducing an explainable-by-design convolutional neural network (CNN) based on the lateral inhibition mechanism. The ExplaiNet model consists of the predictor, that is a high-accuracy CNN with residual or dense skip connections, and the explainer probabilistic graph that expresses the spatial interactions of the network neurons. The value on each graph node is a local discrete feature (LDF) vector, a patch descriptor that represents the indices of antagonistic neurons ordered by the strength of their activations, which are learned with gradient descent. Using LDFs as sequences we can increase the conciseness of explanations by repurposing EXTREME, an EM-based sequence motif discovery method that is typically used in molecular biology. Having a discrete feature motif matrix for each one of intermediate image representations, instead of a continuous activation tensor, allows us to leverage the inherent explainability of Bayesian networks. By collecting observations and directly calculating probabilities, we can explain causal relationships between motifs of adjacent levels and attribute the model's output to global motifs. Moreover, experiments on various tiny image benchmark datasets confirm that our predictor ensures the same level of performance as the baseline architecture for a given count of parameters and/or layers. Our novel method shows promise to exceed this performance while providing an additional stream of explanations. In the solved MNIST classification task, it reaches a comparable to the state-of-the-art performance for single models, using standard training setup and 0.75 million parameters.

PaperPDFCode

Code

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Explainable Artificial Intelligence (XAI)Image ClassificationInterpretable Machine Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification CIFAR-10 R-ExplaiNet-26 Parameters 0.89 M #162 of 265 Archive leaderboard report
Image Classification CIFAR-10 R-ExplaiNet-26 Percentage correct 94.15 #162 of 265 Archive leaderboard report
Image Classification Fashion-MNIST R-ExplaiNet-26 Accuracy 93.45 #9 of 34 Archive leaderboard report
Image Classification Fashion-MNIST R-ExplaiNet-26 Percentage error 6.55 #9 of 34 Archive leaderboard report
Image Classification Fashion-MNIST R-ExplaiNet-26 Trainable Parameters 892362 #9 of 34 Archive leaderboard report
Image Classification Kuzushiji-MNIST R-ExplaiNet-26 Accuracy 98.78 #10 of 26 Archive leaderboard report
Image Classification Kuzushiji-MNIST R-ExplaiNet-26 Error 1.22 #10 of 26 Archive leaderboard report
Image Classification Kuzushiji-MNIST R-ExplaiNet-26 Trainable Parameters 892362 #10 of 26 Archive leaderboard report
Image Classification MNIST R-ExplaiNet-22 (single model) Accuracy 99.80 #6 of 81 Archive leaderboard report
Image Classification MNIST R-ExplaiNet-22 (single model) Percentage error 0.20 #6 of 81 Archive leaderboard report
Image Classification MNIST R-ExplaiNet-22 (single model) Trainable Parameters 743882 #6 of 81 Archive leaderboard report
Image Classification Oracle-MNIST R-ExplaiNet-26 Accuracy 96.93 #2 of 4 Archive leaderboard report
Image Classification Oracle-MNIST R-ExplaiNet-26 Trainable Parameters 892362 #2 of 4 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections