Modeladvanced
Certainty factors
Also called MYCIN certainty factors.
Attaches a number in [-1, 1] to each rule and fact and combines them by fixed formulas, an early non-probabilistic model of uncertainty.
The certainty factor (CF) model is the calculus of uncertainty of the MYCIN expert system. Each rule "if then " carries a number in that says how much the evidence changes the belief in the hypothesis : means that makes certain, that it rules out, and that it does not change it. A backward chaining engine computes a CF for each fact by fixed formulas: the minimum for "and", the product for a rule, and a combining function when several rules conclude the same fact. The formulas are local and cheap, and they do not need prior probabilities. CFs are not probabilities in general. Heckerman (1986) showed that the combining function is exact for one reading of CFs, as a monotone function of a likelihood ratio, and only when the pieces of evidence are conditionally independent given the hypothesis and given its negation.
The machine
Definitions of 1975. Shortliffe and Buchanan defined, for a hypothesis and evidence , a measure of belief and a measure of disbelief:
with when and when . At most one of the two is positive. The certainty factor is . So a CF measures a change of belief, relative to the room left for the change, and not a degree of belief. In the 1975 model the MB and MD of a hypothesis were combined separately over the pieces of evidence, for example , and the CF was formed at the end.
The rules of the calculus. In use, nobody computed the probabilities: experts gave a CF for each rule, and the system gave CFs to the facts. The later form, used in EMYCIN and described by Buchanan and Shortliffe (1984), works on one CF per fact:
- Premises. and . A premise counts as true only when its CF is above ; else the rule does not fire.
- Sequential combination. A rule "if then " with strength gives the CF .
- Parallel combination. Two rules that give the CFs and combine to
The combining function is commutative and associative, is its identity, and for . The value of is not defined, and a system must treat it as a special case.
Example. Rule , "if and then ", has strength ; rule , "if then ", has ; rule , "if then ", has ; rule , "if then ", has . The facts have , , , and .
| step | computation | CF |
|---|---|---|
| is not above , so does not fire | ||
| then |
Combining and first gives , and then again.
What it counts
A CF counts the change of belief in a hypothesis caused by the evidence, on a scale from to . It does not count how probable the hypothesis is. Under the 1975 definitions, , so the CFs of a hypothesis and its negation add up to , while their probabilities add up to . For example, with and , and .
The cost of inference is small. Each rule application and each combination is a constant number of arithmetic operations, so a backward chaining run that computes each fact once, with memoization, takes time linear in the size of the ground rules that it uses. Exact probabilistic inference in a general Bayesian network, by contrast, is NP-hard.
Relation to other models
- Bayes' theorem in odds form. With the likelihood ratio , the posterior odds are times the prior odds. Heckerman's reading of CFs is a function of (see below).
- Naive Bayes. Under that reading, the parallel combination multiplies likelihood ratios, which is the naive Bayes update for one hypothesis and conditionally independent evidence.
- Bayesian networks. A network represents the dependencies between pieces of evidence explicitly. The CF model assumes them away, so it is exact only on networks where each piece of evidence bears on the hypothesis independently.
- Production systems. MYCIN and EMYCIN attached CFs to the rules of a goal-directed production system, and the CF calculus runs alongside the chaining.
Known results in the model
The original definitions do not fit the combining function. Read a CF, as in the 1975 definitions, as the relative change of the current probability of . Take , evidence with CF and evidence with CF . Applying first gives , and then . Applying first gives , and then . The result depends on the order, while does not. Heckerman (1986) used this kind of example to show that the original definitions are not consistent with the combining function.
A probabilistic reading. Heckerman (1986) proposed to define the CF of a rule as a monotone function of its likelihood ratio :
Then is exactly the CF of the product of the two likelihood ratios, in all three cases of the combining function. For example, for the ratios are and , and . The product of likelihood ratios is the correct update when and are conditionally independent given and given . So, under these conditions, the parallel combination is a correct probabilistic rule, and the CF of a rule does not depend on the prior of .
What has no probabilistic reading. The sequential rule , the minimum and maximum for "and" and "or", and the threshold of do not follow from any reading of this kind in general. When the evidence is not conditionally independent, for example when two rules rest on the same finding, the combining function counts the same evidence twice. So the CFs that a system computes are not probabilities in general, and Heckerman gives the conditions under which the parallel combination has a probabilistic meaning.
References
- Edward H. Shortliffe and Bruce G. Buchanan, A model of inexact reasoning in medicine, Mathematical Biosciences 23(3-4) (1975), the definitions of MB, MD and CF in terms of probabilities and the functions for combining them
- Bruce G. Buchanan and Edward H. Shortliffe (eds.), Rule-Based Expert Systems: The MYCIN Experiments of the Stanford Heuristic Programming Project, Addison-Wesley (1984), the part on reasoning under uncertainty, with the revised combining function and the use of certainty factors in MYCIN and EMYCIN
- David Heckerman, Probabilistic interpretations for MYCIN's certainty factors, in L. N. Kanal and J. F. Lemmer (eds.), Uncertainty in Artificial Intelligence, North-Holland, 167 to 196 (1986), the inconsistency of the original definitions with the combining functions, the reading of CFs as monotone functions of the likelihood ratio, and the independence conditions
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 90V7YH Edit this page History Report an error Markdown