CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–2: Introduction: Search+Logic.

Slides:



Advertisements
Similar presentations
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 10– Club and Circuit Examples.
Advertisements

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.
Artificial Intelligence. Intelligent? What is intelligence? computational part of the ability to achieve goals in the world.
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture– 4, 5, 6: A* properties 9 th,10 th and 12 th January,
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–1: Introduction.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 29– AI and Probability (exemplified through NLP) 4 th Oct, 2010.
Introduction to Artificial Intelligence CSE 473 Winter 1999.
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–1: Introduction 2 nd January
© 2002 Franz J. Kurfess Introduction 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–2,3: A* 3 rd and 5 th January, 2012.
1. 1 Text Book Artificial Intelligence: A Modern Approach, S. Russell and P. Norvig, 3/e, Prentice Hall, 2010 References  Artificial Intelligence, Patrick.
CS : Artificial Intelligence: Representation and Problem Solving Fall 2002 Prof. Tuomas Sandholm Computer Science Department Carnegie Mellon University.
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 13– Search.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–2: Fuzzy Logic and Inferencing.
9/8/20151 Natural Language Processing Lecture Notes 1.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 1 - Introduction.
Review Topics Test 1. Background Topics Definitions of Artificial Intelligence & Turing Test Physical symbol system hypothesis vs connectionist approaches.
CS621: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–1: Introduction 22 nd July 2010.
Artificial Intelligence Dr. Paul Wagner Department of Computer Science University of Wisconsin – Eau Claire.
Artificial Intelligence Building Knowledge Base Chapter 8.
Assoc. Prof. Abdulwahab AlSammak. Course Information Course Title: Artificial Intelligence Instructor : Assoc. Prof. Abdulwahab AlSammak
CS344 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 29 Introducing Neural Nets.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–1: Introduction.
CS344: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 20,21: Application of Predicate Calculus.
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)
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 3 - Search.
University of Kurdistan Artificial Intelligence Methods (AIM) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 2 - Search.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 1 - Introduction.
Spring, 2005 CSE391 – Lecture 1 1 Introduction to Artificial Intelligence Martha Palmer CSE391 Spring, 2005.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 13– Search 17 th August, 2010.
Introduction: What is AI? CMSC Introduction to Artificial Intelligence January 3, 2002.
CS344: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 1 to 8– Introduction, Search, A* (has the associated lab course: CS386)
1 Introduction to Artificial Intelligence CSE 415 Winter 2006.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 23- Forward probability and Robot Plan; start of plan.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 3: Search, A*
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 4- Logic.
Introduction to Artificial Intelligence Heshaam Faili University of Tehran.
Brief Intro to Machine Learning CS539
Knowledge Representation
Artificial Intelligence
Artificial Intelligence for Engineers
CS 621 Artificial Intelligence Lecture 1 – 28/07/05
Artificial Intelligence (AI)
CS344: Introduction to Artificial Intelligence (associated lab: CS386)
Introduction to Artificial Intelligence
Artificial Intelligence for Engineers
Basic Intro Tutorial on Machine Learning and Data Mining
CSE 415 Introduction to Artificial Intelligence Winter 2004
CS344: Artificial Intelligence
Logic for Artificial Intelligence
Introduction to Artificial Intelligence
AI and Agents CS 171/271 (Chapters 1 and 2)
CS621: Artificial Intelligence
EA C461 – Artificial Intelligence Introduction
CSE 415 Introduction to Artificial Intelligence Winter 2003
Knowledge Representation
Introduction to Artificial Intelligence
Artificial Intelligence
CSE 415 Introduction to Artificial Intelligence Winter 2007
Introduction to Artificial Intelligence
Prof. Pushpak Bhattacharyya, IIT Bombay
Presentation transcript:

CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–2: Introduction: Search+Logic

