LumoMate
LumoMate/Glossary/IntelligenceAI / ML

Reinforcement Learning

Learning by reward, action, and consequence.
Editorial illustration representing Reinforcement Learning: Learning by reward, action, and consequence.

Reinforcement learning trains an agent the way one trains a dog or an economy: by adjusting what it does in response to what it receives. The model is not told the right answer; it is told the score.

In plain language

In AI and machine learning, you will run into this term whenever someone talks about how a model is built or used. Reinforcement learning trains an agent the way one trains a dog or an economy: by adjusting what it does in response to what it receives. The model is not told the right answer; it is told the score. If you are new to the field, the simplest mental model is this: learning by reward, action, and consequence. Read it once with that frame in mind, then come back and read it again, and that is usually enough for the rest of the entry to make sense.

Inline editorial illustration evoking Reinforcement Learning: learning by reward, action, and consequence.
FIG. 1Reinforcement Learning, seen from a second angle: learning by reward, action, and consequence.

An everyday picture

Think of Reinforcement Learning less like a thinking person and more like someone who has read an enormous amount and now finishes other people's sentences for a living. They have absorbed the shape of the work; they have not memorised any one page.

Where it shows up

Reinforcement Learning tends to sit inside products that need to read, write, or recognise without a hard-coded rule, such as assistants, search, document tools, and voice apps. It is rarely the only moving part, but it is often the part the user feels.

A small example

Imagine the scene above. The role Reinforcement Learning plays is the one its blurb describes: learning by reward, action, and consequence. When a chatbot in a customer service portal reads a question and returns a draft reply, several of these AI ideas (model, prompt, context) are at work behind the single button you saw.

Common misunderstanding

MYTH
It is easy to assume Reinforcement Learning 'understands' the way a person does. It does not. It learns patterns, and patterns can be fooled, so confident answers are not the same thing as correct ones.

One line to take with you

Reinforcement Learning is statistics worn well. Useful for patterns; double-check it for facts.

Frequently asked

Q
How is reinforcement learning different from supervised learning?
Supervised learning copies labeled examples: it is shown the right answer and learns to reproduce it. Reinforcement learning has no labeled answers. Instead, the agent acts, the environment returns a score, and the agent nudges its future behavior toward higher scores. That makes RL a fit for problems where there is no single correct answer to copy, such as a good move in a game or a good motion for a robot, only outcomes that turn out better or worse.
Q
What does RLHF have to do with reinforcement learning?
RLHF, or reinforcement learning from human feedback, is the step that tunes a model like ChatGPT or Claude toward replies people prefer. It treats human preference as the reward signal and applies reinforcement learning to adjust the model. So RL is not confined to games and robots; it sits directly inside the quality-tuning stage of modern language models.
Q
Why is the reward function so important?
The reward function defines what counts as a good outcome, and the agent optimizes exactly what you reward, not what you meant. Define it poorly and the model finds shortcuts you never wanted; define it well and it can discover behavior even people had not noticed. Because reward design is hard and training can be unstable, teams often weigh RL carefully against simpler options like supervised learning or simulation before adopting it.
Monday 08:00, every week

One letter a week,
lasting understanding.

Only essays that don't get scrolled past. No ads, no tracking pixels, no external linkbait. The letter ends inside your inbox.

One-click unsubscribe. No spam.