SlideShare a Scribd company logo
1 of 29
Download to read offline
Why Machines Can’t Think
(logically)
André Vellino
vellino@sympatico.ca
Carleton University
Cognitive Science Program
2
Outline
n General Question:
What do Logic, Complexity Theory and Automated
Theorem Proving have to say about the question
“can machines think?” (or at least, “can machines
reason?”)
n The role of “Logics” in AI
n Results in the Complexity of Automated
Theorem Proving Procedures
n Why Machines Can’t Think: The Argument
n The Logicist Response
3
Role of “Logics” in AI
“[AI is] the study of the computations that make it
possible to perceive, reason and act”
Pat Winston
Role of “Logics” is to:
n (a) to provide a formal system powerful
enough to model various representations of
knowledge, belief and action;
n (b) to characterize mechanisms that specify
permissible (aka “valid”) inferences.
4
Examples of “Logics” for AI
n 2-valued Propositional Calculus
n First Order Predicate Calculus
n Modal Logic (possibility and necessity)
n Deontic Logic (permissions and obligations)
n Relevance Logic (logic of “relevant” implication)
n Conditional Logic (counterfactuals)
n Default Logic (“common sense” reasoning)
n Epistemic Logic (beliefs and knowledge)
n Description Logics (knowledge representation)
5
Example: Defeasible Reasoning
if the traffic light is red then stop
(defeasible rule)
[in the absence of any further information, i.e.
under normal conditions]
Red ⊃ Stop
if the light for going straight is green,
then go (straight) (absolute rule)
Green → Go
6
Expressive Power of a Logic
n Depends on the complexity of the
semantics.
Expressive
power of
model theory
Other 1st-order Theories
2-valued Propositional Calculus
1st-order Predicate Calculus
Other Propositional Calculi
7
Propositional Calculus (PC)
PC is the language whose well-formed formulas are composed of a
finite combination of:
Logical constants:
{ ∨, &, ≡, → }
An infinite set of atomic propositional variables:
{a, b, c,..., a1, b1, c1, ....}.
e.g. (p → (q → p)) & ((~a ∨ b) ≡ (a → b))
Without Loss of Generality, consider only formulas in Conjunctive
Normal Form or “sets of clauses”
(clauses are disjunctions)
e.g. {((p ∨ q ∨ r), (~p ∨ s), (r ∨ t)}
8
Satisfiability / Unsatisfiability
a set of clauses Σ = {C1, C2, ...Cn} is satisfiable if ∃ an
assignment of truth values to literals in Σ such that
C1 & C2 & ...&Cn is true SAT
a set of clauses Σ = {C1, C2, ...Cn} is unsatisfiable if no
assignments of truth values to literals in Σ are such that
C1 & C2 & ...&Cn is true Co-SAT
9
Theorem Provers for co-SAT
n To prove T is a tautology, assume ~T
and prove that ∅ follows using a
theorem prover such as:
n Truth Tables (Wittgenstein / Frege / Carroll)
n Semantic Tableaux (Beth)
n Resolution (Robinson / Davis-Putnam)
n Sequent Calculus (Gentzen Systems)
n Axioms w/ substitution (Frege Systems)
10
Example 1: Semantic Tableaux
Simple example: prove the
inconsistency of
(a v b) & (e v f) & (~a v b) & ~b
i.e. {ab, ef,~ab, ~b}
b
X
~a
~b
X
b
X
~a ~a b
X
~a
X
~c
X
~b
ϑ
a b
~b
X
fe
11
Example 2: Resolution
Resolution:
a ∪ Β & ~a ∪ C
∴ Β ∪ C
For the set of clauses {ab, ef,~ab,~b}
1) ab premise
2) ~ab premise
3) ~b premise
4) b by resolving on a in 1 & 2
5) ∅ by resolving on b in 4 & 3
12
Computability, Decidability
and Feasibility
n Computable
n There exists a Turing Machine (“decision
procedure” / “algorithm”) that halts.
n Decidable
n Given {Σ, T} it is computable whether Σ |− T or
whether Σ |− ∼ T
n Feasibly Decidable
n Decidable by a Turing Machine in polynomial time.
13
Polynomial vs. Exponential
n Polynomial complexity
n Time (space) grows as a function nk where
n is proportional to the size of the input
and k is a constant
n Exponential complexity
n Time (space) grows as a function kn where
n is proportional to the size of the input
and k is a constant
14
The Class P
n P is the class of languages recognizable by a
deterministic Turing Machine in polynomial time.
Example:
n tautology (falsifiability) of propositional biconditionals
without negation
((a ≡ b) ≡ (c ≡ b)) ≡ (a ≡ c)
n Integer divisibility (indivisibility) by 2
n co-P is the complement of P. P = co-P
15
The Class NP / NP-Complete
NP is the class of languages recognizable by a non-deterministic
Turing machine in polynomial time
e.g.:
all problems in P
all "guess and verify" problems such as
SAT, 3-SAT
Traveling Salesman, Subgraph Isomorphism
co-NP is the class of languages in the complement of NP
e.g.: co-SAT
L is in NP-complete if, for every problem L' in NP there exists a
polynomial time transformation from L' to L.
16
P
NP
NP-complete
Open Problem: is P =NP ?
n Steve Cook (1971)
P
NP
NP-complete
NP-I
P = NP
?oror
17
Strategy for Proof that P ≠ NP
if P = NP then co-NP = NP (since co-P = P )
∴ co-NP ≠ NP implies P ≠ NP
∃ an efficient proof method for TAUT iff co-NP = NP.
∴ if no theorem proving procedure can produce proofs for
all tautologies that are a polynomial function of the
length of the tautology (i.e. the lengths of all proofs for
theorems are exponentially long), then P ≠ NP.
18
Summary
n Verify SAT P
p ∨ q & r ∨ ~q
T F T T
n Find SAT NP
p ∨ q & r ∨ ~q
? ? ? ?
n Prove UNSAT co-NP
a ∨ b & ~a ∨ b & ~b
19
Complexity vs. AI
n Complexity Game (co-NP=NP?)
n To find “hard examples” for increasingly
general propositional theorem proving
procedures.
n AI Reasoning Game
n To find “efficient” and practical theorem-
proving procedures in Logics for AI
20
Hard Problems for Resolution
n Pigeon Hole Clauses (Haken ‘85)
n balls can't fit into n-1 holes
~ball_1_is_in_hole_1 v ~ball_2_is_in_hole_1
~ball_1_is_in_hole_1 v ~ball_3_is_in_hole_1
~ball_2_is_in_hole_1 v ~ball_3_is_in_hole_1
~ball_1_is_in_hole_2 v ~ball_2_is_in_hole_2
~ball_1_is_in_hole_2 v ~ball_3_is_in_hole_2
~ball_2_is_in_hole_2 v ~ball_3_is_in_hole_2
each hole can fit only one ball
n x (n-1)2 clauses
ball_1_is_in_hole_1 v ball_1_is_in_hole_2
ball_2_is_in_hole_1 v ball_2_is_in_hole_2
ball_3_is_in_hole_1 v ball_3_is_in_hole_2
3 balls can fit into 2 holes
n clauses
22
Search-Space vs. Proof Length
n For problems in NP
(SAT), the search space
is exponentially large
but the proof is
polynomial
n For problems in Co-NP
(co-SAT), the minimal
length proof is
exponential and the
search space even larger
23
Why Machines Can’t Think
n If (any) “reasoning” is done by “logical rule-
following” and
n If any problems that people solve (feasibly)
can’t be solved (feasibly) by following rules of
logic
Then, either
n people don't reason logically
or
n logic is no foundation for artificial intelligence
24
A Few Responses
1) Worst-case complexity is irrelevant because
average-case complexity is what matters in
practice;
2) Exponential growth is irrelevant if the
exponent is small for all realistic inputs
3) There are efficient theorem proving methods
that are sound but incomplete;
4) Computational complexity can be overcome
by increasing the power of the logic;
Selman, Mitchell & Levesque ‘96
26
“Exponential” isn’t bad if
exponent is small
27
Devise Sound, Tractable but
Incomplete ATPs
n Vivid Reasoning (Levesque)
n Wants to make “believers out of computers” and
devise incomplete but tractable logics that are
psychologically realistic (e.g. capture the logic of
“mental models” theory – Johnson-Laird)
n Bounded Rationality (Cherniak)
n “Rational agents” need to use “a better than
random, but not perfect, gambling strategy for
identifying sound inferences”
28
Use “Stronger” Logics
n People don’t map ordinary problems (e.g.
pigeon-hole problem) into languages (PC)
that are computationally hard
n Use a different, more powerful logic in which
propositionally-hard-to-prove formulae are
easy to prove (e.g. extended resolution)
n Problem: punt the exponential-length-of-proof
constraint to a search-for-a-short-proof problem
29
Concluding Remarks
n If “language of thought” has a structure that
can represented as or even modeled by a
logic then you need to characterize what is
“infeasibly computable” about it and why;
n If you can understand what inferences are
“cognitively hard” for people experimentally,
then you can test hypotheses about what
“logics” are being used in people to draw
inferences.

