VisualCoding:学习可执行技能以实现可靠的视觉推理
VisualCoding: Learning Executable Skills for Reliable Visual Reasoning
AI总结:
本研究提出VisualCoding,通过执行引导获取视觉程序并直接执行,在涵盖69个任务家族的四个基准测试中,使Gemini-3.1-Pro等模型的视觉推理平均准确率显著优于最强基线。
摘要:
学习可复用技能可以提升视觉推理智能体的性能,但应用技能时仍需要智能体实现或调用某个过程并生成最终答案,这些步骤中出现的错误和幻觉会导致已获得的经验无法转化为可靠的单次运行性能。我们提出VisualCoding,它将执行引导的可复用视觉程序获取与在适用输入上直接采用其答案相结合。执行引导的程序获取将视觉原语和额外代码组合成家族级求解器,然后在带标签的训练实例上迭代测试并修正这些求解器;范围感知的直接执行则运行保留的求解器并返回其在范围内的有效答案。我们在四个基准测试的四个模型上评估了VisualCoding,这些基准测试涵盖69个任务家族。VisualCoding在平均准确率上超过了评估的最强基线:使用Gemini-3.1-Pro时超出4.45个百分点,当复用由冻结的Pro获取的工件与Flash-Lite时超出14.78个百分点。消融实验验证了执行引导获取的有效性,且直接执行的性能优于对相同程序的文本复用或可调用复用。代码可在该https URL获取。
英文摘要:
Learning reusable skills can improve visual reasoning agents, yet applying a skill still requires the agent to implement or invoke a procedure and produce the final answer. Errors and hallucinations at these steps can prevent acquired experience from translating into reliable single-run performance. We propose VisualCoding, which combines execution-guided acquisition of reusable visual programs with direct adoption of their answers on applicable inputs. Execution-Guided Program Acquisition composes visual primitives and additional code into family-level solvers, then iteratively tests and revises them on labeled training instances. Scope-Aware Direct Execution runs a retained solver and returns its valid in-scope answer. We evaluate VisualCoding on four models across four benchmarks spanning 69 task families. VisualCoding exceeds the strongest evaluated baseline in mean accuracy by 4.45 percentage points with Gemini-3.1-Pro and by 14.78 points when reusing the frozen Pro-acquired artifacts with Flash-Lite. Ablations support execution-guided acquisition and show that direct execution outperforms textual or callable reuse of the same programs. Code is available at https://github.com/jiaq-liu/VisualCoding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。