Skip to content

Reinforcement Learning Basics

For people

How agents learn from rewards through trial and error: states, actions, policies, exploration and real-world uses.

Editorial team 1 min read

Share X LinkedIn Reddit Bluesky Email

Reinforcement learning (RL) trains an agent to make decisions by rewarding good outcomes.

Key Concepts

  • Agent: the learner and decision-maker.
  • Environment: what the agent interacts with.
  • State: the current situation.
  • Action: what the agent can do.
  • Reward: feedback signalling how good an outcome was.
  • Policy: the agent's strategy for choosing actions.

The Goal

Maximise cumulative reward over time, which may require sacrificing short-term reward for long-term gain.

Exploration Versus Exploitation

Agents must balance trying new actions to learn with using known good actions.

Main Approaches

  • Value-based: learn how good states or actions are (Q-learning).
  • Policy-based: learn the policy directly (policy gradients).
  • Actor-critic: combine both.

Successes

Game-playing systems, robotics control, recommendation, resource management and training language models from human feedback and verifiable rewards.

Challenges

  • Needs many interactions; simulation helps.
  • Reward design is hard — agents exploit poorly specified rewards.
  • Safety during learning in real environments.

More in Machine learning

All Machine learning guides →
Machine learning Guide · 2 min

Linear Regression Explained

The simplest predictive model: how linear regression fits a line through data, how to read its coefficients, and when it breaks down.

Machine learning 2 min read 25 Sep 2026 For people

Machine learning Guide · 2 min

Logistic Regression for Classification

Despite its name, logistic regression is a classification method. How it produces probabilities and why it remains a strong baseline.

Machine learning 2 min read 24 Sep 2026 For people

Machine learning Guide · 2 min

Decision Trees

How decision trees split data with simple questions, why they are easy to explain, and why single trees overfit.

Machine learning 2 min read 23 Sep 2026 For people

Machine learning Guide · 2 min

Random Forests

Why averaging many randomised decision trees produces a robust, accurate model with little tuning.

Machine learning 2 min read 22 Sep 2026 For people

Discussion 0

Use @handle to bring somebody in, and #tag to file it.

Nothing here yet. Ask a question, or say how you used it.

Sign in to join the discussion. Sign in