SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?

John Yang, Carlos E Jimenez, Alex L Zhang, Kilian Lieret, Joyce Yang, Xindi Wu, Ori Press, Niklas Muennighoff, Gabriel Synnaeve, Karthik R Narasimhan, Diyi Yang, Sida Wang, Ofir Press

TL;DR

SWE-bench Multimodal (SWE-bench M) is a new benchmark designed to test if AI software agents can handle the visual and architectural complexities of front-end JavaScript development. The results are a wake-up call: current top-tier agents that excel at Python struggle significantly here, with the best system resolving only 12.2% of tasks. This highlights a major gap in visual reasoning and cross-language generalization.

What Problem Does This Paper Address?

In the last year, we’ve seen a localized "Cambrian explosion" of autonomous AI software engineers. Most of these are evaluated on SWE-bench, a popular benchmark consisting of real-world GitHub issues. However, SWE-bench has two major blind spots: it is almost exclusively Python-based, and it is entirely text-centric.

Real-world software engineering isn't just writing backend scripts; it involves building user interfaces, interactive maps, and data visualizations. In these domains (like front-end web development), bug reports aren't just text—they are often screenshots or videos of broken layouts and misaligned elements.

Examples of multimodal GitHub issues in SWE-bench M

This paper asks a critical question: Do the state-of-the-art agents we've built for Python actually generalize to the visual, multi-language reality of modern software?

Methods

To evaluate existing systems on this new terrain, the researchers introduced SWE-bench Multimodal (SWE-bench M) and adapted several popular agent frameworks:

  • SWE-agent M: An evolution of the original SWE-agent. The authors added a "multimodal" toolkit, allowing the agent to use a headless browser to view web pages, take screenshots of its own progress, and "see" the images provided in the original bug report.
  • Agentless JS: A version of the "Agentless" framework where the Python-specific localization logic (which relied on Python’s ast module) was replaced with a custom JavaScript parser.
  • RAG Baselines: Standard Retrieval-Augmented Generation approaches adapted to ingest JavaScript codebases and associated images.

The evaluation is execution-based: an agent successfully resolves an issue only if it produces a code patch that passes the actual unit tests associated with the original GitHub pull request.

Datasets

The core of the paper is the SWE-bench M dataset:

  • Composition: 617 task instances curated from 17 popular open-source JavaScript libraries (e.g., Chart.js, openlayers, next.js, highlight.js).
  • Visual Content: Every single task includes at least one image or video in the problem statement or unit tests.
  • Human Validation: The authors performed a rigorous manual audit, finding that for 83.5% of the tasks, the images were strictly necessary to solve the issue. You simply cannot fix the bug without "seeing" it.
  • Diversity: The images aren't just screenshots; they include diagrams, geospatial maps, and syntax-highlighting examples.

Key Insights and Ideas

  • The "Python-Only" Trap: One of the most striking findings is how over-engineered current agents are for Python. Many top-performing systems on the original SWE-bench failed immediately because their "language-agnostic" localization modules were actually hard-coded to look for Python syntax trees.
  • Visual Reasoning is the New Bottleneck: When the authors stripped images away from the agents, performance plummeted. Even with images, agents struggled to ground visual "glitches" (like a misaligned button) to the specific lines of CSS or JSX responsible.
  • The Complexity of JavaScript: Unlike the relatively uniform structure of PyPI packages, the JavaScript ecosystem is a mix of paradigms (functional, procedural, object-oriented) and file types (TS, JS, HTML, CSS, SCSS). This structural variance proved much harder for agents to navigate.
  • Multimodal Overhead: While giving an agent a "camera" (screenshots) helps it verify its work, it also makes the task much more expensive and prone to timeouts. SWE-agent M took an average of 7.5 screenshots per task, significantly increasing the token count and cost.

Key Results

The quantitative results show that we are still in the early days of multimodal coding agents.

Performance of various agent systems on SWE-bench M
  • Top Performance: SWE-agent M (using GPT-4o) achieved the highest resolution rate at 12.2%.
  • The Gap: For context, the best agents on the Python-based SWE-bench Lite are currently pushing 40%+. The drop-off when moving to visual JS is massive.
  • Model Comparison: There was no clear winner between GPT-4o and Claude 3.5 Sonnet; both models showed similar limitations in visual problem-solving.
  • Agent vs. RAG: Interactive agents (like SWE-agent) significantly outperformed static RAG systems (6.0%), proving that the ability to "interact" with the environment and see the results of a code change is vital.

Limitations and Future Work

The authors acknowledge that SWE-bench M is just the beginning. Current limitations include:

  • Repository Scope: 17 repositories is a good start, but it doesn't cover the full breadth of the JS ecosystem.
  • Modality Limits: The benchmark currently focuses on images and videos, but future versions could include audio or more complex browser interactions.
  • Tooling: The "multimodal tools" provided to agents (like basic screenshots) are still primitive. Future work should focus on giving agents better "eyes"—perhaps through specialized UI-parsing models rather than just raw pixels.

In short, if we want AI to build the web, we need to stop training them in a text-only, Python-only vacuum. SWE-bench M provides the playground to start doing exactly that.

Summary updated

BibTeX
@inproceedings{yang2025swe,
  author = {John Yang and Carlos E Jimenez and Alex L Zhang and Kilian Lieret and Joyce Yang and Xindi Wu and Ori Press and Niklas Muennighoff and Gabriel Synnaeve and Karthik R Narasimhan and Diyi Yang and Sida Wang and Ofir Press},
  title = {{SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=riTiq3i21b},
}
Figure