How do I set up a simulation to learn a policy?
If we want to learn parameters which correspond to optimal simulation trajectories, we first need to specify what ‘optimal’ means.
We do this by defining an objective whose maximum/minimum possible value will be achieved when our goal is met.
For instance, we may define some logic in a state partition iteration of the simulation which replicates taking ‘actions’ in the real world. This logic can depend on the simulation parameters so that the latter encodes the behaviour quantitatively.
Given this setup, a very common goal of interest is then in finding the best actions to take; which is analogous to optimising the parameters of the action-taking state partition iteration.
References and further reading
Hardwick, Robert J. 2025. “What objective does a simulation learn against?” umbralcalculations, December. https://umbralcalc.github.io/posts/what_objective_does_a_simulation_learn_against.html.
Hardwick, Robert J. 2026a. “What is a policy?” umbralcalculations, September. https://umbralcalc.github.io/posts/what_is_a_policy.html.
Hardwick, Robert J. 2026b. “What is a state partition?” umbralcalculations, November. https://umbralcalc.github.io/posts/what_is_a_state_partition.html.
Sutton, Richard S., and Andrew G. Barto. 2018. Reinforcement Learning: An Introduction. 2nd ed. MIT Press.
Questions whose answers cite this one