liveBook · Manning

Reinforcement learning

As explained in Optimization Algorithms: AI techniques for design, planning, and control problems

Reinforcement learning is a machine-learning paradigm in which an agent learns action policies from interactions and evaluative feedback.

Reinforcement learning (RL) is a way for an agent to learn decisions through trial and error. The agent acts in an environment, receives rewards or penalties, and refines a policy—a way of choosing actions—to maximize cumulative reward. This makes RL useful when an optimization problem can be approached as a sequence of decisions. section 12.1 section 12.7

First decide whether actions affect what happens next:

  • In a Markov decision process (MDP), actions change the environment and its future states. Decisions must account for consequences across time steps. section 12.1
  • In a multi-armed bandit (MAB), the agent repeatedly chooses among arms to earn reward, without modeling how a choice changes future options. A contextual bandit also uses current side information; the best arm may change with that context. section 12.1 section 12.7

Choosing the right formulation

Suppose an agent repeatedly selects one of several options. If each selection yields reward without changing the options available next time, model the choice as a bandit. If a selection changes the next state the agent must navigate, use an MDP formulation. The distinction determines whether immediate choices alone capture the problem. section 12.1 section 12.7

RL methods can also be classified by whether they use a model of environment transitions and rewards, and by whether policy updates are on-policy or off-policy. Advantage actor-critic (A2C) and proximal policy optimization (PPO) are model-free, on-policy methods. PPO clips its update objective to limit large policy changes and support more stable learning; that is a design rationale, not a promise of an optimal result. section 12.7

How Optimization Algorithms: AI techniques for design, planning, and control problems covers it

How deep it goes
Defines agent feedback and decision settings, then distinguishes model-based, model-free, on-policy, and off-policy methods and explains PPO clipping.
Examples
Contrasts repeated arm choices with actions that change future states, and identifies contextual bandits as choices informed by side information.
What it assumes
Introduces RL fundamentals and MDP concepts before actor-critic methods, PPO, and optimization applications.
What you can do after
Evaluate/understand it by deciding whether an optimization decision needs a bandit formulation or an MDP with future-state effects.
How it connects
Connects machine learning and combinatorial optimization with Markov decision processes, multi-armed bandits, actor-critic methods, and proximal policy optimization.

Also explained in

Compare how 18 books explain reinforcement learning →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Optimization Algorithms: AI techniques for design, planning, and control problems. The section links point to the parts of the book it draws on.