Screenshot-to-code generation aims to translate user interface screenshots into executable frontend code that faithfully reproduces the target layout and style. Existing multimodal large language models perform this mapping directly from screenshots but are trained without observing the visual outcomes of their generated code. In contrast, human developers iteratively render their implementation, compare it with the design, and learn how visual differences relate to code changes. Inspired by this process, we propose VisRefiner, a training framework that enables models to learn from visual differences between rendered predictions and reference designs. We construct difference-aligned supervision that associates visual discrepancies with corresponding code edits, allowing the model to understand how appearance variations arise from implementation changes. Building on this, we introduce a reinforcement learning stage for self-refinement, where the model improves its generated code by observing both the rendered output and the target design, identifying their visual differences, and updating the code accordingly. Experiments show that VisRefiner substantially improves single-step generation quality and layout fidelity, while also endowing models with strong self-refinement ability. These results demonstrate the effectiveness of learning from visual differences for advancing screenshot-to-code generation.
UISearch: Graph-Based Embeddings for Multimodal Enterprise UI Screenshots Retrieval
Center For Computer Science(计算机科学中心);Saint Joseph University of Beirut(贝鲁特圣约瑟夫大学);Faculty of Computer Science(计算机科学学院);Dalhousie University(达尔豪斯大学);Murex
Multi-modal user interface control detection using cross-attention
AI Research Lab, Tricentis(Tricentis AI研究实验室);Institute of Artificial Intelligence, Center for Medical Statistics, Informatics, and Intelligent Systems, Medical University of Vienna(维也纳医科大学人工智能研究所、医学统计、信息学与智能系统中心)
Chain of Evidence: Pixel-Level Visual Attribution for Iterative Retrieval-Augmented Generation
National Engineering Research Center for Software Engineering, Peking University(软件工程国家级工程研究中心,北京大学);City University of Hong Kong(香港城市大学);Peking University(北京大学);Tencent Technology(腾讯科技)
提出Chain of Evidence (CoE)框架,利用视觉语言模型直接对检索到的文档截图进行推理,输出精确边界框以可视化完整推理链,解决迭代检索增强生成中的粗粒度归因和视觉语义丢失问题。
GameReplica: A Benchmark for Black-Box Visual Game Replication by Vision-Language Agents
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Zhongguancun Laboratory(中关村实验室);Xiaomi EV(小米汽车);Alibaba DAMO Academy(阿里巴巴达摩院)