Artificial Intelligence. agents

Similar documents
Chapter 2. Intelligent Agents. Outline. Agents and environments. Rationality. PEAS (Performance measure, Environment, Actuators, Sensors)

Agents and environments. Intelligent Agents. Reminders. Vacuum-cleaner world. Outline. A vacuum-cleaner agent. Chapter 2 Actuators

Intelligent Agents. Chapter 2. Chapter 2 1

Knowledge based expert systems D H A N A N J A Y K A L B A N D E

Reinforcement Learning by Comparing Immediate Reward

MYCIN. The MYCIN Task

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Axiom 2013 Team Description Paper

Proof Theory for Syntacticians

Visual CP Representation of Knowledge

Knowledge-Based - Systems

A Genetic Irrational Belief System

Evolution of Collective Commitment during Teamwork

Lecture 2: Quantifiers and Approximation

Software Maintenance

Neuro-Symbolic Approaches for Knowledge Representation in Expert Systems

COSI Meet the Majors Fall 17. Prof. Mitch Cherniack Undergraduate Advising Head (UAH), COSI Fall '17: Instructor COSI 29a

A R "! I,,, !~ii ii! A ow ' r.-ii ' i ' JA' V5, 9. MiN, ;

Replies to Greco and Turner

Evolutive Neural Net Fuzzy Filtering: Basic Description

THE ROLE OF TOOL AND TEACHER MEDIATIONS IN THE CONSTRUCTION OF MEANINGS FOR REFLECTION

Foundations of Knowledge Representation in Cyc

Self Study Report Computer Science

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

Introduction to Simulation

Causal Link Semantics for Narrative Planning Using Numeric Fluents

PH.D. IN COMPUTER SCIENCE PROGRAM (POST M.S.)

Lecture 1: Basic Concepts of Machine Learning

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

Modeling user preferences and norms in context-aware systems

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Syllabus: PHI 2010, Introduction to Philosophy

Encoding. Retrieval. Forgetting. Physiology of Memory. Systems and Types of Memory

A MULTI-AGENT SYSTEM FOR A DISTANCE SUPPORT IN EDUCATIONAL ROBOTICS

9.2.2 Lesson 5. Introduction. Standards D R A F T

Software Development: Programming Paradigms (SCQF level 8)

Syntax Parsing 1. Grammars and parsing 2. Top-down and bottom-up parsing 3. Chart parsers 4. Bottom-up chart parsing 5. The Earley Algorithm

Designing A Computer Opponent for Wargames: Integrating Planning, Knowledge Acquisition and Learning in WARGLES

Unit 18: Pick Activity

GAT General (Analytical Reasoning Section) NOTE: This is GAT-C where: English-40%, Analytical Reasoning-30%, Quantitative-30% GAT

Language Acquisition Fall 2010/Winter Lexical Categories. Afra Alishahi, Heiner Drenhaus

Critical Thinking in the Workplace. for City of Tallahassee Gabrielle K. Gabrielli, Ph.D.

Rule-based Expert Systems

Toward Probabilistic Natural Logic for Syllogistic Reasoning

The Strong Minimalist Thesis and Bounded Optimality

Parsing of part-of-speech tagged Assamese Texts

UNDERSTANDING DECISION-MAKING IN RUGBY By. Dave Hadfield Sport Psychologist & Coaching Consultant Wellington and Hurricanes Rugby.

Segmented Discourse Representation Theory. Dynamic Semantics with Discourse Structure

Lecture 10: Reinforcement Learning

CS Machine Learning

Radius STEM Readiness TM

Formative Assessment in Mathematics. Part 3: The Learner s Role

How do adults reason about their opponent? Typologies of players in a turn-taking game

Copyright Corwin 2015

Are You Ready? Simplify Fractions

Generative models and adversarial training

Laboratorio di Intelligenza Artificiale e Robotica

KLI: Infer KCs from repeated assessment events. Do you know what you know? Ken Koedinger HCI & Psychology CMU Director of LearnLab

Backwards Numbers: A Study of Place Value. Catherine Perez

Compositional Semantics

CLINICAL EDUCATION EXPERIENCE MODEL; CLINICAL EDUCATION TRAVEL POLICY

Predicting Students Performance with SimStudent: Learning Cognitive Skills from Observation

Multi-genre Writing Assignment

CWIS 23,3. Nikolaos Avouris Human Computer Interaction Group, University of Patras, Patras, Greece

