Elements of Artificial Intelligence and Expert Systems

Similar documents
Planning in autonomous mobile robotics

CPS331 Lecture: Intelligent Agents last revised July 25, 2018

Artificial Intelligence: An overview

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

Artificial Intelligence

Overview Agents, environments, typical components

Artificial Intelligence. What is AI?

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

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

CPS331 Lecture: Agents and Robots last revised November 18, 2016

EARIN Jarosław Arabas Room #223, Electronics Bldg.

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

CS 486/686 Artificial Intelligence

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

CS:4420 Artificial Intelligence

CPS331 Lecture: Agents and Robots last revised April 27, 2012

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

Introduction to Artificial Intelligence

Artificial Intelligence. Berlin Chen 2004

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

Design of intelligent surveillance systems: a game theoretic case. Nicola Basilico Department of Computer Science University of Milan

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

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

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

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

Artificial Intelligence

22c:145 Artificial Intelligence

3.1 Agents. Foundations of Artificial Intelligence. 3.1 Agents. 3.2 Rationality. 3.3 Summary. Introduction: Overview. 3. Introduction: Rational Agents

Ar#ficial)Intelligence!!

Introduction to Artificial Intelligence: cs580

CSIS 4463: Artificial Intelligence. Introduction: Chapter 1

Artificial Intelligence

Lecture 1 What is AI?

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

The first topic I would like to explore is probabilistic reasoning with Bayesian

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

Welcome to CSC384: Intro to Artificial Intelligence

Hierarchical Controller for Robotic Soccer

CMSC 372 Artificial Intelligence. Fall Administrivia

A short introduction to Security Games

Agent-Based Systems. Agent-Based Systems. Agent-Based Systems. Five pervasive trends in computing history. Agent-Based Systems. Agent-Based Systems

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

Artificial Intelligence for Engineers. EE 562 Winter 2015

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

Welcome to CompSci 171 Fall 2010 Introduction to AI.

CS 380: ARTIFICIAL INTELLIGENCE

Last Time: Acting Humanly: The Full Turing Test

Artificial Intelligence

AI powering Corporate Communications

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

Artificial Intelligence

MSc(CompSc) List of courses offered in

Computer Science and Philosophy Information Sheet for entry in 2018

Welcome to CSC384: Intro to Artificial MAN.

CSE 473 Artificial Intelligence (AI) Outline

Artificial Intelligence

5.1 State-Space Search Problems

Artificial Intelligence: Definition

Introduction to Artificial Intelligence

Artificial Intelligence

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

The Nature of Informatics

Lecture 1 Introduction to AI

CS8678_L1. Course Introduction. CS 8678 Introduction to Robotics & AI Dr. Ken Hoganson. Start Momentarily

Artificial Intelligence

Texas Hold em Inference Bot Proposal. By: Brian Mihok & Michael Terry Date Due: Monday, April 11, 2005

Intro to Artificial Intelligence Lecture 1. Ahmed Sallam { }

Foundations of Artificial Intelligence

Intelligent Systems. Lecture 1 - Introduction

Cognitive Robotics 2017/2018

Lecture 1 What is AI?

Neuro-Fuzzy and Soft Computing: Fuzzy Sets. Chapter 1 of Neuro-Fuzzy and Soft Computing by Jang, Sun and Mizutani

Application of Artificial Neural Networks in Autonomous Mission Planning for Planetary Rovers

Agents and Introduction to AI

Artificial Intelligence CS365. Amitabha Mukerjee

Cognitive Robotics 2016/2017

CMSC 421, Artificial Intelligence

COMP9414: Artificial Intelligence Problem Solving and Search

Intelligent Agents. Introduction to Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 23.

Artificial Intelligence

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

Artificial Intelligence

KIPO s plan for AI - Are you ready for AI? - Gyudong HAN, KIPO Republic of Korea

Executive Summary Industry s Responsibility in Promoting Responsible Development and Use:

Design of intelligent surveillance systems: a game theoretic case. Nicola Basilico Department of Computer Science University of Milan

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

OVERVIEW OF ARTIFICIAL INTELLIGENCE (AI) TECHNOLOGIES. Presented by: WTI

