Presentation is loading. Please wait.

Presentation is loading. Please wait.

Artificial Intelligence Lecture 8. Outline Computer Vision Robots Grid-Space Perception and Action Immediate Perception Action Robot’s Perception Task.

Similar presentations


Presentation on theme: "Artificial Intelligence Lecture 8. Outline Computer Vision Robots Grid-Space Perception and Action Immediate Perception Action Robot’s Perception Task."— Presentation transcript:

1 Artificial Intelligence Lecture 8

2 Outline Computer Vision Robots Grid-Space Perception and Action Immediate Perception Action Robot’s Perception Task Completion Production System Networks

3 Computer Vision

4 Robots (Current Stage) built by humans coordinated body movements little learning capabilities no real social interaction or language no consciousness or self-awareness

5 A Trip to Grid-Space World Grid-space world is an extremely simple model of our own world. It is a three-dimensional space with a floor that is divided into cells by a two-dimensional grid. The cells can be empty or contain objects or agents. There can be walls between sets of cells. The agents are confined to the floor and can move from cell to cell. A robot in grid-space world can sense whether neighboring cells are empty or not.

6 Perception and Action Organisms in the real world have to do two basic things in order to survive: They have to gather information about their environment (perception) and based on this information, they have to manipulate their environment (including themselves) in a way that is advantageous to them (action). The action in turn may cause a change in the organism’s perception, which can lead to a different type of action. We call this the perception-action cycle.

7 Perception and Action Complex organisms do not just perceive and act, but they also have an internal state that changes based on the success of previous perception-action cycles. This is the mechanism of learning. We will first consider a very simple robot that lives in grid-space world and has no internal state. The grid has no tight spaces, that is, spaces between objects and boundaries are only one cell wide.

8 Perception and Action The robot is supposed to find a cell next to a boundary or object and then follow that boundary forever. As we said, the robot can perceive the state of its neighboring cells: s1s1 s2s2 s3s3 s8s8 s4s4 s7s7 s6s6 s5s5

9 Perception and Action The robot can move to a free adjacent cell in its column or row. Consequently, there are four possible actions that it can take: north: moves the robot one cell up east:moves the robot one cell to the right south:moves the robot one cell down west:moves the robot one cell to the left

10 Immediate Perception-Action Now that we specified the robot’s capabilities, its environment, and its task, we need to give “life” to the robot. In other words, we have to specify a function that maps sensory inputs to movement actions so that the robot will carry out its task. Since we do not want the robot to remember or learn anything, one such function would be sufficient. However, it is useful to decompose it in the following way (next slide):

11 Immediate Perception-Action 0 0 1 1 0 0 … … … 1 Action function Sensory input Action Feature vector X Perceptual processing

12 Immediate Perception-Action The functional decomposition has two advantages: Multiple action functions can be added that receive the same feature vector as their input, It is possible to add an internal state to the system to implement memory and learning.

13 The Robot’s Perception For our robot, we define four different features x 1, …, x 4 that are important to it. Each feature has value 1 if and only if at least one of the shaded cells is not free: s 5 s 6 s 7 s 4 s 8 s 3 s 2 s 1 x1x1x1x1 s 5 s 6 s 7 s 4 s 8 s 3 s 2 s 1 x2x2x2x2 s 5 s 6 s 7 s 4 s 8 s 3 s 2 s 1 x3x3x3x3 s 5 s 6 s 7 s 4 s 8 s 3 s 2 s 1 x4x4x4x4

14 The Robot’s Action To execute action, we define an ordered set of rules: if x 1 = 0 and x 2 = 0 and x 3 = 0 and x 4 = 0 move north if x 1 = 1 and x 2 = 0 move east if x 2 = 1 and x 3 = 0 move south if x 3 = 1 and x 4 = 0 move west if x 4 = 1 and x 1 = 0 move north s 5 s 6 s 7 s 4 s 8 s 3 s 2 s 1 x1x1x1x1 s 5 s 6 s 7 s 4 s 8 s 3 s 2 s 1 x2x2x2x2 s 5 s 6 s 7 s 4 s 8 s 3 s 2 s 1 x3x3x3x3 s 5 s 6 s 7 s 4 s 8 s 3 s 2 s 1 x4x4x4x4

15 Task Completion1 5 52 3 3222 5 5 5 54444444 3 3 3 321 1 1 1 1 1 1 12 3 3 3 3222 3 3444 3 3 3 344 5 544 Rules 1  2  3  4  5

16 Questions & Answers ???????


Download ppt "Artificial Intelligence Lecture 8. Outline Computer Vision Robots Grid-Space Perception and Action Immediate Perception Action Robot’s Perception Task."

Similar presentations


Ads by Google