Skip to main content
QUICK REVIEW

[Paper Review] Diagnostic reasoning with A-Prolog

Marcello Balduccini, Michael Gelfond|ArXiv.org|Dec 18, 2003
Logic, Reasoning, and KnowledgeComputer Science20 references5 citations
TL;DR

This paper presents an A-Prolog-based architecture for diagnostic reasoning in intelligent agents managing physical systems, modeling symptoms, candidate diagnoses, and diagnoses through stable model semantics. It reduces diagnostic tasks—such as fault detection, testing, and repair—to computing answer sets of logic programs, enabling automated, logically sound diagnosis with formal guarantees of correctness and completeness under specified assumptions.

ABSTRACT

In this paper we suggest an architecture for a software agent which operates a physical device and is capable of making observations and of testing and repairing the device's components. We present simplified definitions of the notions of symptom, candidate diagnosis, and diagnosis which are based on the theory of action language ${\cal AL}$. The definitions allow one to give a simple account of the agent's behavior in which many of the agent's tasks are reduced to computing stable models of logic programs.

Motivation & Objective

  • To develop a formal, logic-based architecture for software agents that monitor, test, and repair physical devices in dynamic environments.
  • To model diagnostic reasoning—symptoms, candidate diagnoses, and actual diagnoses—using the action language AL and answer set programming (ASP).
  • To reduce diagnostic tasks such as fault identification and repair planning to the computation of stable models (answer sets) of logic programs.
  • To provide a formal framework that ensures correctness and completeness of diagnostic outcomes under assumptions of complete knowledge and deterministic actions.
  • To enable agents to reason about discrepancies between expected and observed behavior using minimal, interpretable logic encodings.

Proposed method

  • The agent’s knowledge base is structured into three parts: a system description (action language AL), a recorded history of observations and actions, and a set of goals.
  • Symptoms are defined as inconsistencies between expected and observed behavior, modeled as logical formulas in a knowledge base.
  • Candidate diagnoses are computed as stable models of a logic program encoding system behavior, observations, and constraints.
  • Diagnoses are derived by filtering candidate diagnoses using constraints that ensure consistency with observed data and system dynamics.
  • The diagnostic process is formalized as a loop: observe → interpret discrepancy → compute answer sets → select diagnosis → plan repair.
  • The method leverages the Splitting Set Theorem and answer set semantics to decompose complex diagnostic reasoning into tractable logical inference tasks.

Experimental results

Research questions

  • RQ1How can diagnostic reasoning in intelligent agents be formally modeled using logic programming and stable model semantics?
  • RQ2What is the role of answer set computation in identifying valid diagnoses from observed system failures?
  • RQ3How can symptoms, candidate diagnoses, and actual diagnoses be defined in a way that supports automated reasoning and verification?
  • RQ4What guarantees of correctness and completeness can be provided for diagnostic outcomes under the proposed framework?
  • RQ5How can testing and repair actions be integrated into the diagnostic loop using logic-based planning?

Key findings

  • The proposed method reduces diagnostic reasoning tasks to computing stable models of A-Prolog programs, enabling automated and logically sound diagnosis.
  • The framework ensures that every diagnosis produced is both consistent with observations and logically valid under the system description.
  • The algorithm for finding diagnoses, Find_Diag, is proven to terminate and correctly identify a diagnosis if one exists.
  • A diagnosis is valid only if all components in the diagnosis set are faulty and the solution is consistent with observed data and system dynamics.
  • The method supports a clean separation between system modeling, observation processing, and diagnostic inference via answer set computation.
  • The framework is formally sound: if a diagnosis is returned, it is guaranteed to be a correct explanation of the observed symptom.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.