Introduction
In the late 1980s, expert systems faced a significant hurdle. Most were built using "shallow" rule-based shells—collections of "if-then" statements that lacked a deep understanding of the domains they modeled. These systems were difficult to maintain and struggled to provide meaningful explanations for their decisions. To address these issues, researchers at Tektronix developed Platypus, a reasoning engine designed for "Smart Instruments" that could handle both hardware configuration (synthesis) and fault diagnosis.
The Platypus Architecture
Platypus moves away from unstructured rules toward a "knowledge level" architecture. It integrates four distinct AI technologies into a single coherent engine to bridge the gap between logic programming and constraint satisfaction.
- Model-Based Knowledge Representation: Knowledge is organized into schemas (similar to frames or objects). A schema defines an entity’s parameters, components, and the constraints required for its existence.
- Rule Processor: To compose these models into a solution, Platypus employs a logic-based rule engine that uses backchaining to test hypotheses.
- Constraint Propagator: Using Hierarchical Arc Consistency, the propagator immediately prunes the search space as choices are made. For instance, selecting a specific motherboard instantly restricts the valid slots for peripheral cards.
- Truth Maintenance System (TMS): If an inconsistency is reached, the TMS enables dependency-directed backtracking. Instead of a blind restart, it identifies and undoes only the specific choices that caused the conflict.
Synthesis as Recognition
A core insight of Platypus is that synthesis (designing a system) and diagnosis (identifying a fault) are both forms of recognition. Whether recognizing a valid computer setup or a faulty circuit, the system maps input data onto a structural model of the world. This unified view allows a single architecture to handle diverse tasks.
The reasoning process is driven by a "positive feedback system" between search and constraint propagation.
In this loop, the rule processor generates hypotheses (search), which in turn generate new constraints. These constraints narrow the remaining search space, making the overall reasoning process significantly more efficient than raw logic alone.
Application: The Workstation Configurator
The system was evaluated using the Tektronix 4300-series workstation configurator. This knowledge base included physical and electrical specifications for cabinets, slots, and various circuit boards. Unlike previous shells, Platypus supported interactive retraction, allowing users to change requirements mid-process while the TMS handled the necessary updates. Furthermore, it provided semantic explanations based on physical constraints (e.g., explaining a rejection because a board requires a VME bus while only an LCB bus is available).
Limitations and Future Work
While successful, Platypus faced challenges. The constraint propagator ensures local consistency, but global consistency in large domains remains computationally expensive. Additionally, the initial version lacked robust handling for noisy sensor data or probabilistic reasoning. Future work aimed to incorporate more sophisticated preference modeling to better balance trade-offs like cost versus performance.
Summary updated