Experience Learning in Model-Based Diagnostic Systems

Yoshiyuki KosekiIJCAI 1989

Introduction

Published in 1989, this research represents a pivotal moment in automated troubleshooting by bridging two historically competing approaches: heuristic-based systems and model-based systems. While heuristic systems are fast but brittle, model-based systems are robust but computationally expensive. This paper proposes a hybrid architecture that leverages first-principles modeling to handle novel failures while "learning" from those experiences to generate fast, heuristic rules for future use.

The Diagnostic Dilemma

In the late 1980s, automated diagnosis faced a significant trade-off. Heuristic systems, such as MYCIN, relied on expert-derived "if-then" rules. These systems were efficient but suffered from the knowledge acquisition bottleneck and could not handle scenarios outside the expert's initial scope. Conversely, model-based systems used structural descriptions of how a device should function to identify discrepancies. While robust, these systems were slow and often required excessive manual testing to isolate faults.

The proposed solution addresses the efficiency problem of model-based systems by enabling them to learn from their own reasoning process, effectively generating expert rules dynamically through experience.

Proposed Architecture

The system utilizes a dual-path architecture designed to balance efficiency and robustness.

The dual-path diagnostic architecture combining model-based and experience-based reasoning.
  1. Experience-Based Diagnostician: Upon encountering a symptom, the system first queries a "Justification Cache" for matching rules. If a match is found, a repair is suggested immediately, bypassing complex calculations.
  2. Model-Based Diagnostician: If the case is novel, the system falls back to first-principles. It employs "Resolution Residue"—a form of abductive reasoning—to identify components whose failure explains the observed symptoms.
  3. Residue Explanation-Based Generalization (REBG): This is the core innovation. Once a failure is identified via the model-based path, REBG analyzes the underlying "proof." It abstracts specific details (such as exact voltage values) to create a generalized rule, which is then stored in the cache.
  4. Test Pattern Generation: To further optimize the process, the system includes an algorithm to generate efficient tests that discriminate between multiple suspected components.

Evaluation and Test Circuits

The architecture was evaluated using several digital logic designs:

  • Full-adder circuit (SUM/COUT): A standard benchmark for logic-level diagnosis.
  • D74 circuit: A sum-of-products circuit.
  • Telephone Switching System (SW): A simplified model of a real-world communication system.
  • 7-segment decoder (7SEG): A complex circuit with reconvergent fanout points, which typically challenge diagnostic algorithms.

Key Results

The performance gains achieved through caching were significant. By measuring CPU time in milliseconds, the study demonstrated that the system naturally transforms from a pure model-based system into a high-performance heuristic system as it gains "field experience."

Performance comparison between model-based diagnosis and cached-rule execution.

As shown in the results, the speedup factors were dramatic, particularly for complex circuits. For the 7-segment decoder (7SEG), the diagnostic time dropped from 500 ms to just 10 ms—a 50x speedup. Qualitatively, the experience-based approach also reduced the number of tests required; in the switching system (SW) example, the system required only one test compared to the three needed by the model-based approach.

Conclusion

The hybrid approach ensures "soundness by design," as the learned rules are derived directly from the device's structural model rather than potentially inconsistent human input. While the current implementation assumes a single-fault model and faces potential "utility problems" as the cache grows, it provides a robust framework for incremental improvement in automated diagnosis. Future work aims to incorporate hierarchical design models to scale the system for modern, high-density integrated circuits.

Summary updated

BibTeX
@inproceedings{koseki1989experience,
  author = {Yoshiyuki Koseki},
  title = {{Experience Learning in Model-Based Diagnostic Systems}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
}
Figure