How RL Unlocks the Aha Moment in Geometric Interleaved Reasoning

A reinforcement-learning framework that transforms diagram drawing from a noisy distractor into a load-bearing scaffold for reasoning.

Xiangxiang Zhang* 1 Caijun Jia* 2 3 Siyuan Li* 1 4 Dingyu He* 1 Xiya Xiong* 1 Zheng Sun2 3 Honghao He2 3 Yuchen Wu1 Bihui Yu2 3 Linzhuang Sun2 3 Cheng Tan† 1 4 Jingxuan Wei† 2 3 5
1 ByteDance 2 Shenyang Institute of Computing Technology, CAS 3 University of Chinese Academy of Sciences 4 Westlake University 5 Key Laboratory of Computing Power Network & Information Security, MoE * Equal contribution  ·  † Corresponding authors
ByteDance
Chinese Academy of Sciences SICT, CAS
University of Chinese Academy of Sciences
Westlake University
Key Laboratory MoE Key Lab
Bar chart showing that SFT on interleaved data degrades vs text-only — only RL recovers and exceeds.
The SFT Paradox. Naively SFT-ing on interleaved plot+solution data drops accuracy below text-only training on multiple geometric sub-tasks. Faire's RL post-training closes the gap and turns interleaving into a net win.
Selected as
ICML 2026 Spotlight
Top 2.2%  ·  536 spotlights out of 23,918 submissions
2.2%
acceptance
+30.5
Verification Avg.
14.85 → 45.37 on Qwen3-VL-8B
3×
Formal Grounding
22.51 (Gemini-2.5-Pro) → 60.39 (Faire)
r=0.96
Human Alignment
Verifier score vs. human rating
7,989
Faire-Bench Instances
K12 geometry, tri-filtered

Abstract

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.

Key Claims

  1. ① The SFT Paradox. Mimicking the format of interleaved reasoning without its function hurts accuracy. SFT acts as a noisy channel — the diagram raises the entropy of the answer rather than collapsing it.
  2. ② Functional Alignment via Tri-Perspective Verification. A gated reward over geometric, perceptual, and semantic validity forces the diagram to behave as a causal mediator T → V → Y.
  3. ③ The Aha Moment is Measurable. Under RL, entropy reallocates onto visual & plotting tokens (23.4%) — drawing becomes an active decision shaped by verifier feedback, not memorized formatting.

The SFT Paradox — why drawing usually hurts

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.

SFT — distributional alignment
  • Superficial correlation. Minimizes $H_\pi(V \mid T, X)$, treats $V$ and $Y$ as conditionally independent given strong textual priors.
  • Context fragmentation. A mismatched diagram acts as a noisy channel; the deduction entropy rises: $H_{\pi_\theta}(Y \mid T_1, V, X) \geq H_{\pi_\theta}(Y \mid T_1, X) + \delta$.
  • Drawing as decoration. The figure looks plausible but does not faithfully implement the claimed visual hierarchy.
Faire — functional alignment
  • $V$ as latent causal mediator. RL optimizes $T \xrightarrow{\text{construct}} V \xrightarrow{\text{observe}} Y$ with verified mediation.
  • Tri-perspective reward. Joint constraints on geometric, perceptual, and semantic validity collapse, not raise, the answer entropy.
  • Drawing as evidence. The constructed diagram is operationally consistent with the proof — auxiliary points instantiated in the right dependency order.
Case comparing SFT failure (mismatched diagram, broken proof) vs Faire success (consistent auxiliary line construction).
Case study. SFT mimics the alternation pattern but the constructed diagram (mid-points, colors, line style) does not match the proof goal. Faire's construction is operationally consistent — the auxiliary line is instantiated in the order the deduction needs.

Faire Framework

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}$.

Faire framework: VLM generates reasoning text and GeoGebra code; three verifiers (Geometric, Perceptual, Semantic) gate the reward, integrated via GRPO.
Faire overview. The MLLM produces an interleaved trajectory of text and GeoGebra code; rendering produces $V$. A gated reward enforces answer correctness $\mathcal{C}_{\text{ans}}$ and code executability $\mathcal{C}_{\text{exe}}$, then aggregates perceptual $\mathcal{C}_{\text{perc}}$, semantic $\mathcal{C}_{\text{sem}}$, and formal verification $\mathcal{C}_{\text{geo}}$ into a causally-grounded GRPO update.
🧮

$\mathcal{C}_{\text{geo}}$ — Node Integrity

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.

$$\mathcal{C}_{\text{geo}}(c, X) = \mathbb{1}(c \in \Omega_{\text{valid}}) \cdot \!\!\prod_{k \in \mathcal{K}_X}\!\! \mathbb{1}(\text{Satisfies}(c, k))$$
👁️

