Metraipolis › archive › dc_95c998296f3f
PlayTrain: An Efficient Reinforcement Learning Framework for LLM-Generated Adaptable JavaScript Games — arXiv:2609.09059
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.09059
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T13:58:28.654Z
- SHA-256 of the archived text
294f7c66cc933bf1f8e0cdddd0cae4d81e30821839a5b73049acbcb638590c36- Stable URL of this page
https://metraipolis.com/documento/dc_95c998296f3f
How to cite
PlayTrain: An Efficient Reinforcement Learning Framework for LLM-Generated Adaptable JavaScript Games — arXiv:2609.09059 — arXiv (en), https://arxiv.org/abs/2609.09059 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_95c998296f3f (Metraipolis archive dc_95c998296f3f, sha256 294f7c66cc933bf1f8e0cdddd0cae4d81e30821839a5b73049acbcb638590c36)
BibTeX
@misc{dc95c998296f3f,
title = {PlayTrain: An Efficient Reinforcement Learning Framework for LLM-Generated Adaptable JavaScript Games — arXiv:2609.09059},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.09059},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_95c998296f3f; sha256 294f7c66cc933bf1f8e0cdddd0cae4d81e30821839a5b73049acbcb638590c36},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.09059. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
While many video-game environments (VGEs) have played crucial roles in advancing reinforcement learning (RL), developing novel VGEs or modifying existing ones to support new features, has been a laborious process requiring extensive hand-coding. Here we present PlayTrain, an RL framework that combines the abilities of large language models (LLMs) to robustly generate JavaScript (JS) games from a minimal human prompt, and an efficient pipeline that can run any JS game in a standard 'gym' environment. Not only are recent LLMs particularly good at writing JS code, but the JS format also allows users to easily play generated VGEs, while PlayTrain enables us to train RL agents on the exact same games. We demonstrate multiple use cases of PlayTrain, including cloning well-known Atari and ProcGen games in simple JS, where PlayTrain trains pixel-based agents end-to-end at over 1M agent-decisions per second on a single GPU node; and creating modified versions thereof (e.g., that support novel test sets, procedural generation logics, or game dynamics). Through PlayTrain, we reimagine RL VGE development: all we need is a single JS file, generated and modified through an LLM. We discuss promising future RL research directions that PlayTrain unlocks. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-09 in cs.LG). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.09059 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T13:39:43.085Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).