Chapter 7 Information Redux

COMP5121 Mobile Robots

[31] S. Koenig, C. Tovey, and W. Halliburton. Greedy mapping of terrain.

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

Solving Problems by Searching

COMP9414/ 9814/ 3411: Artificial Intelligence. Overview. UNSW c Alan Blair,

AI in Business Enterprises

Fall 17 Planning & Decision-making in Robotics Introduction; What is Planning, Role of Planning in Robots

Introduction to Artificial Intelligence. Department of Electronic Engineering 2k10 Session - Artificial Intelligence

Executive summary. AI is the new electricity. I can hardly imagine an industry which is not going to be transformed by AI.

Spring 19 Planning Techniques for Robotics Introduction; What is Planning for Robotics?

Agents in the Real World Agents and Knowledge Representation and Reasoning

Behaviour-Based Control. IAR Lecture 5 Barbara Webb

Transcription:

Elements of Artificial Intelligence and Expert Systems Master in Data Science for Economics, Business & Finance Nicola Basilico Dipartimento di Informatica Via Comelico 39/41-20135 Milano (MI) Ufficio S242 nicola.basilico@unimi.it +39 02.503.16294

Course organization Total of 20 hour organized in two independent parts: 10 hours, Nicola Basilico 10 hours, Silvia Salini Calendar for this part: May 17th, 2 hours June 7th, 4 hours June 9, 2 hours June 30, 2 hours Exam for this part of the course: Choose one of the topics addressed in class Write a short report on it, additional references will be provided

Course goals Giving a general overview of the field of Artificial Intelligence (AI) Describing some important types of problems addressed by AI Describing some important techniques to solve those problems Reference book: Stuart J. Russell and Peter Norvig, Artificial intelligence: a modern approach. (3 rd edition) References provided during lectures are taken from conferences like AAAI, AAMAS, IJCAI

Roadmap (tentative) Overview of the field Single-agent settings (Search, Markov Decision Processes) Multi-agent settings, game theoretical foundations

Introduction We can start from the very basic question: what is AI? Let s take a bottom-up approach: what comes to our mind when thinking to AI?

AI is in the (tech) news We feel that AI is related to some recent technological advancements that are making new cool things possible Some popular examples: Task planning Targeted advertising Autonomous driving Virtual assistants Games Scene recognition

AI is changing things We feel that societal and ethical implications might be on stake Ethical issues On May 2018, Google presented Duplex: an AI system for accomplishing real-world tasks over the phone Privacy and fairness concerns Impact on our economy and society Will machines take our jobs? Will machines take our boss job?

AI is attracting a lot of money We feel that governments and institutions are investing large funds in AI technologies On May 8, 2018, the White House hosts a summit on Artificial Intelligence for American industry with ~100 stakeholders (source whitehouse.gov) On 20 July 2018, China released ambitious plans to become the world leader in artificial intelligence (AI) by 2030. (source nature.com) The European Union is aims at reaching 20 billion euros of investment in artificial intelligence by 2020 (about 1/3 of what the other two are investing)

AI index (https://aiindex.org/) Very few people today think about dystopic views of AI Some believe we are in a new golden age of AI, mostly due the recent success in predictive technologies and data science (Are we in a bubble? The field already had two winter ages)

AI is a field in Computer Science What actually lies beyond our perception of AI is a young but rich field of science, born in 1956 A definition by a computer scientist: A field within computer science that is attempting to build enhanced intelligence into computer systems (Nils J. Nilsson)

A more systematic view How? humanly rationally What? thinking From a theory of mind to a computer program From a theory of right thinking to a computer program acting A computer program that behaves like a human A computer program that behaves rationally Simulation: we want intelligence to emerge from a system that is internally modeled just like the target system Emulation: we want intelligence to emerge from a system that has no constraints on how it is internally modeled

Acting Humanly: the Turing test Definition of the Turing test: Test setting: Users A, B, C in different rooms A is a female, B is a male They can exchange text messages Mechanism: C has to guess the sex of A and B B wants to cooperate with C A wans to mislead C We play the tests a large number of times and we estimate C s success rate Does the success rate stay the same?

Acting Humanly: the Turing test The Turing test is important for two three reasons: It was one of the first definition of AI, it gave to the researchers of the field a concrete objective to seek It focuses on the behavior of the AI and not on its internals It was formulated by Alan Turing Criticized a lot but still a reference in philosophy of AI Today s research is focusing on more specific domains, even if there are competitions

Acting rationally: our favorite definition Acting rationally is our reference definition: emulation is less restrictive rationality can be modeled mathematically We will focus on this definition of AI although the four categories are not mutually exclusive Introducing the agent and her rationality, two central concepts Agent We need to build a system that can act rationally, where do we start?

AI approaches: the main ingredients Problem Solution Problems in AI have different dimensions of complexity computation: some problems are difficult in the sense that designing an efficient algorithm for their resolution might be difficult or even not possible information: the resolution of some problems might require the availability and the capability to process large amounts of data To have a more concrete view let s consider two (classical) running problems: P2) Find the fastest route from A to B? P1) Is there any person in this picture?