$\mathcal{C}_{\text{perc}}$ — Egress Validity

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.

$$\mathcal{C}_{\text{perc}}(v) = \mathbb{1}\bigl(J_{\text{mllm}}(v) > \tau_{\text{perc}}\bigr)$$
🔗

$\mathcal{C}_{\text{sem}}$ — Ingress Validity

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".

$$\mathcal{C}_{\text{sem}}(c, T) = \mathbb{1}\bigl(\psi(T) \subseteq \varphi(c)\bigr)$$
Causally-grounded reward
$$R(V, Y) \;=\; \mathbb{1}(Y = Y^{*}) \;+\; \beta \cdot \bigl(\mathcal{C}_{\text{geo}} + \mathcal{C}_{\text{perc}} + \mathcal{C}_{\text{sem}}\bigr)$$
GRPO objective
$$\mathcal{L}_{\text{GRPO}} \;=\; \mathbb{E}_{\tau \sim \pi_\theta}\!\left[\frac{\pi_\theta(\tau)}{\pi_{\text{old}}(\tau)}\,\hat{A}(\tau)\right] \;-\; \beta\, D_{\mathrm{KL}}\!\bigl(\pi_\theta \,\|\, \pi_{\text{ref}}\bigr)$$

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.

Faire-Bench

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.

Three-stage data pipeline: Alignment Filter, Semantic Filter, Geometric Assertion Filter — gated by manual review.
Tri-perspective verification pipeline. Candidates pass an Alignment Filter (visual fidelity), Semantic Filter (code-vs-text consistency), and Geo Assert Filter (deterministic GeoGebra truth verdict). Only All-Pass samples enter the final dataset.

Splits

SFTRLEval
#Instances4,6432,3211,025
Plane Geo.51.5%51.6%54.7%
Function29.4%28.3%27.4%
Analytic Geo.19.1%20.1%17.9%
Hard difficulty54.4%54.8%54.1%
≥ 2 images39.6%38.4%43.6%
Stage and category distribution: inner ring shows K1-5 / K6-8 / K9-12; outer ring shows geometric category shares.
K6–8 (middle school) dominates (~70%) — the stage where diagrammatic construction becomes central.

Are the verifier signals trustworthy?

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.

Scatter plot: Faire-Bench verifier score on Y-axis vs human score on X-axis across 12 models. Faire sits in the top-right corner; correlation r=0.9578.
Verifier vs. human (r = 0.9578). Each point is a model (GPT-5.2, Gemini-2.5-Pro, GLM-4.1V, Faire, …) scored independently by Faire-Bench's automatic verifier and a human panel. The near-linear fit validates the dataset's verification pipeline — the same signals that filter training data and drive RL reward cannot be exploited by superficial artifacts.

Main Results

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-12B20.971.974.130.882.33
Kimi-VL-A3B23.222.6111.946.827.12
InternVL3.5-8B45.565.0017.845.209.35
Qwen2.5-VL-7B26.345.1621.833.3110.10
GLM-4.1V-9B63.417.4322.397.0412.29
Qwen3-VL-8B (SFT init.)59.718.6225.4710.4714.85
GPT-4o25.564.628.925.276.27
GPT-5.156.5810.3425.8518.2418.14
Gemini-2.5-Pro78.2415.9022.5115.4519.86
GPT-5.268.787.0236.5930.2424.62
Faire (Ours, 8B)74.8237.2760.3938.4445.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.

Accuracy is not enough.

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).

Surface mimicry vs. causal grounding.

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.

RL > Best-of-N selection.

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.

✦ The Aha Moment — entropy migrates onto drawing

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%.

Bar chart of top-100 entropy-increased token categories after RL: Visual&Plotting 23.38%, Numerical 21.36%, Others 21%, Coding 17.63%, Reasoning 16.6%.
Entropy reallocation under RL. Higher entropy here does not mean randomness — it reflects a shift from low-entropy template generation toward deliberate computation. Drawing is no longer a fixed routine; it becomes an active, verifier-shaped decision.

Ablation — every verifier is load-bearing

VariantAccDraw Avg
Faire (Full)74.8345.37
– w/o Alignment66.5338.31
– w/o Semantic66.2439.37
– w/o Geo Assert65.8837.15
RL (Exec-only)64.2935.65
SFT (Interleaved)62.4835.23

Removing any single signal degrades both accuracy and draw quality — the three rewards are complementary, not redundant.

Qualitative Examples

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.

BibTeX

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},
}
Copied!