Symbolic and statistical paradigms
Symbolic AI represents knowledge explicitly, for example as facts, rules or relationships. Statistical AI estimates patterns or uncertainty using mathematical models, often fitted to data. These are broad approaches rather than mutually exclusive categories. Both can support decisions, and a single application may combine them.
Two ways to inspect a fictional cooling fan
A workshop wants to flag a fan for inspection. The input is whether it vibrates strongly and whether a warning light is on. The output is an inspection recommendation, not proof of a fault. A technician writes the rule: if the fan vibrates strongly or its warning light is on, recommend inspection. No examples are needed to fit this rule, although evidence is needed to justify and test it. An expert system can store many such rules in a knowledge base and apply an inference mechanism to the facts it receives.
A statistical approach instead uses earlier inspected fans. A label is a known outcome attached to an example. A parameter is a value used by a model, which may be estimated from examples. Consider the following invented training observations. A tiny frequency model groups examples by vibration alone.
| Vibration | Fans inspected | Fault found | Observed fault fraction |
|---|---|---|---|
| Strong | 4 | 3 | 3/4 = 0.75 |
| Not strong | 4 | 1 | 1/4 = 0.25 |
The model stores two estimated fractions. For a new fan with strong vibration it returns 0.75. Suppose the workshop chooses to recommend inspection at a score of at least 0.5. That threshold is a decision rule chosen for this example, not a universal safety threshold. The fraction is an estimate from only four examples, not a validated probability for an individual fan.
Compare decisions for the same inputs
Read across the table. The toy statistical model ignores the warning light, so it may miss information a technician considers important.
| Strong vibration | Warning light | Explicit rule | Frequency model at 0.5 |
|---|---|---|---|
| Yes | No | Inspect | Inspect |
| No | Yes | Inspect | Do not flag |
| No | No | Do not flag | Do not flag |
| Yes | Yes | Inspect | Inspect |
Do not flag means the toy system did not recommend inspection; it never establishes that the equipment is safe. Real safety controls must follow approved procedures independently of a learning model.
Optional Python walkthrough
This local example uses no packages or accounts. def defines a function; or is true when either condition is true; >= means greater than or equal to; if selects a branch; return gives a result; print displays it. True and False represent yes and no. The stored fractions are calculated from the table above; there is no training loop here.
def explicit_rule(vibration, light): return vibration or light
def frequency_model(vibration): if vibration: score = 3 / 4 else: score = 1 / 4 return score >= 0.5
print(explicit_rule(False, True))print(frequency_model(False))Expected output is True followed by False on separate lines. Both systems received a fan without strong vibration, but only the explicit rule also considered the warning light. Changing the threshold could change the statistical decision, but it would not add the missing input.
When to use or combine approaches
Rules are useful for precise policies and known constraints. Statistical models are useful when useful patterns can be estimated from relevant observations but are hard to write down as rules. Rules can be brittle when facts or conditions are missing. Statistical estimates can be unreliable on unfamiliar inputs or when examples are biased. In a hybrid system, an explicit warning-light policy can require inspection regardless of the model score, while a model can help prioritize remaining nonurgent cases. Rules and models both need testing and maintenance.
Practice: identify where knowledge comes from
A library routes overdue-book notices using a fixed policy, estimates future return dates from historical records, and blocks any automated message lacking a valid recipient. Identify the explicit policy, fitted prediction and guard condition. Answer: the notice policy and recipient guard are rules; the return estimate is a statistical task if learned from examples. Next, see how these research approaches developed over time.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Symbolic and statistical paradigms — understanding check
Apply the lesson concepts to original scenarios.
Which records are sufficient to calculate the toy frequency model’s two training fractions?
A fan has no strong vibration but its light is on. What do the explicit rule and frequency model at threshold 0.5 recommend, respectively?
What does the toy model’s score of 0.75 for strong vibration represent?
Two fans have the same vibration reading but different warning lights. What follows for the toy frequency model?
How should a hybrid design preserve the mandatory warning-light inspection rule?