First approach: learning P1 Problem Building Model Using Solution Building the model from data, selecting from a family Extracting relevant features and understanding how they map to a solution how some features of the world map to the solution Agent: the entity that solves the problem The agent queries the model, she s a reactive or reflex agent Typically difficult Typically easy

Second approach: inference P2 Problem Building Model Using Solution Building a model of the problem descriptions of some features of the world and how they change Agent: the entity that solves the problem Computing the solution by inference on the model The agent must search, reason, explore different directions Typically easy We will focus on this approach Typically difficult

Agents perceptions Agent actions environment The model we want to build is called agent The agent works on a problem model maintaining an internal representation of it integrating the environment perceptions It can perform actions that change the environment and, as a consequence, the internal representation The agent wants to accomplish something, it has goals/preferences and acts rationally with respect to them

Agents State-based representation of the environment It can be modeled with a graph where vertices represent states and arcs transitions between them State 1 State 2 This representation can be characterized along different dimensions of complexity: Uncertainty Knowledge Interactions

The uncertainty dimension Consider an example where our agent is represented by a mobile robot that moves within an environment represented as a graph Are the effects of my actions perfectly predictable? Am I always sure about what s going on? Deterministic vs Stochastic transitions Fully observable vs Partially observable states

The uncertainty dimension Deterministic transitions, fully observable states Only actuation is needed, no sensing! A move B B

The uncertainty dimension Stochastic transitions, fully observable states B A Move to B C Surveillance robot Broken

The uncertainty dimension? A move B? D move C Deterministic transitions, partially observable states

The uncertainty dimension? A move 0.99 B? D move 0.99 C Broken Stochastic transitions, partially observable states

The knowledge dimension Is all the information we need to solve the problem available in advance? Offline resolution vs online resolution In online resolution we acquire information about the problem while trying to solve it Example: explore an unknown environment in the shortest time

The interaction dimension Am I the only one acting rationally in the environment Is the environment changing only because of my actions and environmental dynamics or can it change also because the actions of another rational agent? If another agent is present how her preferences go along with mine? Single gent settings: problem solving, optimization, decision theory Multi-agent setting: game theory vs

Self-interested agents Agents have preferences or goals with respect to the possible states they might encounter Self-interested agents: Knows what states of the world like more than others Her decision try to bring the world in the states she likes more Utility theory, grounded in the concept of preferences: Weak preference Indifference Strict preference Set of possible states We can extend preferences to lotteries, i.e., situations where the state is uncertain

Self-interested agents Is any preference relation specified in such way meaningful? In general, no. We need to require some properties Completeness (C) Transitivity (T) Substitutability (S)

Self-interested agents Decomposability (D) Probability with which lottery e selects state i Monotonicity (M) Continuity (CC)

Self-interested agents Von Neumann and Morgenstein: if all the properties hold, then there exists a function such that and If our preferences are well-formed then we can quantify the agent s preference degrees with an utility function that: assigns to each state a value (utility) takes the form of an expectancy when uncertainty is involved

Example 1 Expected utility for each action: 0 2 What action is chosen by the agent? -1