CS 621 Artificial Intelligence Lecture 1 – 28/07/05

Slides:



Advertisements
Similar presentations
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12–Prolog examples: Himalayan club, member, rem_duplicate,
Advertisements

Artificial Intelligence
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 10– Club and Circuit Examples.
Standard Logical Equivalences
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 9,10,11- Logic; Deduction Theorem 23/1/09 to 30/1/09.
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 7– Predicate Calculus and Knowledge Representation.
CSE (c) S. Tanimoto, 2008 Propositional Logic
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–2,3: A* 3 rd and 5 th January, 2012.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 21– Predicate Calculus and Knowledge Representation 7 th September,
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 13– Search.
Reference: "Artificial Intelligence, a Modern Approach, 3rd ed."
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 1 - Introduction.
Artificial Intelligence Dr. Paul Wagner Department of Computer Science University of Wisconsin – Eau Claire.
AI Overview Reference: "Artificial Intelligence, a Modern Approach, 3 rd ed."
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 17, 18: Predicate Calculus 15.
Artificial Intelligence Tarik Booker. What we will cover… History Artificial Intelligence as Representation and Search Languages used in Artificial Intelligence.
Assoc. Prof. Abdulwahab AlSammak. Course Information Course Title: Artificial Intelligence Instructor : Assoc. Prof. Abdulwahab AlSammak
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–1: Introduction.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 1 - Introduction.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–39: Recap.
Artificial Intelligence: Introduction Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 15, 16: Predicate Calculus 8.
CS344: Introduction to Artificial Intelligence (associated lab: CS386)
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 9 Continuation of Logic and Semantic Web.
The AI War LISP and Prolog Basic Concepts of Logic Programming
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Chapter 1 –Defining AI Next Tuesday –Intelligent Agents –AIMA, Chapter 2 –HW: Problem.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 3 - Search.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 9- Completeness proof; introducing knowledge representation.
CS621: Artificial Intelligence
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 2 - Search.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 14: AI, Logic, and Puzzle Solving.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 1 - Introduction.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 13– Search 17 th August, 2010.
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture 5 – 08/08/05 Prof. Pushpak Bhattacharyya FUZZY LOGIC & INFERENCING.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 35–Himalayan Club example; introducing Prolog.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 3: Search, A*
AI Overview Reference: "Artificial Intelligence, a Modern Approach, 3 rd ed."
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 4- Logic.
Introduction to Artificial Intelligence Heshaam Faili University of Tehran.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–6: Propositional calculus, Semantic Tableau, formal System 2 nd August,
CS621: Artificial Intelligence
Artificial Intelligence
CS344: Introduction to Artificial Intelligence (associated lab: CS386)
Knowledge Representation and Reasoning
Resolution in the Propositional Calculus
Artificial Intelligence (AI)
Artificial Intelligence and Lisp Lecture 13 Additional Topics in Artificial Intelligence LiU Course TDDC65 Autumn Semester,
Artificial Intelligence introduction(2)
CS 621 Artificial Intelligence Lecture 4 – 05/08/05
CS344: Artificial Intelligence
Logic for Artificial Intelligence
Biointelligence Lab School of Computer Sci. & Eng.
Back to “Serious” Topics…
CS621: Artificial Intelligence
CS621: Artificial Intelligence
Biointelligence Lab School of Computer Sci. & Eng.
CS621: Artificial Intelligence
CS 621 Artificial Intelligence Lecture /10/05 Prof
CS621 : Artificial Intelligence
CS621: Artificial Intelligence
Artificial Intelligence
CS621: Artificial Intelligence
CS621: Artificial Intelligence
CS621: Artificial Intelligence
CS621: Artificial Intelligence
Prof. Pushpak Bhattacharyya, IIT Bombay
Artificial Intelligence
Artificial Intelligence
Presentation transcript:

CS 621 Artificial Intelligence Lecture 1 – 28/07/05 Prof. Pushpak Bhattacharyya Introduction 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

