arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.26807cs.SEcs.AI
收藏

HTMLCure:将浏览器体验转化为面向交互式HTML的状态引导修复

HTMLCure: Turning Browser Experience into State Guided Repair for Interactive HTML

Beihang University(北京航空航天大学);IQuest Research(IQuest研究院);Peking University(北京大学)

Jiajun Wu, Jian Yang, Tuney Zheng, Wei Zhang, Haowen Wang, Yihang Lou, Xianglong Liu

AI总结:

提出HTMLCure框架,通过浏览器交互执行、状态感知诊断和闭环修复引擎,从大规模HTML页面中筛选并修复可修复页面,显著提升SFT数据质量和模型性能。

摘要:

LLM现在可以生成完整的HTML页面,但其中许多页面仅在表面上正确:它们渲染一次,然后在滚动、悬停、点击、调整大小或游戏过程中失败。基于截图的评估可能遗漏这些失败,而过滤会丢弃许多仍然可修复的页面。我们引入了HTMLCure,一个浏览器体验框架,在系统与页面交互后评估HTML。评估器跨视口和交互状态执行页面,记录确定性的浏览器证据,并向VLM提供来自执行轨迹的精选关键帧,而非孤立截图。相同的状态信号驱动闭环修复引擎:HTMLCure诊断当前页面,选择特定状态的修复家族,再次运行每个候选页面,并导出质量清理后的页面用于SFT。在97K提示语料库上,这将直接可用的种子扩展为63703个质量清理页面的候选池,从中我们构建了最终的40K页面精炼SFT集。在相同骨干和训练方案下,HTMLCure-27B-Refined在HTMLBench-400上达到50.6分,确定性测试用例通过率为45.2%,与Kimi-K2.6和GPT-5.4等强参考行处于相同性能区间。在发布的MiniAppBench验证集上,它达到81.2的平均分,比原始27B SFT提高15.3分,接近强参考系统的水平。

英文摘要:

LLMs can now produce full HTML pages, but many of those pages are only superficially correct: they render once, then fail under scroll, hover, click, resize, or gameplay. Evaluation from screenshots can miss these failures, and filtering discards many pages that are still repairable. We introduce HTMLCure, a browser experience framework that evaluates HTML after the system has interacted with it. The evaluator executes the page across viewports and interaction states, records deterministic browser evidence, and gives the VLM curated keyframes from the executed trajectory rather than isolated screenshots. The same state signal drives a closed loop repair engine: HTMLCure diagnoses the current page, chooses a state specific repair family, runs each candidate again, and exports quality cleared pages for SFT. On a 97K prompt corpus, this expands the directly usable seed into a candidate pool of 63703 quality cleared pages, from which we construct the final refined SFT set of 40K pages. Under the same backbone and training recipe, HTMLCure-27B-Refined reaches 50.6 on HTMLBench-400 with 45.2% deterministic test case pass, placing it in the same performance band as strong reference rows such as Kimi-K2.6 and GPT-5.4. On the released MiniAppBench validation split, it reaches 81.2 average, improving raw 27B SFT by 15.3 points and approaching the level of strong reference systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