Sable:用于大语言模型位精确推理的小域Sumcheck论证

·

研究论文 · 2026/11/11

Sable 是一个论证系统与单 GPU 证明器,用于证明一个已承诺的整数量化 Transformer 从给定提示逐位生成了给定的 token 序列。Sable 固定了一个无浮点步骤的整数函数 F_O,其中每个舍入、归一化、softmax 和采样决策都由其输入决定,并用一个约束系统证明其关系在 31 位 KoalaBear 素数下可证明地永不回绕。证明将 zerocheck 和 LogUp-GKR 查找批处理为每个域一次 sumcheck,并将每个见证张量和权重提交到一个由 Reed-Solomon 码、BLAKE3 Merkle 树和混合长度 BaseFold 打开构建的多线性承诺中。证明器在单个 GPU 上逐层流式处理模型。在单个 NVIDIA RTX PRO 6000 Blackwell GPU 上,Sable 为 4,096 个 token 在 92.5 秒内证明 Qwen2.5-32B 的全部 64 层,为 16,384 个 token 在 398 秒内证明,并覆盖 Qwen3-32B 和混合专家模型 Qwen3-30B-A3B(4,096 个 token 分别用时 121.8 和 84.7 秒)。证明成本是服务时间的 41 到 50 倍,按公共 GPU 价格计算,每 4,096-token 请求成本为 6.4 美分,每参数和每 token 的时间比 zkLLM 少 40 到 64 倍。在 WikiText-2 上,F_O 的贪婪 token 在 86.3% 的位置与 BF16 模型匹配;在 Qwen3 上,F_O 在 MMLU 上落后 BF16 1.6 个百分点,在 GSM8K 上落后 1.7 个百分点。一个带有编译核心的验证器在一个 CPU 核心上检查证明需 19 到 56 秒。在随机预言机模型中,交互式证明的逐轮健全性误差为 2^-103。该证明不是零知识的,因此系统面向开放权重模型。代码:https://github.com/moonmath-ai/Sable

Sable 首次实现了大语言模型逐位精确推理的密码学证明,在单 GPU 上高效生成证明,成本可控,且与 BF16 模型输出高度一致,为开放权重模型的推理透明性和可验证性提供了实用方案。

We present Sable, an argument system and single-GPU prover for the statement that a committed, integer-quantized transformer produced a given token sequence from a given prompt, bit for bit. Sable fixes an integer function F_O with no floating-point step, in which every rounding, normalization, softmax and sampling decision is determined by its inputs, and proves it with a constraint system whose relations provably never wrap modulo the 31-bit KoalaBear prime. The proof batches zerochecks and LogUp-GKR lookups into one sumcheck per domain, and commits to every witness tensor and weight in one multilinear commitment built from Reed-Solomon codes, BLAKE3 Merkle trees and a mixed-length BaseFold opening. The prover streams the model layer by layer on one GPU. On one NVIDIA RTX PRO 6000 Blackwell GPU, Sable proves all 64 layers of Qwen2.5-32B in 92.5 s for 4,096 tokens and 398 s for 16,384 tokens, and covers Qwen3-32B and the mixture-of-experts Qwen3-30B-A3B (4,096 tokens in 121.8 and 84.7 s). A proof costs 41 to 50 times the serving time, or 6.4 cents per 4,096-token request at public GPU prices, and 40 to 64 times less time per parameter and token than zkLLM. On WikiText-2, F_O's greedy token matches the BF16 model's at 86.3% of positions; on Qwen3, F_O is within 1.6 points of BF16 on MMLU and 1.7 points on GSM8K. A verifier with a compiled core checks a proof on one CPU core in 19 to 56 s. In the random-oracle model, the interactive proof has round-by-round soundness error 2^-103. The proof is not zero-knowledge, so the system targets open-weight models. Code: https://github.com/moonmath-ai/Sable

阅读原文

参与讨论