Skip to content

Reinforcement Learning

A type of machine learning where an agent learns through interaction with an environment: it takes an action, receives a reward, and over time understands which actions are beneficial.

How It Works

flowchart LR
    A[Agent] -->|action| B[Environment]
    B -->|reward and state| A

Key Concepts

  • agent — the one who acts;
  • environment — the world in which it acts;
  • reward — a signal indicating whether an action was good or bad;
  • strategy — a rule for choosing actions.

In AI

RLHF — training LLMs on human preferences — uses reinforcement learning. Similarly, robots and game agents are trained using reinforcement learning.

See Also

← All terms