A Problem Space Approach to Expert System Specification

Gregg Yost, Allen NewellIJCAI 1989

Abstract

Building expert systems often involves a difficult "operationalization" process where knowledge engineers translate domain expertise into executable code. This paper proposes the Problem Space Computational Model (PSCM) and the Task Acquisition Language (TAQL) to streamline this process. By aligning the computational architecture with natural human task descriptions, the authors demonstrate that expert system specification can be transformed from a creative struggle into a routine mapping task.

Introduction: The Operationalization Gap

The primary challenge in building expert systems is the "conceptual mismatch" between how a domain expert thinks about a task and how a computer processes rules. Traditionally, a knowledge engineer must bridge this gap by inventing complex global control structures and method designs to make the system work.

The operationalization process, illustrating the role of the knowledge engineer in mapping domain expertise to a computational language like TAQL.

Yost and Newell argue that this difficulty is not inherent to the knowledge itself but to the lack of a computational model that mirrors human problem-solving. They propose moving away from low-level rule design toward a high-level problem space approach where behavior emerges dynamically from localized decisions.

Methods: PSCM and TAQL

The authors introduce two key components to bridge the conceptual gap:

  1. Problem Space Computational Model (PSCM): An abstraction of the Soar architecture that organizes knowledge into problem spaces. Goals are achieved by reaching desired states through the application of operators. Unlike traditional programming, PSCM doesn't require a predefined global control structure.
  2. Task Acquisition Language (TAQL): A high-level specification language that allows engineers to define PSCM components. These "constructs" are then automatically compiled into low-level Soar productions (rules).

The Operationalization Process

The transition from natural language to executable code is reduced to three routine functions:

  • Identification: Labeling segments of the task description as specific PSCM components (e.g., identifying a sentence as an operator proposal).
  • Representation: Mapping domain objects into structured attribute/value pairs.
  • Communication: Defining the flow of information between problem spaces and operators.
A detailed example of the operationalization process: identifying components in English text, representing them as structures, and communicating them in TAQL.

Evaluation: The R1-TAQL Case Study

The approach was evaluated using the unibus-configuration subtask of the R1/XCON expert system, a real-world system used for configuring VAX computers. The authors compared a version written in TAQL (R1-TAQL) against a version previously hand-coded in Soar (R1-Soar).

The results showed significant improvements in development efficiency and code conciseness:

  • Code Volume: R1-TAQL required only 153 constructs (compiling to 352 productions), whereas the original R1-Soar required 337 hand-coded productions.
  • Description Length: Measured by "word count" (the smallest units of meaning), R1-TAQL was only 26% the size of R1-Soar (5,774 words vs. 21,752 words).
  • Routine Mapping: The study confirmed that the three-step process (Identify, Represent, Communicate) was sufficient to build a complex, real-world system without requiring "creative" programming or complex method design.

Discussion and Future Work

While the PSCM/TAQL framework significantly simplifies expert system development, it still requires a human knowledge engineer to perform the initial mapping. Fully automating this process is currently limited by the state of natural language processing, as systems cannot yet fully "comprehend" task descriptions.

Future work involves scaling this approach to larger, more diverse tasks and developing software tools to guide knowledge engineers through the identification and representation phases. By reducing the intellectual burden of software mechanics, the authors move closer to making expert system creation a routine engineering discipline.

Summary updated

BibTeX
@inproceedings{yost1989problem,
  author = {Gregg Yost and Allen Newell},
  title = {{A Problem Space Approach to Expert System Specification}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
}
Figure