arXiv:2604.19750cs.SEcs.AI2026-04被引 1

用视觉反馈提升图形界面代码生成与调试的准确性

Coding with Eyes: Visual Feedback Unlocks Reliable GUI Code Generating and Debugging

论文配图:Coding with Eyes: Visual Feedback Unlocks Reliable GUI Code Generating and Debugging
图 1 · 摘自论文原文
  • 引入视觉感知与交互机制,模拟人类操作界面
  • 在真实桌面应用任务上将成功率提升至28.29%
  • 适合需要高精度图形界面开发的工程师与研究者

基于大语言模型的智能体在代码生成方面取得显著进展,但现有方法主要依赖命令行等文本输出进行多轮调试,在涉及视觉信息的图形用户界面(GUI)场景中表现不佳。主要原因有二:一是GUI程序为事件驱动,现有方法无法模拟用户交互以触发界面逻辑;二是GUI具有视觉属性,文本方法难以判断渲染结果是否符合需求。为此,我们提出InteractGUI Bench基准,包含984个常见真实桌面GUI应用任务,用于细粒度评估交互逻辑与视觉结构。同时,我们设计了基于视觉反馈的多智能体系统VF-Coder,通过感知视觉信息并直接与界面交互,以类人方式识别逻辑与布局问题。在InteractGUI Bench上,该方法将Gemini-3-Flash的成功率从21.68%提升至28.29%,视觉评分从0.4284升至0.5584,验证了视觉反馈在GUI调试中的有效性。

原文摘要 · Abstract (English)

Recent advances in Large Language Model (LLM)-based agents have shown remarkable progress in code generation. However, current agent methods mainly rely on text-output-based feedback (e.g. command-line outputs) for multi-round debugging and struggle in graphical user interface (GUI) that involve visual information. This is mainly due to two limitations: 1) GUI programs are event-driven, yet existing methods cannot simulate user interactions to trigger GUI element logic 2) GUI programs possess visual attributes, making it difficult for text-based approaches to assess whether the rendered interface meets user needs. To systematically address these challenges, we first introduce InteractGUI Bench, a novel benchmark comprising 984 commonly used real-world desktop GUI application tasks designed for fine-grained evaluation of both interaction logic and visual structure. Furthermore, we propose VF-Coder, a vision-feedback-based multi-agent system for debugging GUI code. By perceiving visual information and directly interacting with program interfaces, VF-Coder can identify potential logic and layout issues in a human-like manner. On InteractGUI Bench, our VF-Coder approach increases the success rate of Gemini-3-Flash from 21.68% to 28.29% and raises the visual score from 0.4284 to 0.5584, indicating the effectiveness of visual feedback in GUI debugging.

GUI生成视觉反馈代码调试多智能体

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。