NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CodeV: Issue Resolving with Visual Data

Linhao Zhang, Daoguang Zan, Quanshun Yang, Zhirong Huang, Dong Chen, Bo Shen, Tianyu Liu, Yongshun Gong, Pengjie Huang, Xudong Lu, Guangtai Liang, Lizhen Cui, Qianxiang Wang

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in repository-level tasks, particularly in "issue resolving"—the process of automatically generating code patches to fix bugs based on GitHub issue descriptions. However, a significant limitation persists: most current models and benchmarks are purely text-based. In reality, a substantial portion of real-world software issues, especially in data visualization and UI-heavy libraries, rely on visual evidence like screenshots or diagrams to communicate the nature of a defect.

An example of a GitHub issue where visual data is crucial: facet labels in a plot do not respect the provided keyword arguments.

Research indicates that over 5% of all GitHub issues, and nearly 45% of those in visualization-centric libraries like Seaborn, contain essential visual information. Without the ability to interpret these visual cues, even state-of-the-art code generation models struggle to localize and resolve underlying bugs. To address this, we introduce CODEV, a framework designed to empower LLMs with visual perception for automated issue resolution.

The Visual SWE-bench

To evaluate the impact of visual data, the authors introduced Visual SWE-bench, a specialized benchmark comprising 133 task instances from 11 popular open-source Python repositories, including Matplotlib, Scikit-learn, and Plotly. These instances were meticulously curated from a pool of over 12,000 pull requests to ensure that the visual data provided was not only relevant but essential for resolving the issue. Each instance underwent human verification to confirm that the problem could not be solved through simple text-based OCR alone.

The CODEV Framework

CODEV employs a decoupled, two-phase approach that separates visual perception from code generation, allowing the system to leverage specialized models for each task.

The CODEV framework architecture, illustrating the transition from visual data processing to patch generation.

Phase 1: Data Processing (Vision)

In the first phase, a Vision-Language Model (VLM), such as Qwen2-VL, processes the images or videos within an issue. This processing occurs through two distinct lenses:

  1. Fine-Grained Description: The VLM generates an Independent Description of the image's physical contents and a Contextual Description explaining how those contents relate to the reported bug. For example, instead of just describing a plot, the model might note that "the facet labels do not match the specified keyword arguments."
  2. Structured Summarization: The VLM synthesizes the entire issue—both text and images—into a standardized summary that includes reproduction steps, expected results, and actual results.

Phase 2: Patch Generation (Coding)

The detailed textual descriptions generated in Phase 1 are integrated back into the original issue description. This "visually enriched" text is then provided to a high-performance coding LLM (such as DeepSeek-V2.5 or Qwen2.5-Coder). The model follows an "agentless" workflow to navigate the codebase and generate the final fix.

Results and Key Insights

On the Visual SWE-bench, CODEV achieved a resolution rate of 13.51%. While this figure reflects the inherent difficulty of the benchmark, it represents a 63.13% relative improvement over the text-only baseline, Agentless, which resolved only 7.52% of the issues.

Ablation studies highlight the necessity of each component. Removing the structured summarization or the fine-grained descriptions led to a significant drop in performance. Specifically, the "Contextual Description" proved vital; it bridges the gap between seeing a visual anomaly and understanding its programmatic cause.

Furthermore, the researchers found that using a VLM for the entire end-to-end process (perception and coding) was less effective than the decoupled CODEV approach. Current VLMs possess strong "eyes" but lack the specialized "brains" required for complex repository-level logic compared to dedicated code-LLMs.

Conclusion

CODEV demonstrates that explicitly incorporating visual context is a critical step toward more robust automated software engineering. By converting visual data into rich textual descriptions, CODEV allows existing code-generation models to "see" the bugs they are tasked with fixing. Future work will focus on expanding the benchmark to more diverse languages and exploring native multimodal coding as VLM reasoning capabilities continue to evolve.

Summary updated

BibTeX
@inproceedings{zhang2025codev,
  author = {Linhao Zhang and Daoguang Zan and Quanshun Yang and Zhirong Huang and Dong Chen and Bo Shen and Tianyu Liu and Yongshun Gong and Pengjie Huang and Xudong Lu and Guangtai Liang and Lizhen Cui and Qianxiang Wang},
  title = {{CodeV: Issue Resolving with Visual Data}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure