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, Zeyao Ma, Tianyi Bai, Kashun Shum, Lei Zhang, Kai Li, Jian Cheng, Zilei Wang, Qiang Liu, Liang Wang, Junyang Lin, Binyuan Hui
Proceedings of the 43rd International Conference on Machine Learning, PMLR 306:156138-156193, 2026.

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.

Cite this Paper


BibTeX
@InProceedings{pmlr-v306-zhang26ca, title = {Bringing Code {ALIVE}: Optimizing Interactive Frontend Mini-Games via Automated Play and Reinforcement Learning at Scale}, author = {Zhang, Jiajun and Jing, Yuheng and Cui, Zeyu and Zheng, Hao and Chen, Wentao and Li, Kaixin and Yang, Jiaxi and Xie, Tianbao and Ma, Zeyao and Bai, Tianyi and Shum, Kashun and Zhang, Lei and Li, Kai and Cheng, Jian and Wang, Zilei and Liu, Qiang and Wang, Liang and Lin, Junyang and Hui, Binyuan}, booktitle = {Proceedings of the 43rd International Conference on Machine Learning}, pages = {156138--156193}, year = {2026}, editor = {Zhang, Tong and Dudik, Miroslav and Jaggi, Martin and Agarwal, Alekh and Li, Sharon and Schuurmans, Dale and Zhu, Jerry and Berkenkamp, Felix and Dong, Hanze and Bietti, Alberto}, volume = {306}, series = {Proceedings of Machine Learning Research}, month = {06--11 Jul}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v306/main/assets/zhang26ca/zhang26ca.pdf}, url = {https://proceedings.mlr.press/v306/zhang26ca.html}, 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.} }
Endnote
%0 Conference Paper %T Bringing Code ALIVE: Optimizing Interactive Frontend Mini-Games via Automated Play and Reinforcement Learning at Scale %A Jiajun Zhang %A Yuheng Jing %A Zeyu Cui %A Hao Zheng %A Wentao Chen %A Kaixin Li %A Jiaxi Yang %A Tianbao Xie %A Zeyao Ma %A Tianyi Bai %A Kashun Shum %A Lei Zhang %A Kai Li %A Jian Cheng %A Zilei Wang %A Qiang Liu %A Liang Wang %A Junyang Lin %A Binyuan Hui %B Proceedings of the 43rd International Conference on Machine Learning %C Proceedings of Machine Learning Research %D 2026 %E Tong Zhang %E Miroslav Dudik %E Martin Jaggi %E Alekh Agarwal %E Sharon Li %E Dale Schuurmans %E Jerry Zhu %E Felix Berkenkamp %E Hanze Dong %E Alberto Bietti %F pmlr-v306-zhang26ca %I PMLR %P 156138--156193 %U https://proceedings.mlr.press/v306/zhang26ca.html %V 306 %X 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.
APA
Zhang, J., Jing, Y., Cui, Z., Zheng, H., Chen, W., Li, K., Yang, J., Xie, T., Ma, Z., Bai, T., Shum, K., Zhang, L., Li, K., Cheng, J., Wang, Z., Liu, Q., Wang, L., Lin, J. & Hui, B.. (2026). Bringing Code ALIVE: Optimizing Interactive Frontend Mini-Games via Automated Play and Reinforcement Learning at Scale. Proceedings of the 43rd International Conference on Machine Learning, in Proceedings of Machine Learning Research 306:156138-156193 Available from https://proceedings.mlr.press/v306/zhang26ca.html.

Related Material