mlsanityData to 7 Oct 2026

Using Logic Programming and Kernel-Grouping for Improving Interpretability of Convolutional Neural Networks

arXiv 2310.13073 ↗First posted 19 Oct 2023cs.LG cs.CVcited by 4

Not on the map. Why?

Abstract (arXiv)

Within the realm of deep learning, the interpretability of Convolutional Neural Networks (CNNs), particularly in the context of image classification tasks, remains a formidable challenge. To this end we present a neurosymbolic framework, NeSyFOLD-G that generates a symbolic rule-set using the last layer kernels of the CNN to make its underlying knowledge interpretable. What makes NeSyFOLD-G different from other similar frameworks is that we first find groups of similar kernels in the CNN (kernel-grouping) using the cosine-similarity between the feature maps generated by various kernels. Once such kernel groups are found, we binarize each kernel group's output in the CNN and use it to generate a binarization table which serves as input data to FOLD-SE-M which is a Rule Based Machine Learning (RBML) algorithm. FOLD-SE-M then generates a rule-set that can be used to make predictions. We present a novel kernel grouping algorithm and show that grouping similar kernels leads to a significant reduction in the size of the rule-set generated by FOLD-SE-M, consequently, improving the interpretability. This rule-set symbolically encapsulates the connectionist knowledge of the trained CNN. The rule-set can be viewed as a normal logic program wherein each predicate's truth value depends on a kernel group in the CNN. Each predicate in the rule-set is mapped to a concept using a few semantic segmentation masks of the images used for training, to make it human-understandable. The last layers of the CNN can then be replaced by this rule-set to obtain the NeSy-G model which can then be used for the image classification task. The goal directed ASP system s(CASP) can be used to obtain the justification of any prediction made using the NeSy-G model. We also propose a novel algorithm for labeling each predicate in the rule-set with the semantic concept(s) that its corresponding kernel group represents.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 21 of its 38 references that are in the map. First posted on arXiv 19 Oct 2023.

Builds on

21 of 38 references.

References · 21

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  3. 2015Learning Deep Features for Discriminative Localizationcited by 2,430
  4. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  5. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  6. 2018This Looks Like That: Deep Learning for Interpretable Image Recognitioncited by 731
  7. 2017Learning Explanatory Rules from Noisy Datacited by 210
  8. 2023NeurASP: Embracing Neural Networks into Answer Set Programmingcited by 92
  9. 2014Extraction of Salient Sentences from Labelled Documentscited by 50
  10. 2017Interpreting CNN Knowledge via an Explanatory Graphcited by 49
  11. 2018Constraint Answer Set Programming without Groundingcited by 38
  12. 2021Neuro-Symbolic Inductive Logic Programming with Logical Neural Networkscited by 36
9 more
  1. 2020The ILASP system for Inductive Learning of Answer Set Programscited by 27
  2. 2021Differentiable Inductive Logic Programming for Structured Examplescited by 26
  3. 2022FOLD-SE: An Efficient Rule-based Machine Learning Algorithm with Scalable Explainabilitycited by 15
  4. 2017Embedding Deep Networks into Visual Explanationscited by 12
  5. 2022Explaining Deep Convolutional Neural Networks via Latent Visual-Semantic Filter Attentioncited by 11
  6. 2016Growing Interpretable Part Graphs on ConvNets via Multi-Shot Learningcited by 10
  7. 2020ERIC: Extracting Relations Inferred from Convolutionscited by 5
  8. 2017Relating Input Concepts to Convolutional Neural Network Decisionscited by 2
  9. 2023NeSyFOLD: Neurosymbolic Framework for Interpretable Image Classificationcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 1; 2026: 1.

4 papers.