WebWorld:浏览器作为自我改进Web代码的世界模型
研究论文 · 2026/09/01
本文指出,基于视觉语言模型(VLM)的网页代码自我改进存在结构性缺陷:提出修复的模型与评判修复的模型是同一个,且视觉合理性并不能可靠地反映页面是否真正可用。作者提出将浏览器视为网页代码的世界模型,作为VLM无法欺骗的确定性执行器,并设计了WebWorld接口,使VLM能够自主与浏览器交互,并通过类型化交互契约和验收证书机制,确保每次修改既推进目标又保留已验证功能。实验表明,WebWorld-27B在HTMLBench-400和MiniAppBench-Val上分别比Raw-27B提升5.3和14.9分,达到Kimi-K2.6和GPT-5.4等前沿系统的水平;消融实验证实,浏览器支持的验收机制是性能提升的关键。
本文提出了一种新颖的自我改进框架,将浏览器作为世界模型,解决了VLM自我改进中的关键缺陷,实验验证了其有效性,对网页代码生成领域具有重要参考价值。
VLM-driven self-improvement of web code has a structural flaw: the model that proposes the repair is the model that judges it, and visual plausibility under that judge is a poor proxy for whether the page actually works. What the loop is missing is a counterparty the VLM cannot fool, and the browser already is that counterparty: a deterministic, executable simulator of how an HTML artifact behaves under user actions, and in everything but name a world model for web code. We present WebWorld, the interface that lets a VLM prior interact with this browser-as-world-model autonomously and decides which interactions become supervision. Each round, the VLM emits a critique that the planner compiles into a typed interaction contract; the browser re-executes the candidate and issues an acceptance certificate only when both target progress and preservation of every previously verified capability hold; certified transitions accumulate as a quality ratchet that is the only thing the SFT export ever sees. Under matched training, WebWorld-27B improves Raw-27B by 5.3 points on HTMLBench-400 and 14.9 points on MiniAppBench-Val, and reaches the level of strong frontier systems such as Kimi-K2.6 and GPT-5.4 on interactive HTML generation. Equal-size ablations show that browser-backed admission carries the gain: without the certificate, the matched 9B lift nearly disappears.