Abstract
Plane Geometry Problem Solving (PGPS) is a multimodal reasoning task that aims to solve a plane geometric problem based on a geometric diagram and problem textual descriptions. Although Large Language Models (LLMs) possess strong reasoning skills, their direct application to PGPS is hindered by their inability to process visual diagrams. Existing works typically fine-tune Multimodal LLMs (MLLMs) end-to-end on large-scale PGPS data to enhance visual understanding and reasoning simultaneously. However, such joint optimization may compromise base LLMs' inherent reasoning capability. In this work, we observe that LLM itself is potentially a powerful PGPS solver when appropriately formulating visual information as textual descriptions. We propose to train a MLLM Interpreter to generate geometric descriptions for the visual diagram, and an off-the-shelf LLM is utilized to perform reasoning. Specifically, we choose Conditional Declaration Language (CDL) as the geometric description as its conciseness eases the MLLM Interpreter training. The MLLM Interpreter is fine-tuned via CoT (Chain-of-Thought)-augmented SFT followed by GRPO to generate CDL. Instead of using a conventional solution-based reward that compares the reasoning result with the ground-truth answer, we design CDL matching rewards to facilitate more effective GRPO training, which provides more direct and denser guidance for CDL generation. To support training, we construct a new dataset, Formalgeo7k-Rec-CoT, by manually reviewing Formalgeo7k v2 and incorporating CoT annotations. Extensive experiments on Formalgeo7k-Rec-CoT, Unigeo, and MathVista show our method (finetuned on only 5.5k data) performs favorably against leading open-source and closed-source MLLMs.
Introduction
Plane Geometry Problem Solving (PGPS) requires a unique blend of precise visual perception and rigorous logical reasoning. While Large Language Models (LLMs) have demonstrated exceptional reasoning capabilities, they lack the visual grounding necessary to interpret geometric diagrams. Conversely, Multimodal LLMs (MLLMs) often struggle with the complex multi-step logic required for geometry, and end-to-end fine-tuning can inadvertently degrade their general reasoning skills. This research introduces a decoupled approach that bridges the gap between visual perception and logical deduction.
The MLLM Interpreter + LLM Solver Pipeline
The core innovation of this work is the separation of visual translation from mathematical reasoning. Instead of asking a single model to do both, the authors propose a two-stage pipeline:
- MLLM Interpreter: A specialized model trained to translate geometric diagrams into a structured, concise text format called Conditional Declaration Language (CDL).
- LLM Solver: A frozen, off-the-shelf LLM that receives the CDL description and performs the final reasoning to solve the problem.
Conditional Declaration Language (CDL)
Rather than using verbose natural language, the system employs CDL—a formal language that defines shapes (e.g., Shape(AC, CE, EA)), collinearity, and specific metrics like angle measures. This conciseness is critical; it reduces the search space for the MLLM Interpreter and prevents the model from over-relying on memorized patterns, focusing instead on structural visual features.
Training with Dense Rewards
To optimize the MLLM Interpreter, the authors utilize a two-phase training strategy:
- SFT with CoT: Supervised Fine-Tuning is augmented with Chain-of-Thought reasoning, guiding the model to identify shapes and relations step-by-step before outputting the final CDL.
- GRPO with CDL Matching Rewards: Traditional reinforcement learning often uses sparse rewards (binary success/failure based on the final answer). This work introduces CDL matching rewards using Group Relative Policy Optimization (GRPO). By rewarding the model based on the precision and recall of its generated CDL against ground-truth annotations, the training provides dense, direct feedback on visual perception accuracy.
Experimental Results
The proposed method was evaluated on the newly refined Formalgeo7k-Rec-CoT dataset, as well as out-of-domain benchmarks like Unigeo and MathVista.
- Efficiency: With only 5.5k training samples, the model achieved state-of-the-art results.
- Performance: On Formalgeo7k-Rec-CoT, the method reached 85.7% accuracy, outperforming Gemini 2.5 Pro (81.8%) and GPT-4o (58.0%).
- Generalization: The model maintained high performance across different datasets, scoring 84.0% on Unigeo and 80.8% on MathVista, demonstrating the robustness of the decoupled architecture.
Conclusion
By decoupling visual perception from logical reasoning and utilizing a concise intermediate representation (CDL), this approach unlocks the full potential of LLMs for complex geometric tasks. The use of dense, representation-based rewards during reinforcement learning proves to be a highly effective strategy for training precise visual interpreters, offering a promising paradigm for other multimodal reasoning domains.
Summary updated