More Related Content

What's hot

Point-free foundation of Mathematics
Point-free foundation of MathematicsPoint-free foundation of Mathematics
Point-free foundation of MathematicsMarco Benini
 
Introduction to NP Completeness
Introduction to NP CompletenessIntroduction to NP Completeness
Introduction to NP CompletenessGene Moo Lee
 
Consistency proof of a feasible arithmetic inside a bounded arithmetic
Consistency proof of a feasible arithmetic inside a bounded arithmeticConsistency proof of a feasible arithmetic inside a bounded arithmetic
Consistency proof of a feasible arithmetic inside a bounded arithmeticYamagata Yoriyuki
 
lecture 27
lecture 27lecture 27
lecture 27sajinsc
 
The axiomatic power of Kolmogorov complexity
The axiomatic power of Kolmogorov complexity The axiomatic power of Kolmogorov complexity
The axiomatic power of Kolmogorov complexity lbienven
 
An Analysis and Study of Iteration Procedures
An Analysis and Study of Iteration ProceduresAn Analysis and Study of Iteration Procedures
An Analysis and Study of Iteration Proceduresijtsrd
 
MMath Paper, Canlin Zhang
MMath Paper, Canlin ZhangMMath Paper, Canlin Zhang
MMath Paper, Canlin Zhangcanlin zhang
 
