ISC 4322/6300 – GAM 4322 Artificial Intelligence

Slides:



Advertisements
Similar presentations
CSCI 4800 ARTIFICIAL INTELLIGENCE
Advertisements

ARTIFICIAL INTELLIGENCE
Additional Topics ARTIFICIAL INTELLIGENCE
Additional Topics ARTIFICIAL INTELLIGENCE
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2. Outline Agents and environments Agents and environments Rationality Rationality PEAS (Performance measure, Environment,
AI 授課教師:顏士淨 2013/09/12 1. Part I & Part II 2  Part I Artificial Intelligence 1 Introduction 2 Intelligent Agents Part II Problem Solving 3 Solving Problems.
ICS-171: Notes 2: 1 Intelligent Agents Chapter 2 ICS 171, Fall 2005.
Intelligent Agents Chapter 2 ICS 171, Fall 2005.
Intelligent Agents Chapter 2.
Rutgers CS440, Fall 2003 Lecture 2: Intelligent Agents Reading: AIMA, Ch. 2.
Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.
CS 480 Lec 2 Sept 4 complete the introduction Chapter 3 (search)
Rational Agents (Chapter 2)
Introduction to Logic Programming WS2004/A.Polleres 1 Introduction to Artificial Intelligence MSc WS 2009 Intelligent Agents: Chapter 2.
Rational Agents (Chapter 2)
INSTRUCTOR: DR. XENIA MOUNTROUIDOU CS CS Artificial Intelligence.
ARTIFICIAL INTELLIGENCE Introduction: Chapter Textbook: S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Prentice Hall, 2003,
Artificial Intelligence
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
ARTIFICIAL INTELLIGENCE
CPSC 171 Artificial Intelligence Read Chapter 14.
FOUNDATIONS OF ARTIFICIAL INTELLIGENCE Introduction: Chapter 1.
ARTIFICIAL INTELLIGENCE Introduction: Chapter 1. Outline Course overview What is AI? A brief history The state of the art.
CSW 4701 AI Spring 2013 Introduction: Chapter Course home page: Textbook: S. Russell and P. Norvig.
1 AI and Agents CS 171/271 (Chapters 1 and 2) Some text and images in these slides were drawn from Russel & Norvig’s published material.
CISC4/681 Introduction to Artificial Intelligence1 Introduction – Artificial Intelligence a Modern Approach Russell and Norvig: 1.
Introduction: Chapter 1
CHAPTER 2 Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
CSC4444: Artificial Intelligence Fall 2011 Dr. Jianhua Chen Slides adapted from those on the textbook website.
IFT3335 – Intruduction à l’intelligence artrificielle basé sur le cours de NUS et Berkeley Introduction: Chapter 1.
Inteligenica Artificial FIE - UMSNH. Semestre 9 Introduccion: Capitulo 1.
Chapter 2 Intelligent Agents. Chapter 2 Intelligent Agents What is an agent ? An agent is anything that perceiving its environment through sensors and.
Intelligent Agents Chapter 2 Some slide credits to Hwee Tou Ng (Singapore)
Lection 3. Part 1 Chapter 2 of Russel S., Norvig P. Artificial Intelligence: Modern Approach.
Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types Artificial Intelligence.
Intelligent Agents Chapter 2. CIS Intro to AI - Fall Outline  Brief Review  Agents and environments  Rationality  PEAS (Performance measure,
Chapter 2 Agents & Environments. © D. Weld, D. Fox 2 Outline Agents and environments Rationality PEAS specification Environment types Agent types.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Intelligent Agents Chapter 2. Agents An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment.
Chapter 2 Hande AKA. Outline Agents and Environments Rationality The Nature of Environments Agent Types.
Introduction to Artificial Intelligence Mitch Marcus CIS391 Fall, 2008.
So what is AI?.
Rational Agents (Chapter 2)
Lecture 1 – AI Background Dr. Muhammad Adnan Hashmi 1.
What is Artificial Intelligence? What is artificial intelligence? It is the science and engineering of making intelligent machines, especially intelligent.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
FOUNDATIONS OF ARTIFICIAL INTELLIGENCE
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Artificial Intelligence Lecture 2 Department of Computer Science, International Islamic University Islamabad, Pakistan.
Chapter 2 Agents & Environments
CS382 Introduction to Artificial Intelligence Lecture 1: The Foundations of AI and Intelligent Agents 24 January 2012 Instructor: Kostas Bekris Computer.
CPSC 420 – Artificial Intelligence Texas A & M University Lecture 2 Lecturer: Laurie webster II, M.S.S.E., M.S.E.e., M.S.BME, Ph.D., P.E.
Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types.
CSC 450 Artificial Intelligence. W HAT IS AI? Thinking humanlyThinking rationally Acting humanlyActing rationally Revision!...
CSC 290 Introduction to Artificial Intelligence
ECE 448 Lecture 3: Rational Agents
Rational Agents (Chapter 2)
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Hong Cheng SEG4560 Computational Intelligence for Decision Making Chapter 2: Intelligent Agents Hong Cheng
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
AI and Agents CS 171/271 (Chapters 1 and 2)
Intelligent Agents Chapter 2.
CS 404 Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Presentation transcript:

ISC 4322/6300 – GAM 4322 Artificial Intelligence University Of Houston- Victoria Computer Science Department ISC 4322/6300 – GAM 4322 Artificial Intelligence Lecture 1 The Foundations of AI and Intelligent Agents

Contacts Instructor: Dr. Alireza Tavakkoli Office: UC 101C Mon. 5:00 – 6:00 pm Office hours: Wed. 3:00 – 4:00 pm or by appointment Email: tavakkolia@uhv.edu URL: http://www2.uhv.edu/tavakkolia/teaching/ISC4322-6300/index.html Or Blackboard

Class Goals Introduce state-of-the-art algorithms in artificial intelligence Show how these algorithms apply to real-world problems Provide practice in applying algorithms by solving “real” problems (Games) After this course, you should be able: Evaluate claims about intelligent systems in an informed way Have a great algorithmic toolbox to help you design adaptive systems Build intelligent agents for interesting agents Contribute to AI research

Structure of Course Part I: Decision-Making in Deterministic Environments Single agent: Dynamic programming, informed search techniques, randomized search, genetic algorithms, constraint satisfaction, planning Multi-agent: Game theory, mini-max search and approximations Part II: Decision-Making in Stochastic Environments Single agent: Bayesian Networks, Hidden Markov Models, Kalman and Particle Filters, decision and utility theory, Markov Decision Processes Multi-agent: Expectimax search, stochastic game theory Part III: Learning in Unknown Environments Supervised learning: Decision Trees, Support Vector Machines, Neural Networks Unsupervised learning: reinforcement learning

What is Expected Exams Assignments Grading Policy One mid-term, one Final Assignments 3-4 Homeworks, 2-3 Programming Assignment Projects can be complete by pairs of students. Late assignments: (2n)2% Penalty Grading Policy Homework 15% <87 A Projects 25% 75-87 B Midterm 25% 62-74 C Final 30% 50-61 D Participation 5% 50< F

What is AI? Humanly vs. Rationally Thinking vs. Acting “The automation of activities that we associate with human thinking, activities such as decision-making, problem solving, learning” (Bellman,1978) “The study of mental faculties through the use of computational models.” (Winston, 1992) “AI is concerned with rational action… and studies the design of rational agents. A rational agent acts so as to achieve the best expected outcome.” (S.R. & P.N., 1995) “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil, 1990)

What is AI? Humanly vs. Rationally Thinking vs. Acting 1 “The automation of activities that we associate with human thinking, activities such as decision-making, problem solving, learning” (Bellman,1978) “The study of mental faculties through the use of computational models.” (Winston, 1992) 1 “AI is concerned with rational action… and studies the design of rational agents. A rational agent acts so as to achieve the best expected outcome.” (S.R. & P.N., 1995) “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil, 1990)

