Value iteration is optic composition

Hedges, Jules and Rodríguez Sakamoto, Riu (2023) Value iteration is optic composition. In: 5th International Conference on Applied Category Theory, 2022-07-18 - 2022-07-22. (https://doi.org/10.4204/eptcs.380.24)

[thumbnail of Hedges-Sakamoto-arXiv-2023-Value-iteration-is-optic-composition]
Preview
Text. Filename: Hedges-Sakamoto-arXiv-2023-Value-iteration-is-optic-composition.pdf
Final Published Version
License: Strathprints license 1.0

Download (204kB)| Preview

Abstract

Dynamic programming is a class of algorithms used to compute optimal control policies for Markov decision processes. Dynamic programming is ubiquitous in control theory, and is also the foundation of reinforcement learning. In this paper, we show that value improvement, one of the main steps of dynamic programming, can be naturally seen as composition in a category of optics, and intuitively, the optimal value function is the limit of a chain of optic compositions. We illustrate this with three classic examples: the gridworld, the inverted pendulum and the savings problem. This is a first step towards a complete account of reinforcement learning in terms of parametrised optics.