Skip to main content
QUICK REVIEW

[Paper Review] Explaining Trained Neural Networks with Semantic Web Technologies: First Steps

Md Kamruzzaman Sarker, Ning Xie|arXiv (Cornell University)|Oct 11, 2017
Anomaly Detection Techniques and ApplicationsComputer Science13 references28 citations
TL;DR

This paper proposes a novel approach to explain trained neural networks by integrating structured Semantic Web knowledge (e.g., RDF/OWL ontologies) to generate human-understandable, non-propositional explanations. Using tools like DL-Learner and background knowledge from SUMO, it generates logical concept descriptions (e.g., 'contains a body of water') that explain image classifications, demonstrating feasibility through preliminary experiments on warehouse, market, and mountain image datasets.

ABSTRACT

The ever increasing prevalence of publicly available structured data on the World Wide Web enables new applications in a variety of domains. In this paper, we provide a conceptual approach that leverages such data in order to explain the input-output behavior of trained artificial neural networks. We apply existing Semantic Web technologies in order to provide an experimental proof of concept.

Motivation & Objective

  • To address the lack of human-interpretable explanations in black-box neural networks, especially in safety-critical applications.
  • To move beyond propositional rule extraction by leveraging non-propositional, semantic knowledge from RDF/OWL ontologies.
  • To integrate external structured knowledge (e.g., SUMO, Wikidata) to simplify and enrich explanations of neural network behavior.
  • To explore the use of semantic background knowledge for explaining both input-output mappings and internal neuron activations.
  • To establish a conceptual and experimental foundation for neural-symbolic integration using Semantic Web technologies.

Proposed method

  • Leverage existing Semantic Web technologies, including RDF for knowledge representation and OWL for ontological modeling, to encode background knowledge.
  • Use the DL-Learner tool to automatically induce logical concept descriptions (in description logic) from training data and background knowledge.
  • Map input features (e.g., image objects detected via object recognition) to concepts in a formal ontology like SUMO.
  • Formulate explanations as logical expressions (e.g., ∃contains.BodyOfWater) that describe the semantic conditions leading to a classification.
  • Apply the method to image classification tasks by using positive and negative image examples to train the explanation generator.
  • Use ontological hierarchies (e.g., 'oak' and 'maple' as subclasses of 'tree') to generalize and simplify explanations.

Experimental results

Research questions

  • RQ1Can structured Semantic Web knowledge improve the interpretability of neural network predictions beyond propositional rule extraction?
  • RQ2How can non-propositional, concept-based explanations (e.g., 'contains a body of water') be automatically generated from neural network inputs?
  • RQ3To what extent does background knowledge from ontologies like SUMO enable more concise and meaningful explanations?
  • RQ4Can human monitors use these explanations to detect and correct model misclassifications, such as missing key visual features?
  • RQ5How does the choice of background knowledge affect the quality and accuracy of the generated explanations?

Key findings

  • The approach successfully generated semantically meaningful explanations such as 'contains a body of water' for mountain images, which aligned with visual content.
  • Explanations like 'contains neither furniture nor industrial supply' correctly distinguished workrooms from warehouses, even when object detection was incomplete.
  • The system identified that a forklift driver in a warehouse image was missed by the model, suggesting potential for human-in-the-loop correction.
  • The use of ontological generalizations (e.g., 'tree' as superclass of 'oak' and 'maple') reduced explanation complexity, supporting the hypothesis that background knowledge simplifies explanations.
  • In experiments, explanations were consistent with visual features (e.g., presence of rivers/lakes in mountain images), validating the method’s alignment with input data.
  • The method demonstrated feasibility in generating non-propositional, human-readable explanations using existing Semantic Web stacks and tools like DL-Learner.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.