Inference: Difference between revisions
ClueBot NG (talk | contribs) m Reverting possible vandalism by 65.190.49.120 to version by Philogo. False positive? Report it. Thanks, ClueBot NG. (206136) (Bot) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Expert-subject|Logic|date=November 2008}} |
{{Expert-subject|Logic|date=November 2008}} |
||
{{More footnotes|date=April 2010}} |
{{More footnotes|date=April 2010}} |
||
'''Inference''' is |
'''Inference''' is the act of drawing a conclusion by [[deductive reasoning]] from given facts. The conclusion drawn is also called an inference. The laws of valid inference are studied in the field of logic. |
||
Human inference (i.e. how humans draw conclusions) is traditionally studied within the field of [[cognitive psychology]]; [[artificial intelligence]] researchers develop automated inference systems to emulate human inference. [[Statistical inference]] allows for inference from quantitative data. |
Human inference (i.e. how humans draw conclusions) is traditionally studied within the field of [[cognitive psychology]]; [[artificial intelligence]] researchers develop automated inference systems to emulate human inference. [[Statistical inference]] allows for inference from quantitative data. |
Revision as of 06:59, 23 January 2011
This article needs attention from an expert in Logic. Please add a reason or a talk parameter to this template to explain the issue with the article.(November 2008) |
This article includes a list of general references, but it lacks sufficient corresponding inline citations. (April 2010) |
Inference is the act of drawing a conclusion by deductive reasoning from given facts. The conclusion drawn is also called an inference. The laws of valid inference are studied in the field of logic.
Human inference (i.e. how humans draw conclusions) is traditionally studied within the field of cognitive psychology; artificial intelligence researchers develop automated inference systems to emulate human inference. Statistical inference allows for inference from quantitative data.
Accuracy of inductive inferences
The process by which a conclusion is inferred from multiple observations is called inductive reasoning. The conclusion may be correct or incorrect, or correct to within a certain degree of accuracy, or correct in certain situations. Conclusions inferred from multiple observations may be tested by additional observations.
Examples of deductive inference
Greek philosophers defined a number of syllogisms, correct three part inferences, that can be used as building blocks for more complex reasoning. We begin with the most famous of them all:
- All men are mortal
- Socrates is a man
- Therefore, Socrates is mortal.
The reader can check that the premises and conclusion are true, but Logic is concerned with inference: does the truth of the conclusion follow from that of the premises?
The validity of an inference depends on the form of the inference. That is, the word "valid" does not refer to the truth of the premises or the conclusion, but rather to the form of the inference. An inference can be valid even if the parts are false, and can be invalid even if the parts are true. But a valid form with true premises will always have a true conclusion.
For example, consider the form of the following symbological track:
- All apples are blue.
- A banana is an apple.
- Therefore, a banana is blue.
For the conclusion to be necessarily true, the premises need to be true.
Now we turn to an invalid form.
- All A are B.
- C is a B.
- Therefore, C is an A.
To show that this form is invalid, we demonstrate how it can lead from true premises to a false conclusion.
- All apples are fruit. (True)
- Bananas are fruit. (True)
- Therefore, bananas are apples. (False)
A valid argument with false premises may lead to a false conclusion:
- All fat people are Greek.
- John Lennon was fat.
- Therefore, John Lennon was Greek.
When a valid argument is used to derive a false conclusion from false premises, the inference is valid because it follows the form of a correct inference.
A valid argument can also be used to derive a true conclusion from false premises:
- All fat people are musicians
- John Lennon was fat
- Therefore, John Lennon was a musician
In this case we have two false premises that imply a true conclusion.
Incorrect inference
An incorrect inference is known as a fallacy. Philosophers who study informal logic have compiled large lists of them, and cognitive psychologists have documented many biases in human reasoning that favor incorrect reasoning.
Automatic logical inference
AI systems first provided automated logical inference and these were once extremely popular research topics, leading to industrial applications under the form of expert systems and later business rule engines.
An inference system's job is to extend a knowledge base automatically. The knowledge base (KB) is a set of propositions that represent what the system knows about the world. Several techniques can be used by that system to extend KB by means of valid inferences. An additional requirement is that the conclusions the system arrives at are relevant to its task.
Example using Prolog
Prolog (for "Programming in Logic") is a programming language based on a subset of predicate calculus. Its main job is to check whether a certain proposition can be inferred from a KB (knowledge base) using an algorithm called backward chaining.
Let us return to our Socrates syllogism. We enter into our Knowledge Base the following piece of code:
mortal(X) :- man(X). man(socrates).
( Here :- can be read as if. Generally, if P Q (if P then Q) then in Prolog we would code Q:-P (Q if P).)
This states that all men are mortal and that Socrates is a man. Now we can ask the Prolog system about Socrates:
?- mortal(socrates).
(where ?- signifies a query: Can mortal(socrates). be deduced from the KB using the rules) gives the answer "Yes".
On the other hand, asking the Prolog system the following:
?- mortal(plato).
gives the answer "No".
This is because Prolog does not know anything about Plato, and hence defaults to any property about Plato being false (the so-called closed world assumption). Finally
?- mortal(X) (Is anything mortal) would result in "Yes" (and in some implementations: "Yes": X=socrates)
Prolog can be used for vastly more complicated inference tasks. See the corresponding article for further examples.
Use with the semantic web
Recently automatic reasoners found in semantic web a new field of application. Being based upon first-order logic, knowledge expressed using one variant of OWL can be logically processed, i.e., inferences can be made upon it.
Bayesian statistics and probability logic
Philosophers and scientists who follow the Bayesian framework for inference use the mathematical rules of probability to find this best explanation. The Bayesian view has a number of desirable features—one of them is that it embeds deductive (certain) logic as a subset (this prompts some writers to call Bayesian probability "probability logic", following E. T. Jaynes).
Bayesians identify probabilities with degrees of beliefs, with certainly true propositions having probability 1, and certainly false propositions having probability 0. To say that "it's going to rain tomorrow" has a 0.9 probability is to say that you consider the possibility of rain tomorrow as extremely likely.
Through the rules of probability, the probability of a conclusion and of alternatives can be calculated. The best explanation is most often identified with the most probable (see Bayesian decision theory). A central rule of Bayesian inference is Bayes' theorem, which gave its name to the field.
See Bayesian inference for examples.
Nonmonotonic logic[1]
A relation of inference is monotonic if the addition of premises does not undermine previously reached conclusions; otherwise the relation is nonmonotonic. Deductive inference, is monotonic: if a conclusion is reached on the basis of a certain set of premises, then that conclusion still holds if more premises are added.
By contrast, everyday reasoning is mostly nonmonotonic because it involves risk: we jump to conclusions from deductively insufficient premises. We know when it is worth or even necessary (e.g. in medical diagnosis) to take the risk. Yet we are also aware that such inference is defeasible—that new information may undermine old conclusions. Various kinds of defeasible but remarkably successful inference have traditionally captured the attention of philosophers (theories of induction, Peirce’s theory of abduction, inference to the best explanation, etc.). More recently logicians have begun to approach the phenomenon from a formal point of view. The result is a large body of theories at the interface of philosophy, logic and artificial intelligence.
See also
|
References
- ^ Fuhrmann, André. Nonmonotonic Logic (PDF).
- Hacking, Ian (2000). An Introduction to Probability and Inductive Logic. Cambridge University Press. ISBN 0521775019.
- Jaynes, Edwin Thompson (2003). Probability Theory: The Logic of Science. Cambridge University Press. ISBN 0-521-59271-2.
- McKay, David J.C. (2003). Information Theory, Inference, and Learning Algorithms. Cambridge University Press. ISBN 0-521-64298-1.
- Russell, Stuart J.; Norvig, Peter (2003), Artificial Intelligence: A Modern Approach (2nd ed.), Upper Saddle River, New Jersey: Prentice Hall, ISBN 0-13-790395-2
- Tijms, Henk (2004). Understanding Probability. Cambridge University Press. ISBN 0521701724.