Latent transwarp neural networks
Latent transwarp neural networksLatent transwarp neural networks
Latent transwarp neural networksLonghow Lam
 
lecture 28
lecture 28lecture 28
lecture 28sajinsc
 
MathPaperPublished
MathPaperPublishedMathPaperPublished
MathPaperPublishedLonghow Lam
 
Np completeness
Np completenessNp completeness
Np completenessRajendran
 

What's hot (20)

Problemas de Smale
Problemas de SmaleProblemas de Smale
Problemas de Smale
 
10.1.1.96.9176
10.1.1.96.917610.1.1.96.9176
10.1.1.96.9176
 
NP completeness
NP completenessNP completeness
NP completeness
 
P vs NP
P vs NP P vs NP
P vs NP
 
Teori pnp
Teori pnpTeori pnp
Teori pnp
 
Point-free foundation of Mathematics
Point-free foundation of MathematicsPoint-free foundation of Mathematics
Point-free foundation of Mathematics
 
Puy chosuantai2
Puy chosuantai2Puy chosuantai2
Puy chosuantai2
 
New version
New versionNew version
New version
 
Introduction to NP Completeness
Introduction to NP CompletenessIntroduction to NP Completeness
Introduction to NP Completeness
 
Consistency proof of a feasible arithmetic inside a bounded arithmetic
Consistency proof of a feasible arithmetic inside a bounded arithmeticConsistency proof of a feasible arithmetic inside a bounded arithmetic
Consistency proof of a feasible arithmetic inside a bounded arithmetic
 
lecture 27
lecture 27lecture 27
lecture 27
 
The axiomatic power of Kolmogorov complexity
The axiomatic power of Kolmogorov complexity The axiomatic power of Kolmogorov complexity
The axiomatic power of Kolmogorov complexity
 
An Analysis and Study of Iteration Procedures
An Analysis and Study of Iteration ProceduresAn Analysis and Study of Iteration Procedures
An Analysis and Study of Iteration Procedures
 
MMath Paper, Canlin Zhang
MMath Paper, Canlin ZhangMMath Paper, Canlin Zhang
MMath Paper, Canlin Zhang
 
