paperbot · PL 论文追踪

全部论文 待读 收藏

P1 LLM Agents Can See Code Repositories

LLM 智能体可以看见代码仓库
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 5/10 · 论文关注 coding agent 与代码仓库理解,与 Agentic 程序方向有交集,且其可视化结构图(依赖/目录层级)可视为静态分析产物的多模态表示;但研究目标是提升多模态 Agent 自身能力,而非将静态分析应用于 Agentic 程序或用 LLM 改进静态分析,与浮点/贝叶斯程序分析无直接关联。引用 5 inbox
Dongjian Ma, Silin Chen, Yufei Yang, Yuling Shi, Yanfu Yan, Xiaodong Gu
crossref: 2026-10-09

AI 速览

一句话:首次系统实证多模态模型理解代码仓库:可视化结构上下文可降 token 并保持或提升问题解决准确率。

现代 LLM 编码智能体几乎只依赖文本,而人类开发者会利用文件夹层级、依赖关系等视觉线索理解仓库。本文首次系统实证研究仓库级任务中的多模态基础模型,在四个现代多模态模型上比较纯视觉上下文与“文本+可视化结构上下文图”等表示。实验发现:纯视觉表示会降低性能并增加 token 成本;将可视化上下文图作为补充模态,可最多减少 26% 输入 token,同时保持或提升 issue 解决准确率。进一步分析表明,视觉工具在故障定位阶段、且智能体自主决定探索深度时最有效,为下一代编码智能体的混合模态设计提供了依据。

问题
现代编码智能体几乎完全依赖文本理解仓库,未能像人类开发者一样利用文件夹层级与依赖关系等视觉结构线索;论文探究多模态基础模型能否改善仓库级任务理解。
方法
在四个现代多模态模型上进行系统性实证研究,比较纯视觉上下文、文本上下文以及文本加可视化结构上下文图等表示,并分析视觉工具介入阶段与探索深度自主性。
评估
以仓库级 issue 解决任务为评测场景,度量输入 token 消耗与问题解决准确率;结果显示补充可视化结构上下文最多降低 26% 输入 token 且不牺牲甚至提升准确率,视觉工具在故障定位阶段最有效。
原文摘要(Abstract)

Coding agents powered by large language models (LLMs) have demonstrated remarkable proficiency in software engineering tasks. Yet modern coding agents rely almost entirely on text, leaving a major gap between how human developers and agents comprehend software repositories. Human developers leverage visual repository cues such as folder hierarchies and dependencies, raising the question of whether multimodal models can similarly improve repository understanding. In this paper, we conduct the first systematic empirical study on multimodal foundation models for repository-level tasks. Our experiments across four modern multimodal models reveal that while a vision-only context representation degrades performance and inflates token costs, integrating visualized context graphs as a supplementary modality can help agents grasp the repository more efficiently. Specifically, providing agents with visual structural context alongside standard text interfaces reduces input token consumption by up to 26% while maintaining or improving issue-resolution accuracy. Furthermore, we demonstrate that visual tools are most effective when utilized during the fault localization stage and when agents autonomously dictate their exploration depth. Our findings highlight a promising hybrid-modality pathway for the design of next-generation coding agents.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2606-14061,
  title = {LLM Agents Can See Code Repositories},
  author = {Dongjian Ma and Silin Chen and Yufei Yang and Yuling Shi and Yanfu Yan and Xiaodong Gu},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834363}
}