Machine Learning

Reinforcement Learning

A type of machine learning where an agent learns to make decisions by taking actions in an environment and receiving rewards or penalties. The agent aims to maximize cumulative reward over time through trial and error.

Why It Matters

RL powers game-playing AI, robotics, autonomous systems, and recommendation engines. It is also central to aligning LLMs with human preferences through RLHF.

Example

DeepMind's AlphaGo learning to play Go by playing millions of games against itself, eventually defeating the world champion.

Think of it like...

Like training a dog with treats — the dog tries different behaviors, gets rewarded for good ones, and gradually learns which actions lead to the best outcomes.

Related Terms