Critical Thinking in Everyday Life: 9 Strategies

RESEARCH UNITS, CENTRES AND INSTITUTES. Annual Report Template

GACE Computer Science Assessment Test at a Glance

Action Models and their Induction

Language properties and Grammar of Parallel and Series Parallel Languages

Proposal of Pattern Recognition as a necessary and sufficient principle to Cognitive Science

Rule Learning With Negation: Issues Regarding Effectiveness

KBS : Knowledge Representation. Motivation. Epistemology. Objectives

B.S/M.A in Mathematics

Kelli Allen. Vicki Nieter. Jeanna Scheve. Foreword by Gregory J. Kaiser

ISFA2008U_120 A SCHEDULING REINFORCEMENT LEARNING ALGORITHM

No Parent Left Behind

g to onsultant t Learners rkshop o W tional C ces.net I Appealin eren Nancy Mikhail esour Educa Diff Curriculum Resources CurriculumR

AUTOMATED TROUBLESHOOTING OF MOBILE NETWORKS USING BAYESIAN NETWORKS

An Interactive Intelligent Language Tutor Over The Internet

Computerized Adaptive Psychological Testing A Personalisation Perspective

THE ANTINOMY OF THE VARIABLE: A TARSKIAN RESOLUTION Bryan Pickel and Brian Rabern University of Edinburgh

Building A Baby. Paul R. Cohen, Tim Oates, Marc S. Atkin Department of Computer Science

Does Linguistic Communication Rest on Inference?

Lecture 1: Machine Learning Basics

MATH 205: Mathematics for K 8 Teachers: Number and Operations Western Kentucky University Spring 2017

Focus of the Unit: Much of this unit focuses on extending previous skills of multiplication and division to multi-digit whole numbers.

Artificial Neural Networks written examination

Which verb classes and why? Research questions: Semantic Basis Hypothesis (SBH) What verb classes? Why the truth of the SBH matters

CLASSROOM MANAGEMENT INTRODUCTION

Learning Prospective Robot Behavior

MTH 215: Introduction to Linear Algebra

COMPUTER-AIDED DESIGN TOOLS THAT ADAPT

GUIDE TO THE CUNY ASSESSMENT TESTS

Lahore University of Management Sciences. FINN 321 Econometrics Fall Semester 2017

FUZZY EXPERT. Dr. Kasim M. Al-Aubidy. Philadelphia University. Computer Eng. Dept February 2002 University of Damascus-Syria

Firms and Markets Saturdays Summer I 2014

Liquid Narrative Group Technical Report Number

Simple Random Sample (SRS) & Voluntary Response Sample: Examples: A Voluntary Response Sample: Examples: Systematic Sample Best Used When

The Enterprise Knowledge Portal: The Concept

12- A whirlwind tour of statistics

Transcription:

Notes adapted from lecture notes for CMSC 421 by B.J. Dorr Artificial Intelligence 1: logic agents Lecturer: Tom Lenaerts Institut de Recherches Interdisciplinaires et de Développements en Intelligence Artificielle (IRIDIA) Université Libre de Bruxelles Thinking Rationally Computational models of human thought processes Computational models of human behavior Computational systems that think rationally Computational systems that behave rationally TLo (IRIDIA) 2 1

Logical Agents Reflex agents find their way from Arad to Bucharest by dumb luck Chess program calculates legal moves of its king, but doesn t know that no piece can be on 2 different squares at the same time Logic (Knowledge-Based) agents combine general knowledge with current percepts to infer hidden aspects of current state prior to selecting actions Crucial in partially observable environments TLo (IRIDIA) 3 Outline Knowledge-based agents Wumpus world Logic in general Propositional and first-order logic Inference, validity, equivalence and satifiability Reasoning patterns Resolution Forward/backward chaining TLo (IRIDIA) 4 2

Knowledge Base Knowledge Base : set of sentences represented in a knowledge representation language and represents assertions about the world. tell ask Inference rule: when one ASKs questions of the KB, the answer should follow from what has been TELLed to the KB previously. TLo (IRIDIA) 5 Generic KB-Based Agent TLo (IRIDIA) 6 3

Abilities KB agent Agent must be able to: Represent states and actions, Incorporate new percepts Update internal representation of the world Deduce hidden properties of the world Deduce appropriate actions TLo (IRIDIA) 7 Desription level The KB agent is similar to agents with internal state Agents can be described at different levels Knowledge level What they know, regardless of the actual implementation. (Declarative description) Implementation level Data structures in KB and algorithms that manipulate them e.g propositional logic and resolution. TLo (IRIDIA) 8 4

