Skip to content

Learn by Trying

REINFORCEMENT LEARNING · START HERE

Learning starts with a choice

Imagine teaching an explorer to find a treasure. You do not hand it the route. It tries a move, sees what happens, and uses that experience to make its next choice.

That is the starting idea behind reinforcement learning (RL). A learner takes actions, receives rewards, and tries to collect more reward over time. A good choice may help later—even if it does not pay off right now.

Begin with the story. Try an experiment. Then meet the equation that explains what you just saw. You can follow the main idea before learning every symbol.

Observe → Choose → See the result → Receive a reward → Learn

Choose a starting point

01 · A SINGLE CHOICE

Which button should I try?

Meet rewards, exploration and uncertainty. Watch new evidence change a belief.

Try the button & belief lab →

02 · A JOURNEY

Which route should I learn?

Keep the world the same. Change the learning rule. Compare paths, scores and estimates.

Open the 6 × 6 grid lab →

03 · THE REASONING

What do the equations say?

Build from averages and probabilities to the Bellman equation, Monte Carlo and TD learning.

Read the foundation lessons →

The learning path

Each step answers a question the previous idea could not handle.

  1. Bandits: Which action is worth trying when rewards are uncertain?
  2. Bayesian beliefs: How should evidence change what I believe?
  3. MDPs: What changes when my action affects where I go next?
  4. Returns and values: How do I measure a whole journey, not just one move?
  5. Bellman: Can I split a long future into one step and what comes after it?
  6. DP, Monte Carlo and TD: Do I use a model, wait for a complete trip, or learn after one step?
  7. SARSA and Q-learning: Which next action belongs in my prediction?

Later chapters extend these ideas to large problems: function approximation → DQN; policy gradients → actor–critic → GAE, TRPO and PPO. GRPO belongs to a later branch about language-model post-training. These advanced topics extend the foundation lessons as the series grows.

Every color has a job

Equation symbols keep their meaning across lessons. Text labels explain each role, too.

S · stateA · actionR, G · reward / returnV, Q · value estimateP, π, θ · probability / beliefα, γ, ε · chosen settingsδ · prediction error

A method’s path color identifies that method within a comparison. Curve colors distinguish the prior, likelihood and posterior in the Bayesian charts. These chart keys are separate from the equation symbol key.

A small math toolbox, opened when needed

To talk about uncertainty

Probability → conditional probability → Bayes’ rule → prior, likelihood and posterior.

To learn from experience

Random variables → expectation → sampling → sample average → Monte Carlo estimation.

To read the symbols

One number → vector → matrix → tensor. A function is a rule; its stored representation might be a table or a network.

You do not need to finish a separate math course first. Each equation in the foundation lessons has its own symbol dictionary and a small numerical example.

Published inReinforcement Learning

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *