ICML 2026poster0 citations

Bringing Code ALIVE: Optimizing Interactive Frontend Mini-Games via Automated Play and Reinforcement Learning at Scale

Jiajun Zhang, Yuheng Jing, Zeyu Cui, Hao Zheng, Wentao Chen, Kaixin Li, Jiaxi Yang, Tianbao Xie

Abstract

The rapid evolution of Large Language Models (LLMs) has empowered even non-programmers to create visually appealing frontend mini-games with a single instruction. However, open-source models significantly lag behind proprietary counterparts in this domain. The core bottleneck is the lack of an evaluation mechanism that balances reliability with scalability, as existing methods either fail to verify dynamic interactivity or incur prohibitive computational costs. To bridge this gap, we introduce ALIVE (Aligning LLMs via Interactive Visual Execution), a high-throughput framework that leverages one-shot planning and DOM-based analysis to automatically evaluate generated games at scale. Extensive experiments demonstrate that ALIVE significantly outperforms static judge baselines in identifying functional flaws while remaining orders of magnitude more efficient than GUI agents. Functioning as a scalable `pre-flight' evaluation layer, it curates high-quality data for Supervised Fine-Tuning (SFT) and provides a consistent reward signal for Reinforcement Learning (RL). We leverage this pipeline to train ALIVE-Coder, a model achieving superior performance in interactive frontend generation. To the best of our knowledge, our work offers the first scalable path to evaluate and optimize interactive code, substantially advancing open-source capabilities.

LLMAgentsRLVisionRetrievalBenchmark
BibTeX
@inproceedings{
zhang2026bringing,
title={Bringing Code {ALIVE}: Optimizing Interactive Frontend Mini-Games via Automated Play and Reinforcement Learning at Scale},
author={Jiajun Zhang and Yuheng Jing and Zeyu Cui and Hao Zheng and Wentao Chen and Kaixin Li and Jiaxi Yang and Tianbao Xie and Zeyao Ma and Tianyi Bai and KaShun SHUM and Lei Zhang and Kai Li and Jian Cheng and Zilei Wang and Qiang Liu and Liang Wang and Junyang Lin and Binyuan Hui},
booktitle={Forty-third International Conference on Machine Learning},
year={2026},
url={https://openreview.net/forum?id=lQMenSSNvW}
}