Acting Humanly Turing Test (1950) Capabilities that the computer would need to possess: Natural language processing Knowledge representation Automated reasoning Machine learning Alan Turing (1912-1954) The total Turing test requires also computer vision and robotics The quest for “artificial flight” succeeded when the Wright brothers and others stopped imitating birds and learned about aerodynamics.

What is AI? Humanly vs. Rationally 2 Thinking vs. Acting “The automation of activities that we associate with human thinking, activities such as decision-making, problem solving, learning” (Bellman,1978) “The study of mental faculties through the use of computational models.” (Winston, 1992) “AI is concerned with rational action… and studies the design of rational agents. A rational agent acts so as to achieve the best expected outcome.” (S.R. & P.N., 1995) “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil, 1990)

Thinking Humanly Simon and Newel came up with the General Problem Solver – GPS (1961). GPS can solve (in principle) every problem that can be formalized symbolically, e.g. Towers of Hanoi Herbert Simon (1916-2001) Allen Newel (1927-1992) First system to separate knowledge of problems from its strategy on how to solve them “Over Christmas, Allen Newell and I created a thinking machine.” Herbert Simon, 1961 Main concern by Simon and Newel: Is the trace of GPS’ reasoning the same as the trace of a human? But this if the focus of…. Cognitive science: Requires experimental investigation of actual humans or animals

