GeometryZero: Improving Geometry Solving for LLM with Group Contrastive Policy Optimization

Yikun Wang, Yibin Wang, Dianyi Wang, Zimian Peng, Qipeng Guo +2 more
6/8/2025
cs.CL

No official code found. Best implementation: ekonwang/GeometryZero (11 stars, last commit 2025-09-01).

Abstract

Recent advances in large language models (LLMs) have demonstrated remarkable capabilities across diverse domains, particularly in mathematical reasoning, amid which geometry problem solving remains a challenging area where auxiliary construction plays a enssential role. Existing approaches either achieve suboptimal performance or rely on massive LLMs (e.g., GPT-4o), incurring massive computational costs. We posit that reinforcement learning with verifiable reward (e.g., GRPO) offers a promising direction for training smaller models that effectively combine auxiliary construction with robust geometric reasoning. However, directly applying GRPO to geometric reasoning presents fundamental limitations due to its dependence on unconditional rewards, which leads to indiscriminate and counterproductive auxiliary constructions. To address these challenges, we propose Group Contrastive Policy Optimization (GCPO), a novel reinforcement learning framework featuring two key innovations: (1) Group Contrastive Masking, which adaptively provides positive or negative reward signals for auxiliary construction based on contextual utility, and a (2) length reward that promotes longer reasoning chains. Building on GCPO, we develop GeometryZero, a family of affordable-size geometric reasoning models that judiciously determine when to employ auxiliary construction. Our extensive empirical evaluation across popular geometric benchmarks (Geometry3K, MathVista) demonstrates that GeometryZero models consistently outperform baselines (e.g. GRPO), achieving an average improvement of 4.29% across all benchmarks.

View on arXivView PDF

Code Implementations(1)

GeometryZero: Improving Geometry Solving for LLM with Group Contrastive Policy Optimization

110Shell, PythonMay 31, 20251 years ago
geometry-problem-solvingllmreinforcement-learning

Similar Papers

Cite this paper

@article{wang2025geometryzero,
  title  = {GeometryZero: Improving Geometry Solving for LLM with Group Contrastive Policy Optimization},
  author = {Yikun Wang and Yibin Wang and Dianyi Wang and Zimian Peng and Qipeng Guo and Dacheng Tao and Jiaqi Wang},
  year   = {2025},
  eprint = {2506.07160},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.07160v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.07160.svg)](https://codeofpaper.com/paper/2506.07160)

Discussion