AIMA - CH 2 Flashcards

1
Q

Suppose that the performance measure is concerned with just the first T time steps of the environment and ignores everything thereafter. Show that a rational agent’s action may depend not just on the state of the environment but also on the time step it has reached.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Let us examine the rationality of various vacuum-cleaner agent functions.

  1. Show that the simple vacuum-cleaner agent function described in Figure 2.3 is indeed rational under the assumptions listed on page
  2. Describe a rational agent function for the case in which each movement costs one point. Does the corresponding agent program require internal state?
  3. Discuss possible agent designs for the cases in which clean squares can become dirty and the geography of the environment is unknown. Does it make sense for the agent to learn from its experience in these cases? If so, what should it learn? If not, why not?
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Write an essay on the relationship between evolution and one or more of autonomy, intelligence, and learning.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

For each of the following assertions, say whether it is true or false and support your answer with examples or counterexamples where appropriate.

  1. An agent that senses only partial information about the state cannot be perfectly rational.
  2. There exist task environments in which no pure reflex agent can behave rationally.
  3. There exists a task environment in which every agent is rational.
  4. The input to an agent program is the same as the input to the agent function.
  5. Every agent function is implementable by some program/machine combination.
  6. Suppose an agent selects its action uniformly at random from the set of possible actions. There exists a deterministic task environment in which this agent is rational.
  7. It is possible for a given agent to be perfectly rational in two distinct task environments.
  8. Every agent is rational in an unobservable environment.
  9. A perfectly rational poker-playing agent never loses.
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

For each of the following activities, give a PEAS description of the task environment and characterize it in terms of the properties listed in Section

  • Playing soccer.
  • Exploring the subsurface oceans of Titan.
  • Shopping for used AI books on the Internet.
  • Playing a tennis match.
  • Practicing tennis against a wall.
  • Performing a high jump.
  • Knitting a sweater.
  • Bidding on an item at an auction.
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

For each of the following activities, give a PEAS description of the task environment and characterize it in terms of the properties listed in Section

  • Performing a gymnastics floor routine.
  • Exploring the subsurface oceans of Titan.
  • Playing soccer.
  • Shopping for used AI books on the Internet.
  • Practicing tennis against a wall.
  • Performing a high jump.
  • Bidding on an item at an auction.
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define in your own words the following terms: agent, agent function, agent program, rationality, autonomy, reflex agent, model-based agent, goal-based agent, utility-based agent, learning agent.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This exercise explores the differences between agent functions and agent programs.

  1. Can there be more than one agent program that implements a given agent function? Give an example, or show why one is not possible.
  2. Are there agent functions that cannot be implemented by any agent program?
  3. Given a fixed machine architecture, does each agent program implement exactly one agent function?
  4. Given an architecture with n bits of storage, how many different possible agent programs are there?
  5. Suppose we keep the agent program fixed but speed up the machine by a factor of two. Does that change the agent function?
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Write pseudocode agent programs for the goal-based and utility-based agents.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Consider a simple thermostat that turns on a furnace when the temperature is at least 3 degrees below the setting, and turns off a furnace when the temperature is at least 3 degrees above the setting. Is a thermostat an instance of a simple reflex agent, a model-based reflex agent, or a goal-based agent?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Implement a performance-measuring environment simulator for the vacuum-cleaner world depicted in Figure 2.8 and specified on page . Your implementation should be modular so that the sensors, actuators, and environment characteristics (size, shape, dirt placement, etc.) can be changed easily. (Note: for some choices of programming language and operating system there are already implementations in the online code repository.)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Implement a simple reflex agent for the vacuum environment in Exercise 2.10. Run the environment with this agent for all possible initial dirt configurations and agent locations. Record the performance score for each configuration and the overall average score.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Consider a modified version of the vacuum environment in Exercise 2.10, in which the agent is penalized one point for each movement.

  1. Can a simple reflex agent be perfectly rational for this environment? Explain.
  2. What about a reflex agent with state? Design such an agent.
  3. How do your answers to 1 and 2 change if the agent’s percepts give it the clean/dirty status of every square in the environment?
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Consider a modified version of the vacuum environment in Exercise 2.10, in which the geography of the environment—its extent, boundaries, and obstacles—is unknown, as is the initial dirt configuration. (The agent can go Up and Down as well as Left and Right.)

  1. Can a simple reflex agent be perfectly rational for this environment? Explain.
  2. Can a simple reflex agent with a randomized agent function outperform a simple reflex agent? Design such an agent and measure its performance on several environments.
  3. Can you design an environment in which your randomized agent will perform poorly? Show your results.
  4. Can a reflex agent with state outperform a simple reflex agent? Design such an agent and measure its performance on several environments. Can you design a rational agent of this type?
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Repeat Exercise 2.13 for the case in which the location sensor is replaced with a “bump” sensor that detects the agent’s attempts to move into an obstacle or to cross the boundaries of the environment. Suppose the bump sensor stops working; how should the agent behave?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly