This work introduces WidgetGen, a lightweight tool-grounded framework that extracts observable text and color evidence, performs high-level layout and optional chart reasoning, and directly generates executable JavaScript XML (JSX) while avoiding a fixed UI schema.
Abstract
Existing screenshot-to-code systems face a trade-off between flexibility and controllability. Direct multimodal generation can hallucinate visible details, whereas structured pipelines reduce such errors through component-wise decomposition, predefined templates, and customized intermediate representations. These structures, however, introduce additional generative orchestration and restrict outputs to designs covered by the representation. We investigate whether selective tool grounding can improve the fidelity--efficiency trade-off of direct widget-to-code generation. We introduce \textbf{WidgetGen}, a lightweight tool-grounded framework that extracts observable text and color evidence, performs high-level layout and optional chart reasoning, and directly generates executable JavaScript XML (\emph{JSX}). This design reduces reliance on component-wise generation while avoiding a fixed UI schema. Across six multimodal models and \(1{,}000\) held-out widgets, WidgetGen outperforms direct prompting and the structured Widget2Code pipeline on most visual reconstruction metrics, with consistent gains in area, legibility, and style. Finally, reconstruction-derived image-code pairs improve six Qwen-family open-weight models across every reported metric through supervised fine-tuning. These results establish WidgetGen as a strong lightweight baseline and show that selective evidence grounding offers an effective alternative to extensive representation constraints.
This work introduces WidgetVA, a widget-centric agentic VA framework that standardizes interactive components as structured widgets with unified action and perception-query APIs and presents WidgetVABench, a benchmark of single- and multi-widget VA tasks that require agents to perform multi-step interactions to uncover...
Yu-Tong Chen, Zhi-Ke Tang, Zhi-Hao Mai et al.· 0 citations
Editable Visual Design is proposed, a new paradigm driven by a Coding Agent that achieves both refined aesthetics and production-grade editability and faithfully reproduces the creative and reasoning trajectory akin to that of professional human designers.
Jun-Yan Ye, Wei Liu, Dongzhi Jiang et al.· 0 citations
ReFigBench, a benchmark and evaluation framework built on 1,000 real overview figures retrieved from arXiv papers with full provenance, is introduced, exposing the tension between fidelity and editability as the central challenge for practical multimodal document agents.
Li-Yang Fan, Chi Wei, Yi-Tai Li et al.· 0 citations
Evaluating eight MLLMs reveals substantial gaps in generating UI code that satisfies implementation requirements, alongside distinct performance profiles in inference and realization, and shows that MLLMs'visual reconstruction ability does not necessarily imply an ability to generate code that meets these requirements.
Cheng-Wei Shi, Yun-Nong Chen, Ting-Ting Zhou et al.· 0 citations
This work presents RILA, an execution-driven agent that puts browser rendering in the loop, iteratively editing generated code from runtime interaction feedback, and builds an execution-verified data synthesis pipeline that produces diverse, high-quality training data, offering gains complementary to inference-time opt...
Yi-Long Guo, Hanck Chen, Zi-Xiao Ye et al.· 0 citations
PPTBench establishes a measurable testbed for studying visual coding and advancing agents toward more reliable visual creation, and shows that agents can generally produce valid slide files, but struggle to produce high-quality reconstructions that faithfully recover the semantics and visual structure of the target.
Xiao-Qiu Wang, Yi-Zhe Chi, Wen-Yi Li et al.· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.