Latent transwarp neural networks
Latent transwarp neural networksLatent transwarp neural networks
Latent transwarp neural networks
 
lecture 28
lecture 28lecture 28
lecture 28
 
MathPaperPublished
MathPaperPublishedMathPaperPublished
MathPaperPublished
 
NP Complete Problems in Graph Theory
NP Complete Problems in Graph TheoryNP Complete Problems in Graph Theory
NP Complete Problems in Graph Theory
 
Np complete
Np completeNp complete
Np complete
 
Np completeness
Np completenessNp completeness
Np completeness
 

Similar to Why machines can't think (logically)

Lecture notes in_discrete_mathematics
Lecture notes in_discrete_mathematicsLecture notes in_discrete_mathematics
Lecture notes in_discrete_mathematicssaiful26baiust
 
Notes discrete math
Notes discrete mathNotes discrete math
Notes discrete mathliyana31
 
20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrison20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrisonComputer Science Club
 
Computational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityComputational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityAntonis Antonopoulos
 
Has There Been Progress on the P vs. NP Question?,
Has There Been Progress on the P vs. NP Question?,Has There Been Progress on the P vs. NP Question?,
Has There Been Progress on the P vs. NP Question?,umsl snfrzb
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignmenttesfahunegn minwuyelet
 
Limits of Computation
Limits of ComputationLimits of Computation
Limits of ComputationJoshua Reuben
 
The Limits of Computation
The Limits of ComputationThe Limits of Computation
The Limits of ComputationJoshua Reuben
 
P, NP and NP-Complete, Theory of NP-Completeness V2
P, NP and NP-Complete, Theory of NP-Completeness V2P, NP and NP-Complete, Theory of NP-Completeness V2
P, NP and NP-Complete, Theory of NP-Completeness V2S.Shayan Daneshvar
 
Np completeness h4
Np completeness  h4Np completeness  h4
Np completeness h4Rajendran
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardAnimesh Chaturvedi
 
A Stochastic Limit Approach To The SAT Problem
A Stochastic Limit Approach To The SAT ProblemA Stochastic Limit Approach To The SAT Problem
A Stochastic Limit Approach To The SAT ProblemValerie Felton
 
Godels First Incompleteness Theorem
Godels First Incompleteness TheoremGodels First Incompleteness Theorem
Godels First Incompleteness Theoremmmanning02474
 
Discrete_Mathmatics Projects report.docx
Discrete_Mathmatics Projects report.docxDiscrete_Mathmatics Projects report.docx
Discrete_Mathmatics Projects report.docxSwapnajitSahoo1
 
Artifial intelligence
Artifial intelligenceArtifial intelligence
Artifial intelligenceRaga Deepthi
 
The Complexity Of Primality Testing
The Complexity Of Primality TestingThe Complexity Of Primality Testing
The Complexity Of Primality TestingMohammad Elsheikh
 
Basic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdfBasic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdfArivukkarasu Dhanapal
 

Similar to Why machines can't think (logically) (20)

Lecture notes in_discrete_mathematics
Lecture notes in_discrete_mathematicsLecture notes in_discrete_mathematics
Lecture notes in_discrete_mathematics
 
Notes discrete math
Notes discrete mathNotes discrete math
Notes discrete math
 
20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrison20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrison
 
Computational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityComputational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-Undecidability
 
Has There Been Progress on the P vs. NP Question?,
Has There Been Progress on the P vs. NP Question?,Has There Been Progress on the P vs. NP Question?,
Has There Been Progress on the P vs. NP Question?,
 
DISMATH_Part1
DISMATH_Part1DISMATH_Part1
DISMATH_Part1
 
dma_ppt.pdf
dma_ppt.pdfdma_ppt.pdf
dma_ppt.pdf
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignment
 
AI R16 - UNIT-3.pdf
AI R16 - UNIT-3.pdfAI R16 - UNIT-3.pdf
AI R16 - UNIT-3.pdf
 
Limits of Computation
Limits of ComputationLimits of Computation
Limits of Computation
 
The Limits of Computation
The Limits of ComputationThe Limits of Computation
The Limits of Computation
 