A Typical Wumpus World Wumpus TLo (IRIDIA) 9 Wumpus World PEAS Description TLo (IRIDIA) 10 5

Wumpus World Characterization Observable? Deterministic? Episodic? Static? Discrete? Single-agent? TLo (IRIDIA) 11 Wumpus World Characterization Observable? No, only local perception Deterministic? Episodic? Static? Discrete? Single-agent? TLo (IRIDIA) 12 6

Wumpus World Characterization Observable? No, only local perception Deterministic? Yes, outcome exactly specified Episodic? Static? Discrete? Single-agent? TLo (IRIDIA) 13 Wumpus World Characterization Observable? No, only local perception Deterministic? Yes, outcome exactly specified Episodic? No, sequential at the level of actions Static? Discrete? Single-agent? TLo (IRIDIA) 14 7

Wumpus World Characterization Observable? No, only local perception Deterministic? Yes, outcome exactly specified Episodic? No, sequential at the level of actions Static? Yes, Wumpus and pits do not move Discrete? Single-agent? TLo (IRIDIA) 15 Wumpus World Characterization Observable? No, only local perception Deterministic? Yes, outcome exactly specified Episodic? No, sequential at the level of actions Static? Yes, Wumpus and pits do not move Discrete? Yes Single-agent? TLo (IRIDIA) 16 8

Wumpus World Characterization Observable? No, only local perception Deterministic? Yes, outcome exactly specified Episodic? No, sequential at the level of actions Static? Yes, Wumpus and pits do not move Discrete? Yes Single-agent? Yes, Wumpus is essentially a natural feature. TLo (IRIDIA) 17 Exploring the Wumpus World [1,1] The KB initially contains the rules of the environment. The first percept is [none, none,none,none,none], move to safe cell e.g. 2,1 [2,1] breeze which indicates that there is a pit in [2,2] or [3,1], return to [1,1] to try next safe cell TLo (IRIDIA) 18 9

Exploring the Wumpus World [1,2] Stench in cell which means that wumpus is in [1,3] or [2,2] YET not in [1,1] YET not in [2,2] or stench would have been detected in [2,1] THUS wumpus is in [1,3] THUS [2,2] is safe because of lack of breeze in [1,2] THUS pit in [1,3] move to next safe cell [2,2] TLo (IRIDIA) 19 Exploring the Wumpus World [2,2] move to [2,3] [2,3] detect glitter, smell, breeze THUS pick up gold THUS pit in [3,3] or [2,4] TLo (IRIDIA) 20 10

What is a logic? A formal language Syntax what expressions are legal (well-formed) Semantics what legal expressions mean in logic the truth of each sentence with respect to each possible world. E.g the language of arithmetic X+2 >= y is a sentence, x2+y is not a sentence X+2 >= y is true in a world where x=7 and y =1 X+2 >= y is false in a world where x=0 and y =6 TLo (IRIDIA) 21 Entailment One thing follows from another KB = α KB entails sentence α if and only if α is true in worlds where KB is true. Ε.g. x+y=4 entails 4=x+y Entailment is a relationship between sentences that is based on semantics. TLo (IRIDIA) 22 11

Models Logicians typically think in terms of models, which are formally structured worlds with respect to which truth can be evaluated. m is a model of a sentence α if α is true in m M(α) is the set of all models of α TLo (IRIDIA) 23 Wumpus world model TLo (IRIDIA) 24 12

Wumpus world model TLo (IRIDIA) 25 Wumpus world model TLo (IRIDIA) 26 13

Wumpus world model TLo (IRIDIA) 27 Wumpus world model TLo (IRIDIA) 28 14

Wumpus world model TLo (IRIDIA) 29 Logical inference The notion of entailment can be used for logic inference. Model checking (see wumpus example): enumerate all possible models and check whether α is true. If an algorithm only derives entailed sentences it is called sound or thruth preserving. Otherwise it just makes things up. i is sound if whenever KB - i α it is also true that KB = α Completeness : the algorithm can derive any sentence that is entailed. i is complete if whenever KB = α it is also true that KB - i α TLo (IRIDIA) 30 15

Schematic perspective If KB is true in the real world, then any sentence α derived From KB by a sound inference procedure is also true in the real world. TLo (IRIDIA) 31 16