arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.25384cs.CL
收藏

GeoMathCode: 理解几何问题求解中交织的数学-代码推理

GeoMathCode: Understanding Interleaved Math-Code Reasoning for Geometry Problem Solving

Idiap Research Institute(Idiap研究 institute);X-Humanoid;Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);Cancer Biomarker Centre, CRUK Manchester Institute(癌症生物标志物中心,CRUK曼彻斯特研究所)

Yingji Zhang, Yong Dai, André Freitas

AI总结:

本文提出GeoMathCode,通过程序化表示作为中间视觉输出,分析多模态大模型在几何问题中的推理与代码生成,发现推理与代码步骤在潜在空间可解耦,监督微调使推理流形更结构化,且层次化代码结构包含更多数学符号信息。

摘要:

数学推理是人类智能的标志,需要逻辑演绎、符号操作和抽象思维。最近的多模态大语言模型通过多步推理在几何问题上表现出强大性能。为了更好地模拟人类问题求解,中间步骤可以融入辅助视觉构造,例如额外的线条或点,这改善了几何解释和教育清晰度。在这项工作中,我们引入了GeoMathCode,其中程序化表示作为中间视觉输出。我们进一步对底层推理几何进行了深入分析。实验结果表明,推理和代码生成步骤可以在潜在空间中解耦,而监督微调使推理流形更加结构化和信息丰富。此外,层次化的句法代码结构作为解耦的潜在子空间出现,并且比视觉表示包含更多的数学符号信息。

英文摘要:

Mathematical reasoning is a hallmark of human intelligence, requiring logical deduction, symbolic manipulation, and abstract thinking. Recent multimodal large language models (MLLMs) have demonstrated strong performance on geometry problems through multi-step reasoning. To better emulate human problem-solving, intermediate steps can incorporate auxiliary visual constructions, such as additional lines or points, which improve geometric interpretation and educational clarity. In this work, we introduce the GeoMathCode, where programmatic representations serve as intermediate visual outputs. We further conduct an in-depth analysis of the underlying reasoning geometry. Experimental results show that reasoning and code generation steps can be disentangled in the latent space, while supervised fine-tuning (SFT) makes the reasoning manifold more structured and informative. Moreover, hierarchical syntactic code structures emerge as disentangled latent subspaces, and contain more mathematical symbolic information than visual representations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