Hierarchical Diagnosis of Multiple Faults

Sajjad Ahmed Siddiqi, Jinbo HuangIJCAI 2007

Introduction

In the field of digital logic, diagnosis involves identifying specific malfunctioning gates within a circuit based on observed output errors. A prominent modern approach translates circuit logic into Decomposable Negation Normal Form (DNNF), which allows for linear-time fault identification. However, this method faces a "compilation bottleneck": gate-by-gate diagnosis requires a health variable for every gate, leading to an exponential increase in complexity for large circuits. Consequently, researchers have often been limited to diagnosing simple faults in small-scale models.

Methodology: Hierarchical Diagnosis (HDIAG)

To address the compilation bottleneck, this paper introduces HDIAG, a hierarchical "divide and conquer" strategy. The approach relies on two primary mechanisms: structural abstraction and recursive refinement.

Structural Abstraction via Cones

The core of HDIAG is the identification of "cones"—regions of a circuit where all internal paths converge at a single "dominator" gate. Instead of modeling every individual gate, HDIAG treats each cone as a single "black box" represented by one health variable. This drastically reduces the total number of variables the DNNF compiler must handle.

Hierarchical abstraction of a circuit into cones for diagnosis.

Recursive Refinement

The diagnostic process begins with a top-level diagnosis. If a cone is flagged as potentially faulty, the algorithm "zooms in" to diagnose the sub-circuit within that specific cone. This "lazy evaluation" ensures that computational resources are focused only on suspicious regions. The authors prove that this hierarchical approach maintains soundness and completeness, guaranteeing "minimum-cardinality diagnoses"—the smallest set of faulty gates that explain the observed errors.

Experimental Evaluation

The researchers evaluated HDIAG using the ISCAS-85 benchmark suite, testing circuits ranging from c432 (160 gates) to c2670 (1193 gates). HDIAG was compared against the HD05 baseline diagnoser.

Key Results

The experimental results demonstrate a significant leap in scalability and speed. HDIAG successfully diagnosed the c1908 and c2670 circuits, which the baseline HD05 failed to solve within a one-hour time limit.

Performance comparison of HDIAG and HD05 across ISCAS-85 benchmark circuits.

As shown in the table above, HDIAG reduced the number of health variables by 60% to 85%. On circuits where both tools were successful, HDIAG was substantially faster—for instance, achieving a 7.5x speedup on the c432 circuit and a 2x speedup on the c1355.

Discussion and Key Insights

The primary insight of this work is that variable reduction is the "silver bullet" for DNNF-based diagnosis. By leveraging the physical structure of the circuit to simplify its logical representation, the authors bypassed the memory and time constraints that hindered previous methods.

However, some limitations remain. The current focus is on minimum cardinality, which might overlook complex failure modes where many gates fail simultaneously in a way that mimics a simpler failure. Additionally, the method is currently limited to combinational circuits; extending this hierarchical approach to sequential circuits with feedback loops remains a significant challenge for the field.

Summary updated

BibTeX
@inproceedings{siddiqi2007hierarchical,
  author = {Sajjad Ahmed Siddiqi and Jinbo Huang},
  title = {{Hierarchical Diagnosis of Multiple Faults}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2007},
}
Figure