Agents and Environments Flashcards

1
Q

What does an agent do?

A

perceives its environment through sensors and acts upon it through actuators

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

What is a rational agent?

A

Acting rationally
- Chooses actions to maximize the expected utility using logical reasoning
- Rational to explore and learn

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

What is a Turing Test?

A

Acting humanly

A computer and human are asked questions to determine which is human. If the computer is indistinguishable from the human, it passes the Turing Test.

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

What is cognitive modeling?

A

Thinking humanly

Simulating human problem-solving and mental processing in a computerized model

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

What is formal logic?

A

Thinking rationally

The validation behind the thought in artificial intelligence

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

What is the gorilla problem

A

It is not obvious that we can control machines that are more intelligent than us.

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

What are the environment types for different agent designs?

A
  • Fully/partially observable = agent requires memory
  • Discrete/continuous = agent may not be able to enumerate all states
  • Stochastic/deterministic = agent may have to prepare for contingencies
  • Single-agent/multi-agent = agent may need to behave randomly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a reflex agent?

A

Chooses actions based on current percept
May have memory or a model of the world’s current state
Do NOT consider the future consequences of their actions
They can be rational

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

What is a planning agent?

A

Ask “what if”
Decisions are based on consequences of actions
Must have a model of how the world evolves in response to actions
Considers how the world WOULD BE

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

Optimal vs. complete planning

A

Optimal planning gives the best solution to a given problem
Complete planning considers a problem once all possible solutions are explored

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

What are the parts of a search problem and solution?

A

Search problems consist of: a state space, successor function (with actions, costs), start state, and goal test
Solution is a sequence of actions (a plan) which transforms the start state to a goal state

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

What is Depth-First Search?

A

Expand the deepest node first (fringe is LIFO stack)
Not optimal

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

What is Breadth-First Search?

A

Expand the shallowest node first (fringe is FIFO queue)
Optimal only if costs are all 1

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

When will BFS outperform DFS?

A

On sparse graphs with low branching factors, where DFS can get stuck following long, irrelevant chains.

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

When will DFS outperform BFS?

A

On thickly connected graphs with high branching factors, because BFS experiences an exponential blowup in nodes expanded as the branching factor increases.

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

What is a Uniform Cost Search?

A

Expand the cheapest node first (fringe is priority queue)
- Complete and optimal, though explores options in every direction
- no info on goal location

17
Q

What does an agent function do?

A

Maps from the set of all possible percept sequences P* to the set of actions A formulated as an abstract mathematical function

f: P* -> A

18
Q

What is PEAS?

A

Performance measure, Environment, Actuators, Sensors
- Crucial in AI design for tasks; serves as a framework for agents

19
Q

What is a Simple Reflex Agent

A

Uses only built-in knowledge in the form of rules that select action only based on the current percept
- Does not know about performance measure
- No memory and ignores all past percepts
- Typically very fast

20
Q

What is a Model-based Reflex Agent

A

Maintains a state variable to keep track of aspects of the environment that cannot be currently observed
- Has memory and knows how the environment reacts to actions
- State is updated using the percept

21
Q

What is a state and its representation?

A

States help keep keep track of the environment and the representation can be atomic (just labeled) or factored (vector of attribute values)

22
Q

What is a Goal-based Agent?

A

There is a task to reach a defined goal state and then is finished; agent needs to move towards the goal
- Can use search algorithms to plan actions that lead to the goal
- Performance measure is typically the cost to reach the goal

23
Q

What is a Utility-based Agent

A

Uses a utility function to evaluate the desirability of each possible states (reward of being in state R(s))
- Choose actions to stay in desirable states
- Performance measure is the discounted sum of expected utility over time