[Paper Review] Challenges for Model-Based Diagnosis
This paper presents a sound and complete algorithm for model-based design space exploration by reducing circuit design to quantified Boolean formula (QBF) satisfiability. It enables automatic synthesis of minimal-size Boolean circuits—including classical and reversible quantum circuits—achieving over 10,000× speedup over generate-and-test methods via advanced QBF solvers, with applications to digital design, diagnostics, and combinatorial optimization.
Since the seminal works by Reiter and de Kleer and Williams published in the late 80’s, Model-based Diagnosis has been a significant area of research. This has been motivated by the fact that MBD assists us in tackling a challenge that we face almost on a daily basis, i.e., by MBD allowing us to reason in a structured manner about the root causes for some encountered problem. MBD achieves this in an intuitive, complete and sound way, based on the central idea of investigating the compliance of some observed behavior with a model that describes how a system should behave - given this or that input scenario and parameter set. Over the last 40 years, MBD has been adopted for a multitude of applications, and we saw the emergence of a diverse set of algorithmic, optimizations, as well as extensions to the initial theoretical concepts.We argue that MBD remains highly relevant, with numerous scientific challenges to tackle as we face increasingly complex diagnostic problems. We discuss several such challenges and suggest related topics for PhD theses that have the potential to significantly contribute to the state-of-the-art in MBD research.
Motivation & Objective
- To address the challenge of systematically exploring large design spaces for digital circuits with optimal size and correctness.
- To overcome limitations of heuristic and genetic algorithms by providing a sound and complete method for circuit synthesis.
- To enable the discovery of minimal, functionally correct circuits using arbitrary component libraries, including reversible and quantum gates.
- To create a practical benchmark for QBF solvers by generating realistic, scalable circuit specifications from real-world and synthetic designs.
- To generalize circuit design beyond single-output functions to multi-output Boolean functions, enabling broader applicability in logic synthesis and system design.
Proposed method
- Reduces the circuit design problem to quantified Boolean formula (QBF) satisfiability, encoding component selection, placement, and wiring as existential and universal quantifiers.
- Uses a QBF encoding that combines component instantiation, topological wiring constraints, and functional equivalence to the target specification.
- Employs a fabric-based construction where a regular, configurable network of components is generated and linked to the specification via QBF constraints.
- Leverages advanced QBF solvers (e.g., DepQBF, Bloqqer, RAReQS) with built-in learning, compilation, and heuristics to efficiently search the design space.
- Applies a recursive decomposition strategy to break down complex functions (e.g., multipliers, adders) into smaller subproblems solvable via QBF.
- Validates the method using a custom benchmark of scalable synthetic circuits and real-world ICs (e.g., 74XXX family), comparing against a graph-based generate-and-test baseline.
Experimental results
Research questions
- RQ1Can a sound and complete algorithm be developed for synthesizing minimal-size Boolean circuits from arbitrary component libraries?
- RQ2How can the design space exploration problem be encoded as a QBF satisfiability problem to enable exhaustive search with formal guarantees?
- RQ3What performance gains can be achieved by using QBF solvers over traditional generate-and-test enumeration of circuit topologies?
- RQ4To what extent can this method generalize beyond classical digital circuits to include reversible and quantum circuits?
- RQ5Can the QBF-based approach serve as a practical benchmark for advancing QBF solver technology in real-world applications?
Key findings
- The QBF-based method achieves over four orders of magnitude speedup—more than 10,000×—compared to a generate-and-test approach that enumerates all non-isomorphic circuit topologies.
- The algorithm successfully discovers a five-gate full-subtractor, improving upon the traditional seven-gate design, demonstrating its ability to find optimal solutions.
- The method produces new, minimal-size circuits for fundamental arithmetic functions such as addition and multiplication, including reversible quantum circuits.
- The approach is generalizable to multi-output Boolean functions, unlike prior work restricted to single-output functions.
- The QBF encoding successfully models the combined placement and routing problem in a single call, enabling fully automatic circuit synthesis without heuristic decomposition.
- The benchmark of 70+ circuits, including real ICs from the 74XXX family, validates the method’s scalability and practical relevance for industrial design and QBF solver development.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.