Instructor. Artificial Intelligence (Introduction to) What is AI? Introduction. Dr Sergio Tessaris

Similar documents
Artificial Intelligence (Introduction to)

Outline. What is AI? A brief history of AI State of the art

CS:4420 Artificial Intelligence

Course Info. CS 486/686 Artificial Intelligence. Outline. Artificial Intelligence (AI)

CS 486/686 Artificial Intelligence

Artificial Intelligence

22c:145 Artificial Intelligence

Last Time: Acting Humanly: The Full Turing Test

Intelligent Systems. Lecture 1 - Introduction

Plan for the 2nd hour. What is AI. Acting humanly: The Turing test. EDAF70: Applied Artificial Intelligence Agents (Chapter 2 of AIMA)

Artificial Intelligence: An overview

Artificial Intelligence: Definition

Random Administrivia. In CMC 306 on Monday for LISP lab

Introduction to Artificial Intelligence: cs580

CMSC 372 Artificial Intelligence. Fall Administrivia

Artificial Intelligence. What is AI?

CSIS 4463: Artificial Intelligence. Introduction: Chapter 1

Agent. Pengju Ren. Institute of Artificial Intelligence and Robotics

CMSC 372 Artificial Intelligence What is AI? Thinking Like Acting Like Humans Humans Thought Processes Behaviors

Artificial Intelligence. Berlin Chen 2004

Outline. Introduction to AI. Artificial Intelligence. What is an AI? What is an AI? Agents Environments

Artificial Intelligence. An Introductory Course

Artificial Intelligence

Artificial Intelligence

HIT3002: Introduction to Artificial Intelligence

Outline. Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types

Artificial Intelligence

CMSC 421, Artificial Intelligence

Introduction to Artificial Intelligence

WHAT THE COURSE IS AND ISN T ABOUT. Welcome to CIS 391. Introduction to Artificial Intelligence. Grading & Homework. Welcome to CIS 391

CITS3001. Algorithms, Agents and Artificial Intelligence. Semester 1, 2015

Artificial Intelligence CS365. Amitabha Mukerjee

Artificial Intelligence

CSCE 315: Programming Studio

Intelligent Agents p.1/25. Intelligent Agents. Chapter 2

1.1 What is AI? 1.1 What is AI? Foundations of Artificial Intelligence. 1.2 Acting Humanly. 1.3 Thinking Humanly. 1.4 Thinking Rationally

22c:145 Artificial Intelligence. Texbook. Bartlett Publishers, Check the class web sites daily!

Artificial Intelligence

Lecture 1 Introduction to AI

Artificial Intelligence

CSE 473 Artificial Intelligence (AI) Outline

COS402 Artificial Intelligence Fall, Lecture I: Introduction

CSC 550: Introduction to Artificial Intelligence. Fall 2004

What is AI? Artificial Intelligence. Acting humanly: The Turing test. Outline

Ar#ficial)Intelligence!!

Introduction. Artificial Intelligence. Topic 1. What is AI? Contributions to AI History of AI Modern AI. Reading: Russel and Norvig, Chapter 1

Introduction to AI. What is Artificial Intelligence?

What is Artificial Intelligence? Alternate Definitions (Russell + Norvig) Human intelligence

Introduction to Artificial Intelligence

Actually 3 objectives of AI:[ Winston & Prendergast ] Make machines smarter Understand what intelligence is Make machines more useful

Artificial Intelligence

Intro to Artificial Intelligence Lecture 1. Ahmed Sallam { }

universe: How does a human mind work? Can Some accept that machines can do things that

Our 2-course meal for this evening

COMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications

Intelligent Agents & Search Problem Formulation. AIMA, Chapters 2,

Welcome to CompSci 171 Fall 2010 Introduction to AI.

Artificial Intelligence

AI History. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2012

Overview Agents, environments, typical components

CS 188: Artificial Intelligence Fall Course Information

ARTIFICIAL INTELLIGENCE UNIT I INTRODUCTION TO AI

CS 1571 Introduction to AI Lecture 1. Course overview. CS 1571 Intro to AI. Course administrivia

Administrivia. CS 188: Artificial Intelligence Spring Agents and Environments. Today. Vacuum-Cleaner World. A Reflex Vacuum-Cleaner

KI-Programmierung. Introduction

Introduction to Artificial Intelligence

Foundations of Artificial Intelligence

Artificial Intelligence. Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University

