Reasoning Foundations › What Is Reasoning?
Language AI HandbookAll chapters Reasoning Foundations › What Is Reasoning?One section · Sections in this chapter2 / 9 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Reasoning is the process of drawing conclusions from available information. It is not the same as remembering facts: recall is retrieval, whereas reasoning is inference. When you know that Paris is in France and that France is in Europe, you can infer that Paris is in Europe even if no one told you that directly. That inference step, from premises to a new conclusion, is reasoning.
The distinction matters deeply for how we evaluate and use AI systems. A system that has memorized that Paris is in Europe will answer the question correctly, but it would fail the moment you asked about a newly created country or a hypothetical political reorganization. A system that can reason from the premises, working through the containment relationship, would handle novel cases correctly because the reasoning process is not tied to any specific memorized fact.
The study of reasoning has deep roots in philosophy and logic. Aristotle codified deductive inference through the theory of syllogisms in the fourth century BCE, and logicians from Leibniz through Frege and Russell spent centuries formalizing the rules by which valid conclusions follow from premises. This work eventually led to formal logic, the mathematical theory of proof, and the computational theory of inference that underlies automated theorem proving and formal verification. Over the centuries, researchers identified several distinct forms of reasoning. Understanding these forms matters because LLMs engage with some of them more reliably than others, and knowing which is which helps you understand why a model might succeed at one problem type while failing at another.
Deductive Reasoning
Deductive reasoning moves from general premises to a specific, necessary conclusion. The classic form is the syllogism:
- All men are mortal.
- Socrates is a man.
- Therefore, Socrates is mortal.
The key feature of deduction is that if the premises are true and the argument is valid, the conclusion must be true. Deductive reasoning is truth-preserving: you cannot have true premises and a valid argument leading to a false conclusion. This makes deduction the gold standard for mathematical proof and formal logic.
It is worth pausing on why truth-preservation is such a powerful property. In everyday reasoning, we often accept conclusions tentatively, knowing they might be revised. Deduction gives us something stronger: a guarantee. If we accept the premises and accept that the form of the argument is valid, we have no choice but to accept the conclusion. This is why mathematics proceeds by proof rather than by experiment: a mathematical theorem, once proved, is necessarily true given the axioms, not merely probable.
In an AI context, deductive reasoning appears in tasks like logical entailment (given premises, what necessarily follows?), constraint satisfaction, and theorem proving. These tasks have crisp right answers, which makes them well-suited for automated evaluation. They also make the strongest demands on a reasoning system: there is no room for "probably" or "usually" in a deductively valid inference.
A particularly challenging variant for LLMs is reasoning about negation and universal quantification. "All A are B" and "No A is B" have very different logical content, but they share surface-level similarity that can mislead a model relying on statistical patterns. Similarly, "some A are B" and "all A are B" have overlapping implications that are easy to confuse. Human logicians use formal notation precisely to avoid these surface-level traps; LLMs must recover the underlying logic through the fuzzy medium of natural language.
Inductive Reasoning
Inductive reasoning moves from specific observations to a general rule. If you observe that the sun has risen every morning of your life, you inductively conclude that the sun rises every morning. Unlike deduction, inductive conclusions are not guaranteed: they are probabilistic, not necessary. Induction is the engine of scientific discovery, but the conclusions it produces are always defeasible, meaning they can be overturned by new evidence.
The philosopher David Hume identified what he called the "problem of induction" in the eighteenth century: no finite number of confirming observations can logically guarantee a universal generalization. You might observe a million white swans, but the inductive conclusion "all swans are white" turns out to be false once you encounter Australian black swans. Induction is epistemically risky, but it is also indispensable. Science would be impossible without it.
In AI, inductive reasoning underlies learning itself. When a model generalizes from training examples to unseen inputs, it is performing a form of inductive inference. Tasks like pattern recognition, analogy completion, and next-step prediction in a sequence all have an inductive character. The training process can be understood as large-scale induction: the model sees many examples of text and induces statistical regularities that allow it to predict new text.
This means there is a deep sense in which any LLM is a product of inductive reasoning: the parameters encode inductive generalizations from the training corpus. The challenge is that the model has no explicit mechanism to represent the uncertainty inherent in inductive conclusions. It generates outputs as if they were certain, even when the underlying generalization is fragile or the test case is near the edge of the distribution.
Abductive Reasoning
Abductive reasoning, sometimes called "inference to the best explanation," works differently from both deduction and induction. Given an observation, abduction asks: what hypothesis best explains it? If you come home to find the door open and muddy footprints on the floor, you might abductively infer that someone entered while you were away. This is the most likely explanation, but it is not the only one: perhaps a pet knocked the door open, or the wind blew it open after rain splashed mud inside.
The philosopher Charles Sanders Peirce introduced the term "abduction" in the late nineteenth century to describe this form of inference. He recognized that abduction is how we generate hypotheses in the first place: we observe something surprising, and we reason backward to what might have caused it. Deduction then tells us what would follow if the hypothesis were true, and induction tests that hypothesis against further observations. Together, these three forms of inference constitute the cycle of scientific inquiry.
Abduction is the reasoning mode that underlies diagnosis, detective work, and common-sense interpretation of ambiguous situations. When a physician looks at a patient's symptoms and reasons toward a diagnosis, they are performing abduction: finding the disease that best explains the presenting symptoms. When a detective names a suspect, they are abducing: choosing the explanation that best fits the evidence. Sherlock Holmes's famous "deductions" are, technically, abductions, since they generate the most plausible explanation of observations rather than deriving necessary conclusions.
It is also the most vulnerable to error: the "best" explanation is only as good as the set of hypotheses under consideration, and important alternatives are easily missed. A physician who has not considered a rare disease will not diagnose it, even if it is the true explanation. A detective who fixates on a prime suspect may not generate the alternative hypothesis that would exonerate them.
LLMs engage in something resembling abduction when they interpret ambiguous prompts, complete stories, or answer "why" questions. The model generates the most plausible explanation given its training distribution. This can work remarkably well when the question has a common answer in the training data, and can fail badly when the true explanation is rare or when the question is designed to probe explanations that differ from the statistical mode.
Analogical Reasoning
Analogical reasoning transfers knowledge from a familiar domain to a new one by identifying structural similarity. When physicists in the early twentieth century used planetary orbital models to reason about electron behavior in atoms, they were reasoning by analogy. The Bohr model of the atom, with electrons orbiting a nucleus the way planets orbit the sun, was explicitly analogical. The analogy guided intuition and hypothesis formation, even though the underlying physics eventually proved different: electrons obey quantum mechanics, not Newtonian gravity.
The history of science is full of such productive analogies. James Clerk Maxwell used analogies between electromagnetic and mechanical phenomena to develop his equations of electromagnetism. Darwin's mechanism of natural selection was partly inspired by an analogy with selective breeding. The mathematician George Polya argued that analogy is one of the primary tools of mathematical discovery, allowing mathematicians to transfer proof strategies from known results to new ones.
Analogies are powerful because they let you apply previously acquired reasoning patterns to new situations without starting from scratch. They are also dangerous because structural similarity can be superficial: two situations that look analogous may differ in ways that matter substantially. The analogy between electromagnetic waves and mechanical waves correctly predicted many of electromagnetism's properties, but it also misled physicists into searching for a luminiferous ether that did not exist.
LLMs are remarkably good at surface-level analogies and quite capable of deeper structural analogies when the relevant structure appears frequently in training data. They can complete "doctor is to hospital as teacher is to ___" with ease, and can often solve analogical reasoning problems from IQ-style tests. Where they struggle is with novel domains where the structural mapping requires abstract reasoning rather than pattern matching over familiar analogical pairs.
Causal Reasoning
Causal reasoning identifies cause-and-effect relationships. It is distinct from correlation: just because two events co-occur does not mean one causes the other. Causal reasoning requires understanding interventions (what would happen if X were changed?) and counterfactuals (what would have happened if X had been different?). These questions cannot be answered from observed data alone without additional assumptions about the causal structure of the system.
The statistician Judea Pearl, who received the Turing Award in 2011 for his work on probabilistic reasoning, formalized the mathematics of causal inference through directed acyclic graphs and the do-calculus. Pearl's framework distinguishes sharply between observational claims ("patients who take aspirin have lower rates of heart disease") and interventional claims ("giving patients aspirin reduces their risk of heart disease"). The first can be established from observational data; the second requires either a randomized experiment or strong causal assumptions. Confounding, where a third variable causally affects both the apparent cause and the apparent effect, is the central challenge.
Causal reasoning is arguably the hardest form for current LLMs. The challenge is that statistical associations in training data capture correlations, not causal mechanisms. A model trained on medical literature might learn that patients who receive chemotherapy have increased inflammation markers, but this does not tell it whether chemotherapy causes inflammation or whether a confounding factor (the cancer itself) is responsible. Disentangling cause from correlation requires interventional data or explicit causal modeling, neither of which is straightforwardly available from text.
There are subtler failures too. LLMs sometimes reverse causal direction: given that "rain causes wet roads," they might affirm that "wet roads cause rain" in certain surface contexts. They may treat temporal precedence as sufficient for causality, concluding that because A happened before B, A caused B (the post hoc fallacy). And they may fail to reason about counterfactuals reliably: "would the road be wet if it hadn't rained?" is a counterfactual question that requires explicitly imagining a world different from the observed one.
A key distinction throughout this chapter is reasoning versus memorization. A model that has memorized "Socrates is mortal" can answer the question without reasoning. A model that derives it from "all men are mortal" and "Socrates is a man" is reasoning. This distinction is hard to operationalize in practice, because LLMs may have seen many similar reasoning chains during training, blurring the line between retrieval and inference. This will be a recurring theme in the evaluation section.