Abstract
In automated model-based diagnosis, a fundamental tension exists between the cost of computation (inference) and the cost of physical measurements (probing). Traditional diagnostic engines, such as GDE and Sherlock, typically perform exhaustive computation to identify all possible diagnoses before recommending a probe. This paper proposes a novel approach that dynamically interleaves computation and probing based on an empirical cost-benefit model. By treating CPU time as a finite resource, the algorithm achieves significant reductions in total diagnostic cost, particularly in scenarios where inference is computationally expensive.
Introduction
Model-based diagnosis aims to identify faulty components in complex systems by comparing observed behavior with model predictions. However, as system complexity grows, the number of potential fault combinations increases exponentially, leading to a "computational explosion." Traditional algorithms like the General Diagnostic Engine (GDE) attempt to find all consistent diagnoses to determine the mathematically optimal next probe.
This exhaustive approach overlooks three real-world realities: computation is not free, probing costs vary, and there are diminishing returns to finding additional, low-probability diagnoses. The authors argue for a principled tradeoff, where the system decides when to stop calculating and start measuring.
Methodology
The proposed algorithm builds upon the Sherlock framework, utilizing an Assumption-based Truth Maintenance System (ATMS) to find diagnoses in order of probability. The core innovation is a cost-benefit heuristic that evaluates two potential actions at each step:
- Compute: Spend additional CPU time to find the next most likely diagnosis.
- Probe: Perform a physical measurement based on the current set of known diagnoses.
The decision is guided by an empirical model showing that the "benefit" of finding an additional diagnosis—measured by the reduction in expected future probes—follows a decreasing exponential curve. The algorithm uses two exchange rates: the cost per probe ($e_p$) and the cost per second of inference ($e_s$). If the expected probe-saving value of a new diagnosis is less than the CPU cost to find it, the algorithm halts computation and suggests a probe.
Experimental Evaluation
The researchers evaluated the algorithm using standard ISCAS'85 benchmark circuits, including c880 (383 gates) and c432 (160 components). The results demonstrate that the algorithm dynamically adapts to the relative costs of inference and probing.
When probing is expensive, the algorithm behaves like traditional GDE, performing exhaustive computation. However, when computation is expensive, the benefits are substantial. For the c432 circuit, the new approach reduced the total diagnostic cost from 2904 to 966—a 3x improvement over the standard Sherlock approach.
Key Insights and Conclusion
A critical insight of this work is that probes act as "search-space cutters." A physical measurement does more than provide data; it effectively partitions the device, making subsequent consistency checks faster. Furthermore, the authors identified a "3-Diagnosis Rule," noting that the heuristic becomes reliable only after at least three diagnoses are identified.
While the current model assumes constant probe costs and fixed fault cardinality, it provides a robust framework for practical diagnosis. By moving away from "compute-everything-first" strategies, this research enables faster and more cost-effective troubleshooting in complex engineering systems.
Summary updated