When a digital circuit with thousands of gates has dozens of faults at once, many different sets of broken gates can explain what we observe. The fastest current diagnosers translate the circuit into a weighted satisfiability problem. In this formulation, each "this gate is healthy" assumption is a constraint the solver may violate at a cost, and the solver looks for the cheapest set of violations. Before solving, these diagnosers shrink the problem with circuit-structure tricks. They then return minimal diagnoses one at a time, adding a "not this one again" constraint after each. That answer format is a flat list, and it is exactly the format that older diagnosis research showed to blow up exponentially. This proposal targets a different question: what if the solver's answer were a product of small independent pieces instead of a list?
The idea is simple to state. After structural preprocessing has fixed some gates as healthy and frozen others at known output values, the constraints that remain often fall apart into groups of gates that do not interact. In that case, every globally minimal diagnosis is just one choice from each group. We propose to detect this split automatically, solve each group separately, and return the full set of minimal diagnoses as a Cartesian product of per-group answer sets. The cost of enumerating all diagnoses would then grow with the sum of the group sizes rather than their product. Where groups are joined by a few shared gates, we condition on those gates and return a short union of products.
Core Claim
The claim connects two research directions. The first is compact diagnosis representation, which encodes huge sets of candidate explanations in small structures. The second is the observation that working prototypes often leave large, unmeasured efficiency gaps. In the strongest current diagnosers, that gap is no longer in the search for one diagnosis. It sits in how the full answer set is represented and enumerated.
The compact representation we reuse dates from medical diagnosis. The generalized set-covering model of A New Inference Method for Frame-Based Expert Systems stores a differential diagnosis as Cartesian products of independent alternative-cause sets, called generators. Wu's symptom clustering (Efficient Diagnosis of Multiple Disorders Based on a Symptom Clustering Approach) showed the payoff. On INTERNIST-1/QMR cases where ordinary candidate generation did not finish in 27.8 hours, clustering finished in about 161 seconds. Domain Structure and the Complexity of Diagnostic Problem Solving attributed this to "lumpy" domain structure. These papers motivate our proposal, but they only cover shallow two-layer disease–symptom graphs.
The structural optimizations come from circuit diagnosis. Efficient Model Based Diagnosis with Maximum Satisfiability introduced dominator-oriented encoding. It assumes gates dominated by another gate are healthy, propagates constants to find gates whose outputs are fixed (called backbones), and drops gates whose outputs are blocked from every observed point. Two Compacted Models for Efficient Model-Based Diagnosis added two models. CMMO shares the unchanged parts of the circuit's logic cones across multiple observations. D-CMMO adds gate dominance on top and computes "top-level" diagnoses. Both papers supply the preprocessing we reuse. Both still hand a single monolithic problem to the solver and enumerate answers point by point.
Our claim rests on one exact statement. Suppose that after preprocessing, the remaining constraints over gate-health variables split into variable-disjoint blocks $B_1,\dots,B_m$. Let $D^*_i$ be the set of minimum-cardinality diagnoses of block $i$ alone. Then the set $D^*$ of globally minimum-cardinality diagnoses satisfies
$$D^* = D^*_1 \times \cdots \times D^*_m, \qquad |D^*| = \prod_i |D^*_i|, \qquad \min|d| = \sum_i \min|d_i|.$$
This holds because the cardinality objective is a sum over blocks and the constraints share no variables. The rest of the proposal is empirical. It tests whether real preprocessed instances actually split this way, and whether exploiting the split matters when 20 to 50 faults are injected.
Research Program
The first component is a decomposition pass inserted after preprocessing. We start from the dominator, backbone and edge-blocking pipeline, plus the CMMO cone sharing when there are multiple observations. We then build a graph whose nodes are the remaining soft health variables, with an edge between two variables whenever they appear together in a remaining hard clause, after auxiliary wire variables have been projected out. We compute its connected components. Each component is solved independently by the same MaxSAT solver. The solver first finds the block's minimum fault count, then enumerates that block's minimum diagnoses. The output is a list of per-block answer sets, which is a generator in the sense of the frame-based expert systems paper.
The second component handles blocks that are almost independent. Some blocks are joined only through a small set $S$ of shared health variables. For these, we enumerate the assignments to $S$. For each assignment we decompose the rest, keep only the combinations that achieve the global minimum cardinality, and return the union of the resulting products. This follows the cutset idea in Model-Based Diagnosis using Causal Networks, whose compact Boolean "consequences" stay linear in size on singly connected networks but grow exponentially with the size of the cutset needed to break loops. We inherit that limit and do not claim to escape it. We will cap $|S|$ and report how often instances exceed the cap.
The third component deals with soundness under fault models. Characterizing Diagnoses shows that once components have specific fault modes such as stuck-at-0 or stuck-at-1, a superset of a valid diagnosis need not be valid. That result directly constrains dominator hardening, which implicitly assumes this kind of monotonicity. We therefore treat each dominator class as a factor whose members are "don't care" only after a check. For a sampled set of expansions, a SAT call verifies that replacing the dominator with a dominated gate in a given fault mode is still consistent. We report the fraction of expansions that are invalid as a measured soundness gap, rather than assuming it is zero.
The fourth component is an attribution study in the spirit of the "further optimization" direction. We ablate each preprocessing step and measure how much each one contributes to producing a split. This tells us whether decomposition comes mostly from backbones, from blocking, or from dominance, and whether some step can be dropped without loss.
Baselines
The naive reference point is the same MaxSAT encoding with no preprocessing, enumerating minimal diagnoses with blocking clauses. Its role is to show how much of the gain comes from preprocessing in the first place. Efficient Model Based Diagnosis with Maximum Satisfiability reports that the earlier unpreprocessed tool solved about 62.4% of ITC99 instances within 600 seconds, versus over 90% with its preprocessing.
The strongest existing method is D-CMMO from Two Compacted Models for Efficient Model-Based Diagnosis, with CMMO as a secondary baseline. It is the strongest competitor because it already combines cone sharing across observations with dominance hardening. On ISCAS-85, with 300 cases per fault model, 20 to 50 injected faults and a 1000-second limit, it solved 92.1% of instances, compared with 64.9% for the HSD algorithm. We will rebuild the same ISCAS-85 instance generator, use the same fault models, observation counts and time limit, and use one shared MaxSAT solver for every method. D-CMMO will be run in two settings. In the first, it stops at the first top-level diagnosis, which is how it was evaluated. In the second, it enumerates all minimum-cardinality top-level diagnoses with blocking clauses. The second setting is the fair comparison for our question.
Our method beats D-CMMO if two conditions hold. First, its solve rate for the first diagnosis is no worse than D-CMMO's. Second, it completes full minimum-cardinality enumeration on clearly more instances within the same limit, or represents at least an order of magnitude more diagnoses in the same time and memory. A third baseline is the linear-memory hitting-set search RBF-HS from Memory-Limited Model-Based Diagnosis (Extended Abstract), run on the preprocessed conflicts. That paper reports 93% average memory savings over HS-Tree, so it is the obvious alternative answer to the problem of answer sets that are too large to store.
Two ablations isolate the key ingredient. The first applies the decomposition pass to an unpreprocessed encoding, which separates the effect of decomposition from that of hardening. The second runs per-block solving but materializes the full product as a flat list, which separates the effect of the representation from that of the search.
Why not just…?
Why not just enumerate with D-CMMO and blocking clauses? This is the real threat. If preprocessed ISCAS-85 instances have only a few minimum-cardinality diagnoses, or if the remaining constraint graph is usually one large component, then products buy nothing. The 16-by-16 multiplier C6288 is densely reconvergent and may never split. The first experiment below is designed to settle this before anything else is built. If splitting is rare, the proposal falls back to the near-independence extension, or it stops.
Why not just use the coarse "Areas" of the Bi-layered Model? Large Scale Diagnosis Using Associations between System Outputs and Components groups gates that influence the same outputs. It removed 2,354 components on C6288. However, it treats each Area as a single unit and admits it cannot distinguish fault modes. Our blocks come from the residual logical constraints rather than from output influence alone, and the product they give is exact. We will report how our blocks relate to the Areas, measured as overlap.
Why not just compile the circuit into Boolean consequences? Darwiche's consequences are an existing compact representation. The cost of compiling them on looped circuits grows exponentially with the cutset size (Model-Based Diagnosis using Causal Networks), and he reports no runtime figures on ISCAS circuits. Our approach compiles only what survives preprocessing and only at the block level. The comparison will be made by measuring the cutset sizes of residual blocks against those of the raw circuits.
Why not just run RBF-HS, since memory is the bottleneck? RBF-HS keeps search memory linear, but it still visits diagnoses one at a time, so enumeration time remains equal to the product of the block sizes. The two approaches are complementary. One ablation runs RBF-HS inside each block.
Proposed Experiments
The decisive first check is purely descriptive. On ISCAS-85 and ITC99, using the published fault-injection setups, we will measure three things after full preprocessing: how many independent blocks the residual graph has, the size of the largest block, and the number of minimum-cardinality top-level diagnoses wherever enumeration finishes. The proposal continues only if a substantial share of instances have at least two non-trivial blocks and diagnosis counts large enough to make flat enumeration costly. We will also report how the split depends on fault count, using 20, 35 and 50 faults, and on the number of observations, since cone sharing across observations may couple blocks.
The main experiment compares our method with all baselines on solve rate within 1000 seconds, time to complete enumeration of minimum-cardinality diagnoses, peak memory, and number of diagnoses represented. Results will be broken down by circuit and fault model. A soundness experiment reports the fraction of dominator expansions that are invalid under stuck-at and flipped fault models. The attribution study reports which preprocessing step produces each split.
As a cross-domain sanity check, we will run the decomposition pass on SPIDER, the 33-component robot arm model from Diagnosis as a Variable Assignment Problem, recast as satisfiability. We expect too little structure there for decomposition to help, and we will report that negative result if it occurs. No reported result was found on Lacuna for full minimum-cardinality enumeration time on ISCAS-85 or ITC99, so all enumeration baselines will be measured by us.
References
- A New Inference Method for Frame-Based Expert Systems
- Efficient Diagnosis of Multiple Disorders Based on a Symptom Clustering Approach
- Domain Structure and the Complexity of Diagnostic Problem Solving
- Efficient Model Based Diagnosis with Maximum Satisfiability
- Two Compacted Models for Efficient Model-Based Diagnosis
- Model-Based Diagnosis using Causal Networks
- Characterizing Diagnoses
- Memory-Limited Model-Based Diagnosis (Extended Abstract)
- Large Scale Diagnosis Using Associations between System Outputs and Components
- Diagnosis as a Variable Assignment Problem: A Case Study in a Space Robot Fault Diagnosis