2.7 Problem-Solving and Learning Agents (BT104CO)
1. The Problem-Solving Agent
A Problem-Solving Agent is a type of Goal-Based Agent. It decides what to do by finding sequences of actions that lead to desirable states.
2. Problem Formulation (The 5-Tuple)
To turn a vague desire into a computable problem, we must formally define these five components:
3. The Learning Agent
While standard agents rely on pre-programmed knowledge, a Learning Agent adapts in unknown environments.
Learning Element
Responsible for making improvements to the agent's logic based on feedback.
Performance Element
This is the actual "agent" that selects actions based on percepts.
The Critic
Compares results against a fixed performance standard to judge success.
Problem Generator
Suggests "exploratory" actions to help the agent learn more about the world.
4. Agent Comparison Summary
| Agent Type | Knowledge Source | Decision Basis | Uncertainty? |
|---|---|---|---|
| Problem-Solving | Pre-defined Model | Search/Planning | No (Deterministic) |
| Simple Reflex | Hard-coded Rules | Current Percept | Poorly |
| Learning Agent | Experience | Feedback/Critic | Yes (Adapts) |
5. Knowledge Representation Levels
State is a single unit/node with no internal parts (e.g., map node).
State is split into variables (e.g., GPS coordinates + Fuel level).
State includes relations (e.g., "The key is inside the box").