LGAIDec 20, 2023

In-Context Reinforcement Learning for Variable Action Spaces

arXiv:2312.13327v627 citationsh-index: 12Has CodeICML
Originality Highly original
AI Analysis

This addresses a costly problem for RL applications where new action spaces typically require data re-collection and model re-training.

The paper tackles the limitation of existing in-context reinforcement learning models that require predefined action spaces by proposing Headless-AD, a model trained once that generalizes to variable action spaces in size, semantics, and order. Experiments on bandits and gridworld environments show it outperforms specialized models on several configurations.

Recently, it has been shown that transformers pre-trained on diverse datasets with multi-episode contexts can generalize to new reinforcement learning tasks in-context. A key limitation of previously proposed models is their reliance on a predefined action space size and structure. The introduction of a new action space often requires data re-collection and model re-training, which can be costly for some applications. In our work, we show that it is possible to mitigate this issue by proposing the Headless-AD model that, despite being trained only once, is capable of generalizing to discrete action spaces of variable size, semantic content and order. By experimenting with Bernoulli and contextual bandits, as well as a gridworld environment, we show that Headless-AD exhibits significant capability to generalize to action spaces it has never encountered, even outperforming specialized models trained for a specific set of actions on several environment configurations. Implementation is available at: https://github.com/corl-team/headless-ad.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes