Metraipolis › archive › dc_887752e7e519

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

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.04434
License (as archived)
CC0-1.0
Archived
2026-11-04T18:39:21.935Z
SHA-256 of the archived text
b53cbd02d2390dd22a84b6f3a531e516893349c4a22c13c63b816ea7c75dbd02
Stable URL of this page
https://metraipolis.com/documento/dc_887752e7e519

How to cite

Sketchpad: certified exact arithmetic with a small vision-language model — arXiv:2611.04434 — arXiv (en), https://arxiv.org/abs/2611.04434 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_887752e7e519 (Metraipolis archive dc_887752e7e519, sha256 b53cbd02d2390dd22a84b6f3a531e516893349c4a22c13c63b816ea7c75dbd02)
BibTeX
@misc{dc887752e7e519,
  title = {Sketchpad: certified exact arithmetic with a small vision-language model — arXiv:2611.04434},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.04434},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_887752e7e519; sha256 b53cbd02d2390dd22a84b6f3a531e516893349c4a22c13c63b816ea7c75dbd02},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.04434. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL); Logic in Computer Science (cs.LO).
Pagina del lavoro: https://arxiv.org/abs/2611.04434 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-04T18:32:52.193Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).