FractalBench:通过递归程序合成诊断视觉-数学推理
FractalBench: Diagnosing Visual-Mathematical Reasoning Through Recursive Program Synthesis
AI总结:
FractalBench 通过让多模态大模型从分形图像合成递归 Python 程序来诊断视觉-数学推理能力,发现模型虽能生成语法正确代码但极少捕获数学结构,尤其在分支递归上存在根本性缺陷。
摘要:
数学推理要求从视觉模式中抽象出符号规则——从有限中推断无限。我们通过 FractalBench 这一基准来研究多模态 AI 系统是否具备这种能力,该基准评估从图像中进行分形程序合成的能力。分形提供了理想的测试用例:仅含少量收缩映射的迭代函数系统(Iterated Function Systems)通过简单的递归规则生成复杂的自相似模式,要求模型在视觉感知与数学抽象之间建立桥梁。我们评估了四个领先的多模态大语言模型(MLLMs)——GPT-4o、Claude 3.7 Sonnet、Gemini 2.5 Flash 和 Qwen 2.5-VL——在 12 个经典分形上的表现。模型必须生成可执行的 Python 代码来复现分形,从而实现客观评估。结果揭示了一个显著的脱节:76% 的模型生成了语法有效的代码,但只有 4% 捕获了数学结构。成功情况呈现系统性差异——模型能处理几何变换(Koch 曲线:17-21%),但在分支递归上失败(树:<2%),揭示了数学抽象方面的根本性差距。FractalBench 为视觉-数学推理提供了一种抗污染的诊断工具,可在 https://github.com/NaiveNeuron/FractalBench 获取。
英文摘要:
Mathematical reasoning requires abstracting symbolic rules from visual patterns -- inferring the infinite from the finite. We investigate whether multimodal AI systems possess this capability through FractalBench, a benchmark evaluating fractal program synthesis from images. Fractals provide ideal test cases: Iterated Function Systems with only a few contraction maps generate complex self-similar patterns through simple recursive rules, requiring models to bridge visual perception with mathematical abstraction. We evaluate four leading MLLMs -- GPT-4o, Claude 3.7 Sonnet, Gemini 2.5 Flash, and Qwen 2.5-VL -- on 12 canonical fractals. Models must generate executable Python code reproducing the fractal, enabling objective evaluation. Results reveal a striking disconnect: 76% generate syntactically valid code but only 4% capture mathematical structure. Success varies systematically -- models handle geometric transformations (Koch curves: 17-21%) but fail at branching recursion (trees: <2%), revealing fundamental gaps in mathematical abstraction. FractalBench provides a contamination-resistant diagnostic for visual-mathematical reasoning and is available at https://github.com/NaiveNeuron/FractalBench
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。