arXiv 2611.04434 · cs.LG · 2026-11-03
Sketchpad: certified exact arithmetic with a small vision-language model
Mostafa 'Neo' Mohsenvand
机构待核实
一句话要点
Sketchpad 利用小规模视觉-语言模型在外部工作记忆中执行精确算术,通过形式化证明其对任意长度输入的精确性,并在实际测试中验证了加减乘除、开方和最大公约数等运算的正确性。
Sketchpad proves exact arithmetic for arbitrary input lengths using a small vision-language model with certified correctness via formal verification and finite testing.
要点
- 传统语言模型在长算术问题上准确率依赖样本估计,缺乏对未见输入的保证;工具使用虽精确但脱离网络结构,Sketchpad 提出通过外部工作记忆实现计算过程的可验证精确性。
- Sketchpad 基于 Qwen3.5-0.8B 模型配合低秩适配器,在渲染的算术工作表上逐步执行运算,每轮仅读取三格视图并输出一位数字、进位或借位及下一步操作,计算过程被严格结构化。
- 通过 Lean 证明,模型在所有输入长度上的精确性等价于其在有限视图集合上的正确性,且该保证可容忍数值扰动,并支持运算组合,2446 个视图在部署设备上全部通过验证。
- 模型在浏览器端成功完成预注册的 200 题算术问题及 1000 位加减、20 位乘法等复杂计算,性能优于 GPT-6.1 Sol;符号化运行时可扩展至多项式求解与因式分解,适配器在非使用状态可恢复基模型。
English overview
Sketchpad introduces a certified exact arithmetic framework using a small vision-language model that operates on a rendered working sheet with bounded memory views. Each step reads a fixed three-cell view and produces one operation. Formal verification in Lean proves correctness for arbitrary input lengths under finite testing, with tolerance to numerical perturbations. The system performs exact long arithmetic and extends to symbolic computation, while maintaining exact recovery of the base model when idle.
只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。
阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库 项目页
主题与学科
相关论文
数据说明
元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-03。
要点由本站根据摘要自写,不转载摘要原文,请阅读原文。