TL;DR
This paper introduces "Thinking with Drafting" (TWD), a novel approach to visual reasoning that reframes it as "optical decompression." TWD reconstructs latent logical structures from visual inputs into a minimalist Domain-Specific Language (DSL), enabling deterministic visual proofs for self-verification. This method addresses a "precision paradox" in current multimodal models, where high visual fidelity often lacks rigorous logical accuracy.
What Problem Does This Paper Address?
Current multimodal large language models (MLLMs) excel at visual perception and generation, but struggle with complex reasoning tasks requiring precise logical understanding. This is a "precision paradox": optical character recognition (OCR) systems can accurately transcribe symbols but miss their underlying logical relationships, while generative models can create visually plausible diagrams that are mathematically inaccurate. This gap hinders reliable visual reasoning, especially in domains like mathematical problem-solving. The authors propose to bridge this by reconceptualizing reasoning as "optical decompression" – reconstructing latent logical structures from visual tokens.
Methods
The core of the proposed method is the "Thinking with Drafting" (TWD) paradigm. TWD operates by:
- Optical Decompression: The model first parses visual input (images with text) and natural language queries to decompress the implicit logical topology into an explicit structural draft.
- Minimalist Domain-Specific Language (DSL): This draft is represented in a custom, minimalist DSL designed for geometric and logical constraints. This DSL is symbolic and executable, unlike pixel-based representations.
- Drafting and Verification Loop: The generated DSL draft serves as a "drafting context" for the model. This structured representation allows the model to perform step-by-step reasoning and generate deterministic visual proofs. These proofs are then used for self-verification, enabling the model to detect logical conflicts and refine its output.
- Programmatic Drafting: Instead of directly generating answers, TWD forces the model to draft its mental model into executable code, which is then rendered into a visually verifiable diagram. This ensures mathematical exactness and logical validity.
Datasets
The authors introduce VisAlg, a new benchmark specifically designed for evaluating logic-aware visual reasoning through optical decompression. VisAlg consists of 15,000 bar-model word problems, each paired with a structured intermediate representation in their DSL, defining the ground-truth logical parse. The dataset construction involves a multi-stage pipeline including drafting, refining, and scoring/filtering to ensure high quality and adherence to specific criteria.
Key Insights and Ideas
- Parsing is Reasoning: The paper's central axiom is that the act of parsing visual information into a structured, logical representation is the reasoning process itself.
- Optical Decompression: Reframing visual reasoning as decompression from compressed visual tokens to explicit logical structures is a novel perspective.
- Deterministic Visual Proofs: TWD's ability to generate executable DSL code that renders into verifiable diagrams is crucial for ensuring logical correctness, moving beyond visually plausible but potentially incorrect outputs.
- DSL as a Cognitive Scaffold: The minimalist DSL acts as an explicit, structured intermediate representation that guides and constrains the model's reasoning process, preventing hallucination and ensuring logical integrity.
- Closed-Loop System: TWD establishes a closed loop where visual generation is not just an output but a logical verifier, enabling iterative refinement and correction.
Key Results
- TWD, when initialized from a compact 8B model and fine-tuned on VisAlg, outperforms leading proprietary models (including Gemini-3-Pro and Gemini-2.5-Pro) on the VisAlg benchmark, achieving an overall score of 82.63.
- The model demonstrates strong performance across various visual algebra schemas, particularly excelling in structure-intensive tasks like proportional distribution and difference analysis.
- TWD shows a strong correlation (r = 0.9575) with expert human ratings, validating its verifier as a reliable proxy for human judgment.
- The approach successfully handles complex logical topologies, including set-theoretic reasoning, where other models often exhibit topological hallucination.
Limitations and Future Work
- Limited Scope of Structural Representation: The current DSL is designed primarily for bar-model visual algebra, emphasizing linear topological relations. Extending this DSL to support broader classes of scientific diagrams is identified as a key direction for future research.
- Potential for Automation Bias: The structured DSL and visual proofs might lead users to conflate structural validity with semantic correctness, assuming a correct diagram implies a correct solution.
- Risk of Cognitive Offloading: Over-reliance on TWD's automated drafting could potentially lead to skill atrophy in diagrammatic reasoning for learners, undermining their ability to independently translate textual constraints into spatial representations.
Summary updated