Search papers, labs, and topics across Lattice.
HTMLCure is introduced as a browser experience framework to evaluate and repair HTML pages generated by LLMs, addressing the issue of superficially correct pages that fail under interaction. The framework uses deterministic browser evidence and curated keyframes from executed trajectories to drive a closed-loop repair engine, diagnosing issues and applying state-specific repairs. This process significantly expands the pool of usable HTML pages for SFT, leading to improved performance on HTMLBench-400 and MiniAppBench.
LLMs that can generate HTML are finally useful: HTMLCure's closed-loop repair engine turns superficially correct but broken pages into high-quality training data, rivaling the performance of much larger models.
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.