跳到正文
arXiv (AI + Vision + Imaging)· Fumiki Yohena, Toshiaki Sota, Shota Suzuki, Tomoko Okamoto, Michiaki Tatsubori·· 15 天前AI 评分20

用仓库渲染参考图提升编码智能体的UI截图理解能力

Repository-Context-Guided Image Understanding for Agentic Software Development

AI 导读

研究提出为编码智能体补充由同一代码库渲染的清晰参考截图,帮助其在低分辨率、压缩失真或小字号渲染的UI截图中定位相关UI元素与源文件。在基于SWE-bench Multimodal构建的注入UI缺陷基准上,参考图在四倍下采样加JPEG压缩条件下提升了正确源文件匹配率,且文字识别率比语言偏置OCR高约12个百分点。

正文 · 原文

arXiv:2611.13026v1 Announce Type: cross Abstract: Coding agents increasingly receive UI screenshots as part of bug reports, yet degraded image quality - caused by low resolution, compression artifacts, or small rendered text - can prevent them from identifying the relevant UI elements and source files. Vision-language models become less reliable as image quality deteriorates, while OCR-assisted approaches may propagate recognition errors from degraded inputs. Both approaches are limited when the visual evidence required for localization is no longer clearly observable in the query screenshot. We propose augmenting coding agents with repository-rendered reference images: crisp screenshots generated from the same codebase that the agent is tasked with modifying. These references provide readable visual evidence of the application's UI while preserving the current, potentially bug-containing implementation state. Because they are generated from the available repository rather than requiring a known bug-free version, they can be produced automatically for reproducible application states without manual image annotation. We evaluate the approach on a controlled benchmark derived from SWE-bench Multimodal by injecting visual UI bugs into a real web application. We vary screenshot degradation and reference-image provision and measure whether the coding agent identifies the correct source file. The results show that reference images improve file localization especially for degraded image quality, increasing the gold file match rate under fourfold downsampling with JPEG compression. We confirmed with further analysis that the proposed approach recognizes text approximately 12 percentage points better than language biased OCR under the same degradation.

来源:arXiv (AI + Vision + Imaging) · arxiv.org