# Sable: A Small-Field Sumcheck Argument for Bit-Exact Inference of Large Language Models

AI.info

> Sable proves a 32B quantized transformer's token sequence bit-exactly on one GPU in minutes, making verifiable LLM inference practical rather than theoretical.

**arXiv**: 2611.14083 · Preprint · not peer-reviewed

**Published**: 2026-11-10

**Authors**: Tomer Solberg

## In plain words

A client that sends a prompt to a hosted language model gets back text and nothing else: it cannot verify which model ran, whether the weights were quantized more aggressively than advertised, whether the answer was truncated, or whether sampling used the randomness it was promised.

## Key results

- **Coverage of Qwen3 variants.** Qwen3-32B (which adds QK-norm) proves 4,096 tokens in 121.8 s and the mixture-of-experts Qwen3-30B-A3B in 84.7 s.
- **Cost relative to prior work.** 40 to 64 times less time per parameter and token than zkLLM.

## AI summary

## Overview

**Research area:** Cryptography (cs.CR) — verifiable computation, interactive proof systems, and zero-knowledge-adjacent arguments applied to machine learning inference.

**Technical level:** Advanced. The paper assumes familiarity with sumcheck, GKR, LogUp lookup arguments, Reed–Solomon codes, BaseFold, Fiat–Shamir, and quantized transformer internals.

**Scope:** Sable is an argument system and single-GPU prover that proves, bit for bit, that a committed integer-quantized transformer produced a given token sequence from a given prompt, together with measurements of prover cost, verifier cost, and the accuracy lost by fixing an exact integer function.

## What This Paper Is About

A client that sends a prompt to a hosted language model gets back text and nothing else: it cannot verify which model ran, whether the weights were quantized more aggressively than advertised, whether the answer was truncated, or whether sampling used the randomness it was promised. Sable answers this by having the server attach a cryptographic proof that the output equals a precisely defined integer function `F_O` of the committed weights, the prompt, and a seed fixed by a client nonce. The hard part is that the function must be exact, the arithmetic must never silently wrap modulo a small prime, and the proof must scale to production-size models whose traces do not fit in memory.

## Key Contributions

1. **An exact integer transformer, `F_O`.** A bit-exact integer definition of a Qwen2-style decoder-only transformer (24-bit activations, 8-bit matrix inputs with power-of-two scales placed off the reduction axis, fused rounding in attention and the MLP, table-based non-linearities, and sampling from a client-nonce-derived seed), extended in Section 5.6 to Qwen3's QK-norm and mixture-of-experts layers, with a deterministic program mapping a BF16 checkpoint to `F_O`.
2. **A wrap-free constraint system over a 31-bit field.** Every gadget carries integer bounds under which the relation over `F_p` is equivalent to the relation over the integers (Lemma 6.1) and has exactly one satisfying output (Lemma 6.2); range and table checks go through one tagged table of `2^26` rows. The field is KoalaBear, `p = 2^31 − 2^24 + 1`.
3. **A streamed proof assembled from three primitives.** A *domain* proves the zerocheck and the leaf layer of the LogUp-GKR trees of a set of columns in one sumcheck (Lemma 7.1); lookups are split into chunks of at most `2^30` (since LogUp needs fewer than `p` lookups for soundness in a prime field) and one GKR over the table proves all chunks at once (Lemma 7.2); claims flow backward from output to embedding so the prover makes two passes over the model and never holds more than one layer's witness, all under a single multilinear commitment (rate-1/2 Reed–Solomon, BLAKE3 Merkle trees of mixed height, mixed-length BaseFold over the degree-8 extension).
4. **A single-GPU prover and a cheaper verifier.** Kernels are generated per constraint program, the Fiat–Shamir transcript runs on the GPU (one warp per BLAKE3 compression) so the prove pass has no host round trips, and one middle layer's prove pass is captured as a CUDA graph and replayed. On the verifier side, closed-form public columns, committed fixed tables, unhashed final openings, and shared columns and Merkle paths cut hashing by `4.2x` and the 4,096-token proof from `360` to `134.8` MiB. A first recursion component is also given: BLAKE3 compressions as rows of a domain with a LogUp memory, costing `2.8 μs` per compression in constraint proof.

## Main Findings

- **Prover timings on one NVIDIA RTX PRO 6000 Blackwell GPU:** all 64 layers of Qwen2.5-32B in **92.5 s** for one sequence of 4,096 tokens, **253 s** for four such sequences, and **398 s** for one sequence of 16,384 tokens.
- **Coverage of Qwen3 variants:** Qwen3-32B (which adds QK-norm) proves 4,096 tokens in **121.8 s** and the mixture-of-experts Qwen3-30B-A3B in **84.7 s**.
- **Cost relative to inference:** a proof takes **41 to 50 times** as long as computing the same tokens in the authors' serving engine for `F_O`, or **6.4 cents** for a 4,096-token request at public GPU prices.
- **Cost relative to prior work:** **40 to 64 times less time per parameter and token than zkLLM**.
- **The accuracy price of exactness:** on WikiText-2, `F_O`'s greedy token matches the BF16 model's at **86.3%** of positions and its perplexity is **8.3%** higher; about **a third** of this gap traces to the 8-bit queries and keys.
- **A free accuracy improvement:** choosing, per key-value group, how the score exponent is split between queries and keys costs nothing in the proof and removes **53%** of the perplexity gap of Qwen3-30B-A3B and **23%** of that of Qwen3-32B; on both models `F_O` is within **1.6 points** of BF16 on MMLU and **1.7 points** on GSM8K.
- **Verifier work:** reduced from **17.8** to **4.2 million** BLAKE3 compressions for a 4,096-token proof of the full model, and a verifier with a compiled core checks all three models' proofs on one CPU core in **19 to 56 s**.
- **Soundness:** in the random-oracle model and with proven proximity bounds, round-by-round soundness error of **2^-103**, counting a 30-bit proof of work on the queries.
- **Scale of the trace:** one 16,384-token sequence through Qwen2.5-32B has about **6 × 10^11** committed field elements and **7 × 10^11** lookups, which fits neither GPU nor host memory and exceeds `p`, motivating streaming and lookup chunking.
- **Tuple compression in LogUp (Lemma 8.1):** compressing a tuple of arity `k` with the powers of one challenge costs `log2 k` bits of soundness, so Sable draws one challenge per tuple coordinate.
- **Limits stated openly:** the proof is not zero-knowledge and is 106 to 477 MiB across the three models; because every proof reopens the committed weights, about **2 × 10^4** proofs (the paper computes roughly `1.9 × 10^4`) would suffice to recover a closed weight set by linear algebra.

