Link-Dependent Message Generation in XSEL

Karen KukichACL 1985

Introduction

In the mid-1980s, the field of Artificial Intelligence was dominated by expert systems—complex, rule-based programs designed to mimic human decision-making in specialized domains. One such system, XSEL (eXpert SELling assistant), was developed at Carnegie-Mellon University to assist sales representatives in configuring Digital Equipment Corporation (DEC) VAX computer systems. As these systems grew in complexity, often exceeding thousands of rules, a critical problem emerged: the "explanation gap." Users needed to understand why a system made a specific recommendation, but the systems lacked the linguistic sophistication to explain their reasoning in human-centric terms. Karen Kukich’s research into "link-dependent message generation" provided a seminal solution to this challenge.

The Explanation Dilemma: Canned Text vs. Execution Traces

Before Kukich’s work, expert system explanations typically fell into two unsatisfactory categories. The first was canned text, where developers pre-wrote responses for specific outcomes. While readable, these responses were brittle; any update to the underlying logic required a manual update to the text, leading to frequent inaccuracies. The second was the execution trace, a literal dump of the system’s internal logic (e.g., "Rule 402 fired because Variable X = 1"). While technically accurate, these traces were cluttered with "computer artifacts" that were incomprehensible to non-technical users like salespeople or customers.

Kukich sought a middle ground: explanations that were derived directly from the system's live state (ensuring accuracy) but presented through a domain-specific lens (ensuring relevance).

The core innovation of the XSEL explanation facility is the use of Links as intermediate knowledge structures. As XSEL processes its 3,000+ OPS5 rules, it populates working memory with "breadcrumbs" that track the dependencies between facts. Kukich categorized these into two types:

  1. Generic Links: These are simple, unnamed pointers indicating that Fact A was used to infer Fact B. While easy to generate automatically during the system's execution, they only support vague explanations (e.g., "Requirement X depends on Data Y").
  2. Relational Links: These are richer, named structures that define the nature of the relationship between facts—such as "sum," "product," "satisfaction," or "allocation." By identifying that Fact B is the sum of Fact A and Fact C, the system can generate much more natural explanations.

From Logic to Language: Message-Based Generation

To transform these links into coherent English, the system employs a message-based generator driven by Schemas. Drawing on discourse analysis, these schemas act as high-level templates that govern how information is prioritized and sequenced.

A key feature of this generation process is the "80 percent factor" for arithmetic schemas. To prevent information overload, the system filters out "noise"—minor contributors to a total—and focuses only on the major factors that account for the bulk of a value. Furthermore, the system allows for multi-level depth; users can issue "explain more" commands to traverse the link tree deeper, moving from high-level summaries down to the raw data provided by the user or the DEC parts database.

Key Insights and Results

The XSEL project demonstrated several vital principles for the development of explainable AI:

  • The Shared Knowledge Principle: By using a single representation of knowledge to drive both the task performance and the explanation, the system ensures that its justifications never diverge from its actual logic.
  • Abstraction Trade-offs: While generic links are computationally "cheap," relational links are necessary for "expert-like" communication.
  • Functional Explanations: The system successfully generated three distinct types of justifications: Why-choice (comparing hardware candidates), Why-fact (explaining derived requirements like disk space), and Why-line-item (justifying specific quantities on a purchase order).

Qualitative assessments showed that relational explanations were significantly more readable than generic dependency lists, proving that the type of relationship is as critical to understanding as the relationship itself.

Limitations and Legacy

Despite its success, the system faced scalability challenges. While arithmetic links could be automated, more abstract relational links (like "satisfaction") required manual tagging by developers. Additionally, the initial system relied on a limited vocabulary of 26 reasoning relations; expanding this to cover the full breadth of human-like reasoning would require a significantly larger set of linguistic schemas.

Nevertheless, Kukich’s work on XSEL remains a foundational study in natural language generation and explainable AI, highlighting the necessity of structured intermediate representations to bridge the gap between machine logic and human understanding.

Summary updated

BibTeX
@inproceedings{kukich1985link,
  author = {Karen Kukich},
  title = {{Link-Dependent Message Generation in XSEL}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1985},
  doi = {10.3115/981210.981238},
}
Figure