TL;DR
This paper introduces a novel algorithm that intelligently balances the computational cost of diagnosis with the cost of gathering new information (probing). By intermixing these two processes, the algorithm significantly reduces the overall diagnostic cost compared to traditional methods that prioritize one over the other. This is crucial for real-world applications where both computation time and the cost of physical tests are significant factors.
What Problem Does This Paper Address?
Diagnosing faults in complex systems (like electronic circuits) is a critical task. Traditionally, diagnostic systems aim to identify the root cause of a problem. Many existing approaches focus on either minimizing computation time (inference) or minimizing the number of physical tests (probes) needed. However, in practical scenarios, both computation and probing have associated costs. For instance, extensive computation might tie up valuable processing resources, while probing might involve expensive equipment, technician time, or even downtime for the system being diagnosed. The challenge is to find an optimal balance between these two costs to achieve the lowest total diagnostic expense. Existing algorithms often treat these costs separately or make ad-hoc decisions, leading to suboptimal overall performance.
Methods
The paper proposes a new algorithm that builds upon the GDE/Sherlock framework, a well-established model-based diagnosis system. The core innovation lies in intermixing computation and probing rather than performing them in separate phases (as shown in Figure 1 vs. Figure 2).
The algorithm operates by:
- Cost-Benefit Analysis: At each step, it performs a cost-benefit analysis to decide whether to perform another computation (inference) or a probe. This decision is based on empirically derived models for the costs and benefits of each action.
- Principled Decision Making: Unlike previous ad-hoc approaches, the algorithm makes this decision on a principled basis, aiming to minimize the total diagnostic cost.
- Heuristic for Candidate Generation Benefit: The paper acknowledges the difficulty in analytically determining the benefit of finding a new diagnostic candidate. They employ a heuristic formulation based on extensive experimentation, particularly observing how the diagnostic cost decreases with the number of diagnoses considered.
- Myopic Decision Strategy: The algorithm uses a "one-step lookahead" strategy, meaning it considers the immediate consequences of its next action (probe or compute) to make the optimal choice.
The algorithm is designed to be an "anytime algorithm," meaning it can be stopped at any point and provide a current list of valid diagnoses.
Datasets
The paper uses a set of logic devices described in [2] for analysis and experimentation. Specifically, they mention:
- Device c880: A large device with 383 gates and 880 test points.
- Device c432: A smaller device with 160 components and 432 test points.
These are standard benchmarks for evaluating diagnostic algorithms.
Key Insights and Ideas
- Intermixing is Key: The most significant insight is that interleaving computation and probing, rather than sequential execution, leads to a lower overall diagnostic cost. This is because probes can provide new information that makes subsequent computations cheaper.
- Cost-Benefit is Crucial: A principled cost-benefit analysis is essential for making optimal decisions about whether to probe or compute, especially when costs vary significantly.
- Probing Reduces Future Computation: Each probe effectively "splits" the device, simplifying subsequent tests and reducing the computational effort required to verify remaining diagnostic candidates.
- Heuristics are Necessary: Due to the complexity of analytically modeling diagnostic costs and benefits, empirical analysis and heuristics are valuable tools for developing practical algorithms.
- Myopic Strategy Can Be Effective: A simple, myopic decision strategy (one-step lookahead) can yield significant improvements in diagnostic cost, even without complex multi-step planning.
Key Results
The paper presents experimental results demonstrating the effectiveness of their algorithm:
- Significant Cost Reduction: For scenarios where computation is expensive (e.g.,
e_c = 1000), their algorithm performs significantly better than GDE/Sherlock, which does not account for computation costs. For device c880, the new cost was 3606 compared to GDE/Sherlock's 5554. - Adaptability to Cost Tradeoffs: The algorithm's performance adapts well to different cost tradeoffs between computation and probing. When probing is expensive, the algorithm makes fewer probes, and when computation is expensive, it leverages probing more effectively.
- Reduced Probe Count: The average number of probes used by the new algorithm varies depending on the cost tradeoff, indicating its adaptive nature. For device c880, this varied from 5.6 to 13.1 probes.
Limitations and Future Work
The authors acknowledge several limitations and suggest avenues for future research:
- Minimum Diagnosis Requirement: The algorithm requires at least 3 diagnoses to function. It needs to be extended to handle cases where probing is free and no initial computation is needed.
- Handling Fault Cardinality Changes: The algorithm needs to be adapted to scenarios where the number of possible fault cardinalities changes during diagnosis (e.g., moving from single faults to double faults).
- Varying Prior Probabilities: The current benefit model assumes nearly equal prior probabilities of component failures. It needs to be refined for situations with significantly varying prior probabilities.
- Varying Probe Costs: The algorithm assumes constant probe costs. Extending it to handle varying probe costs would be beneficial, especially if some probes are significantly more expensive than others.
- Constant
kAssumption: The benefit model assumes a constant number of diagnoses (k) considered. The algorithm's performance might be slightly overestimated asktypically decreases during diagnosis. - Negligible Term Assumption: The assumption that
f(p, s) - f(p + 1, s/2)is negligible needs more rigorous analysis and experimentation. - Suboptimal for High Variance: The current approximation for decision making might become suboptimal for devices with a wide variance in candidate computation times.
Summary updated