What is AI? Humanly vs. Rationally Thinking 3 vs. Acting “The automation of activities that we associate with human thinking, activities such as decision-making, problem solving, learning” (Bellman,1978) “The study of mental faculties through the use of computational models.” (Winston, 1992) “AI is concerned with rational action… and studies the design of rational agents. A rational agent acts so as to achieve the best expected outcome.” (S.R. & P.N., 1995) “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil, 1990)

Thinking Rationally “Socrates is a man; all men are mortal; therefore, Socrates is mortal.” Logic-based AI Logic provides: A syntax for describing the world and relations among objects A way to achieve logical/correct inferences Create intelligent systems that reason using the syntax and the laws of logic By 1965 there were programs that could in principle, solve any solvable problem described in logical notation. Aristotle (384-322 BC) But… How to represent knowledge in logical notation when we are less than 100% certain? Computational explosion: A few hundred of facts exhaust the computational resources of any computer when it attempts logical inference without some sort of guidance

What is AI? Humanly vs. Rationally Thinking vs. Acting 4 “The automation of activities that we associate with human thinking, activities such as decision-making, problem solving, learning” (Bellman,1978) “The study of mental faculties through the use of computational models.” (Winston, 1992) 4 “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil, 1990) “AI is concerned with rational action… and studies the design of rational agents. A rational agent acts so as to achieve the best expected outcome.” (Russell and Norvig, 1995)

Acting Rationally Logical inference is part of intelligence. It does not cover everything: e.g., might be no provably correct thing to do, but still something must be done e.g., reflex actions can be more successful than slower, carefully deliberated ones What is a rational action? One that achieves the best outcome (or in the case of uncertainty… the best expected outcome) Stuart Russell It is this objective that requires: Natural language processing Knowledge representation Automated reasoning Machine Learning Computer Vision Robotics “Human behavior is well adapted for one specific environment and is the product, in part, of a complicated and largely unknown evolutionary process that is still far from producing perfection.” Peter Norvig

The Foundations of AI Philosophy Logic, methods of reasoning, mind as physical system foundations of learning, language, rationality Mathematics Formal representation and proof algorithms, computation, (un)decidability, (in)tractability, probability Economics utility, decision theory Neuroscience physical substrate for mental activity Psychology phenomena of perception and motor control, experimental techniques Computer building fast computers engineering Control theory design systems that maximize an objective function over time Linguistics knowledge representation, grammar

AI History – Modern Era 1943 McCulloch & Pitts: Boolean circuit model of brain 1950 Turing's "Computing Machinery and Intelligence" 1956 Dartmouth meeting: "Artificial Intelligence" adopted 1952—69 Look, Ma, no hands! 1950s Early AI programs, including Samuel's checkers program, Newell & Simon's Logic Theorist, Gelernter's Geometry Engine 1965 Robinson's complete algorithm for logical reasoning 1966—73 AI discovers computational complexity Neural network research almost disappears 1969—79 Early development of knowledge-based systems 1980-- AI becomes an industry 1986-- Neural networks return to popularity 1987-- AI becomes a science 1995-- The emergence of intelligent agents

State of the Art Deep Blue defeated the reigning world chess champion Garry Kasparov in 1997 Proved a mathematical conjecture (Robbins conjecture) unsolved for decades No hands across America (driving autonomously 98% of the time from Pittsburgh to San Diego) During the 1991 Gulf War, US forces deployed an AI logistics planning and scheduling program that involved up to 50,000 vehicles, cargo, and people NASA's on-board autonomous planning program controlled the scheduling of operations for a spacecraft Proverb solves crossword puzzles better than most humans

Where are we now? SKICAT: automatically classifies data from space telescopes and indentifies interesting objects in the sky. 94% accuracy, way better than human (decision trees) Deep Blue: the first computer program to defeat human champion Garry Kasparov (minimax search + alpha-beta-pruning + optimizations) Pegasus, Jupiter, etc.: speech recognition systems (Hidden Markov Models) HipNav: a robot hip-replacement surgeon (planning algorithms) DARPA Grand/Urban Challenge: autonomous driving 98% of the time from Pittsburgh to San Diego (filtering and planning algorithms) Deep Space 1: NASA spacecraft that did an autonomous flyby an asteroid (logic- based AI) Credit card fraud detection and loan approval (decision trees and neural networks) Chinook: the world checker’s champion (game theory) Spam Assassin and other spam detectors (naïve Bayes learning) Soccer playing Aibo robots (reinforcement learning)

