Artificial Intelligence and Knowledge Based Systems Fall 2009 Frank Hadlock.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

The Foundations: Logic and Proofs
CSC411Artificial Intelligence 1 Chapter 3 Structures and Strategies For Space State Search Contents Graph Theory Strategies for Space State Search Using.
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
Inference and Reasoning. Basic Idea Given a set of statements, does a new statement logically follow from this. For example If an animal has wings and.
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.
Logic CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Knowledge Representation
Knowledge Representation. Essential to artificial intelligence are methods of representing knowledge. A number of methods have been developed, including:
Part2 AI as Representation and Search
Graphs Graphs are the most general data structures we will study in this course. A graph is a more general version of connected nodes than the tree. Both.
AI Defined Textbook definition:
Problem Solving and Search in AI Part I Search and Intelligence Search is one of the most powerful approaches to problem solving in AI Search is a universal.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
Approaches to AI. Robotics Versus Artificial Intelligence.
Based on Slides by Zeph Grunschlag from Columbia University www1.cs.columbia.edu/~zeph/3261/L14/L14.ppt Basic Computability Reading Material: J. Savage,
Structures and Strategies for State Space Search
Structures and Strategies for State Space Search
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
COMP 3009 Introduction to AI Dr Eleni Mangina
Artificial intelligence. [I]f there had been such machines, possessing the organs and outward form of a monkey or some other animal without reason,
Adapted from Discrete Math
Ch1 AI: History and Applications Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2011.
Review Topics Test 1. Background Topics Definitions of Artificial Intelligence & Turing Test Physical symbol system hypothesis vs connectionist approaches.
Alan Turing In 1950 asked - Can Machines Think? Turing changed that into the Turing Test “Can Computers Understand Language?” would have been.
Artificial Intelligence Fall 2008 Frank Hadlock. Definitions of AI The study of representation and search through which intelligent activity can be enacted.
Artificial Intelligence Introduction (2). What is Artificial Intelligence ?  making computers that think?  the automation of activities we associate.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Artificial Intelligence: Definition “... the branch of computer science that is concerned with the automation of intelligent behavior.” (Luger, 2009) “The.
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
Artificial Intelligence
MATH 224 – Discrete Mathematics
Artificial Intelligence Tarik Booker. What we will cover… History Artificial Intelligence as Representation and Search Languages used in Artificial Intelligence.
Logical Agents Logic Propositional Logic Summary
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
CS 415 – A.I. Slide Set 5. Chapter 3 Structures and Strategies for State Space Search – Predicate Calculus: provides a means of describing objects and.
Artificial Intelligence: Introduction Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
1 CS 385 Fall 2006 Chapter 1 AI: Early History and Applications.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Mathematical Preliminaries
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–7: (a) Formal System;(b) How to read research papers 3 rd August, 2010.
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Chapter 1 –Defining AI Next Tuesday –Intelligent Agents –AIMA, Chapter 2 –HW: Problem.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
11 Artificial Intelligence CS 165A Thursday, October 25, 2007  Knowledge and reasoning (Ch 7) Propositional logic 1.
A Brief History of AI Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
State space search Represented by a four-tuple [N,A,S,GD], where: N is the problem space A is the set of arcs (or links) between nodes. These correspond.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
On computable numbers, with an application to the ENTSCHEIDUNGSPROBLEM COT 6421 Paresh Gupta by Alan Mathison Turing.
Chapter 12 Theory of Computation Introduction to CS 1 st Semester, 2014 Sanghyun Park.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Artificial Intelligence Knowledge Representation.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 4- Logic.
Knowledge Representation Techniques
Lecture 1 – Formal Logic.
Knowledge Representation and Reasoning
Knowledge and reasoning – second part
AI Defined Textbook definition:
Introduction Artificial Intelligent.
Artificial Intelligence (Lecture 1)
Back to “Serious” Topics…
Foundations of Discrete Mathematics
Copyright © Cengage Learning. All rights reserved.
COMP3710 Artificial Intelligence Thompson Rivers University
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

Artificial Intelligence and Knowledge Based Systems Fall 2009 Frank Hadlock

Definitions of AI The study of representation and search through which intelligent activity can be enacted on a mechanical device. The study of problems at which human beings are currently more adept than computers at solving and the translation and improvement of human solutions into forms which can be implemented on a computer.

Knowledge Based Systems Examples –Expert Systems, Semantic Databases, Tutoring Systems Distinguishing Feature –Structured so that there is a separation between knowledge base (rules for inferring new knowledge), inference engine (applying rules to existing knowledge), and current knowledge.

Physical symbol system hypothesis The physical symbol system hypothesis (PSSH), first formulated by Newell and Simon in their Turing Award paper,1 states that “a physical symbol system [such as a digital computer, for example] has the necessary and sufficient means for intelligent action.” The hypothesis implies that computers, when we provide them with the appropriate symbol-processing programs, will be capable of intelligent action. It also implies, as Newell and Simon wrote, that “the symbolic behavior of man arises because he has the characteristics of a physical symbol system.”