CS 730/830: Intro AI. Prof. Wheeler Ruml. TA Bence Cserna. Thinking inside the box. 5 handouts: course info, project info, schedule, slides, asst 1

CSE 473 Artificial Intelligence (AI)

CS 380: ARTIFICIAL INTELLIGENCE RATIONAL AGENTS. Santiago Ontañón

Introduction and History of AI

CSC384 Intro to Artificial Intelligence* *The following slides are based on Fahiem Bacchus course lecture notes.

Agents and Introduction to AI

CS 380: ARTIFICIAL INTELLIGENCE

Goals of this Course. CSE 473 Artificial Intelligence. AI as Science. AI as Engineering. Dieter Fox Colin Zheng

CS 380: ARTIFICIAL INTELLIGENCE INTRODUCTION. Santiago Ontañón

CS 1571 Introduction to AI Lecture 1. Course overview. CS 1571 Intro to AI. Course administrivia

History and Philosophical Underpinnings

CPS331 Lecture: Intelligent Agents last revised July 25, 2018

CS 188: Artificial Intelligence Fall Administrivia

Foundations of Artificial Intelligence

ENTRY ARTIFICIAL INTELLIGENCE

Elements of Artificial Intelligence and Expert Systems

Course Information. CS 188: Artificial Intelligence Fall Course Staff. Course Information. Today. Sci-Fi AI? Lecture 1: Introduction 8/25/2011

Introduction to Multi-Agent Systems. Michal Pechoucek & Branislav Bošanský AE4M36MAS Autumn Lect. 1

Overview. Introduction to Artificial Intelligence. What is Intelligence? What is Artificial Intelligence? Influential areas for AI

Overview. Pre AI developments. Birth of AI, early successes. Overwhelming optimism underwhelming results

CS 380: ARTIFICIAL INTELLIGENCE

CS 1571 Introduction to AI Lecture 1. Course overview. CS 1571 Intro to AI. Course administrivia

Artificial Intelligence 人工智慧. Lecture 1 February 22, 2012 洪國寶

LECTURE 1: OVERVIEW. CS 4100: Foundations of AI. Instructor: Robert Platt. (some slides from Chris Amato, Magy Seif El-Nasr, and Stacy Marsella)

ARTIFICIAL INTELLIGENCE

Artificial Intelligence for Engineers. EE 562 Winter 2015

Course Information. CS 188: Artificial Intelligence. Course Staff. Course Information. Today. Waiting List. Lecture 1: Introduction.

CS 188: Artificial Intelligence. Course Information

AI in Business Enterprises

ARTIFICIAL INTELLIGENCE

This list supersedes the one published in the November 2002 issue of CR.

Lecture 1 What is AI? EECS 348 Intro to Artificial Intelligence Doug Downey

Transcription:

Instructor Dr Sergio Tessaris Artificial Intelligence (Introduction to) Researcher, faculty of Computer Science Contact web page: tina.inf.unibz.it/~tessaris email: phone: 0471 016 125 room 229 (2nd floor, left wing) Research interests Knowledge Representation Knowledge Representation and Databases Semantic Web 2 What is AI? Introduction Turing, A.M. (1950). Computing machinery and intelligence. Mind, 59, 433-460. I propose to consider the question, Can machines think? This should begin with definitions of the meaning of the terms machine and think. Can machines behave intelligently? Turing Test : an operational definition AI is the science and engineering of making intelligent machines which can perform tasks that require intelligence when performed by humans Introduction 4 1

Why study AI? What is AI? scientific curiosity try to understand entities that exhibit intelligence engineering challenges building systems that exhibit intelligence some tasks that seem to require intelligence can be solved by computers e.g. playing chess progress in computer performance and computational methods enables the solution of complex problems by computers humans may be relieved from tedious or dangerous tasks e.g. demining or cleaning the swimming pool Systems that think like humans Systems that act like humans The exciting new effort to make computers think machines with minds, in the full and literal sense [Haugeland, 1985] [The automation of] activities that we associate with human thinking, activities such as decision-making, problem solving, learning [Bellman, 1978] The art of creating machines that perform functions that require intelligence when performed by people [Kurzweil, 1990] The study of how to make computers do things at which, at the moment, people are better [Rich and Knight, 1991] Systems that think rationally Systems that act rationally The study of mental faculties through the use of computational models [Charniak and McDermott, 1985] The study of the computations that make it possible to perceive, reason, and act [Winston, 1992] A field of study that seeks to explain and emulate intelligent behavior in terms of computational processes [Schalkhoff, 1990] The branch of computer science that is concerned with the automation of intelligent behavior [Luger and Stubblefield, 1993] Introduction 5 Introduction 6 Thinking humanly: Cognitive Science Acting humanly: The Turing test tries to construct theories of how the human mind works uses computer models from AI and experimental techniques from psychology most AI approaches are not directly based on cognitive models often difficult to translate into computer programs performance problems Cognitive Science is mainly distinct from AI Operational test for intelligent behaviour: the Imitation Game Anticipated all major arguments against AI in following 50 years Suggested major components of AI: knowledge, reasoning, language understanding, learning Introduction 7 Introduction 8 2

