AI Papers: A Deep Dive · paperdive.ai
Certifying a Neural Network's Arithmetic by Taking Away Its Memory Source: https://arxiv.org/abs/2611.04434 Paper was published on November 03, 2026 This episode was AI-generated on November 5, 2026. The script was written by an AI language model and the host voices were synthesized by Eleven Labs. The producer is not affiliated with Anthropic or Eleven Labs. A frontier model got 217 of 220 arithmetic problems right with no calculator — and that's still just an accuracy score. This paper takes a sub-billion-parameter vision-language model, strips its access to its own history, and checks every single situation it can ever encounter: 2,446 cases, all passing, in three and a half minutes on a laptop. The catch is where the guarantee stops — and the episode is just as interested in that boundary as in the proof. Key Takeaways: - Why removing the model's access to its own chain-of-thought is what makes an exhaustive correctness check possible at all - How 2,446 operation-and-image combinations can cover calculations of arbitrary length — including thousand-digit sums - The counterexample showing why no finite test suite can certify a decoder that reads a growing history - Where the certificate stops: runtime correctness and division implementation are assumptions in the Lean proof, and the batching bound is sampled, not exhaustive - That the tightest numerical safety margin in the whole system belongs to five plus six with no carry - The honest bad news: the uncertified dialogue adapter picks the wrong computation ~7% of the time and scores about six points below the base model on 1,069 fresh GSM8K problems 00:00 - Usually right versus actually guaranteed: Lauren and Eric set up the gap between a strong accuracy score and a guarantee, and introduce Sketchpad's counterintuitive starting move: taking memory away from the model. 01:13 - A clerk looking through a cardboard mask: How the system works: a frozen Qwen3.5-0.8B with a ~10-million-parameter adapter sees only an operation label and a three-cell image, while the runtime holds the memory on the page. 02:41 - How 2,446 cases cover a thousand digits: Why an exhaustive table of allowed views means the thousandth column is never a new kind of problem, and what that argument assumes about the runtime. 03:39 - Why history defeats any finite test: The author's counterexample: a decoder family that can pass any finite set of valid contexts with a clear margin and still fail on a longer run — and what that does and doesn't prove. 04:27 - Division, margins, and a laptop GPU: Scaling the divisor to make estimation fit a finite table, then running all 2,446 checks in a browser on an Apple M4 at sixteen-bit precision — including the logit margins. 06:23 - What nobody actually proved here: The reservations: batching effects are sampled rather than bounded, and runtime window movement and the division implementation are assumptions in the Lean proof, not verified code. 07:52 - 220 of 220, and what that's...
0:00LaurenIn this paper's arithmetic test, with no tools allowed, GPT-6.1 Sol, running with high reasoning, answered ... 217 of 220 problems correctly. Its three mistakes were on very long sums, and they weren't cut off: each was a finished answer, comfortably within the output budget, in the same format as the correct ones. So what would turn "usually right" into a guarantee, rather than just another accuracy score?
0:26EricI'd normally reach for a calculator. But this paper asks a different question: can the neural network itself be certified, instead of handing the arithmetic to another program?
0:38LaurenThat's the bet here, and this is AI Papers: A Deep Dive. Today we're looking at Sketchpad, a preprint by Mostafa 'Neo' Mohsenvand at the MIT Media Lab. His answer starts by taking memory away from the model.
0:52EricThat sounds counterproductive until you think about what carries between steps. Ordinarily, a language model generates tokens, which are pieces of text, and later steps can read what it's already written. Chain-of-thought uses that deliberately: the model writes intermediate reasoning and builds on it. Here, that growing history has to go.
1:13LaurenThe arithmetic model starts each worksheet step fresh. It's built on Qwen3.5-0.8B, a vision-language model that reads images as well as text, and it has just under a billion parameters. The author trains a small adapter, a set of extra learned adjustments, while leaving the original parameters frozen.
1:33EricSo it can learn how to do a step, but it can't remember the previous step. What does it get to read instead?
1:40LaurenInstead of its own history, each time it's called, it gets an operation label and a tiny image of three worksheet cells. Each cell holds a digit or a blank, drawn from a fixed set of rendered symbols. The model doesn't see the rest of the page, the transcript of earlier steps, or any cached internal state from those steps.
2:00EricMy mental picture is a clerk looking through a three-cell slot in a cardboard mask. To add one column, the clerk only needs the two digits and the incoming carry. The rest of the page could be ten digits long or a thousand.
2:15LaurenThe runtime writes the model's outputs on the sheet and slides the window along. The model supplies the result digits, the carry or borrow information, and, where needed, the next operation. The runtime organizes the calculation, but it doesn't compute any result digits itself.
2:33EricSo the system still has memory. It just lives on the page, and the model can only read a tightly controlled piece of it.
2:41LaurenAnd that makes the check finite. Across nine operations, there are ... 2,446 allowed combinations of operation and image. If the model gets EVERY one right, then each step matches the reference algorithm. And the same argument holds for the next step, and the next, however long the calculation runs, as long as the runtime keeps presenting allowed views and carries out the intended procedure.
3:05EricOh, that's clever. The thousandth column isn't an unseen kind of problem. It's another visit to a case you've already checked. You aren't predicting that the network will generalize. You're preventing the long calculation from asking it anything NEW.
3:22LaurenThe adapter has about ten million trained parameters, and training aims at the whole table, going back again and again to weak cases. So this isn't a conventional test on held-out examples. The goal is to check the model's complete repertoire at this restricted interface.
3:39EricThe restriction is doing more than making the model's job easier. If I let it read its earlier work as well, the same three cells could lead to a different answer.
3:49LaurenRight, and the author constructs a counterexample. It's a decoder with a correct lookup, plus an attention component that favors a wrong answer more and more as the history grows. Give it any finite set of valid test contexts, and some member of this family can pass every one, with a clear lead for the correct answer, and then fail on a longer run.