Towards Automating Explanations

TL;DR

This paper introduces CADHELP, a graphics-based CAD system that can explain its own operation to users. It tackles the challenge of generating natural-sounding explanations by modeling expert knowledge as "feature scripts" and employing a novel "sketchification" strategy to selectively omit details the user can infer. This approach aims to make complex systems more accessible by automating the generation of context-sensitive, human-like explanations.

What Problem Does This Paper Address?

Explaining how a complex system works, especially an interactive one like a Computer-Aided Design (CAD) tool, is a crucial but poorly understood aspect of intelligent behavior. Traditional systems often rely on static, pre-canned help messages that lack adaptability. The authors identify a gap in systems that can dynamically generate explanations tailored to the user's current understanding and context. This is particularly challenging for interactive systems where the explanation needs to be integrated with the user's ongoing actions and the system's responses. The paper aims to bridge this gap by developing a system that can explain its own graphical features, including common errors and recovery procedures, in a way that mimics an expert demonstrating the tool.

Methods

The core of CADHELP's approach lies in its knowledge representation and explanation generation strategies:

  • Knowledge Representation: Expert knowledge about graphical features is encoded in "feature scripts." These scripts are built using "situational scripts" and "commonsense algorithmic methods," representing a knowledge structure of interconnected declarations (propositions or assertions). The fundamental units are "conceptualizations," linked by causal chains. This representation is designed to be language-free, allowing for multiple paraphrases.
  • Sketchification Strategies: This is the paper's key novel contribution. Instead of generating a complete description, CADHELP employs "sketchification" – a process of deciding what not to say. This is based on the idea that a listener can infer certain information. Three levels of sketchification are used:
  • KS-Summarization Level: Summarizes previously explained features.
  • User-Phenomenological Level: Explains in terms of user actions and visible system responses, often used for "normal" operation and prompts.
  • User/System Conversational Level: Provides the most detail, explaining the give-and-take between user and system, crucial for error and recovery explanations.
  • Natural Language Generation (NLG): The system uses a generator called CGEN, which takes a conceptual representation (a conceptualization that has survived sketchification) and maps it into an English string. CGEN uses a "short term memory" (C-LIST) and a dictionary with "positional constraints" to assemble sentences. The generation process is described as an "exhaustive" algorithm restrained by sketchifying rules.

Datasets

Not discussed in the paper. The system is demonstrated with examples of its own generated output rather than being evaluated on external datasets.

Key Insights and Ideas

  • Explanation as Selective Omission: The most significant insight is that effective explanations are not about providing all information, but about strategically omitting details that the user can infer. This "sketchification" process makes explanations more concise and natural, mimicking how human experts communicate.
  • Context-Sensitive Explanations: CADHELP's ability to tailor explanations based on what the user already knows (from previous interactions) and the current context is a major step towards more intelligent help systems.
  • Unified Knowledge Representation: Using a single knowledge structure (feature scripts) to drive both textual explanations and pictorial displays is an efficient design choice.
  • Mimicking Expert Demonstration: The system aims to simulate an expert demonstrating the tool, which is a more intuitive way for users to learn than reading manuals.

Key Results

The paper primarily presents qualitative results through detailed examples of CADHELP's generated explanations at different levels of detail ("summary," "normal operation," and "errors"). The examples demonstrate how the system can:

  • Generate step-by-step instructions for features like "dragging" objects.
  • Describe common errors and how to recover from them.
  • Vary the level of detail in explanations, from high-level summaries to more granular descriptions, based on the chosen explanation strategy.
  • Produce natural-sounding English by applying sketchification rules to a conceptual representation.

Quantitative results (e.g., accuracy, speed) are not the focus of this paper.

Limitations and Future Work

  • Limited Natural Language Understanding: CADHELP cannot understand natural language input, meaning it cannot engage in mixed-initiative dialogue. The user must explicitly select the feature to be explained.
  • Pre-stored Pictorial Display: While the textual explanation is generated dynamically, the pictorial component of the explanation is pre-stored in the current implementation.
  • Future Work: The authors suggest that the research into sketchification and natural language generation is a step towards building more intelligent CAI systems. The focus on the generative component of explanations is seen as a critical area for future research in AI. The paper also hints at the potential for integrating more sophisticated natural language understanding to enable true mixed-initiative dialogue.

Summary updated

BibTeX
@inproceedings{1981towards,
  title = {{Towards Automating Explanations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1981},
}
Figure