Diagnose ist die Aufgabe, festzustellen, ob ein System korrekt funktioniert, und andernfalls die fehlerhafte Komponente oder die Art des Fehlers zu identifizieren. In KI und automatisiertem Schlussfolgern nutzen Diagnosemethoden Beobachtungen des Systemverhaltens, um wahrscheinliche Ursachen von Fehlern oder Fehlfunktionen abzuleiten.
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.