History –Graph theory & state space representation (Euler) –Boolean algebra – propositional calculus (Boole) –Predicate calculus – (Frege) –Descartes Discourse –Turing’s Test –Physical Symbol System Hypothesis –Connectionism

Discourse - Descartes If there were machines which bore a resemblance to our bodies and imitated our actions as closely as possible for all practical purposes, we should still have two very certain means of recognizing that they were not real men. The first is that they could never use words, or put together signs, as we do in order to declare our thoughts to others. For we can certainly conceive of a machine so constructed that it utters words, and even utters words that correspond to bodily actions causing a change in its organs. … But it is not conceivable that such a machine should produce different arrangements of words so as to give an appropriately meaningful answer to whatever is said in its presence, as the dullest of men can do. Secondly, even though some machines might do some things as well as we do them, or perhaps even better, they would inevitably fail in others, which would reveal that they are acting not from understanding, but only from the disposition of their organs. For whereas reason is a universal instrument, which can be used in all kinds of situations, these organs need some particular action; hence it is for all practical purposes impossible for a machine to have enough different organs to make it act in all the contingencies of life in the way in which our reason makes us act. (Translation by Robert Stoothoff)

Turing Test The Turing test is a proposal for a test of a machine's ability to demonstrate intelligence. Described by Alan Turing in the 1950 paper "Computing Machinery and Intelligence," it proceeds as follows: a human judge engages in a natural language conversation with one human and one machine, each of which try to appear human; if the judge cannot reliably tell which is which, then the machine is said to pass the test. In order to test the machine's intelligence rather than its ability to render words into audio, the conversation is limited to a text-only channel such as a computer keyboard and screen (Turing originally suggested a teletype machine, one of the few text-only communication systems available in 1950).machineAlan Turing1950Computing Machinery and Intelligenceteletype machine

Knowledge Based Systems Application Areas Game Playing Automated Reasoning Expert Systems Natural Language Understanding Planning and Robotics Computer Based Tutoring Machine Learning Intelligent Agents

Board games can be represented by a usually large but finite set of board configurations or states. The squares of Tic Tac Toe can be numbered 1..9 and each configuration as a sequence over {H,C,B} where many of the 3 9 cannot occur because of order of play. A state BCBBBBBBB may be followed by any of eight states obtained by replacing any of the eight Bs by an H. BBBBBBBBB is the initial state and any state with a row or column or diagonal consisting of all Cs is a winning state for the Computer. If the computer can find a path from start to winning state, the path corresponds to a win for the computer and finding such a path constitutes an example of artificial intelligence. Game Playing and State Space Search

State space search Represented by a four-tuple [N,A,S,GD], where: N is the problem space A is the set of arcs (or links) between nodes. These correspond to the operators. S is a nonempty subset of N. It represents the start state(s) of the problem.

State Space Search continued GD is a nonempty subset of N. It represents the goal state(s) of the problem. The states in GD are described using either: a measurable property of the states a property of the path developed in the search (a solution path is a path from node S to a node in GD )

The 8-puzzle problem as state space search states: possible board positions operators: one for sliding each square in each of four directions, or, better, one for moving the blank square in each of four directions initial state: some given board position goal state: some given board position Note: the “solution” is not interesting here, we need the path.

Eight Puzzle

State space of the 8-puzzle generated by “move blank” operations

Traveling salesperson problem as state space search The salesperson has n cities to visit and must then return home. Find the shortest path to travel. state space: operators: initial state: goal state:

Automated Reasoning and Theorem Proving Logic systems began with Propositional Calculus in which declarative statements with a truth value of true or false are represented by P,Q,R, etc and combined with logic operators Or, And, Not, If. A sentence such as “Bill must take CSC 2020” is represented by letter P and is true or false. Propositional Calculus was extended to Predicate Calculus by adding Predicates (relations), variables, and quantifiers (For All and There Exists). A sentence such as “Every CS major must take CSC 2020” is represented by “(For All X)( CSMajor(X)  MustTake( CSC2020 ))” Given some facts expressed in either Propositional or Predicate Calculus, new facts or knowledge is inferred by inference rules such as modus ponens or resolution. If the computer can find a path from given facts to a new theorem, the path corresponds to a proof and finding such a path constitutes an example of artificial intelligence

Propositional Logic A declarative statement such as “Bill is a CS student” has a truth value of T or F and is denoted by P (a truth variable) Propositions may be combined with logical operators and the composite statement has value as shown below. –P  Q is true if either P or Q are true and false if both are false –P  Q is true if both P and Q are true and false if either is false. –¬ P is true if P is false and false if P is true –P  Q is true if P and Q have the same truth value and false if their values differ –P  Q is false if P is true and Q is false and true otherwise. A tautology is always true. –P  Q  ¬ P  Q is a tautology. –P  (Q  R)  (P  Q)  (P  R) is a tautology.

Rules of Inference P, P  Q then Q - modus ponens ¬ Q, P  Q then ¬ P - modus tollens