The Turing test Thinking Rationally: Laws of Thought not much work on systems that pass the test Problem: Turing test is not reproducible, constructive, or amenable to mathematical analysis Loebner Prize www.loebner.net/prizef/loebner-prize.html Total Turing Test includes video interface and a hatch for physical objects requires computer vision and robotics as additional capabilities mathematical logic as tool: notation plus derivation rules problems and knowledge must be translated into formal descriptions the system uses an abstract reasoning mechanism to derive a solution Problems: Not all intelligent behaviour is mediated by logical deliberation Resource limitations: There is a difference between solving a problem in principle and solving it in practice under various resource limitations such as time, computation, accuracy Introduction 9 Introduction 10 Acting rationally Short history of AI (late 40s, 50s) rational behaviour: doing the right thing The right thing: that which is expected to maximize goal achievement, given the available information Doesn't necessarily involve thinking (e.g., blinking reflex) but thinking should be in the service of rational action Advantages: More general Its goal of rationality is well defined artificial neurons (McCulloch and Pitts, 1943) learning in neurons (Hebb, 1949) chess programs (Shannon, 1950; Turing, 1953) neural computer (Minsky and Edmonds, 1951) official birth in summer 1956 gathering of a group of scientists with an interest in computers and intelligence during a two-month workshop in Dartmouth, NH naming of the field by John McCarthy many of the participants became influential people in the field of AI Introduction 11 Introduction 12 3

Short history of AI (late 50s, 60s) Short history of AI (late 60s, 70s) Early successes Logic Theorist (Newell and Simon, 1957) able to proof most of the theorems in Ch2 of Principia Mathematica General Problem Solver (Newell and Simon, 1961) imitate human problem-solving methods (thinking humanly) Shakey the robot (SRI) logical reasoning and physical activity Microworlds ANALOGY: geometric analogies (Evans, 1968) STUDENT: algebraic problems (Bobrow, 1967) blocks world (Winston, 1970; Huffman, 1971; Fahlman, 1974; Waltz, 1975) neural networks (Widrow and Hoff, 1960; Rosenblatt, 1962; Winograd and Cowan, 1963) machine evolution/genetic algorithms (Friedberg, 1958) AI and reality lacks of common sense (e.g. ELIZA) microworlds aren t the real thing: scalability and intractability problems (NP-completeness) neural networks can learn, but not very much (Minsky and Papert, 1969) Knowledge-based systems: knowledge is separate from reasoning expert systems frames logic based knowledge representation systems (80s-90s) knowledge representation schemes become useful Introduction 13 Introduction 14 Short history of AI (80s) Short history of AI (last decade) AI becomes an industry Expert systems: Digital Equipment, Teknowledge, Intellicorp Lisp machines: LMI, Symbolics Constraint programming: ILOG Robotics: Machine Intelligence Corporation, Adept, ABB Speech understanding the return of neural networks genetic algorithms and artificial life falling of Expert systems (late 80s) feeding rules into a reasoning system is not enough knowledge acquisition is a bottleneck AI becomes less philosophical, more technical and mathematically oriented grounded on formal proofs or experimental evidence (vs intuition) e.g. speech recognition, planning, Knowledge Representation Agents everywhere agent architectures (e.g. SOAR) agent perspective glues various AI fields Information management to help humans in dealing with information data mining (e.g. on the Web) question answering Introduction 15 Introduction 16 4

