Contextualize Me – The Case for Context in Reinforcement Learning

Abstract

While Reinforcement Learning ( RL) has made great strides towards solving increasingly complicated problems, many algorithms are still brittle to even slight environmental changes. Contextual Reinforcement Learning (cRL) provides a framework to model such changes in a principled manner, thereby enabling flexible, precise and interpretable task specification and generation. Our goal is to show how the framework of cRL contributes to improving zero-shot generalization in RL through meaningful benchmarks and structured reasoning about generalization tasks. We confirm the insight that optimal behavior in cRL requires context information, as in other related areas of partial observability. To empirically validate this in the cRL framework, we provide various context-extended versions of common RL environments. They are part of the first benchmark library, CARL, designed for generalization based on cRL extensions of popular benchmarks, which we propose as a testbed to further study general agents. We show that in the contextual setting, even simple RL environments become challenging - and that naive solutions are not enough to generalize across complex context spaces.

Cite

Text

Benjamins et al. "Contextualize Me – The Case for Context in Reinforcement Learning." Transactions on Machine Learning Research, 2023.

Markdown

[Benjamins et al. "Contextualize Me – The Case for Context in Reinforcement Learning." Transactions on Machine Learning Research, 2023.](https://mlanthology.org/tmlr/2023/benjamins2023tmlr-contextualize/)

BibTeX

@article{benjamins2023tmlr-contextualize,
  title     = {{Contextualize Me – The Case for Context in Reinforcement Learning}},
  author    = {Benjamins, Carolin and Eimer, Theresa and Schubert, Frederik and Mohan, Aditya and Döhler, Sebastian and Biedenkapp, André and Rosenhahn, Bodo and Hutter, Frank and Lindauer, Marius},
  journal   = {Transactions on Machine Learning Research},
  year      = {2023},
  url       = {https://mlanthology.org/tmlr/2023/benjamins2023tmlr-contextualize/}
}