Logistics Faculty instructor: Dr. Pushpak Bhattacharyya ( TAs: Saurabh Anup Course home page Lectures mirrored at Venue: CSE Building: S9 1 hour lectures 3 times a week: Mon-9.30, Tue , Thu-11.30

Disciplines which form the core of AI- inner circle Fields which draw from these disciplines- outer circle. Planning Computer Vision NLP Expert Systems Robotics Search, Reasoning, Learning Knowledge- Representation

Search: Everywhere

Planning (a) which block to pick, (b) which to stack, (c) which to unstack, (d) whether to stack a block or (e) whether to unstack an already stacked block. These options have to be searched in order to arrive at the right sequence of actions. ACBA B C Table

Vision A search needs to be carried out to find which point in the image of L corresponds to which point in R. Naively carried out, this can become an O(n2) process where n is the number of points in the retinal images. World Two eye system RL

Robot Path Planning searching amongst the options of moving Left, Right, Up or Down. Additionally, each movement has an associated cost representing the relative difficulty of each movement. The search then will have to find the optimal, i.e., the least cost path. O1O1 R D O2O2 Robot Path

Natural Language Processing search among many combinations of parts of speech on the way to deciphering the meaning. This applies to every level of processing- syntax, semantics, pragmatics and discourse. The man would like to play. Noun Verb NounVerb Preposition

Expert Systems Search among rules, many of which can apply to a situation: If-conditions the infection is primary-bacteremia AND the site of the culture is one of the sterile sites AND the suspected portal of entry is the gastrointestinal tract THEN there is suggestive evidence (0.7) that infection is bacteroid (from MYCIN)

Search building blocks  State Space : Graph of states (Express constraints and parameters of the problem)  Operators : Transformations applied to the states.  Start state : S 0 (Search starts from here)  Goal state : {G} - Search terminates here.  Cost : Effort involved in using an operator.  Optimal path : Least cost path

Examples Problem 1 : 8 – puzzle S 2 G Tile movement represented as the movement of the blank space. Operators: L : Blank moves left R : Blank moves right U : Blank moves up D : Blank moves down C(L) = C(R) = C(U) = C(D) = 1

Problem 2: Missionaries and Cannibals Constraints The boat can carry at most 2 people On no bank should the cannibals outnumber the missionaries River R L Missionaries Cannibals boat Missionaries Cannibals

State : #M = Number of missionaries on bank L #C = Number of cannibals on bank L P = Position of the boat S0 = G = Operations M2 = Two missionaries take boat M1 = One missionary takes boat C2 = Two cannibals take boat C1 = One cannibal takes boat MC = One missionary and one cannibal takes boat

C2MC Partial search tree

Problem 3 BBWWW B G: States where no B is to the left of any W Operators: 1) A tile jumps over another tile into a blank tile with cost 2 2) A tile translates into a blank space with cost 1 All the three problems mentioned above are to be solved using A*

Power of Logic

Disciplines which form the core of AI- inner circle Fields which draw from these disciplines- outer circle. Planning Computer Vision NLP Expert Systems Robotics Search, Reasoning, Learning Knowledge- Representation

Circuit Verification Does the circuit meet the specs? Are there faults? are they locatable?

Example : 2-bit full adder C1X2X1YC X 1, X 2 : inputs; C 1 : prev. carry; C 2 : next carry; Y: output

K-Map x2x1 c1 Y 0 1

K-Map (contd..) x2x1 c1 0 1 C2

Circuit

Verification First task (most difficult)  Building blocks : predicates  Circuit observation : Assertion on terminals

Predicates & Functions Function–1signal(t)t is a terminal ; signal takes the value 0 or 1 Function–2type(x)x is a circuit element; type(x) takes the value AND, OR, NOT, XOR Predicate – 3connected(t1,t2)t1 is an output terminal and t2 is an input terminal Function-3In(n,x)n th input of ckt element x Function-4Out(x)Output of ckt element x

Alternate Full Adder Circuit

Functions type(X) : takes values AND, OR NOT and XOR, where X is a gate. in(n, X) : the value of signal at the n th input of gate X. out(X) : output of gate X. signal(t) : state at terminal t = 1/0 Predicates connected(t1,t2): true, if terminal t1 and t2 are connected

General Properties Commutativity: ∀ t 1,t 2 [connected(t 1,t 2 ) → connected(t 2,t 1 )] By definition of connection: ∀ t 1,t 2 [connected(t 1,t 2 ) → { signal(t 1 ) = signal(t 1 )}]

Gate properties 1. OR definition: 2. AND definition:

Gate properties contd… 1. XOR definition: 2. NOT definition:

Some necessary functions a. no_of_input(x), takes values from N. b. Count_ls(x), returns #1s in the input of X

Circuit specific properties Connectivity: connected(x 1, in(1,A 1 )), connected(x 2, in(2, A 1 )), connected(out(A 1 ), in(1, A 2 )), connected(c1, in(2, A 2 )), connected(y, out(A 2 )) … Circuit elements: type(A 1 ) = XOR, type(A 2 ) = XOR, type(A 3 ) = AND …

Topics to be covered (1/2) Search General Graph Search, A* Iterative Deepening, α-β pruning, probabilistic methods Logic Formal System Propositional Calculus, Predicate Calculus Knowledge Representation Predicate calculus, Semantic Net, Frame Script, Conceptual Dependency, Uncertainty

Topics to be covered (2/2) Neural Networks: Perceptrons, Back Propagation, Self Organization IR and AI Semantic Web and Agents Statistical Methods Markov Processes and Random Fields Computer Vision, NLP, Machine Learning Planning: Robotic Systems Confluence of NLP and CV: text and image based search Anthropomorphic Computing: Computational Humour, Computational Music

Resources Main Text: Artificial Intelligence: A Modern Approach by Russell & Norvik, Pearson, Other Main References: Principles of AI - Nilsson AI - Rich & Knight Knowledge Based Systems – Mark Stefik Journals AI, AI Magazine, IEEE Expert, Area Specific Journals e.g, Computational Linguistics Conferences IJCAI, AAAI

Allied Disciplines PhilosophyKnowledge Rep., Logic, Foundation of AI (is AI possible?) MathsSearch, Analysis of search algos, logic EconomicsExpert Systems, Decision Theory, Principles of Rational Behavior PsychologyBehavioristic insights into AI programs Brain ScienceLearning, Neural Nets PhysicsLearning, Information Theory & AI, Entropy, Robotics Computer Sc. & Engg.Systems for AI

Evaluation (i) Exams Midsem Endsem Class test (ii) Study Seminar (iii) Work Assignments