2025-07-11 · 专家 · 计算机视觉 · 机器学习

PyVision: Agentic Vision with Dynamic Tooling

PyVision通过动态生成和执行Python代码,为多模态推理提供了一种灵活且可解释的解决方案,显著提升了大型语言模型在视觉推理任务中的性能。

更新于 2025-07-11。作者:Shitian Zhao、Haoquan Zhang、Shaoheng Lin、Ming Li、Qilong Wu、Kaipeng Zhang、Chen Wei。

中文摘要

LLMs正越来越多地被部署为代理人,即能够规划、推理并动态调用外部工具的系统。然而,在视觉推理领域,先前的方法在很大程度上仍然受限于预定义的工作流程和静态的工具集。在本报告中,我们介绍了PyVision,这是一个交互式、多轮次的框架,它使MLLMs能够自主生成、执行和改进针对当前任务的Python工具,从而解锁灵活且可解释的问题解决方式。我们为PyVision创建的工具制定了一个分类法,并分析了它们在多种基准测试中的使用情况。从定量角度看,PyVision实现了持续的性能提升,将GPT-4.1在V*上的性能提升了+7.8%,将Claude-4.0-Sonnet在VLMsAreBlind-mini上的性能提升了+31.1%。这些结果指向了一个更广泛的转变:动态工具不仅允许模型使用工具,还能够发明工具,朝着更具代理性的视觉推理方向发展。

英文摘要

LLMs are increasingly deployed as agents, systems capable of planning, reasoning, and dynamically calling external tools. However, in visual reasoning, prior approaches largely remain limited by predefined workflows and static toolsets. In this report, we present PyVision, an interactive, multi-turn framework that enables MLLMs to autonomously generate, execute, and refine Python-based tools tailored to the task at hand, unlocking flexible and interpretable problem-solving. We develop a taxonomy of the tools created by PyVision and analyze their usage across a diverse set of benchmarks. Quantitatively, PyVision achieves consistent performance gains, boosting GPT-4.1 by +7.8% on V* and Claude-4.0-Sonnet by +31.1% on VLMsAreBlind-mini. These results point to a broader shift: dynamic tooling allows models not just to use tools, but to invent them, advancing toward more agentic visual reasoning.

解读

一句话总结

PyVision通过动态生成和执行Python代码,为多模态推理提供了一种灵活且可解释的解决方案,显著提升了大型语言模型在视觉推理任务中的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源