Start studying
Module 1 · Machine Learning Module contents
Module 1  ·  Card 13 / 55beginner

Reinforcement Learning basics

Reinforcement learning has an agent acting inside an environment.

The agent takes actions and receives rewards or penalties in return.

Over time it learns which actions lead to better long-term reward.

An AI playing chess gets positive feedback when it eventually wins.

The whole idea is learning through interaction and feedback rather than fixed examples.

Learn in depth ↓
Module 01 · Machine Learning · 55 concepts
In depth  /  15 lines

Reinforcement Learning basics, in more detail

Reinforcement learning is learning by trying things.

There is no dataset of correct answers waiting for you.

An agent acts, the world responds, and a reward says how that went.

The reward can arrive long after the action that caused it.

A chess move that loses the game may only look bad twenty moves later.

Working out which action deserves the blame is the hard part.

The agent has to balance two urges at the same time.

Repeat what already works, or try something new that might work better.

Too much of the first and it settles for mediocre forever.

Too much of the second and it never gets good at anything.

It usually needs an enormous number of attempts to learn anything at all.

That is fine in a simulator and impossible on real machinery.

Whatever you reward is what you get, exactly and literally.

Reward the score and it may find a bug that farms points forever.

Writing the reward is where most of the real difficulty lives.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
What makes reinforcement learning harder than supervised learning?
Machine Learning

55 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close