P, NP and NP-Complete, Theory of NP-Completeness V2
P, NP and NP-Complete, Theory of NP-Completeness V2P, NP and NP-Complete, Theory of NP-Completeness V2
P, NP and NP-Complete, Theory of NP-Completeness V2
 
Np completeness h4
Np completeness  h4Np completeness  h4
Np completeness h4
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-Hard
 
A Stochastic Limit Approach To The SAT Problem
A Stochastic Limit Approach To The SAT ProblemA Stochastic Limit Approach To The SAT Problem
A Stochastic Limit Approach To The SAT Problem
 
Godels First Incompleteness Theorem
Godels First Incompleteness TheoremGodels First Incompleteness Theorem
Godels First Incompleteness Theorem
 
Discrete_Mathmatics Projects report.docx
Discrete_Mathmatics Projects report.docxDiscrete_Mathmatics Projects report.docx
Discrete_Mathmatics Projects report.docx
 
Artifial intelligence
Artifial intelligenceArtifial intelligence
Artifial intelligence
 
The Complexity Of Primality Testing
The Complexity Of Primality TestingThe Complexity Of Primality Testing
The Complexity Of Primality Testing
 
Basic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdfBasic_concepts_NP_Hard_NP_Complete.pdf
Basic_concepts_NP_Hard_NP_Complete.pdf
 

More from Andre Vellino

Measuring academic influence: Not all citations are equal
Measuring academic influence: Not all citations are equalMeasuring academic influence: Not all citations are equal
Measuring academic influence: Not all citations are equalAndre Vellino
 
Vellino presentationtocisti
Vellino presentationtocistiVellino presentationtocisti
Vellino presentationtocistiAndre Vellino
 
Usage-Based vs. Citation-Based Recommenders in a Digital Library
Usage-Based vs. Citation-Based Recommenders in a Digital LibraryUsage-Based vs. Citation-Based Recommenders in a Digital Library
Usage-Based vs. Citation-Based Recommenders in a Digital LibraryAndre Vellino
 
Mechanical Librarian
Mechanical LibrarianMechanical Librarian
Mechanical LibrarianAndre Vellino
 
La recommandation d'articles scientifiques dans une bibliothèque numérique
La recommandation d'articles scientifiques dans une bibliothèque numériqueLa recommandation d'articles scientifiques dans une bibliothèque numérique
La recommandation d'articles scientifiques dans une bibliothèque numériqueAndre Vellino
 
Synthese Recommender System
Synthese Recommender SystemSynthese Recommender System
Synthese Recommender SystemAndre Vellino
 

More from Andre Vellino (6)

Measuring academic influence: Not all citations are equal
Measuring academic influence: Not all citations are equalMeasuring academic influence: Not all citations are equal
Measuring academic influence: Not all citations are equal
 
Vellino presentationtocisti
Vellino presentationtocistiVellino presentationtocisti
Vellino presentationtocisti
 
Usage-Based vs. Citation-Based Recommenders in a Digital Library
Usage-Based vs. Citation-Based Recommenders in a Digital LibraryUsage-Based vs. Citation-Based Recommenders in a Digital Library
Usage-Based vs. Citation-Based Recommenders in a Digital Library
 
Mechanical Librarian
Mechanical LibrarianMechanical Librarian
Mechanical Librarian
 
La recommandation d'articles scientifiques dans une bibliothèque numérique
La recommandation d'articles scientifiques dans une bibliothèque numériqueLa recommandation d'articles scientifiques dans une bibliothèque numérique
La recommandation d'articles scientifiques dans une bibliothèque numérique
 
Synthese Recommender System
Synthese Recommender SystemSynthese Recommender System
Synthese Recommender System
 

