What symbolic reasoning under uncertainty means
Symbolic reasoning under uncertainty is the work of drawing conclusions from explicit rules and facts when some of those facts are incomplete or vague, or when a rule is true only most of the time. Symbolic AI represents knowledge as symbols, such as words or logical statements, and applies rules to them. Classical logic treats every statement as either true or false, which fits real situations poorly. To handle uncertainty, researchers added ways to attach degrees of belief to facts and rules, while keeping the clear, rule-based structure of symbolic AI.
The main approaches are certainty factors, probability (including Bayesian networks), fuzzy logic, Dempster-Shafer theory, and default or non-monotonic logic. Each one suits a different kind of uncertainty.
Why classical logic struggles with uncertainty
Take the rule “birds can fly.” In classical logic, that rule is either true or false for every bird. It is false for penguins and ostriches, so a system that uses the rule as written will draw wrong conclusions about them. Changing the rule to “most birds can fly” is more accurate, but the system then needs a way to express how sure it is.
Three kinds of uncertainty come up again and again:
- Incomplete knowledge. The system does not have every fact it would need.
- Vague terms. Words such as “warm,” “fast,” or “large” do not have sharp boundaries.
- Unreliable evidence. Sensors can be noisy, and sources can disagree.
Each method below handles some of these better than others.
Main methods
Certainty factors
Certainty factors were used in early rule-based expert systems. MYCIN, a program developed in the 1970s to help diagnose bacterial infections, is the best-known example. Each rule and each fact carried a number that expressed confidence. In MYCIN, these values ran from -1 (certainly false) to 1 (certainly true). When several rules supported the same conclusion, a fixed formula combined their numbers.
Certainty factors are easy to attach to rules, but they are not probabilities. Their combination formulas were chosen for convenience rather than derived from probability theory, so the results can be hard to interpret when pieces of evidence depend on each other.
Probability and Bayesian networks
Probability gives a consistent way to update a belief when new evidence arrives. The tool for this is Bayes’ rule. It says that the chance of a cause, given some evidence, equals the chance of that evidence if the cause is true, multiplied by the starting chance of the cause, then divided by the overall chance of the evidence.
Here is a small example. Suppose it rains on 30% of days. On rainy days, the sidewalk is wet 90% of the time. On days without rain, it is wet 20% of the time, because of sprinklers or dew. If you see a wet sidewalk, the chance of rain is:
- Chance of a wet sidewalk: (0.30 × 0.90) + (0.70 × 0.20) = 0.27 + 0.14 = 0.41
- Chance of rain given a wet sidewalk: 0.27 ÷ 0.41 ≈ 0.66
The wet sidewalk raises the chance of rain from 30% to about 66%. It does not prove that it rained.
Bayesian networks organize many such variables in a graph. Judea Pearl helped develop them in the 1980s. Each arrow shows that one variable depends on another, and each variable stores probabilities for its values given the values of the variables that feed into it. The network can then answer questions such as how likely rain is when the sidewalk is wet and the sprinkler is known to be off.
Probability needs numbers. If the probabilities are guesses, the answers are only as good as those guesses.
Fuzzy logic
Lotfi Zadeh introduced fuzzy sets in 1965, which form the basis of fuzzy logic. In fuzzy logic, an item can belong to a set to a degree between 0 and 1, instead of being fully in or fully out. A fuzzy rule might treat a room at 22°C as “warm” to degree 0.6. The exact numbers depend on how the set is defined, and the designer chooses that definition.
Fuzzy logic handles vagueness. It is different from not knowing whether a fact is true. The room’s temperature may be measured exactly, yet the word “warm” is still fuzzy. Mixing up these two ideas is a common mistake.
Dempster-Shafer theory
Dempster-Shafer theory was developed by Arthur Dempster and extended by Glenn Shafer. It assigns belief to sets of possible outcomes, not only to single outcomes. Suppose a sensor reports that an object is either a box or a crate, but cannot say which. The theory can give belief to the set “box or crate” as a whole, without forcing a split between the two. Shafer’s 1976 book, A Mathematical Theory of Evidence, is the usual starting point for the theory.
Default and non-monotonic logic
In ordinary logic, adding a new fact never removes a conclusion that was already drawn. Non-monotonic reasoning relaxes that rule, so a conclusion can be withdrawn. Default logic, formalized by Raymond Reiter in 1980, lets a system assume something unless it has evidence against it.
Here is the bird example again. By default, a bird can fly. Tweety is a bird, so the system concludes that Tweety can fly. Then the system learns that Tweety is a penguin. It withdraws the first conclusion, because the default no longer applies to Tweety.
Comparing the methods
| Method | Kind of uncertainty it suits | Main strength | Main limitation |
|---|---|---|---|
| Certainty factors | Confidence in rules and facts | Easy to attach to rules | Combination formulas are not probabilistic |
| Probability and Bayesian networks | Incomplete knowledge with evidence | Updates beliefs consistently | Needs probability estimates, and exact inference can be costly in large networks |
| Fuzzy logic | Vague terms | Matches how people describe things | Does not measure uncertainty about whether a fact is true |
| Dempster-Shafer theory | Conflicting or missing evidence | Can express ignorance directly | More complex to compute and explain |
| Default logic | Rules with exceptions | Natural for everyday rules | Needs a way to resolve conflicts between defaults |
Where these ideas are used
- Rule-based decision support. Tools that rank possible answers and attach confidence scores to them follow the same basic idea as early certainty factors.
- Robotics and monitoring. Robots and monitoring systems often work with noisy sensors, so they keep track of what is probably true rather than assuming certainty.
- Fault diagnosis. Probabilistic models can rank the likely causes of a machine problem, given the symptoms that have been observed.
- Neuro-symbolic AI. Current research combines neural networks, which learn patterns from messy data, with symbolic reasoning, which is explicit and easier to check. As an example, AlphaGeometry, from Google DeepMind in 2024, paired a language model with a symbolic deduction engine to solve olympiad-style geometry problems.
Limits and trade-offs
- Effort. Rules, probabilities and membership functions have to come from experts or data, and both take time to get right.
- Speed. Exact reasoning over large networks can be slow, so systems often use approximate methods. Searching through many possible conclusions can also be slow, and heuristics help guide the search, as described in types of heuristic search in artificial intelligence.
- False precision. A number such as 0.66 can look more exact than the inputs justify. Treat confidence values as estimates.
- No single winner. The no free lunch rule in machine learning says that no single method works best on every problem. The right choice depends on the kind of uncertainty you face.
How to start learning this topic
- Review the basics of logic: AND, OR, NOT and IF-THEN rules. Then see how knowledge representation approaches in AI store facts, rules and relationships.
- Move on to first order predicate logic in artificial intelligence examples, which lets rules refer to objects and categories with variables.
- Learn the basics of probability, especially conditional probability and Bayes’ rule.
- Work small examples by hand, such as the rain example above, before you use software.
- Build a small rule system or Bayesian network, then check whether its confidence values match what actually happens.
Key points
- Symbolic AI reasons with explicit rules and facts.
- Classical logic is all-or-nothing, so uncertainty needs extra tools.
- The main tools are certainty factors, probability and Bayesian networks, fuzzy logic, Dempster-Shafer theory, and default logic.
- Choose the method that matches the kind of uncertainty you have.