Abstract
We present IDA — an incrementaldiagnosticalgorithm which computes minimal diagnoses from diagnoses, and not from conflicts. As a consequence of this, and by using different models, one can control the computational complexity. In particular, we show that by using a model of the normal behavior, the worst-case complexity of the algorithm to compute thek+1st minimal diagnosis isO(n 2k), wheren is the number of components. On the practical side, an experimental evaluation indicates that the algorithm can efficiently diagnose devices consisting of a few thousand components. We propose to use a hierarchy of models: first a structural model to compute all minimal diagnoses, then a normal behavior model to find the additional diagnoses if needed, and only then a fault model for their verification. IDA separates model interpretation from the search for minimal diagnoses in the sense that the model interpreter is replaceable. In particular, we show that in some domains it is advantageous to use the constraint logic programming system CLP(ß) instead of a logic programming system like Prolog.
Similar content being viewed by others
References
R.R. Bakker, P.A. Hogenhuis, N.J.I. Mars and D.C. van Soest, Diagnosis of technical systems using design descriptions,Proc. Second Generation Expert Systems, Avignon, France, 1989, pp. 107–116.
G. Boole,The Mathematical Analysis of Logic (Macmillan, 1947).
I. Bratko, I. Mozetič and N. Lavrač,KARDIO: A Study in Deep and Qualitative Knowledge for Expert Systems (MIT Press, Cambridge, MA, 1989).
W. Büttner and H. Simonis, Embedding Boolean expressions into logic programming, J. Symbolic Comput. 4 (1987) 191–205.
T. Bylander, D. Allemang, M.C. Tanner and J.R. Josephson, Some results concerning the computational complexity of abduction,Proc. Int. Conf. on Principles of Knowledge Representation and Reasoning, Toronto (Morgan Kaufmann, 1989) pp. 44–54.
M. Carlsson and J. Widen, SICStus Prolog User's Manual, Swedish Institute of Computer Science, Kista, Sweden (1991).
J. Cohen, Constraint logic programming languages, Commun. ACM 33(7) (1990) 52–68.
B. Crone-Rawe, Unification algorithms for boolean rings, SEKI Working Paper SWP-89-01, University of Kaiserslautern, Germany (1989).
J. de Kleer, Focusing on probable diagnoses,Proc. 9th Natl. Conf. on Artificial Intelligence, AAAI-91, Anaheim, CA (MIT Press, 1991) pp. 842–848.
J. de Kleer, A.K. Mackworth and R. Reiter, Characterizing diagnoses,Proc. 8th Natl. Conf. on Artificial Intelligence, AAAI-90, Boston (MIT Press, 1990) pp. 324–330.
J. de Kleer and B.C. Williams, Diagnosing multiple faults, Artificial Intelligence 32 (1987) 97–130.
J. de Kleer and B.C. Williams, Diagnosis with behavioral modes,Proc. 11th Int. Joint Conf. on Artificial Intelligence, IJCAI-89, Detroit (Morgan Kaufmann, 1989) pp. 1324–1330.
G. Friedrich, G. Gottlob and W. Nejdl, Physical impossibility instead of fault models,Proc. 8th Natl. Conf. on Artificial Intelligence, AAAI-90, Boston (MIT Press, 1990) pp. 331–336.
G. Friedrich, G. Gottlob and W. Nejdl, Formalizing the repair process,Proc. 10th European Conf. on Artificial Intelligence, ECAI-92, Vienna (Wiley, 1992) pp. 709–713.
G. Friedrich and W. Nejdl, MOMO: Model-based diagnosis for everybody,Proc. 6th IEEE Conf. on AI Applications, CAIA-90, Santa Barbara, CA (IEEE Press, 1990) pp. 206–213.
M. Gallanti, M. Roncato, A. Stefanini and G. Tornielli, A diagnostic algorithm based on models at different level of abstraction,Proc. 11th Int. Joint Conf. on Artificial Intelligence, IJCAI-89, Detroit (Morgan Kaufmann, 1989) pp. 1350–1355.
M.R. Garey and D.S. Johnson,Computers and Intractability (Freeman, New York, 1979).
M.R. Genesereth, The use od design descriptions in automated diagnosis, Artificial Intelligence 24 (1984) 411–436.
F. Giunchiglia and T. Walsh, Abstract theorem proving,Proc. 11th Int. Joint Conf. on Artificial Intelligence, IJCAI-89, Detroit, MI (Morgan Kaufmann, 1989) pp. 372–377.
C. Holzbaur, Specification of constraint based inference mechanisms through extended unification, Ph.D. Thesis, Dept. of Medical Cybernetics and AI, University of Vienna, Austria (1990).
J. Jaffar and J.-L. Lassez, Constraint logic programming,Proc. 14th ACM Symp. on Principles of Programming Languages, Munich, 1987, pp. 111–119.
J.W. Lloyd,Foundation of Logic Programming, 2nd Ed. (Springer, 1987).
U. Martin and T. Nipkov, Unification in boolean rings,Proc. 8th Int. Conference on Automated Deduction, 1986, pp. 506–513.
I. Mozetič, Hierarchical model-based diagnosis, Int. J. Man-Machine Stud. 35 (3) (1991) 329–362. Also in: W.C. Hamscher, L. Console and J. de Kleer (eds.),Readings in Model-based Diagnosis (Morgan Kaufmann, San Mateo, CA, 1992) pp. 354–372.
I. Mozetič, C. Holzbaur, F. Novak and M. Santo-Zarnik, Model-based analogue circuit diagnosis with CLP(5R),Proc. 4th Int. GI Congress, Munich (Springer, 1991) pp. 343–353.
I. Mozetič and B. Pfahringer, Improving diagnostic efficiency in KARDIO: abstractions, constraint propagation, and model compilation, in: E. Keravnou (ed.),Deep Models for Medical Knowledge Engineering (Elsevier, Amsterdam, 1992) pp. 1–25.
F. Novak, I. Mozetič, M. Santo-Zarnik and A. Biasizzo, Enhancing design-for-test for active analog filters by using CLP(ℜ), Analog Integrated Circuits and Signal Processing 4(3) (1993) 215–229. Also in: J. Electronic Testing 4 (1993) 315–329.
D. Poole, Normality and faults in logic-based diagnosis,Proc. 11th Int. Joint Conf. on Artificial Intelligence, IJCAI-89, Detroit (Morgan Kaufmann, 1989) pp. 1304–1310.
O. Raiman, Diagnosis as a trial: the alibi principle, Report, IBM Scientific Center, Paris (1989).
R. Reiter, A theory of diagnosis from first principles, Artificial Intelligence 32 (1987) 57–95.
V.A. Saraswat, J. de Kleer and O. Raiman, Contributions to a theory of diagnosis,Proc. First Int. Workshop on Principles of Diagnosis, Stanford University, Palo Alto, 1990, pp. 33–38.
P. Strass, What's in SD? Towards a theory of modeling for diagnosis, in: W.C. Hamscher, L. Console and J. de Kleer (eds.),Readings in Model-based Diagnosis (Morgan Kaufmann, San Mateo, CA, 1992) pp. 419–449.
P. Struss and O. Dressler, “Physical negation” — integrating fault models into the general diagnostic engine,Proc. 11th Int. Joint Conf. on Artificial Intelligence, IJCAI-89, Detroit (Morgan Kaufmann, 1989) pp. 1318–1323.
Author information
Authors and Affiliations
Additional information
This is an extended version of the paper by Igor Mozetič, “A polynomial-time algorithm for model-based diagnosis,” which appears in theProc. European Conf. on Artificial Intelligence, ECAI-92, ed. B. Neumann (Wiley, 1992) pp. 729–733.
Rights and permissions
About this article
Cite this article
Mozetič, I., Holzbaur, C. Controlling the complexity in model-based diagnosis. Ann Math Artif Intell 11, 297–314 (1994). https://doi.org/10.1007/BF01530747
Issue Date:
DOI: https://doi.org/10.1007/BF01530747