Diagnosis (artificial intelligence)

As a subfield in artificial intelligence, Diagnosis is concerned with the development of algorithms and techniques that are able to determine whether the behaviour of a system is correct. If the system is not functioning correctly, the algorithm should be able to determine, as accurately as possible, which part of the system is failing, and which kind of fault it is facing. The computation is based on observations, which provide information on the current behaviour.

The expression diagnosis also refers to the answer of the question of whether the system is malfunctioning or not, and to the process of computing the answer. This word comes from the medical context where a diagnosis is the process of identifying a disease by its symptoms.

Example
An example of diagnosis is the process of a garage mechanic with an automobile. The mechanic will first try to detect any abnormal behavior based on the observations on the car and his knowledge of this type of vehicle. If he finds out that the behavior is abnormal, the mechanic will try to refine his diagnosis by using new observations and possibly testing the system, until he discovers the faulty component.

Expert diagnosis
The expert diagnosis (or diagnosis by expert system) is based on experience with the system. Using this experience, a mapping is built that efficiently associates the observations to the corresponding diagnoses.

The experience can be provided:
 * By a human operator. In this case, the human knowledge must be translated into a computer language.
 * By examples of the system behaviour. In this case, the examples must be classified as correct or faulty (and, in the latter case, by the type of fault).  Machine learning methods are then used to generalize from the examples.

The main drawbacks of these methods are:
 * The difficulty acquiring the expertise. The expertise is typically only available after a long period of use of the system (or similar systems).  Thus, these methods are unsuitable for safety- or mission-critical systems (such as a nuclear power plant, or a robot operating in space).  Moreover, the acquired expert knowledge can never be guaranteed to be complete.  In case a previously unseen behaviour occurs, leading to a unexpected observation, it is impossible to give a diagnosis.
 * The complexity of the learning. The off-line process of building an expert system can require a large amount of time and computer memory.
 * The size of the final expert system. As the expert system aims to map any observation to a diagnosis, it will in some cases require a huge amount of storage space.
 * The lack of robustness. If even a small modification is made on the system, the process of constructing the expert system must be repeated.

A slightly different approach is to build an expert system from a model of the system rather than directly from an expertise. An example is the computation of a diagnoser for the diagnosis of discrete event systems. This approach can be seen as model-based, but it benefit from some advantages and suffers some drawbacks of the expert system approach.

Model-based diagnosis
Model-based diagnosis is an example of abductive reasoning using a model of the system. In general, it works as follows:



We have a model that describes the behaviour of the system (or artefact). The model is an abstraction of the behaviour of the system and can be incomplete. In particular, the faulty behaviour is generally little-known, and the faulty model may thus not be represented. Given observations of the system, the diagnosis system simulates the system using the model, and compares the observations actually made to the observations predicted by the simulation.

The modelling can be simplified by the following rules (where $$Ab\,$$ is the Abnormal predicate):

$$\neg Ab(S) \Rightarrow Int1 \wedge Obs1$$

$$Ab(S) \Rightarrow Int2 \wedge Obs2$$ (fault model)

The semantics of these formulae is the following: if the behaviour of the system is not abnormal (i.e. if it is normal), then the internal (unobservable) behaviour will be $$Int1\,$$ and the observable behaviour $$Obs1\,$$. Otherwise, the internal behaviour will be $$Int2\,$$ and the observable behaviour $$Obs2\,$$. Given the observations $$Obs\,$$, the problem is to determine whether the system behaviour is normal or not ($$\neg Ab(S)\,$$ or $$Ab(S)\,$$). This is an example of abductive reasoning.

Diagnosability
A system is said to be diagnosable if whatever the behaviour of the system, we will be able to determine without ambiguity a unique diagnosis.

The problem of diagnosability is very important when designing a system because on the one hand one may want to reduce the number of sensors to reduce the cost, and on the other hand one may want to increase the number of sensors to increase the probability of detecting a faulty behaviour. Algorithms that determine the diagnosability of a system can be used to answer this problem.

The diagnosability of a system is generally computed from the model of the system. Thus, it can only be checked in the case of model-based diagnosis.

DX workshops
DX is the annual International Workshop on Principles of Diagnosis that started in 1989.


 * DX 2007
 * DX 2006
 * DX 2005
 * DX 2004
 * DX 2003
 * DX 2002
 * DX 2001
 * DX 2000
 * DX 1999
 * DX 1998
 * DX 1997

Diagnostic (intelligence artificielle)