A reinforcement-learning framework that transforms diagram drawing from a noisy distractor into a load-bearing scaffold for reasoning.
SICT, CAS
Solving complex geometric problems inherently requires interleaved reasoning: a tight alternation between constructing diagrams and performing logical deductions. Although recent MLLMs show strong capabilities in visual generation and plotting, we identify a counterintuitive and underexplored phenomenon.
Naively applying Supervised Fine-Tuning (SFT) on interleaved plot–solution data leads to a substantial degradation in reasoning performance compared to text-only baselines. We argue that this failure stems from a fundamental limitation of SFT, which primarily induces distributional alignment: the model learns to reproduce the surface format of interleaved plotting but fails to internalize the causal dependency between the generated plot and reasoning steps.
To overcome this limitation, we propose Faire (Functional alignment for interleaved reasoning), a reinforcement-learning framework that enforces three causal constraints to move beyond superficial imitation toward functional alignment. Extensive experiments show that Faire induces a qualitative shift in model behavior in which the plotting is effectively internalized, yielding competitive performance on challenging geometric reasoning benchmarks.
Existing wisdom says richer multimodal context should improve reasoning. We find the opposite on geometry: when we SFT on the same data with diagrams interleaved, accuracy drops below text-only. The model has learned when to draw, but not what to draw such that drawing helps.
Faire treats the visual artifact $V$ as a latent causal mediator between the textual premise $T$ and the answer $Y$. For the causal path $T \to V \to Y$ to hold, $V$ must satisfy three independent conditions, formalized by a Tri-perspective Verifier system $\mathcal{V}$.
An objective verifier executes the generated code in a GeoGebra sandbox and checks it against hard constraints derived from the problem (collinearity, midpoint, tangency …). Guarantees $V$ exists as a well-defined mathematical object.
A subjective verifier (an MLLM judge) checks that $V$ is actually readable by a solver — occlusion, extreme scale, and label overlap act as channel noise that breaks the $V \to Y$ edge.
A semantic verifier requires logical entailment between primitives extracted from the code and intents extracted from the text — no random "valid figure that ignores the plan".
The functionally-aligned reward mines the long-tail of the generation distribution, reinforcing those rare outlier trajectories where the diagram actively facilitates deduction — not just decorates the answer.
A benchmark for geometric interleaved reasoning: 7,989 K12 instances, each pairing stepwise deduction with an executable GeoGebra program whose execution reconstructs the geometric state the next deduction relies on.
| SFT | RL | Eval | |
|---|---|---|---|
| #Instances | 4,643 | 2,321 | 1,025 |
| Plane Geo. | 51.5% | 51.6% | 54.7% |
| Function | 29.4% | 28.3% | 27.4% |
| Analytic Geo. | 19.1% | 20.1% | 17.9% |
| Hard difficulty | 54.4% | 54.8% | 54.1% |
| ≥ 2 images | 39.6% | 38.4% | 43.6% |
Faire-Bench's filtering and reward design lean on automated verifiers — so they had better track human judgment. We run 12 MLLMs through both the tri-perspective verifier and a panel of human raters; the agreement is near-perfect.
Faire (built on Qwen3-VL-8B, 8B params) reaches 74.82% accuracy and 45.37 verification average — outperforming proprietary baselines including Gemini-2.5-Pro and GPT-5.2 by a wide margin on functional grounding, while remaining competitive on raw answer accuracy.
| Model | Acc | Parser | Code | Judge | Avg. |
|---|---|---|---|---|---|
| Gemma3-12B | 20.97 | 1.97 | 4.13 | 0.88 | 2.33 |
| Kimi-VL-A3B | 23.22 | 2.61 | 11.94 | 6.82 | 7.12 |
| InternVL3.5-8B | 45.56 | 5.00 | 17.84 | 5.20 | 9.35 |
| Qwen2.5-VL-7B | 26.34 | 5.16 | 21.83 | 3.31 | 10.10 |
| GLM-4.1V-9B | 63.41 | 7.43 | 22.39 | 7.04 | 12.29 |
| Qwen3-VL-8B (SFT init.) | 59.71 | 8.62 | 25.47 | 10.47 | 14.85 |
| GPT-4o | 25.56 | 4.62 | 8.92 | 5.27 | 6.27 |
| GPT-5.1 | 56.58 | 10.34 | 25.85 | 18.24 | 18.14 |
| Gemini-2.5-Pro | 78.24 | 15.90 | 22.51 | 15.45 | 19.86 |
| GPT-5.2 | 68.78 | 7.02 | 36.59 | 30.24 | 24.62 |
| Faire (Ours, 8B) | 74.82 | 37.27 | 60.39 | 38.44 | 45.37 |
Table 1. Acc: answer accuracy. Verification uses tri-perspective scores — Parser (semantic), Code (formal), Judge (visual). Faire improves all three at once; the lead is structural, not cosmetic.
Gemini-2.5-Pro hits the highest answer accuracy, yet its formal validity stays at 22.51. It reasons around the diagram, not through it. Faire pairs strong accuracy with nearly 3× the formal grounding (60.39 vs 22.51).
GPT-5.2 produces diagrams with high SSIM/LPIPS — visually plausible — but its Parser score collapses to 7.02. Faire avoids this pitfall by prioritizing verifiable relations over surface resemblance.
Best-of-N on the SFT checkpoint with the same verifiers reaches only 37.92 Draw Avg even at N=10 — Faire's 45.37 can't be reached by selecting better SFT traces; it requires repairing the construction–reasoning coupling.
Aha here is not a vibe — it is a measurable shift in the entropy distribution. Comparing the top-100 most entropy-increased tokens between SFT and RL: nearly 40% of the shift lands on numeric and code tokens, with Visual & Plotting tokens taking the single largest share at 23.38%.
| Variant | Acc | Draw Avg |
|---|---|---|
| Faire (Full) | 74.83 | 45.37 |
| – w/o Alignment | 66.53 | 38.31 |
| – w/o Semantic | 66.24 | 39.37 |
| – w/o Geo Assert | 65.88 | 37.15 |
| RL (Exec-only) | 64.29 | 35.65 |
| SFT (Interleaved) | 62.48 | 35.23 |
Removing any single signal degrades both accuracy and draw quality — the three rewards are complementary, not redundant.
Faire constructs an auxiliary diagram in the dependency order the proof needs, with the right primitives instantiated before they are referenced. Click a tile to enlarge.
If you find Faire useful for your research, please cite:
@inproceedings{zhang2026faire,
title = {How {RL} Unlocks the Aha Moment in Geometric Interleaved Reasoning},
author = {Zhang, Xiangxiang and Jia, Caijun and Li, Siyuan and He, Dingyu and
Xiong, Xiya and Sun, Zheng and He, Honghao and Wu, Yuchen and
Yu, Bihui and Sun, Linzhuang and Tan, Cheng and Wei, Jingxuan},
booktitle = {Proceedings of the 43rd International Conference on Machine Learning},
series = {PMLR 306},
year = {2026},
address = {Seoul, South Korea},
}