Skip to content

VisualRepair: Dynamic Tool Calling and Region Focusing for Visual Software Issue Repair

Jul 2026 · arXiv.org · Vol abs/2607.14075 · 1 citation · 65 references
Computer Science

TL;DR

VisualRepair is proposed, an MLLM-based framework for visual software issue repair comprising two core modules: Image Type-aware Tool Calling (ITTC), which classifies input images and dynamically invokes a tailored tool-calling chain for robust visual interpretation, and Dynamic Test-time Region Focusing (DTRF), which grounds multiple bug-related region candidates and refines them via an adaptive zoom-in and zoom-out strategy to improve fault localization and promote diverse patch generation.

Abstract

Automated Program Repair (APR) has witnessed significant progress with the advent of Large Language Models (LLMs). However, as modern software systems increasingly expose rich graphical user interfaces, effectively leveraging visual information from bug screenshots has become essential for understanding bugs and generating accurate fixes in multimodal scenarios. Real-world issue reports frequently contain heterogeneous visual attachments including UI screenshots, IDE snapshots, GIFs, and text-centric images, each with distinct visual patterns and domain-specific semantics that impose substantial perceptual demands on MLLMs. Furthermore, bug screenshots often contain large expanses of uninformative and bug-irrelevant regions, distracting the model's attention and limiting patch diversity. To address these challenges, we propose VisualRepair, an MLLM-based framework for visual software issue repair comprising two core modules: Image Type-aware Tool Calling (ITTC), which classifies input images and dynamically invokes a tailored tool-calling chain for robust visual interpretation, and Dynamic Test-time Region Focusing (DTRF), which grounds multiple bug-related region candidates and refines them via an adaptive zoom-in and zoom-out strategy to improve fault localization and promote diverse patch generation. Extensive experiments on the SWE-bench Multimodal benchmark demonstrate that VisualRepair consistently outperforms state-of-the-art approaches. VisualRepair resolves 196 and 25 instances on the test and dev sets, respectively, surpassing the best baseline by 10 and 11 instances. These results highlight the effectiveness of type-aware visual understanding and region-focused localization for automated visual software issue repair.

View source

Similar papers

Review Aug 2025

SWIRL: Interactive Sensemaking of Tool-Generated Warnings through Customized Summaries

Evaluated SWIRL, which supports interpreting tool-generated warnings through interactive, customized summarization, suggests that SWIRL's active learning-based summarization can enhance the sensemaking process of tool-generated warnings.

Burak Yetistiren, Hong-Jin Kang, Miryung Kim · 0 citations
Preprint Aug 2026

Characterizing Visual Accessibility Issues in AI Developer Tools: An Empirical Study

Analysis of issues and forum discussions from five AI developer tool ecosystems shows that the accessibility record of AI developer tools is shaped by both their interaction design and the reporting and maintenance practices of their surrounding ecosystems.

S. Haque, Christoph Csallner · 0 citations
Review Aug 2026

Refine After Generation: Toward Correct and Concise Patches in LLM-based Program Repair

This paper identifies patch verbosity as a major yet overlooked concern in LLM-based APR and proposes RECAP, a lightweight, plug-and-play adapter that attaches to existing repair frameworks after generation that achieves a substantially better size-correctness tradeoff.

Wen-Qiang Luo, J. Keung, Xiaoyu Shi et al. · 1 citation
Preprint Aug 2026

Rubrics as Visual-Repair Context for Self-Evolving UI-to-Code Generation

Evaluations demonstrate that RubSE substantially outperforms na\"ive self-evolution in final-round and best-round settings, achieving more stable refinement trajectories and a higher trajectory-level performance ceiling.

Tianyi Xiong, Zhengyuan Yang, Xiaofei Wang et al. · 2 citations
Preprint Aug 2026

VisEditBench: Can Vision-Language Models Edit Visualization Code from Multimodal Feedback?

This work introduces VisEditBench, a benchmark of 1,395 human-annotated visualization code-editing tasks grounded in realistic visualization workflows and failure cases, and proposes VisEditAgent, a render-grounded editing framework that iteratively generates, executes, validates, and refines candidate edits.

Mizanur Rahman, Arshia Azimlu, Shadikur Rahman et al. · 3 citations · ⚡1
Jul 2026

CoFiLoc: A Coarse-to-fine LLM-based framework for method-level bug localization

CoFiLoc first performs structured bug report denoising to extract high-value technical information, and then progressively narrows the candidate space by integrating lightweight dynamic execution evidence, stack-trace-guided structural signals, and dual semantic-lexical ranking, before applying LLM-based reasoning over...

Nham Cao, Nhut Tien Nguyen, Thanh Nguyen · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.