Sketchpad: certified exact arithmetic with a small vision-language model
New in Multimodal LLMs / vision-language models; no direction yet. Multimodal LLMs / vision-language models
Abstract (arXiv)
Language models are accurate on most long-arithmetic problems, but their accuracy is estimated on samples and carries no guarantee for an unseen input; tool use is exact but moves the computation outside the network. We show that exactness at all input lengths becomes a finite, checkable property of a network when each of its steps reads only a bounded view of an external working memory. In Sketchpad, Qwen3.5-0.8B with a low-rank adapter executes arithmetic procedures on a rendered sheet. Each forward pass reads a three-cell view and emits one step: a digit, a carry or borrow, and the next operation. A fixed runtime moves the view and writes no digit of a result. We prove in Lean that the model is then exact on all inputs of any length if and only if it is exact on the finite set of views the runtime presents, that no finite test suffices when steps also read earlier steps, and that the guarantee tolerates bounded numerical perturbation and extends to compositions of procedures. All 2,446 views pass on the deployment device, a laptop GPU running the model in a web browser. The certified model performs signed addition and subtraction, long multiplication and division, square roots and greatest common divisors at arbitrary length. It solved 200 of 200 pre-registered problems in the browser, and 220 of 220 sums of up to 1,000 digits and products of up to 20 digits, of which GPT-6.1 Sol, the strongest of ten other models, solved 217. A symbolic runtime built on these procedures solves, expands and factors polynomials with every number computed by the model, and a multiplicative gate on the adapter recovers the base model exactly when the sheet is not in use.
Key facts. Cited by 2 papers in the map (data through 24 Nov 2026). Builds on 82 of its 101 references that are in the map. Submitted 3 Nov 2026.
Builds on
82 of 101 references.
References · 82
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
- 2020Measuring Massive Multitask Language Understandingcited by 8,473
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,989
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
- 2016Learning without Forgettingcited by 2,595
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,478
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,433
- 2016Progressive Neural Networkscited by 1,424
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 1,201
38 more
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,131
- 2023Steering Language Models With Activation Engineeringcited by 1,128
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 934
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 766
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 713
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
- 2022PAL: Program-aided Language Modelscited by 685
- 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 427
- 2025ToolRL: Reward is All Tool Learning Needscited by 395
- 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 388
- 2024Visual Sketchpad: Sketching as a Visual Chain of Thought for Multimodal Language Modelscited by 312
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 306
- 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solvingcited by 291
- 2023Looped Transformers as Programmable Computerscited by 283
- 2019Deep Learning for Symbolic Mathematicscited by 280
- 2025Imagine while Reasoning in Space: Multimodal Visualization-of-Thoughtcited by 224
- 2022Exploring Length Generalization in Large Language Modelscited by 219
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 219
- 2025RL's Razor: Why Online Reinforcement Learning Forgets Lesscited by 217
- 2025DeepSeek-OCR: Contexts Optical Compressioncited by 201
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 146
- 2023Teaching Arithmetic to Small Transformerscited by 129
- 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 129
- 2015Neural GPUs Learn Algorithmscited by 126
- 2025Recursive Language Modelscited by 126
- 2015Neural Programmer-Interpreterscited by 108
- 2024Transformers Can Achieve Length Generalization But Not Robustlycited by 94
- 2023Goat: Fine-tuned LLaMA Outperforms GPT-4 on Arithmetic Taskscited by 91
- 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 89
- 2018Neural Arithmetic Logic Unitscited by 73
- 2023GPT Can Solve Mathematical Problems Without a Calculatorcited by 70
- 2022Language Modelling with Pixelscited by 63
- 2022CLIPPO: Image-and-Language Understanding from Pixels Onlycited by 59
- 2025Glyph: Scaling Context Windows via Visual-Text Compressioncited by 56
- 2024How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpadcited by 42
- 2025MathCanvas: Intrinsic Visual Chain-of-Thought for Multimodal Mathematical Reasoningcited by 42
- 2023Learning the greatest common divisor: explaining transformer predictionscited by 39
- 2025PENCIL: Long Thoughts with Short Memorycited by 39
50 most cited of 82 All 82 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026Don't Train It, Write It: An AI Agent Writes New Capabilities into Language Model Weights21 Nov 2026
- 2026Attention at Absolute Zero9 Nov 2026
Similar, not cited
Close in wording, no citation either way
- 2026Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence
- 2025Do Large Language Models Truly Grasp Addition? A Rule-Focused Diagnostic Using Two-Integer Arithmetic
- 2026Towards Verifiable Transformers: Solver-Checkable Circuit Explanations
- 2026Sable: A Small-Field Sumcheck Argument for Bit-Exact Inference of Large Language Models
- 2026From Fuzzy to Exact: The Halo Architecture for Infinite-Depth Reasoning via Rational Arithmetic
- 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks
- 2026Catch It Where It Happens: Real Time Error Correction During LLM Reasoning
- 2025Efficient numeracy in language models through single-token number embeddings