通过高保真强化学习催化交互式HTML生成能力
Catalyzing Interactive HTML Generation Capabilities via High-Fidelity Reinforcement Learning
AI总结:
本研究针对交互式HTML生成的交互体验、奖励信号等局限,提出WebCatalyst强化学习框架,在少样本训练下提升了相关基准指标,效果优于Claude Opus 4.7,证明提升反馈保真度是关键。
摘要:
从自然语言规范生成HTML是代码大语言模型(LLMs)的重要应用。尽管当前模型能生成可渲染页面,但在实际交互中往往无法保证功能与视觉质量。现有方法通常针对特定任务的网页监督,对要求严苛的交互式工件优化探索不足。我们以迷你游戏作为具有挑战性的测试平台,揭示了浅层网页交互所掩盖的交互体验、奖励信号和信用分配保真度方面的局限。我们推出WebCatalyst,这是一款浏览器交互强化学习框架,包含三个互补组件:用于持续交互与评估的游戏级GUI评估器、用于缓解VLM奖励黑客行为的视觉锚点,以及用于将令牌级信用分配基于运行时执行轨迹的动作-轨迹信用机制。在少于1000个请求(主要针对游戏)的训练下,WebCatalyst将Cookie-Bench迷你游戏得分从68.8提升至75.3,还使Qwen3.6-35B-A3B的WebGen-Bench准确率从48.8提升至56.9,在评估指标的平均排名上优于Claude Opus 4.7。进一步分析显示,视觉锚点可防止美学退化,而基于运行时的信用分配能加速功能改进。总体而言,我们的结果表明,提升反馈保真度是大幅推进交互式HTML生成的关键。
英文摘要:
Generating HTML from natural-language specifications is an important application of code large language models (LLMs). Despite producing renderable pages, current models often fail to ensure functionality and visual quality during actual interaction. Existing methods typically target task-specific webpage supervision, leaving demanding interactive artifact optimization underexplored. Using mini-games as a challenging testbed, we expose limitations in interaction experience, reward signal, and credit assignment fidelity that are obscured by shallow webpage interactions. We introduce WebCatalyst, a browser-interaction reinforcement learning framework with three complementary components: a game-level GUI assessor for sustained interaction and evaluation, Visual Anchor for mitigating VLM reward hacking, and Action-Trace Credit for grounding token-level credit assignment in runtime execution traces. Trained on fewer than 1K requests, predominantly for games, WebCatalyst raises the Cookie-Bench Mini Games score from 68.8 to 75.3 and also the WebGen-Bench accuracy from 48.8 to 56.9 on Qwen3.6-35B-A3B, outperforming Claude Opus 4.7 in average rank across evaluated metrics. Further analysis shows that Visual Anchor prevents aesthetic degradation, while runtime-grounded credit assignment accelerates functional improvement. Together, our results show that improving feedback fidelity is the key to substantially advancing interactive HTML generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。