What Reinforcement Learning Is

Learning by Trial and Consequence

Reinforcement Learning is a learning paradigm where an agent learns to make decisions by interacting with an environment, receiving reward signals, and adjusting behavior to maximize cumulative reward over time. No labeled examples — just experience.

How RL Differs from Other Paradigms

Supervised Learning

Labeled examples: input → correct output. Feedback is immediate and precise. No interaction with an environment. Static data distribution. Learns a mapping, not a sequential strategy.

Reinforcement Learning

No labels. Agent explores an environment, receives reward signals. Feedback is delayed and indirect — the credit assignment problem. Data distribution changes as the agent learns. Learns a policy for sequential decision-making.

The Core Interaction Loop

1

Observe — Agent perceives the current state of the environment.

2

Act — Agent chooses an action based on its current policy.

3

Receive reward — Environment transitions to a new state and returns a reward signal.

4

Update — Agent uses the (state, action, reward, next state) tuple to improve its policy. Every RL algorithm differs in how this update is performed.

Where RL Excels

Right tool when correct actions can't be predefined

Games, robot control, resource optimization, and any task where: the right action at each step can't be determined in advance, feedback comes from experiencing consequences, and the objective requires optimizing a long-term sequence of decisions — not just one-shot prediction.

Need Help?

Ask the AI assistant about what reinforcement learning is, how it differs from supervised learning, or what the credit assignment problem means.