Jingxuan Wei, Honghao He, Caijun Jia, Siyuan Li, Zheng Sun, Yuhang Xu, Yuanyuan Lin, Linzhuang Sun, Yuchen Wu, Bihui Yu, Xiangxiang Zhang, Cheng Tan
5 min
Abstract
Existing multimodal large language models have achieved high-fidelity visual perception and exploratory visual generation. However, a precision paradox persists in complex reasoning tasks: optical perception systems transcribe symbols without capturing logical topology, while pixel-based generative models produce visual artifacts lacking mathematical exactness. To bridge this gap, we propose that reasoning over visual inputs be reconceptualized as optical decompression-the process of reconstructing latent logical structures from compressed visual tokens. Guided by the axiom that Parsing is Reasoning, we introduce Thinking with Drafting (TwD), which utilizes a minimalist Domain-Specific Language (DSL) as a grounding intermediate representation. Unlike standard approaches that hallucinate answers directly, TwD forces the model to draft its mental model into executable code, rendering deterministic visual proofs for self-verification. To validate this, we present VisAlg, a visual algebra benchmark. Experiments demonstrate that TwD serve as a superior cognitive scaffold. Our work establishes a closed-loop system where visual generation acts not as a creative output but as a logical verifier, offering a generalizable path for visual reasoning.
Alex: The self-checking diagram builds trust. How did they test it?
Sam: They made VisAlg: over 11,000 bar diagram problems, each with code for the right structure. It checks if computers solve and rebuild logic—like matching a blueprint. Their approach scored highest, edging top models by nailing structure.
Alex: VisAlg tests full logic rebuild. Why does structure beat just right numbers?
Sam: Numbers alone fail without layout proof, like wrong boundaries in set problems despite correct counts. Text stays vague, images get fuzzy, scanning skips shapes. Here, code renders verifiable diagrams. The paper notes strong human agreement, suggesting reliable gains.
Alex: The loop makes visuals provable. Does it work beyond bars, like sets?
Sam: It handles set overlaps well, fixing hallucinations. But code is tuned for bars, not graphs or 3D—future work needed. Still, visuals as verifiers build broader reasoning.
Alex: How did they build VisAlg so reliably?
Sam: A three-step pipeline with models and humans. First, models plan diagrams for word problems, drafting code with rules for bars, alignments, brackets. Second, checklists fix lengths, labels. Third, verifiers score for perfection; math teachers review with five rules—like diagram-alone solvability and exact alignments. Disagreements get third checks.
Alex: Drafts, checklists, human review—pure logic, no cheats. How does this highlight differences from usual thinking?
Sam: Text chains guess without proof. Images drift in scale. Scanning skips layout. Here, code reconstructs exactly, blending picture geometry, positions, words into verifiable flow. The paper suggests this loop generalizes for reliable answers.
Alex: Visual output tests its own logic. What mistakes do other systems make?
Sam: They erase structures—like losing repeated units for "three times more." Or add labels without shape matches. Or misalign lines. The paper calls these semantic erasure, label injection, alignment conflict—math looks right, but diagrams fail checks.
Alex: Pictures lie about logic even if answers match. The paper flags risks for education?
Sam: Yes. Neat diagrams risk automation bias—trusting form over semantics. Or cognitive offloading, weakening diagram-building skills. Scoped to bars now.
Alex: Verifiable visuals improve on loose methods, but caution against over-trust and skill loss. A meaningful advance for computer reasoning from math pictures. Thanks for listening to ResearchPod.