Recently uploaded

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Why machines can't think (logically)

  • 1. Why Machines Can’t Think (logically) André Vellino vellino@sympatico.ca Carleton University Cognitive Science Program
  • 2. 2 Outline n General Question: What do Logic, Complexity Theory and Automated Theorem Proving have to say about the question “can machines think?” (or at least, “can machines reason?”) n The role of “Logics” in AI n Results in the Complexity of Automated Theorem Proving Procedures n Why Machines Can’t Think: The Argument n The Logicist Response
  • 3. 3 Role of “Logics” in AI “[AI is] the study of the computations that make it possible to perceive, reason and act” Pat Winston Role of “Logics” is to: n (a) to provide a formal system powerful enough to model various representations of knowledge, belief and action; n (b) to characterize mechanisms that specify permissible (aka “valid”) inferences.
  • 4. 4 Examples of “Logics” for AI n 2-valued Propositional Calculus n First Order Predicate Calculus n Modal Logic (possibility and necessity) n Deontic Logic (permissions and obligations) n Relevance Logic (logic of “relevant” implication) n Conditional Logic (counterfactuals) n Default Logic (“common sense” reasoning) n Epistemic Logic (beliefs and knowledge) n Description Logics (knowledge representation)
  • 5. 5 Example: Defeasible Reasoning if the traffic light is red then stop (defeasible rule) [in the absence of any further information, i.e. under normal conditions] Red ⊃ Stop if the light for going straight is green, then go (straight) (absolute rule) Green → Go
  • 6. 6 Expressive Power of a Logic n Depends on the complexity of the semantics. Expressive power of model theory Other 1st-order Theories 2-valued Propositional Calculus 1st-order Predicate Calculus Other Propositional Calculi
  • 7. 7 Propositional Calculus (PC) PC is the language whose well-formed formulas are composed of a finite combination of: Logical constants: { ∨, &, ≡, → } An infinite set of atomic propositional variables: {a, b, c,..., a1, b1, c1, ....}. e.g. (p → (q → p)) & ((~a ∨ b) ≡ (a → b)) Without Loss of Generality, consider only formulas in Conjunctive Normal Form or “sets of clauses” (clauses are disjunctions) e.g. {((p ∨ q ∨ r), (~p ∨ s), (r ∨ t)}
  • 8. 8 Satisfiability / Unsatisfiability a set of clauses Σ = {C1, C2, ...Cn} is satisfiable if ∃ an assignment of truth values to literals in Σ such that C1 & C2 & ...&Cn is true SAT a set of clauses Σ = {C1, C2, ...Cn} is unsatisfiable if no assignments of truth values to literals in Σ are such that C1 & C2 & ...&Cn is true Co-SAT
  • 9. 9 Theorem Provers for co-SAT n To prove T is a tautology, assume ~T and prove that ∅ follows using a theorem prover such as: n Truth Tables (Wittgenstein / Frege / Carroll) n Semantic Tableaux (Beth) n Resolution (Robinson / Davis-Putnam) n Sequent Calculus (Gentzen Systems) n Axioms w/ substitution (Frege Systems)
  • 10. 10 Example 1: Semantic Tableaux Simple example: prove the inconsistency of (a v b) & (e v f) & (~a v b) & ~b i.e. {ab, ef,~ab, ~b} b X ~a ~b X b X ~a ~a b X ~a X ~c X ~b ϑ a b ~b X fe
  • 11. 11 Example 2: Resolution Resolution: a ∪ Β & ~a ∪ C ∴ Β ∪ C For the set of clauses {ab, ef,~ab,~b} 1) ab premise 2) ~ab premise 3) ~b premise 4) b by resolving on a in 1 & 2 5) ∅ by resolving on b in 4 & 3
  • 12. 12 Computability, Decidability and Feasibility n Computable n There exists a Turing Machine (“decision procedure” / “algorithm”) that halts. n Decidable n Given {Σ, T} it is computable whether Σ |− T or whether Σ |− ∼ T n Feasibly Decidable n Decidable by a Turing Machine in polynomial time.
  • 13. 13 Polynomial vs. Exponential n Polynomial complexity n Time (space) grows as a function nk where n is proportional to the size of the input and k is a constant n Exponential complexity n Time (space) grows as a function kn where n is proportional to the size of the input and k is a constant
  • 14. 14 The Class P n P is the class of languages recognizable by a deterministic Turing Machine in polynomial time. Example: n tautology (falsifiability) of propositional biconditionals without negation ((a ≡ b) ≡ (c ≡ b)) ≡ (a ≡ c) n Integer divisibility (indivisibility) by 2 n co-P is the complement of P. P = co-P
  • 15. 15 The Class NP / NP-Complete NP is the class of languages recognizable by a non-deterministic Turing machine in polynomial time e.g.: all problems in P all "guess and verify" problems such as SAT, 3-SAT Traveling Salesman, Subgraph Isomorphism co-NP is the class of languages in the complement of NP e.g.: co-SAT L is in NP-complete if, for every problem L' in NP there exists a polynomial time transformation from L' to L.
  • 16. 16 P NP NP-complete Open Problem: is P =NP ? n Steve Cook (1971) P NP NP-complete NP-I P = NP ?oror
  • 17. 17 Strategy for Proof that P ≠ NP if P = NP then co-NP = NP (since co-P = P ) ∴ co-NP ≠ NP implies P ≠ NP ∃ an efficient proof method for TAUT iff co-NP = NP. ∴ if no theorem proving procedure can produce proofs for all tautologies that are a polynomial function of the length of the tautology (i.e. the lengths of all proofs for theorems are exponentially long), then P ≠ NP.
  • 18. 18 Summary n Verify SAT P p ∨ q & r ∨ ~q T F T T n Find SAT NP p ∨ q & r ∨ ~q ? ? ? ? n Prove UNSAT co-NP a ∨ b & ~a ∨ b & ~b
  • 19. 19 Complexity vs. AI n Complexity Game (co-NP=NP?) n To find “hard examples” for increasingly general propositional theorem proving procedures. n AI Reasoning Game n To find “efficient” and practical theorem- proving procedures in Logics for AI
  • 20. 20 Hard Problems for Resolution n Pigeon Hole Clauses (Haken ‘85) n balls can't fit into n-1 holes ~ball_1_is_in_hole_1 v ~ball_2_is_in_hole_1 ~ball_1_is_in_hole_1 v ~ball_3_is_in_hole_1 ~ball_2_is_in_hole_1 v ~ball_3_is_in_hole_1 ~ball_1_is_in_hole_2 v ~ball_2_is_in_hole_2 ~ball_1_is_in_hole_2 v ~ball_3_is_in_hole_2 ~ball_2_is_in_hole_2 v ~ball_3_is_in_hole_2 each hole can fit only one ball n x (n-1)2 clauses ball_1_is_in_hole_1 v ball_1_is_in_hole_2 ball_2_is_in_hole_1 v ball_2_is_in_hole_2 ball_3_is_in_hole_1 v ball_3_is_in_hole_2 3 balls can fit into 2 holes n clauses
  • 21.
  • 22. 22 Search-Space vs. Proof Length n For problems in NP (SAT), the search space is exponentially large but the proof is polynomial n For problems in Co-NP (co-SAT), the minimal length proof is exponential and the search space even larger
  • 23. 23 Why Machines Can’t Think n If (any) “reasoning” is done by “logical rule- following” and n If any problems that people solve (feasibly) can’t be solved (feasibly) by following rules of logic Then, either n people don't reason logically or n logic is no foundation for artificial intelligence
  • 24. 24 A Few Responses 1) Worst-case complexity is irrelevant because average-case complexity is what matters in practice; 2) Exponential growth is irrelevant if the exponent is small for all realistic inputs 3) There are efficient theorem proving methods that are sound but incomplete; 4) Computational complexity can be overcome by increasing the power of the logic;
  • 25. Selman, Mitchell & Levesque ‘96
  • 26. 26 “Exponential” isn’t bad if exponent is small
  • 27. 27 Devise Sound, Tractable but Incomplete ATPs n Vivid Reasoning (Levesque) n Wants to make “believers out of computers” and devise incomplete but tractable logics that are psychologically realistic (e.g. capture the logic of “mental models” theory – Johnson-Laird) n Bounded Rationality (Cherniak) n “Rational agents” need to use “a better than random, but not perfect, gambling strategy for identifying sound inferences”
  • 28. 28 Use “Stronger” Logics n People don’t map ordinary problems (e.g. pigeon-hole problem) into languages (PC) that are computationally hard n Use a different, more powerful logic in which propositionally-hard-to-prove formulae are easy to prove (e.g. extended resolution) n Problem: punt the exponential-length-of-proof constraint to a search-for-a-short-proof problem
  • 29. 29 Concluding Remarks n If “language of thought” has a structure that can represented as or even modeled by a logic then you need to characterize what is “infeasibly computable” about it and why; n If you can understand what inferences are “cognitively hard” for people experimentally, then you can test hypotheses about what “logics” are being used in people to draw inferences.