English

Programmatic Reinforcement Learning: Navigating Gridworlds

Machine Learning 2025-01-13 v2 Logic in Computer Science Programming Languages

Abstract

The field of reinforcement learning (RL) is concerned with algorithms for learning optimal policies in unknown stochastic environments. Programmatic RL studies representations of policies as programs, meaning involving higher order constructs such as control loops. Despite attracting a lot of attention at the intersection of the machine learning and formal methods communities, very little is known on the theoretical front about programmatic RL: what are good classes of programmatic policies? How large are optimal programmatic policies? How can we learn them? The goal of this paper is to give first answers to these questions, initiating a theoretical study of programmatic RL. Considering a class of gridworld environments, we define a class of programmatic policies. Our main contributions are to place upper bounds on the size of optimal programmatic policies, and to construct an algorithm for synthesizing them. These theoretical findings are complemented by a prototype implementation of the algorithm.

Keywords

Cite

@article{arxiv.2402.11650,
  title  = {Programmatic Reinforcement Learning: Navigating Gridworlds},
  author = {Guruprerana Shabadi and Nathanaël Fijalkow and Théo Matricon},
  journal= {arXiv preprint arXiv:2402.11650},
  year   = {2025}
}

Comments

Published in the proceedings of GenPlan, AAAI 2025 Workshop on Generlization in Planning