Where are we now?

Intelligent Agents Agent ? How to fully describe an AI problem: Percepts Environment Sensors How to fully describe an AI problem: Performance measure Environment Actuators Sensors ? Actions Actuators Intelligent (rational) agent For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever built-in knowledge of the environment the agent has Definition encompasses both physical and virtual/software agents

Vacuum-Cleaner World Performance Measure Environment Actions Percepts Award One Point per Clean Cell Over 1000 Time Step Environment Two Cell World Actions Left, Right, Suck, NoOp Percepts Location and Contents, e.g., [A,Dirty] Is this a rational agent?

Rational Agents Rationality is distinct from omniscience (all-knowing with infinite knowledge) Agents can perform actions in order to modify future percepts so as to obtain useful information (information gathering, exploration) An agent is autonomous if its behavior is determined by its own experience (with ability to learn and adapt)

PEAS PEAS: Performance measure, Environment, Actuators, Sensors Must first specify the setting for intelligent agent design Consider, e.g., the task of designing an automated taxi driver Agent Type Performance Measure Environment Actuators Sensors Taxi Driver Safe Fast Legal Comfortable Profitable Roads Other Traffic Pedestrians Customers Steering Accelerator Brake Signal Horn Display Cameras Sonar Speedometer GPS Odometer Engine Sensors Keyboard

Properties of Environments Fully observable vs. partially observable: If the agent has always access to the complete state of the environment, then the environment is fully observable Partial observability due to: noisy, inaccurate sensors or sensor limitations Deterministic vs. stochastic: If the next state of the world is completely determined by the current state and the agent’s action, then the environment is deterministic. If the environment is deterministic except from the actions of other agents, then it is called strategic. Episodic vs. sequential: In an episodic environment the agent’s experience does not depend on the actions taken in previous episodes. In sequential environments, the current decision could affect all future decisions.

Properties of Environments Static vs. dynamic: If the environment changes while the agent is not acting, then the environment is dynamic. Discrete vs. continuous: Continuous values can appear in: The state of the environment, time, the percepts or actions of the agent. Single agent vs. multiagent: When are the other entities in the world considered agents? Competitive environments: When they maximize an performance measure that depends on the agent’s actions Cooperative environments: When they communicate or follow common rules so as to satisfy a common performance measure

Agent Functions and Programs How does the inside of a rational agent work? An agent is completely specified by the agent function mapping percept sequences to actions Agent = Architecture + Program Agent Program vs. Agent Function Program takes the percept and returns the action Function takes the entire percept history One agent function (or a small equivalence class) is rational Aim: find a way to implement the rational agent function concisely

A Table Driven Agent Drawbacks: Huge table A Table Driven Agent Program Function TABLE-DRIVEN-AGENT (percept) returns action static percepts, a sequence, initially empty table, a table of actions, initially fully specified append percept to the end of percepts action Lookup (percepts, table) return action Drawbacks: Huge table Take a long time to build the table No autonomy Even with learning, needs a long time to learn the table entries

Reflex Vacuum Agent Program Function REFLEX-VACUUM-AGENT ([location, status]) returns action if status = Dirty then return Suck else if location = A then return Right else if location = B then return Left Sensing input: [Cell Id, Dirty or Not Dirty] Actions: [Clean, move Left, move Right, NoOp] Advantages Small Table Cutting Down the Table Size by Eliminating Percept History Action Does Not Depend on the Location

How do agents work? ? Agent Percepts Environment Actions Sensors Actuators

Reflex Agents Agent Percepts Environment Actions Sensors Actuators What the world is like now? Condition-action (if-then) rules What action should I do now? Actions Actuators

Model-based Reflex Agents Environment Sensors Percepts State What the world is like now? How the world evolves? What my actions do? Condition-action (if-then) rules What action should I do now? Actions Actuators

Goal-based Agents Agent Percepts Environment Actions Search & Planning Sensors Percepts State What the world is like now? How the world evolves? What my actions do? What it will be if I do action A? What action should I do now? Goals Actions Actuators Search & Planning

Utility-based Agents Agent Percepts Environment Actions Sensors Percepts State What the world is like now? How the world evolves? What it will be if I do action A? What my actions do? How happy I will be in the state? Utility What action should I do now? Actions Actuators Utility Function: X (state space)  

Learning Agents Agent Performance standard Percepts Environment State Sensors Percepts feedback changes Learning element Performance Element knowledge learning goals Problem generator Actions Actuators

Intelligent Agents

Types of Agents

Question? AI: A Modern Approach : Chapters 1 & 2