Explanation Ontology: A Model of Explanations for User-Centered AI

Shruthi Chari, Oshani Seneviratne, Daniel M. Gruen, Morgan A. Foreman, Amar K. Das, Deborah L. McGuinnessarXiv 2020

Here is a concise, blog-style summary of the paper "Explanation Ontology: A Model of Explanations for User-Centered AI".

TL;DR

This paper introduces the Explanation Ontology (EO), a semantic framework that treats explainability as a core, first-class citizen in AI system design rather than a post-hoc afterthought. By mapping diverse user questions to specific explanation types and underlying AI capabilities, EO helps system designers build context-aware, user-centered explainable AI systems, particularly for high-stakes domains like healthcare.

What Problem Does This Paper Address?

While Explainable AI (XAI) is booming, current approaches suffer from a major limitation: they are heavily focused on model transparency and interpretability (e.g., showing feature weights in a black-box machine learning model). However, real users—like doctors making critical clinical decisions—rarely just want to see raw feature relevance. They ask diverse, nuanced questions: "Why choose drug B over drug A?" (contrastive), "What if the patient's glucose was higher?" (counterfactual), or "What studies back this up?" (scientific).

Currently, there is a lack of structured, machine-readable frameworks to help system designers map these varied user needs to the specific AI tasks and knowledge sources required to generate them. Explanations are usually tacked onto AI systems in an ad-hoc manner, failing to account for the user's specific context, background knowledge, and goals.

Methods

The authors developed the Explanation Ontology (EO) using a hybrid engineering approach:

  1. Bottom-Up Literature Review: They synthesized definitions for 9 distinct explanation types found across AI and "explanation sciences" (philosophy, cognitive science, sociology).
  2. Top-Down Clinical Requirements: They refined the ontology by analyzing how clinicians actually use explanations during a user-centered design study for a diabetes management decision-support system.

EO is built on top of existing semantic web standards, specifically Tiddi et al.’s explanation Ontology Design Pattern (ODP) and the SemanticScience Integrated Ontology (SIO).

Fig. 1. A conceptual overview of our explanation ontology, capturing attributes of explanations to allow them to be assembled by an AI Task, used in a system interacting with a user. We depict user-attributes of explanations in the upper portion (green highlight), system-attributes in the lower portion (blue highlight), and attributes that would be visible in a user interface are depicted in the middle portion in purple.

As shown in Figure 1, the ontology acts as a bridge between three layers:

  • User Layer: Captures the user's situation, preferences, and the specific question they are asking.
  • Interface Layer: Manages the explanation modality and the system's recommendation.
  • System Layer: Maps the explanation to the specific AI Task (e.g., deductive, inductive reasoning), AI Method (e.g., decision trees, clustering), and available Knowledge sources.

Crucially, the authors formalized the "sufficiency conditions" for each explanation type using Web Ontology Language (OWL) restrictions, creating a machine-readable recipe for how each explanation type can be computationally assembled.

Datasets

Because this paper focuses on ontology engineering rather than training a machine learning model, traditional training datasets were not used. Instead, the ontology was informed and evaluated using qualitative data from a prior user-centered design study consisting of:

  • An expert panel session with three diabetes specialists evaluating guideline-based recommendations.
  • Cognitive walk-throughs of a prototype AI system to observe clinical reasoning strategies.

Key Insights and Ideas

  • Explainability is Multi-Faceted: One size does not fit all. A system must support multiple explanation strategies simultaneously to be truly useful.
  • The Power of "Clinical Pearls": The authors found that clinicians require "everyday" and "contextual" explanations more than half the time, often relying on experiential knowledge ("clinical pearls") rather than raw data traces.
  • Ontologies as System Blueprints: Instead of hardcoding explanation logic or relying on messy documentation lookups, designers can use EO as a "slot-filling" architecture. The ontology dynamically tells the system what data, reasoning mode, and AI methods are required to answer a specific type of user query.

Key Results

The primary output of this work is the formalized ontology itself, which successfully categorizes and defines sufficiency conditions for 9 literature-derived explanation types:

Table 2. An overview of explanation types against simplified descriptions of their literature-synthesized definitions, and natural language descriptions of sufficiency con- ditions. Within the explanation type description we also include a general prototypical question that can be addressed by each explanation type. Further, within the sufficiency conditions, we highlight ontology classes using single quotes and italics.

The authors evaluated EO using a series of Competency Questions (CQs) to prove its utility for system designers. Using SPARQL queries (such as the one shown in the paper to extract the components of a "scientific explanation"), they demonstrated that the ontology can successfully guide a system in real-time to determine:

  1. Which AI model is capable of generating a specific explanation.
  2. What components must be built into the system to satisfy a user's query.
  3. Which explanation type best suits a dynamic user question based on current system and user attributes.

The artifacts are publicly available as an open-source resource under the Apache 2.0 license on GitHub.

Limitations and Future Work

While EO provides the structural blueprint for user-centered explanations, it has a few notable limitations:

  • No Natural Language Generation (NLG): The ontology defines the structural "slots" and data dependencies needed for an explanation, but it does not actually generate the final natural language text or visual interface shown to the user.
  • Domain-Specific Gaps: To represent highly granular data (like specific patient vitals or drug interactions), EO must be paired with domain-specific medical ontologies, which the authors note as an area for future integration.

Next Steps: The authors plan to build a middleware framework that acts as an automated service. This framework will take a user's question and context, use the ontology's sufficiency conditions to automatically select the best explanation type, and summon the appropriate hybrid AI reasoners to generate it on the fly.

Summary updated

BibTeX
@misc{chari2020explanation,
  author = {Shruthi Chari and Oshani Seneviratne and Daniel M. Gruen and Morgan A. Foreman and Amar K. Das and Deborah L. McGuinness},
  title = {{Explanation Ontology: A Model of Explanations for User-Centered AI}},
  year = {2020},
  eprint = {2010.01479},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.01479},
}
Figure