Manuscript Offprint

arXiv:2608.30457

Learning Where Outcomes Change:Credit-Addressable Reasoning for Multimodal Geometry

Jiani Guo, Junjie Wang, Jie Wu, Pengxiang Zhao, Dongdong Zhang, Shaohan Huang, Yujiu Yang, Furu Wei

Abstract

Multimodal geometry reasoning requires VLMs to extract precise visual relations and preserve them through multi-step deduction. Existing free-form traces obscure the decisions that determine the answer, and trajectory-level reinforcement learning distributes a single terminal signal across the entire response. We introduce credit-addressable reasoning, in which the semantic units exposed during inference also define where learning compares alternatives and assigns credit. We instantiate this principle with Code-CoT, which retains the diagram, represents visual relations as line-addressable executable code, and organizes reasoning into typed events, and CE-GRPO, which selects event boundaries using structural priors and type-normalized entropy, samples complete continuations from shared prefixes, and converts outcome differences into localized advantages. Across nine geometry benchmarks, CE-GRPO achieves an average accuracy of 76.04, outperforming Qwen3-VL-8B and trajectory-level GRPO by 8.09 and 3.43 points, respectively. Its relative advantage increases with the number of intermediate events, demonstrating the value of representation-optimization co-design for long, dependency-heavy multimodal reasoning.

1 Introduction

Recent vision-language models (VLMs) have made substantial progress in mathematical reasoning (Shao et al. 2024; Bai et al. 2025a). Geometry, however, remains a stringent test of reliable multimodal reasoning: models must accurately interpret and consistently use diagrammatic relations, while a single error in object binding, angle interpretation, or auxiliary construction can invalidate subsequent deductions (Zhang et al. 2024a; Kamoi et al. 2025; Fu et al. 2026). As shown in Fig. 1, these critical decisions remain implicit in a free-form reasoning trace, while trajectory-level optimization provides only a single outcome signal for the response as a whole. This creates two coupled gaps: a representation gap, where decisive choices lack explicit semantic units, and a credit gap, where terminal feedback cannot distinguish their individual effects.

Prior work has approached these gaps along two largely separate directions. Program-aided methods such as PAL

Figure

Figure 1: Free-form reasoning hides visual decisions and receives one trajectory reward; Code-CoT makes decisions explicit, and CE-GRPO assigns localized credit.

and ToRA organize computation through programs or tools, while formal geometry systems such as AlphaGeometry and GeoTikzBridge translate geometric relations into formal languages or executable representations (Gao et al. 2023; Gou et al. 2024; Trinh et al. 2024; Sun et al. 2026). Fine-grained reinforcement-learning methods such as VinePPO, Segment Policy Optimization, GPO, and GRPO-MA instead estimate local advantages at intermediate states, segments, critical steps, or branched thoughts (Kazemnejad et al. 2024; Yu et al. 2025a; Wang et al. 2026a). The former expose reasoning structure without making it an optimization unit; the lat-

∗^{*}These authors contributed equally.

†^{\dagger}Corresponding authors.

ModelICI+CΔCselfC_{self}
Open models
InternVL3.5-8B45.547.063.9+18.433.4
Qwen2.5-VL-7B49.451.260.6+11.234.6
Qwen3.5-9B79.946.885.4+5.535.1
Proprietary models
Kimi-K2.688.287.992.6+4.4-
Claude-Opus-4.887.986.391.1+3.2-
Gemini-3.1-Pro92.389.193.0+0.7-

Table 1: Mean accuracy on the five MathVerse (Zhang et al. 2024a) subsets. I: diagram only; C: externally generated code only; I+CI+C : diagram and external code. Δ=(I+C)−I\Delta = (I+C)-I is the absolute gain in percentage points. CselfC_{self} uses self-generated code only, with the diagram withheld, and is reported for open models.

ter refine update locations but still derive semantic decisions from learned values, fixed boundaries, or token statistics. What remains missing is a semantic unit shared by reasoning and learning. We call this credit-addressable reasoning: inference-time decisions directly govern history correction, future comparison, and credit assignment.

To identify such a shared semantic unit, we first examine whether code can serve as an internal reasoning space for geometry. As shown in Table 1, combining the diagram with externally generated code consistently outperforms either modality alone across three open and three proprietary models (details in Section 3). For the three open models, self-generated code trails external code by 11.7–16.6 points under the same code-only setting, identifying reliable code generation as the main bottleneck. These results suggest two design requirements: code should complement rather than replace the image, and its generation must be explicitly learned. We therefore introduce Code-CoT, which retains the original image, produces line-addressable executable Matplotlib perception code, and organizes subsequent reasoning into reference, auxiliary, coordinate, and think events. Each event is both a checkable geometric operation and an addressable unit of credit.

Making decisions addressable does not by itself make their credit localizable. Standard Group Relative Policy Optimization (GRPO) (Shao et al. 2024) compares complete responses from the original problem and assigns the same group-relative advantage throughout each response, treating an event-structured Code-CoT trace as a flat trajectory. We introduce Critical-Event Group Relative Policy Optimization (CE-GRPO), where a critical event is operationally defined as an event boundary whose alternative continuations under the same prefix yield different terminal outcomes. CE-GRPO selects candidate events using a structural prior and type-normalized entropy, then fixes the image, question, and complete prefix before each candidate and samples multiple continuations through the final answer, as shown in the lower panel of Fig. 3. Each continuation receives the same terminal reward, while the shared prefix is excluded from the policy loss, so the group-relative advantage updates only the regenerated event and its downstream consequences. Structure provides semantic branch points, entropy allocates the branching budget, and reward variation determines whether a candidate yields a useful credit signal. If all continuations receive the same reward, the group contributes no update, making an uninformative selection computationally wasteful rather than harmful.

Across nine geometry benchmarks, CE-GRPO achieves an average accuracy of 76.04, outperforming the native Qwen3-VL-8B (Bai et al. 2025a) backbone, Code-CoT SFT, and trajectory-level GRPO by 8.09, 6.49, and 3.43 points, respectively, and improving over the backbone on all nine benchmarks. On validly terminated responses, it retains a 3.91-point average gain over trajectory-level GRPO, confirming improvements in solution quality rather than protocol compliance. Offline analysis further shows that structural selection identifies outcome-changing events about 30%30\% more often than random selection, while the CE-GRPO margin grows by 3.77 points per additional intermediate event (r=0.866r = 0.866, exact p=0.0016p = 0.0016). Together, these results validate credit-addressable reasoning, particularly for solutions involving longer chains of intermediate decisions.

Our contributions are threefold:

  • We formulate credit-addressable reasoning, where the semantic units exposed during inference also define where optimization compares alternatives and assigns credit; a controlled six-model study motivates code as such a shared representation.

  • We introduce Code-CoT, which represents diagram perception and geometric operations as executable, addressable events, and CE-GRPO, which compares complete futures from shared prefixes to localize terminal credit without process annotations or an auxiliary value model.

  • Across nine geometry benchmarks, our method improves over the backbone on every benchmark and outperforms trajectory-level GRPO on average; closed-only evaluation, selector validation, and event-count analysis further support the mechanism of event-localized credit.

References (43)