## Methodology in Plain English

The authors first pin down the computation: instead of proving a floating-point forward pass (which is not a function of its inputs, since results shift with kernel, batch shape and reduction order), they write an integer-only transformer in which every rounding, normalization, softmax and sampling decision is determined by its inputs. They then build a constraint system for that function over a 31-bit prime field, which is fast to compute in but dangerously small — a dot product of `2^15` products of 8-bit integers reaches `2^29`, and a softmax denominator over `2^20` keys reaches `2^30`, against `p ≈ 2^31`. So each gadget is shipped with explicit integer bounds proving its field relation equals the integer relation; otherwise a cheating prover could exploit wraparound.

To make the proof scale, they stream: the prover walks the model twice, layer by layer, recomputing the witness instead of storing it, and never holds more than one layer at a time. Checks are batched aggressively — zerochecks and the last GKR layer of the lookups are merged into a single sumcheck over one "domain", lookups are partitioned into chunks of at most `2^30` so the LogUp multiset argument stays sound, and all tensors and weights sit in one multilinear commitment so Merkle paths and openings are shared. Implementation work carries much of the performance: sumcheck round kernels are generated per constraint program, base-field tables handle the first rounds, and the Fiat–Shamir transcript runs entirely on the GPU using a custom sequential BLAKE3 mode (one compression per challenge instead of one per tree level), which also keeps the eventual recursive verifier cheaper. Finally, they measure the prover on real 32B-class models and quantify what exactness costs in accuracy against BF16 and against deployed 8-bit schemes.

## Why This Matters

**Impact on research.** Sable shows that proofs of inference can move from toy or mid-size networks to full production-scale 32B models with 16,384-token contexts, while working over a 31-bit field rather than the large fields used by zkLLM and zkGPT. Its wrap-free gadget methodology, the merging of zerochecks with GKR lookup layers, the LogUp chunking requirement, and the arity-`k` tuple-compression bound are reusable results. The paper also treats accuracy of the integer function as a first-class, reportable quantity — a framing that exact-inference proof systems had largely avoided.

**Real-world applications:**

- Auditors verifying that a provider served the model it claimed, with the promised quantization, stopping rule and sampling, without holding the weights themselves.
- Regulated deployments (finance, healthcare, legal) where a record of exactly which computation produced a response must be checkable after the fact by a third party.
- Benchmark and evaluation integrity: proving that a reported score came from the stated model and prompt set rather than a cherry-picked or altered configuration.
- Open-weight model distribution, where anyone can recompute the weight commitment from the checkpoint and check proofs against it.

**Industry relevance.** The measured overhead of 41 to 50 times the serving cost, and 6.4 cents per 4,096-token request at public GPU prices, gives providers a concrete cost basis for offering verifiable inference as a premium tier. The system runs on a single commodity GPU with at most 188 GB (175 GiB) of host memory, which is within reach of existing serving infrastructure rather than requiring a specialized cluster.

## Future Directions

- **Zero-knowledge layers and recursion.** The system as built is an auditor's proof; a recursive layer that proves the verifier, wrapped in zero-knowledge outer layers, is the stated intended form for every client, and only the first component (the BLAKE3 circuit) exists so far.
- **Hiding weight commitments.** Closed-weight deployment requires a commitment that does not reopen the weights on every proof; the paper notes a one-time range proof per model release would also be needed to replace the in-range weight assumption.
- **Lower cost per active parameter for mixture-of-experts models.** The comparison with FlashProve (Llama 4 Maverick, 400.7B total parameters, 16.15B active, 18.8 MB proofs) shows 6 to 11 times lower time per active parameter and token than Sable's Qwen3-30B-A3B proofs, marking larger MoE proofs at lower cost as open work.
- **Machine-checked protocol guarantees.** FlashProve proves soundness, completeness and zero knowledge in Lean; Sable's analysis is on paper, so a formalized version is a natural next step.
- **Smaller proofs and shorter verification.** Proofs of 106 to 477 MiB and 19 to 56 s of single-core verification are the binding constraints for client-side use; the paper's verifier-cost reductions suggest further work in that direction.

## Target Audience

Cryptography and proof-systems researchers working on verifiable computation and succinct arguments; machine-learning systems engineers concerned with quantization, determinism and reproducible inference; and auditors, compliance engineers and infrastructure architects evaluating whether cryptographic attestation of model outputs is affordable at production scale. Readers need comfort with sumcheck-style protocols and transformer internals; the accuracy and cost sections are accessible to a quantitatively literate ML audience on their own.

## Authors’ abstract

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…

[The full abstract on arXiv](https://arxiv.org/abs/2611.14083)

[Read the original paper](https://arxiv.org/abs/2611.14083)

---

Canonical: https://ai.info/paper/sable-a-small-field-sumcheck-argument-for-bit-exact-inference-of-large-2611.14083
