arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.09099cs.LG
收藏

将形式语言与思维链推理相结合以解决几何问题

Bridging Formal Language with Chain-of-Thought Reasoning to Geometry Problem Solving

Shenzhen Research Institute of Big Data(深圳大数据研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen International Center for Industrial and Applied Mathematics(深圳国际工业与应用数学中心)

Tianyun Yang, Yunwen Li, Ziniu Li, Zhihang Lin, Ruoyu Sun, Tian Ding

AI总结:

本文提出GF-Reasoner模型,通过将思维链与形式语言交织结合,并采用监督微调与求解器在环强化学习进行训练,显著提升了大型视觉语言模型在几何问题求解上的准确率与推理可解释性。

摘要:

大型视觉语言模型在几何问题求解(GPS)方面表现出显著的局限性,原因在于其不可靠的图形解释和纯自然语言推理。近期的一系列工作通过使用符号求解器来缓解这一问题:模型直接生成几何求解器可执行的形式化程序。然而,这种直接生成程序的方式缺乏中间推理步骤,导致决策过程不透明且容易出错。在本研究中,我们探索了一种将思维链(CoT)与形式语言相结合的新方法。模型将自然语言推理与求解器可执行代码的增量输出交替进行,生成一种混合推理轨迹,其中关键的推导过程以形式语言表达。为了在大规模下教授这种行为,我们结合了两种方法:(1)在一个包含1.1万条数据的新开发合成数据集上进行监督微调,该数据集交织了自然语言推理和自动形式化;(2)采用求解器在环的强化学习,通过基于结果的奖励联合优化CoT叙述和生成的程序。基于Qwen2.5-VL-7B构建,我们的新模型命名为GF-Reasoner,在标准GPS基准测试上实现了高达15%的准确率提升,超越了7B规模的同类模型以及规模大得多的模型Qwen2.5-VL-72B。通过利用高阶几何知识并将符号计算卸载给求解器,生成的推理轨迹明显更短且更简洁。此外,我们对方法设计选择(如推理范式、数据合成、训练轮数等)进行了全面分析,为未来研究提供了可操作的见解。

英文摘要:

Large vision language models exhibit notable limitations on Geometry Problem Solving (GPS) because of their unreliable diagram interpretation and pure natural-language reasoning. A recent line of work mitigates this by using symbolic solvers: the model directly generates a formal program that a geometry solver can execute. However, this direct program generation lacks intermediate reasoning, making the decision process opaque and prone to errors. In this work, we explore a new approach that integrates Chain-of-Thought (CoT) with formal language. The model interleaves natural language reasoning with incremental emission of solver-executable code, producing a hybrid reasoning trace in which critical derivations are expressed in formal language. To teach this behavior at scale, we combine (1) supervised fine-tuning on an 11K newly developed synthetic dataset with interleaved natural language reasoning and automatic formalization, and (2) solver-in-the-loop reinforcement learning that jointly optimizes both the CoT narrative and the resulting program through outcome-based rewards. Built on Qwen2.5-VL-7B, our new model, named GF-Reasoner, achieves up to 15% accuracy improvements on standard GPS benchmarks, surpassing both 7B-scale peers and the much larger model Qwen2.5-VL-72B. By exploiting high-order geometric knowledge and offloading symbolic computation to the solver, the generated reasoning traces are noticeably shorter and cleaner. Furthermore, we present a comprehensive analysis of method design choices (e.g., reasoning paradigms, data synthesis, training epochs, etc.), providing actionable insights for future research.

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

↑