Applications of AI Applications of AI Deep Blue Defeats Kasparov, Chess Grand Master - IBM 1997 www.research.ibm.com/deepblue PEGASUS (Speech understanding for ticketing) www.sls.lcs.mit.edu/sls/applications AI in computer games ai.eecs.umich.edu/people/laird/game-ai-resources.htm information agents question answering (e.g. www.ai.mit.edu/projects/infolab) The Text REtrieval Conference: trec.nist.gov Honda ASIMO world.honda.com/asimo/ unmanned vehicles CMU Autonomous Helicopter (HELI) Mars PathFinder rover mars.jpl.nasa.gov/mpf/rover/about.html RoboCup www.robocup.org robot teams playing football RoboCup rescue Sony Aibo www.aibo.com Introduction 17 Introduction 18 Objectives Course Overview provide an insight into the fundamental techniques used in AI each topic would require a course by itself strong algorithmic perspective you are expected to code grounded on mathematical tools much less on cognitive science Course Overview 20 5

Laboratories hands on the keyboard implementing the algorithms and techniques discussed during the lectures Using sw tools to demonstrate main concepts programming language is Prolog High level programming language You just concentrate on algorithms and less on coding outcomes of the labs will be part of the final assessment not mandatory, but you will be required more during the final exam Textbook Artificial Intelligence: A modern approach by Stuart Russell and Peter Norvig aima.cs.berkeley.edu one of the leading books for undergraduate AI courses extensive material and source code available from the web site (several programming languages) 57th most cited computer science publication ever (source citeseer.nj.nec.com) Course Overview 21 Course Overview 22 Prerequisites Practical issues to follow this course and pass the exam you need a good understanding of algorithms and algorithm design not to panic at the appearance of a mathematical formula avoid the episodic approach to lessons attendance Course homepage: www.inf.unibz.it/~tessaris/teaching/ai (it ll be there soon, now u see last year info) Course timetable: Tue 10:30-12:30 (E411) Wed 10:30-12:30 (E411) Labs timetable: Wed 14:00-16:00 (E531) This week there is no lecture and labs on Wed Course Overview 23 Course Overview 24 6

What is an Agent? Agents an agent can be anything that operates in an environment perceives its environment through sensors acts upon its environment through actuators maximizes progress towards its goals conceptual tool to analyse systems: robots, softbots, speed traffic lights, thermostats we are interested in Intelligent Agents pursuit goals that require intelligence Agents 26 Examples of Agents Agent or Program human agent eyes, ears, skin, taste buds, etc. for sensors hands, fingers, legs, mouth, etc. for actuators robot camera, infrared, bumper, etc. for sensors grippers, wheels, lights, speakers, etc. for actuators software agent (softbot) functions as sensors information provided as input to functions in the form of encoded bit strings or symbols functions as actuators results deliver the output our criteria so far seem to apply equally well to software agents and to regular programs autonomy agents solve tasks largely independently programs depend on users or other programs for guidance autonomous systems base their actions on their own experience and knowledge requires initial knowledge together with the ability to learn provides flexibility for more complex tasks Agents 27 Agents 28 7

Agents and Environments Performance of Agents an agent perceives its environment through sensors the complete set of inputs at a given time is called a percept the current percept, or a sequence of percepts may influence the actions of an agent it can change the environment through actuators an operation involving an actuator is called an action actions can be grouped into action sequences Behavior and performance of IAs in terms of agent function: Perception history (sequence) to Action Mapping: Ideal mapping: specifies which actions an agent ought to take at any point in time Performance measure: a subjective measure to characterize how successful an agent is (e.g., speed, power usage, accuracy, money, etc.) Agents 29 Agents 30 Rationality: do the right thing Omniscience Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date Rational = Best, to the best of its knowledge Rational = Optimal, to the best of its abilities Rational Omniscience Rational Successful problems: what is the right thing how do you measure the best outcome (and its constraints) a rational agent is not omniscient it doesn t know the actual outcome of its actions it may not know certain aspects of its environment rationality takes into account the limitations of the agent percept sequence, background knowledge, feasible actions it deals with the expected outcome of actions Agents 31 Agents 32 8

Look it up! a table is simple way to specify a mapping from percepts to actions tables may become very large all work done by the designer no autonomy, all actions are predetermined learning might take a very long time Structure of Intelligent Agents Agent = architecture + program Agent program: the implementation of agent s perception-action mapping Architecture: a device that can execute the agent program (e.g., general-purpose computer, specialized device, robot, etc.) mapping is implicitly defined by a program rule based neural networks algorithm Agents 33 Agents 34 Vacuum-cleaner world Vacuum-cleaner agent: it sucks! [A, Clean] Right Percepts: location+tile status [A, Dirty], [A, Clean], [B, Clean], [B, Dirty] Actions: Left, Right, Suck, NoOp Goal: clean the floor [A, Dirty] [B, Clean] [B, Dirty] [A,Clean], [A,Clean] [A,Clean], [A,Dirty] [A,Clean], [B,Clean] [A,Clean], [B,Dirty] [A,Dirty], [A,Clean] [A,Dirty], [A,Dirty] [A,Clean], [A,Clean], [A,Clean] [A,Clean], [A,Clean], [A,Dirty] Suck Left Suck Right Suck Left Suck Right Suck Right Suck if status == Dirty then Suck else if location == A then Right else Left Agents 35 Agents 36 9

