Modeling When Connections Are the Problem

Johan de KleerIJCAI 2007

Abstract

Traditional AI diagnostic tools often fail to account for "interconnection" faults, such as short circuits and open wires, due to oversimplified signal models and the combinatorial explosion of potential failure points. This paper introduces a veridical modeling approach that replaces binary signal abstractions with qualitative "causal drivers." By explicitly representing how components influence wire states, the proposed framework enables the diagnosis of complex structural failures in large-scale digital circuits in under a minute.

Introduction: The Blind Spot of Digital Logic

Most diagnostic models treat digital components as black boxes, assuming that wires are perfect conduits and signals are always a clean "0" or "1." However, real-world failures often involve wires breaking (opens) or accidentally touching (shorts). Modeling these is notoriously difficult. First, the number of possible shorts in a circuit with $N$ nodes grows at $O(N^2)$, making exhaustive testing impossible. Second, standard logic cannot explain "floating" wires or "contention" where two gates attempt to drive the same wire to different values.

Veridical Modeling and Causal Drivers

The core innovation of this research is a veridical modeling approach. Instead of assigning a single value to a node, the model uses $n+1$ variables: one for the sensed signal level and $n$ "driver variables" representing each component terminal connected to that node.

Causal modeling of a node N, distinguishing between driving signals and passive loads.

These drivers use five qualitative values to describe their influence:

  • $d(-\infty)$ / $d(+\infty)$: Direct shorts to ground or power.
  • $d(0)$ / $d(1)$: Active attempts to pull the signal to 0 or 1.
  • $d(R)$: A passive resistive load, typical for gate inputs.

A node model then determines the final signal level based on these drivers. For instance, a short to ground ($d(-\infty)$) overrides an active pull to power ($d(1)$). To find the most likely faults, the author employs a variant of the A* search algorithm integrated with the General Diagnostic Engine (GDE) framework.

Experimental Evaluation

The approach was evaluated using the ISCAS-85 benchmark suite, which includes standard combinational circuits ranging from simple interrupt controllers (c432) to 32-bit error-correcting circuits (c499) and 8-bit ALUs (c880).

A sample combinational circuit (similar to the c17 benchmark) used to evaluate diagnostic accuracy.

The system was tested on circuits containing up to 3,512 components. Key results include:

  • Efficiency: All benchmarks were diagnosed in less than one minute on a standard PC.
  • Search Pruning: In the c17 example, causal constraints reduced 66 possible two-node shorts to just 9 consistent candidates.
  • Diagnostic Precision: For the c880 circuit, node shorts accounted for only 8% of the total candidate diagnoses, demonstrating that the model does not over-predict interconnection failures.

Discussion and Future Work

By treating nodes as components that can fail into "shorted" or "open" modes, this framework integrates interconnection faults directly into model-based diagnosis. This "veridicality" allows the engine to distinguish between physically distinct failures that might produce the same "stuck-at" symptom in simpler models.

Current limitations include a lack of support for feedback loops, transient behaviors (race conditions), and high-resistance "bridge" faults. Future work aims to extend this qualitative reasoning to analog domains and fluid dynamics, where "leaks" in pipes mirror "shorts" in wires.

Summary updated

BibTeX
@inproceedings{kleer2007modeling,
  author = {Johan de Kleer},
  title = {{Modeling When Connections Are the Problem}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2007},
}
Figure