Bringing Code ALIVE: Optimizing Interactive Frontend Mini-Games via Automated Play and Reinforcement Learning at Scale
University of Science and Technology of China,Qwen · Institute of Automation, Chinese Academy of Sciences · Alibaba Group · University of Edinburgh · ByteDance Inc. · National University of Singapore · Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, Chinese Academy of Sciences · The University of Hong Kong · Renmin University of China & Qwen, Alibaba · Hong Kong University of Science and Technology · The Hong Kong University of Science and Technology · Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences, Chinese Academy of Sciences · "Chinese Academy of Sciences, China" · University of Science and Technology of China · CASIA · Alibaba DAMO Academic
PDF 由论文原始站点提供,PaperCompass 不保存论文文件。
摘要
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.