Transformers as Policies for Variable Action Environments
Artificial Intelligence
2023-01-11 v1 Machine Learning
Abstract
In this project we demonstrate the effectiveness of the transformer encoder as a viable architecture for policies in variable action environments. Using it, we train an agent using Proximal Policy Optimisation (PPO) on multiple maps against scripted opponents in the Gym-RTS environment. The final agent is able to achieve a higher return using half the computational resources of the next-best RL agent, which used the GridNet architecture. The source code and pre-trained models are available here: https://github.com/NiklasZ/transformers-for-variable-action-envs
Cite
@article{arxiv.2301.03679,
title = {Transformers as Policies for Variable Action Environments},
author = {Niklas Zwingenberger},
journal= {arXiv preprint arXiv:2301.03679},
year = {2023}
}
Comments
Accepted to AAAI Conference for Artificial Intelligence for Interactive Digital Entertainment (AIIDE) 2022 Workshop