Performance Evaluation vacuum agent number of tiles cleaned during a certain period based on the agent s report, or validated by an objective authority doesn t consider expenses of the agent, side effects energy, noise, loss of useful objects, damaged furniture, scratched floor might lead to unwanted activities agent re-cleans clean tiles, covers only part of the room, drops dirt on tiles to have more tiles to clean, etc. Cleaning Robots Cleaning Robot contest http://www.service-robots.org/cleaningrobotscontest/ Agents 37 Agents 38 Software Agents Mobile agents also referred to as softbots live in artificial environments where computers and networks provide the infrastructure may be very complex with strong requirements on the agent World Wide Web, real-time constraints, natural and artificial environments may be merged user interaction sensors and actuators in the real world camera, temperature, arms, wheels, etc. Programs that can migrate from one machine to another Execute in a platform-independent execution environment Require agent execution environment (places) Mobility not necessary or sufficient condition for agenthood Practical but non-functional advantages: Reduced communication cost (eg, from PDA) Asynchronous computing (when you are not connected) Applications: Distributed information retrieval Telecommunication network routing Agents 39 Agents 40 10

Information agents Environments Manage the explosive growth of information Manipulate or collate information from many distributed sources Information agents can be mobile or static information on the Web or in document corpora ontologies for annotating Web pages (services) data mining on unstructured data question answering using knowledge intensive of statistical methods determine to a large degree the interaction between the outside world and the agent the outside world is not necessarily the real world as we perceive it in many cases, environments are implemented within computers they may or may not have a close correspondence to the real world Introduction 41 Agents 42 Environment Properties Fully observable vs. partially observable Fully observable: sensors can detect all aspects of the environment Effectively fully observable: relevant aspects Deterministic vs. stochastic Deterministic: next state determined by current state and the agent actions Partial observable could be stochastic from the agent s view point Episodic vs. sequential Agent s experience divided into episodes; subsequent episode do not depend on actions in previous episodes Static vs. dynamic Dynamic: Environment changes while agent is deliberating Semi-dynamic: environment static, performance scores dynamic Discrete vs. continuous Discrete: Finite number of percepts and actions Single agent vs. multi-agent Competitive, cooperative, and communication Agents 43 Environment types Environment Vacuum cleaner Virtual Reality Internet shopping Observable No Deterministic No Episodic /No No Static No No Discrete agent design is mainly influenced by the environment often the abstraction influences the description of the environment Real world is partially observable, stochastic, sequential, dynamic, continuous Introduction 44 11

Environment Programs Agent types environment simulators for experiments with agents gives a percept to an agent receives an action updates the environment often divided into environment classes for related tasks or types of agents frequently provides mechanisms for measuring the performance of agents Four basic types in order of increasing generality simple reflex agents model based reflex agents (with state) goal-based agents utility-based agents All these can be turned into learning agents Agents 45 Agents 46 Simple reflex agents Simple look-up table, mapping percepts to actions, is out of the question (too large, too expensive to build) Many situations can be summarized by condition-action rules (humans: learned responses, innate reflexes) Model-based reflex agents (with state) Sensor information alone is not sufficient in case of partial observability Need to keep track of how the world evolves Evolution: independently of the agent, or caused by the agent s action Knowledge about how the world works Model of the world Implementation: easy; Applicability: narrow Agents 47 Agents 48 12

Goal-based agents State and actions don t tell where to go Need goals to build sequences of actions (planning) Utility-based agents Several action sequences to achieve some goal (binary process) Need to select among actions and sequences (preferences) Utility: state real number express degree of satisfaction and specify trade-offs between conflicting goal Goal-based: uses the same rules for different goals Reflex: will need a complete set of rules for each goal Agents 49 Agents 50 Learning agents Learning agents Learning element: making improvements Performance element: selecting external actions (entire former agents) Critic: collecting feedback on how the agent is doing? Problem generator: suggesting (exploratory) actions (experiments) Agents 51 Agents 52 13