The short answer
Deductive reasoning starts with general rules and reaches conclusions that must hold if the rules and facts are true. Inductive reasoning starts with specific observations and reaches general rules that are likely, but not guaranteed. Logic-based AI systems often rely on deduction, while machine learning relies largely on induction.
Deductive reasoning
Deduction works from the general to the specific. If the premises are true and the reasoning is valid, the conclusion cannot be false. The classic example is:
- All humans are mortal.
- Socrates is a human.
- Therefore, Socrates is mortal.
A rule-based AI system works in a similar way. Suppose it has the rule “every item on the approved list is covered by the warranty,” and the fact “this kettle is on the approved list.” It concludes that the kettle is covered. The conclusion follows from the rule and the fact, so it is only as reliable as they are.
Deduction is one of the types of inference in artificial intelligence. Rule-based systems from the early days of AI, covered in what are examples of conventional AI, are a good place to see deduction at work.
Inductive reasoning
Induction works from the specific to the general. It starts with observations and generalizes from them. For example:
- Every swan I have seen is white.
- Therefore, all swans are white.
The reasoning feels natural, but the conclusion can be false. Black swans live in Australia. Induction gives likely conclusions, and one counterexample can overturn them.
Machine learning follows this pattern. A model trained on labeled examples forms a general rule from them, and that rule is then applied to new cases. The process is described in what is inductive learning.
Abduction, briefly
Some textbooks also describe abduction, which reasons from an observation to its most likely explanation. For example, if the grass is wet, one likely explanation is that it rained. Abduction is a third form, and it is often discussed alongside the other two.
Side by side
| Deductive reasoning | Inductive reasoning | |
|---|---|---|
| Direction | From general rules to a specific conclusion | From specific observations to a general rule |
| Strength of the conclusion | Must follow if the premises are true | Probable, and open to revision |
| Typical use in AI | Logic-based systems and rule engines | Machine learning from examples |
How the two work together
A system might learn a rule from examples and then use deduction to apply it to a specific case. Formal deduction is often done with first-order predicate logic, as described in first order predicate logic in artificial intelligence examples. Some research combines learned and logical parts more closely, an area often called neuro-symbolic AI.
Key takeaways
- Deduction gives conclusions that must follow if the premises are true.
- Induction gives probable conclusions that new evidence can overturn.
- Logic-based AI leans on deduction, and machine learning leans on induction.