SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Reinforcement learning

Reinforcement learning is the study of learning what to do from a numerical reward. A learner, the agent, is not told which action is correct; it must find out which actions earn the most reward by trying them, and an action may affect not only the immediate reward but every later situation. Sutton and Barto call these two features, trial-and-error search and delayed reward, the most important that set the field apart 12.

The standard formal setting is the Markov decision process: an agent observes a state, chooses an action, and receives a reward and a next state. The goal is a policy that maximises expected cumulative reward, usually discounted so that later rewards count for less. Sutton and Barto state this as the reward hypothesis, that goals and purposes can be well thought of as maximising the expected cumulative sum of a scalar reward 2. Value functions, the expected return from a state or a state-action pair, satisfy the Bellman equations, and most methods can be read as ways of solving those equations approximately 2.

The main families are dynamic programming, which needs a model of the environment; Monte Carlo and temporal-difference methods such as Q-learning, which learn from sampled experience; and policy-gradient methods, which adjust a parameterised policy directly. Convergence proofs for the classical methods mostly assume finite tables of values. With neural networks as function approximators the methods reached results such as human-level play on many Atari 2600 games, reported by DeepMind in 2015 3, and the defeat of the European Go champion by AlphaGo, 5 games to 0, reported in 2016 4, but those results are empirical rather than covered by the tabular theorems.

For security, two properties matter: an agent optimises the reward it is given, which may differ from what its designer intended, and a learned policy depends on its observations, which an adversary may be able to alter.

Source · Reinforcement Learning: An Introduction, second edition (authors' page, Internet Archive copy) (opens in a new tab) · Richard S. Sutton and Andrew G. Barto; MIT Press

References

  1. Reinforcement Learning: An Introduction, second edition (authors' page, Internet Archive copy) (opens in a new tab) · Richard S. Sutton and Andrew G. Barto; MIT Press ↩
  2. Reinforcement Learning: An Introduction, second edition, full text (Internet Archive copy) (opens in a new tab) · Richard S. Sutton and Andrew G. Barto; MIT Press · Sections 1.1, 1.7, 3.1 to 3.8; the authors' free PDF. ↩ ↩ ↩
  3. Human-level control through deep reinforcement learning (opens in a new tab) · Nature 518, Mnih et al. · February 25, 2015 ↩
  4. Mastering the game of Go with deep neural networks and tree search (opens in a new tab) · Nature 529, Silver et al. · January 27, 2016 ↩

Research articles

See what connects to it on the map of ideas →

See also