AI Introduction Language Processing Expert Search System Reasoning Learning Knowledge Representation Vision Planning Robotics 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Thinking Ability in Machines “Can machines think” 320 BC Aristotle – Syllogism (Disjunctive Reasoning) ex: All men are mortal. Shakespeare is a man. Shakespeare is mortal. Inductive Reasoning – specific  general (difficult for machine) ex: Crows in Bhopal are black. Crows in Mumbai are black. All crows are black. Abductive Learning - p  q if Q is true then P is true in absence of any other info. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Turing Machine Finite state control Infinite tape Church-Turing Hypothesis Anything that is computable, is computable by a TM & viceversa. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Turing Test Computer Human Interrogator has to find which is a machine and which is a human by asking questions to both of them. If the machine is able to fool the interrogator to behave like a human, then that machine passes the Turing Test. Interrogator 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Machines Gene/DNA: A string of bits which is a coded instruction. ANIMATE THEORY: Intelligence is producable only on carbon base. Silicon intelligence is not possible. PHYSICAL SYMBOL HYPOTHESIS: (opposed to Animate theory): Intelligence emerges from manipulating symbols & nothing else is needed. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Levels in AI Knowledge level (Disambiguation) Symbol level (e.g. Lisp program) Signal level (e.g. Neural Net) AI Science (Cognitive Sc, Psychology, social science, physics Sci + Engg (theory + code) Engineering 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Search 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Search is Fundamental and Ubiquitous Fundamental in all of AI. In planning : C B A B C A Table At every stage: multiple possibilities, search for the best possible sequence of options. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay In Vision R L Two eye system Left eye retina & right eye retina have pixels activated. Search for corresponding points: points in the left eye should correspond to points in the right eye – O(n2) algorithm. World 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

In Language Processing The man would like to play. Noun Verb Prep Verb Noun Verb System has to search amongst the possibilities to get the correct meaning. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Abstractions of Search State  state space Operators  transform states Cost  associated operations Start node Goal node (S) Minimal cost path 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Classical Example 8-puzzle 4 2 5 1 2 3 6 6 3 1 4 5 8 7 7 8 Start (S0) State: Matrix repersentation of the board. Goal 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Operators Here operators are movements of blank space. 4 2 5 3 1 6 MU 8 7 4 2 5 MR 4 2 5 6 3 1 3 1 6 8 7 8 7 ML 4 2 5 3 1 6 8 7 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Cost Cost of each operation = 1 for this problem. Which path leads to the goal – Uninformed search (Breadth first, Depth first) Heuristic Search (A* algorithm) 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Search All searchs are instantiations of “General Graph Search” (GGS) algo. Input: The state space graph (implicit/explicit). Output: The path to the goal node. Data Structures: 1. Open list (OL) 2. Closed list (CL) 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Example OL :A CL : OL : B C D CL : A OL : C D E CL : A B OL : D E F CL : A B C OL : E F G CL : A B C D A Start 1 3 4 B C D 6 2 9 8 3 E F G State space graph 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

KNOWLEDGE REPRESENTATION & INFERENCING USING PREDICATE CALCULUS 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Example Example: John, Jack & Jill are members of Alpine club. Every member if the club is either a mountain climber or a skier. All skiers like snow. No mountain climber likes rain. Jack dislikes whatever John likes, and likes whatever John dislikes. John likes rain and snow. Is there a member who is a mountain climber but not a skier. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Knowledge Representation member (John, Alpine) member (Jack, Alpine) member (Jill, Alpine) x [member(x, Alpine) → mc(x) sk(x)] x [sk(x) → like(x, snow)] x [mc(x) → ~like(x, rain)] x [like(John, x) → ~like(John, x)] x [~like(John, x) → like(Jack, x)] like(John, rain) like(John, snow) Ques: x [member(x, Alpine) mc(x) ~sk(x)] 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Inference Strategy - RESOLUTION Basic Idea: REFUTATION of the goal Proof by contradiction Suppose the goal is false. Then show contradiction in the knowledge base. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Steps in Inferencing Convert all expressions, including the falsified goal, into clauses. member (John, Alpine) member (Jack, Alpine) member (Jill, Alpine) ~ member(x1, Alpine) ν mc(x1) ν sk(x1) ~ sk(x2) ν like(x2,snow) ~ mc(x3) ν ~ like(x3,rain) ~ like(John, x4) ν ~ like(Jack, x4) like(John, x5) ν like(Jack, x5) like(John, rain) like(John, snow) ~ member(x6, Alpine) ν ~ mc(x6) ν sk(x6) 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Run Resolution By unification find value for x6 Theory of resolution: given P & ~P ν Q Resolvents we can obtain Q (Resolute) 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Inverted Tree Diagram P ~P ν Q Q Aim C1 C2 Indicates contradiction null clause 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Goal with Negation ~[ x{(member (x, Alpine) Λ mc(x) Λ ~ sk(x))}] x[~ member (x, Alpine) ν ~ mc(x) ν sk(x)] 11. ~ member(x6, Alpine) ν ~ mc(x6) ν sk(x6) 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Monotonic Logic Every step of resolution increases the knowledge base monotonically. Non-monotonic logic which used default reasoning. NEGATION BY FAILURE 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Modus Ponens & Modus Tolens P & P →Q gives Q Modus Tolens: ~Q and P →Q gives ~P 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Prolog Predicate calculus (HORN Clause) + Resolution HORN Clauses: All the implications have a single literal as consequent. A(antecedent) → B(consequent) B is a single literal, never contain any operator. Moreover B has to be a positive literal. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Summary AI is a fascinating discipline, needing input from many branches of knowledge. Scaling up and robustness are the needs of today’s world. Web has introduced new challenges to the field. Language processing and machine learning have assumed great importance. In this lecture we took a look at two core areas: search and reasoning, which will be developed further. Will delve into other areas as the course progresses. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Reading Material Basic Text Books Russell S, Norvig P (1995) Artificial Intelligence: A Modern Approach, Prentice Hall Series in Artificial Intelligence. Englewood Cliffs, New Jersey Nilsson N. J. (1980) Principles of Artificial Intelligence, Morgan Kaufmann Publishers Inc. Journals AI, IEEE SMC, Machine Learning, Computational Linguistics Proceedings of AAAI, ECAI, IJCAI, ICML, ACL, COLING etc. etc. 28-07-05 Prof. Pushpak Bhattacharyya, IIT Bombay