---
title: "What is reinforcement learning? Learning through trial and reward."
url: https://www.bonbay.fr/en/ia/comprendre-ia/lexique-ia/apprentissage-par-renforcement/
site: "Bonbay IA"
description: "Reinforcement learning trains an AI by trial and error, with a reward at stake: AlphaGo, RLHF, reasoning models. Definition."
updated: 2026-11-13
---

# What is reinforcement learning? Learning through trial and reward.

> Reinforcement learning is a training method in which an AI learns by trial and error: it acts, receives a reward or a penalty depending on the result, and adjusts its approach to earn more rewards. In 2016, DeepMind’s AlphaGo beat champion Lee Sedol at Go, relying partly on this method.

No answer key is provided: the model tries, gets a score and keeps what works. This method beat a Go champion and made assistants more useful.

## En bref

- **A score, not an answer key** The model doesn’t know which action was the right one. It only knows whether the final result was good or bad, and has to work out what made the difference.
- **At the heart of today’s assistants** RLHF, reinforcement learning from human feedback, made ChatGPT’s answers more useful in 2022. Reasoning models are also trained this way, on problems whose solutions can be verified.

## In practice in a business

An SME rarely uses it directly: it needs an environment where the model can get things wrong thousands of times without causing harm, such as a simulator. Direct uses are found in warehouse logistics, controlling a building’s heating and air conditioning, and robotics. Most often, businesses benefit from it without knowing, through the assistants they use.

## Not to be confused with

It differs from supervised learning, where each example comes with its correct answer. Here, only the reward guides learning, sometimes long after the action. The risk specific to this method is that the model finds a shortcut that maximises the score without doing what was intended: the reward must be designed with care.

## Questions fréquentes

### What does RLHF stand for?

Reinforcement Learning from Human Feedback: people compare several of the model's answers, a second model learns their preferences, then acts as the judge to train the first.

### Does the model learn while I’m using it?

No. Training happens before the model is released. Your ratings, thumbs up or down, may be used in future training if the tool’s terms allow it.

### Do you need a lot of data?

Above all, it takes a great many attempts. So the method succeeds in games and simulators, where an attempt costs little, and with more difficulty in the real world.
