noun RL
reinforcement learning
Reinforcement learning (RL) is a machine learning technique where an AI agent learns to make decisions by interacting with an environment, receiving rewards or penalties for its actions. Unlike supervised learning, which relies on labeled data, RL learns from feedback in real time, adjusting its strategy to maximize long-term rewards.
It works by defining a reward system—positive for desired outcomes, negative for mistakes. The agent explores different actions, refining its approach through algorithms like Q-learning or deep RL. RL is widely used in robotics, game AI, and even stock trading, where adaptability is key.
For developers, RL changes how they design systems: it requires careful reward shaping to avoid unintended behaviors (e.g., a robot vacuum cleaning only where it gets the most points, ignoring dusty corners). It also demands significant computational resources—training an RL model for a self-driving car can cost thousands of dollars in cloud computing fees.
Example: DeepMind’s AlphaGo mastered the board game Go by playing millions of self-taught matches, eventually beating human champions.
A chatbot trained with RL might learn to avoid offensive responses by receiving penalties for each rude reply.
In other languages
See also: Supervised learning · AI agent