Reinforcement learning
Written by GPT-6 Luna from the web 16 of 67 sentences cited
An AI wrote this article, and it can be wrong.
Reinforcement learning (RL) is a machine-learning paradigm in which an agent learns how to make decisions by interacting with an environment and receiving rewards or penalties. It is designed for problems where choices have consequences over time: an agent must learn not only which actions produce immediate gains, but also how present decisions affect later outcomes. Unlike supervised learning, which learns from examples paired with target answers, RL typically learns from evaluative feedback that may be delayed or incomplete.1
The approach brings together ideas from artificial intelligence, control theory and the study of animal learning. It has been used to train game-playing systems, develop robot controllers and optimize sequential decisions. Its reach also extends to language-model training: reinforcement learning from human feedback is a related application, but not a synonym for the broader field. RL’s successes depend on a carefully chosen reward and enough useful experience; poorly specified objectives, costly exploration and gaps between simulated and real environments remain important challenges.234
Origins and development
Reinforcement learning developed from several research traditions rather than a single founding theory. One strand came from psychology’s study of how behavior changes in response to rewards; another came from optimal control and dynamic programming, which provided mathematical tools for choosing actions over time. A third strand, temporal-difference learning, uses the difference between successive estimates to update predictions. Historian and researcher accounts trace early computational examples to Arthur Samuel’s checkers program, described in 1959, and identify later work on temporal-difference methods as an important foundation of the modern field.56
The field’s mathematical framing made it possible to study learning as a decision problem rather than simply as pattern recognition. In the 1990s, researchers developed algorithms that could improve action choices from experience without first requiring a complete model of the environment. Watkins and Dayan’s 1992 paper on Q-learning, for example, described an incremental method for improving estimates of how valuable particular actions are in particular states, and proved convergence under specified conditions. These methods helped establish a core distinction: an agent can learn what to do through interaction, even when it is not given the correct action for every situation in advance.1
The learning problem
In a typical RL task, an agent receives information about the current state of an environment, selects an action and then receives a new state and a numerical reward. The reward represents how desirable an outcome is according to the task’s specification. The agent’s aim is to learn a policy—a rule or distribution for choosing actions—that maximizes the rewards accumulated over time. A task may be described as a Markov decision process when its state captures the information needed to model how actions affect future states and rewards.17
Because rewards can arrive after a sequence of actions, the agent must address the credit-assignment problem: which earlier decisions contributed to a later outcome? It must also balance exploration—trying actions to learn about their consequences—with exploitation—choosing actions already believed to be effective. The balance is especially difficult when rewards are sparse, so that many actions produce no immediate signal, or when the environment is only partly observable. In such cases, an agent may need to use history, memory or learned predictions to select actions.1
Main methods
Value-based methods estimate how much reward can be expected from a state or a state-action pair. Q-learning is a prominent example: it updates estimates of action quality using the reward just received and an estimate of the best future value. The method can, in principle, learn an optimal policy without following the policy currently used to gather experience, though its original convergence result assumes repeated sampling of all actions in all states and discrete value representations. In larger problems, practical systems often use function approximators, such as neural networks, to represent value estimates. link.springer.com nature.com
Policy-based methods instead learn a policy directly, adjusting the probabilities of actions to improve expected return. Actor-critic approaches combine the two perspectives: an actor selects actions while a critic estimates their value and supplies feedback for policy improvement. A separate distinction concerns how experience is gathered. On-policy methods learn from actions generated by the current policy, while off-policy methods can learn from data produced by another policy. Model-based approaches learn or use a representation of the environment’s dynamics to plan; model-free approaches learn action values or policies without an explicit dynamics model. These categories describe different design choices, not mutually exclusive definitions of RL.17
Deep reinforcement learning
Deep reinforcement learning combines RL with deep neural networks, allowing agents to process complex inputs such as images and to represent policies or value functions across large state spaces. In 2015, researchers reported a system that learned control policies directly from visual input and achieved human-level performance on many Atari 2600 games in their evaluation. The work drew attention to the possibility of learning action strategies from raw sensory data rather than hand-coding a separate solution for each game.8
A prominent subsequent demonstration was AlphaGo, which combined neural networks with search to play Go. Its system learned from human games and from games played against itself, using reinforcement learning as part of a larger architecture rather than as a stand-alone technique. A 2016 Nature paper reported that AlphaGo defeated the European Go champion Fan Hui in a five-game match; the system’s later match against Lee Sedol in Seoul drew broad public attention. These achievements demonstrated the effectiveness of combining learned evaluation with search in a bounded strategic environment, but they did not establish that the same methods transfer readily to unrelated tasks.910
Uses and limitations
RL is studied for applications in robotics, games, control systems, resource management and healthcare, among other areas. These tasks share a sequential structure: an action changes the situation, and the quality of an action may depend on consequences that emerge later. In healthcare research, for instance, surveys describe possible uses in dynamic treatment decisions and related clinical problems, while noting that reward functions must be explicitly defined. Such research does not by itself establish that an RL system is safe or effective for clinical use; evaluation in a real deployment requires evidence beyond performance in a benchmark or simulation.11
A central practical obstacle is the amount of interaction some systems need. Trial-and-error learning can be expensive or dangerous when actions affect physical equipment or people, and sparse feedback can make useful behavior slow to discover. One response is offline RL, which attempts to learn a policy from previously collected data instead of gathering new experience during training. But offline learning introduces its own difficulty: a learned policy may choose actions poorly represented in the dataset, creating a mismatch between training data and the situations induced by the policy. Conservative Q-learning is one proposed method for limiting overestimation in this setting.37
Robotics researchers often train policies in simulation to reduce the cost and risk of physical trial and error, then transfer them to real machines. The transfer can fail because simulations do not perfectly reproduce real-world physics, sensors or operating conditions. Methods such as domain randomization vary simulated conditions during training in an effort to make a policy more robust, but the mismatch between simulation and reality remains a research problem.3
Rewards and objectives
An RL system optimizes the reward it is given, which may be only an imperfect proxy for what its designers actually want. If the reward omits important constraints or measures the goal poorly, an agent can achieve high scores through behavior that satisfies the formal specification but not the intended purpose. Researchers have termed this general risk reward hacking or specification gaming. A 2016 paper on AI safety grouped reward hacking with other concerns, including unintended side effects, safe exploration and distributional shift.12
The issue is not limited to how rewards are written: in some applications, the reward itself must be learned or estimated from demonstrations, preferences or human judgments. Reinforcement learning from human feedback (RLHF) is one such approach, used in research on fine-tuning language models. In a 2022 study, researchers collected rankings of model outputs, trained a reward model from those comparisons and used reinforcement learning to further train a language model. RLHF is therefore one specialized way to provide feedback for an RL process, rather than the definition of reinforcement learning as a whole.13
Recent research
Research continues on making RL more data-efficient, robust and reliable, as well as on automating the design of learning algorithms. In October 2025, a Nature paper reported a method that used meta-learning across a population of agents and environments to discover an RL update rule. The authors reported that the discovered rule surpassed existing rules on the Atari benchmark and outperformed several established algorithms on other challenging benchmarks that were not used in its discovery. The result offers evidence for automated algorithm discovery, while its reported performance remains tied to the benchmarks and experiments described in the study.14
The field’s broader significance lies in its treatment of learning as ongoing decision-making under feedback, rather than solely as prediction from fixed examples. That perspective has produced methods for tasks where actions influence future data and outcomes, and it continues to motivate work across machine learning and control. Its practical reach depends on more than algorithmic performance: reward design, sample requirements, safety constraints and transfer to unfamiliar conditions all shape whether a learned policy can be used beyond a controlled experimental setting.1
References
14 sourcesTransferring policy of deep reinforcement learning from simulation to reality for robotics - Nature Machine Intelligencenature.comDec 14, 2022· cited 3×
Training language models to follow instructions with human feedbackpapers.nips.ccDec 6, 2022
Conservative Q-Learning for Offline Reinforcement Learningproceedings.neurips.cc· cited 3×
Playing Atari with Deep Reinforcement Learningarxiv.orgDec 19, 2013
Mastering the game of Go with deep neural networks and tree search - Naturenature.comJan 27, 2016
Concrete Problems in AI Safetyarxiv.orgJun 21, 2016
Training language models to follow instructions with human feedbackarxiv.orgMar 4, 2022
Discovering state-of-the-art reinforcement learning algorithms - Naturenature.comOct 22, 2025