CPSC 322 Introduction to Artificial Intelligence November 10, 2004.

Slides:



Advertisements
Similar presentations
Heuristics, and what to do if you dont know what to do Carl Hultquist.
Advertisements

Informed search algorithms
What is intelligence? What do you think makes a person intelligent? Some ideas: being able to do lots of math in your head being able to memorize lots.
Presentation on Artificial Intelligence
Todd W. Neller Gettysburg College
Announcements You survived midterm 2! No Class / No Office hours Friday.
1 CS101 Introduction to Computing Lecture 17 Algorithms II.
Situation Calculus for Action Descriptions We talked about STRIPS representations for actions. Another common representation is called the Situation Calculus.
Introduction to Artificial Intelligence
1 Chapter 1 Why Parallel Computing? An Introduction to Parallel Programming Peter Pacheco.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Mar, 4, 2015 Slide credit: some slides adapted from Stuart.
Artificial Intelligence for Games Patrick Olivier & John Shearer
CPSC 322 Introduction to Artificial Intelligence November 5, 2004.
CS 484 – Artificial Intelligence
Class Project Due at end of finals week Essentially anything you want, so long as it’s AI related and I approve Any programming language you want In pairs.
Adversarial Search: Game Playing Reading: Chapter next time.
ECE457 Applied Artificial Intelligence R. Khoury (2007)Page 1 Please pick up a copy of the course syllabus from the front desk.
AI Defined Textbook definition:
An Introduction to Artificial Intelligence. Introduction Getting machines to “think”. Imitation game and the Turing test. Chinese room test. Key processes.
CPSC 322 Introduction to Artificial Intelligence October 25, 2004.
CPSC 322 Introduction to Artificial Intelligence October 29, 2004.
CPSC 322 Introduction to Artificial Intelligence October 13, 2004.
Artificial Intelligence Chapter 11: Planning
Game Playing CSC361 AI CSC361: Game Playing.
Rules and Expert Systems
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
EXPERT SYSTEMS Part I.
Random Administrivia In CMC 306 on Monday for LISP lab.
Dr Rong Qu Module Introduction.
1 Adversary Search Ref: Chapter 5. 2 Games & A.I. Easy to measure success Easy to represent states Small number of operators Comparison against humans.
1 Backward-Chaining Rule-Based Systems Elnaz Nouri December 2007.
Ch1 AI: History and Applications Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2011.
1 Lyle H. Ungar, University of Pennsylvania What is AI? “Artificial Intelligence is the study of how to make computers do things at which, at the moment,
ICS611 Introduction to Compilers Set 1. What is a Compiler? A compiler is software (a program) that translates a high-level programming language to machine.
The Thinking Machine Based on Tape. Computer Has Some Intelligence Now Playing chess Solving calculus problems Other examples:
Artificial Intelligence Introduction (2). What is Artificial Intelligence ?  making computers that think?  the automation of activities we associate.
What is Artificial Intelligence? AI is the effort to develop systems that can behave/act like humans. Turing Test The problem = unrestricted domains –human.
Artificial Intelligence: Its Roots and Scope
Game Playing Chapter 5. Game playing §Search applied to a problem against an adversary l some actions are not under the control of the problem-solver.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Artificial Intelligence Introductory Lecture Jennifer J. Burg Department of Mathematics and Computer Science.
Artificial Intelligence
Do you drive? Have you thought about how the route plan is created for you in the GPS system? How would you implement a cross-and- nought computer program?
Game Playing Chapter 5. Game playing §Search applied to a problem against an adversary l some actions are not under the control of the problem-solver.
Instructor: Vincent Conitzer
Knowledge and search, page 1 CSI 4106, Winter 2005 Knowledge and search Points Properties of knowledge  Completeness  Objectivity  Certainty  Formalizability.
Jess: A Rule-Based Programming Environment Reporter: Yu Lun Kuo Date: April 10, 2006 Expert System.
CSC Intro. to Computing Lecture 22: Artificial Intelligence.
1 CS 385 Fall 2006 Chapter 1 AI: Early History and Applications.
Outline Intro to Representation and Heuristic Search Machine Learning (Clustering) and My Research.
Artificial Intelligence and Searching CPSC 315 – Programming Studio Spring 2013 Project 2, Lecture 1 Adapted from slides of Yoonsuck Choe.
Artificial Intelligence
KNOWLEDGE BASED SYSTEMS
CPSC 322 Introduction to Artificial Intelligence December 3, 2004.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Oct, 30, 2015 Slide credit: some slides adapted from Stuart.
{ What is a Number? Philosophy of Mathematics.  In philosophy and maths we like our definitions to give necessary and sufficient conditions.  This means.
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
Artificial Intelligence, simulation and modelling.
Understanding AI of 2 Player Games. Motivation Not much experience in AI (first AI project) and no specific interests/passion that I wanted to explore.
Artificial Intelligence
Done Done Course Overview What is AI? What are the Major Challenges?
The University of Adelaide, School of Computer Science
Artificial Intelligence introduction(2)
Future of Artificial Intelligence
CS 416 Artificial Intelligence
CS 188: Artificial Intelligence Spring 2006
Implementation of Learning Systems
Information Retrieval
Artificial Intelligence Machine Learning
Unit II Game Playing.
Presentation transcript:

CPSC 322 Introduction to Artificial Intelligence November 10, 2004

Things... Midterm 2 marks this week The final exam will be at noon on Friday, December 10, in MCML 166

One more thing your book wants you to know... AI is a software engineering enterprise...there are lots of questions that you need answers to before you start hacking Many of these questions have to do with how to represent the knowledge in your system Some representations are qualitatively better than others depending on the problem you’re trying to solve Semantic (relational) networks and slot-filler representations are useful and flexible approaches to knowledge representation You should read chapter 5, where you’ll find different questions to be answered, including...

What kind of solution is acceptable? optimal solution - the “best” best solution by some measure of quality - can you afford the cost of computing the optimal solution? satisficing solution - a solution that’s “good enough” but not necessarily optimal approximately optimal solution - close to the best, but not the best - the cost of finding the approximately optimal solution is often much less than the cost of finding the optimal solution probable solution - would it be ok if the computer gets it right some percentage of the time, but not always? (robot vacuum cleaner vs. robot aircraft pilot)

More movie Today we finished watching the last ten minutes of the documentary on artificial intelligence.

Observations about the movie There are more than 10 million neurons in your brain...more like 100 to 150 billion neurons The CYC project is still progressing Semantic or relational networks usually aren’t just nice clean hierarchies

Observations about the movie

Systems like Eliza actually have some utility Philosophers have a vested interest in promoting the “specialness” of being human AI people have historically been overly optimistic

What we’ve seen so far... Search-based intelligence can: prove theorems solve puzzles play games parse sentences into syntactic components

What we’ve seen so far... This approach can be summarized like this: All the “intelligence” is placed in a single complex function which is then used to evaluate the “goodness” of some state of a problem being solved The function is based on converting attributes of the problem in to numerical values, performing computations on those values, and returning some number corresponding to goodness

...isn’t necessarily good enough Consider Deep Blue It plays better chess than the best human ever, but its knowledge doesn’t resemble what we think we know about chess (you won’t find a lot of number crunching in a book about chess) it’s not obvious what needs to be fixed if Deep Blue isn’t working right its knowledge doesn’t help us see what to add if there’s a need for improvement

...isn’t necessarily good enough Consider Deep Blue It plays better chess than the best human ever, but in short, its heuristic knowledge is obscured, cryptic, not easily accessible

Another approach Historically, people have made “how to” knowledge available to others as a (possibly large) set of tests and associated actions. For example, look at the owner’s manual that comes with just about anything you buy, and you’ll find a troubleshooting guide - a “how to make it work” guide with tests and actions...

Troubleshooting cable tv box

Troubleshooting television

Troubleshooting G4 PowerBook

Troubleshooting people there are manuals for us too - this is from the DSM-IV: The Diagnostic and Statistical Manual of Mental Disorders

Tests and actions Not limited to troubleshooting -- you could write a “program” of tests and actions to play tic-tac-toe: if you occupy two squares in the same row or column and the third square in that row or column is empty then put your token in that third square if opponent occupies two squares in the same row or column and the third square in that row or column is empty then put your token in that third square if the center square is empty then put your token in the center square if a corner square is empty then put your token in that corner square if any square is empty then put your token in that empty square

Tests and actions You could create a language understanding system with test and actions for each word in the language had: if the word precedes me is a noun and it’s of type animal and the word that follows me is a noun and it’s of type edible then my meaning is ate or ingested : and so on

Tests and actions Test-action pairs go by many other names: if-then rules left-hand-sides and right-hand-sides antecedent-consequent pairs Systems that employ test-action pairs are called: rule-based systems production systems (rules are called productions) expert systems (when they’re really smart)

Rule-based systems Typically have three parts: the rule base knowledge encoded as if-then rules rules are modular and independent each rule has as many tests and actions as necessary rules are written in a high-level “rule language” to be interpreted by a “rule interpreter”

Rule-based systems Typically have three parts: the working memory or data base knowledge of the current state of the world facts goals partial solutions this knowledge is changed by application of rules from the rule base

Rule-based systems Typically have three parts: the rule interpreter or inference engine defines a language for writing rules applies rules to working memory so as to change or update working memory in the following way....

Rule-based systems The inference engine algorithm is simple: until (no tests are true) or (some goal has been reached) repeat 1. go through the rule base and collect all rules whose tests (left-hand sides) are true (these rules are said to be “triggered”) 2. select one rule to execute 3. perform the actions (right-hand side) of the selected rule (this rule is said to have “fired”) end repeat

Rule-based systems What if more than one rule is triggered? until (no tests are true) or (some goal has been reached) repeat 1. go through the rule base and collect all rules whose tests (left-hand sides) are true (these rules are said to be “triggered”) 2. select one rule to execute 3. perform the actions (right-hand side) of the selected rule (this rule is said to have “fired”) end repeat