mlsanityData to 24 Nov 2026

Sketchpad: certified exact arithmetic with a small vision-language model

arXiv 2611.04434 ↗Submitted 3 Nov 2026cs.LG cs.CL cs.LOcited by 2

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

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
  2. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  4. 2020Measuring Massive Multitask Language Understandingcited by 8,473
  5. 2016Overcoming catastrophic forgetting in neural networkscited by 4,989
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
  7. 2016Learning without Forgettingcited by 2,595
  8. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,478
  9. 2023Instruction-Following Evaluation for Large Language Modelscited by 1,433
  10. 2016Progressive Neural Networkscited by 1,424
  11. 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
  12. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 1,201
38 more
  1. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,131
  2. 2023Steering Language Models With Activation Engineeringcited by 1,128
  3. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 934
  4. 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 766
  5. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 713
  6. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
  7. 2022PAL: Program-aided Language Modelscited by 685
  8. 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 427
  9. 2025ToolRL: Reward is All Tool Learning Needscited by 395
  10. 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 388
  11. 2024Visual Sketchpad: Sketching as a Visual Chain of Thought for Multimodal Language Modelscited by 312
  12. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 306
  13. 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solvingcited by 291
  14. 2023Looped Transformers as Programmable Computerscited by 283
  15. 2019Deep Learning for Symbolic Mathematicscited by 280
  16. 2025Imagine while Reasoning in Space: Multimodal Visualization-of-Thoughtcited by 224
  17. 2022Exploring Length Generalization in Large Language Modelscited by 219
  18. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 219
  19. 2025RL's Razor: Why Online Reinforcement Learning Forgets Lesscited by 217
  20. 2025DeepSeek-OCR: Contexts Optical Compressioncited by 201
  21. 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 146
  22. 2023Teaching Arithmetic to Small Transformerscited by 129
  23. 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 129
  24. 2015Neural GPUs Learn Algorithmscited by 126
  25. 2025Recursive Language Modelscited by 126
  26. 2015Neural Programmer-Interpreterscited by 108
  27. 2024Transformers Can Achieve Length Generalization But Not Robustlycited by 94
  28. 2023Goat: Fine-tuned LLaMA Outperforms GPT-4 on Arithmetic Taskscited by 91
  29. 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 89
  30. 2018Neural Arithmetic Logic Unitscited by 73
  31. 2023GPT Can Solve Mathematical Problems Without a Calculatorcited by 70
  32. 2022Language Modelling with Pixelscited by 63
  33. 2022CLIPPO: Image-and-Language Understanding from Pixels Onlycited by 59
  34. 2025Glyph: Scaling Context Windows via Visual-Text Compressioncited by 56
  35. 2024How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpadcited by 42
  36. 2025MathCanvas: Intrinsic Visual Chain-of-Thought for Multimodal Mathematical Reasoningcited by 42
  37. 2023Learning the greatest common divisor: explaining transformer predictionscited by 39
  38. 2025PENCIL: Long Thoughts with Short Memorycited by 39

50 most cited of 82 All 82 (JSON)

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Deterministic, Reproducible Inference in Exact Integer Arithmetic, and Verifiable Distributed Inference as Its Consequence
  2. 2025Do Large Language Models Truly Grasp Addition? A Rule-Focused Diagnostic Using Two-Integer Arithmetic
  3. 2026Towards Verifiable Transformers: Solver-Checkable Circuit Explanations
  4. 2026Sable: A Small-Field Sumcheck Argument for Bit-Exact Inference of Large Language Models
  5. 2026From Fuzzy to Exact: The Halo Architecture for Infinite-Depth Reasoning via Rational Arithmetic
  6. 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks
  7. 2026Catch It Where It Happens: Real Time Error Correction During LLM Reasoning
  8. 2025Efficient numeracy in language models through single-token number embeddings