2B training at 1.19x overhead: Witnesses lets trainers prove exactly what data they used

Training Witnesses: Trusting the Training without Trusting the Trainer

Houjun Liu, Pratyusha Sharma

cs.LG, cs.CR

2026-09-28

Witnesses attests LLM training with per-step parameter sketches plus 1% random replay challenges: 1.19x overhead at 2B scale, near-certain detection of poisoning-level data attacks.

What problem this solves

ICLR received 60,000 submissions this year; nobody is reproducing more than a sliver of them. A paper claims a model was trained on dataset D and reached score S, and the reader can either trust it or spend hundreds of thousands of dollars retraining. That burden has sat with the reader, and pretraining made it hopeless. The three existing technical routes all fail: zkSNARK-based proofs of training (zkDL) need close to a second per update on a 10M-parameter model; statistical provenance (Choi et al., 2023) reads memorization traces, so it can show "X was used" but misses undeclared additions; probabilistic audits (Madrigal-Cianci & Chordia, 2026) require frequent checkpointing and replay, expensive for both trainer and verifier. Most are also welded to specific training topologies. This paper flips the burden of proof: the trainer generates a cheap cryptographic certificate during training, any third party can check it at low cost, and the certificate commits only a hash of the training code, so the training technique itself stays private.

Method

Witnesss, the system, writes a record on every training step to an append-only, per-record-signed tape. Each record commits three things: a sketch of the parameters before the update, a sketch after, and a hash of the data batch. Optimizer state is bound with a separate multi-round hash so adjacent records stay continuous and cannot be swapped mid-run.

Three design choices carry the protocol:

Engineering adds selective optimizer-state offloading (ZeRO-Offload spirit) overlapped with communication, plus a pipelined Python driver and Rust worker. The root of trust is a white-box-cryptographic obfuscated VM that measures the rest of the system and derives keys.

Results

Performance is best in communication-bound sharded settings, where copies hide under communication:

SettingMetricUncheckedWitnessesOverhead
FSDP/TP-2, 2.02Bper-step time443.0 ms526.4 ms1.19x
FSDP/TP-2, 2.02BHBM per GPU12.45 GiB13.80 GiB1.11x
DDP, 1.03Bper-step time110.5 ms161.9 ms1.47x
DDP, 1.03BHBM per GPU11.67 GiB12.99 GiB1.11x

Detection was evaluated adversarially at 100M parameters with the check rate fixed at 1%:

Verification is streamable: the certificate costs roughly twenty bytes per token, verification runs at hundreds of microseconds per token, and the verifier's resident memory stays constant around 200 MiB regardless of certificate length.

Why it matters

Pretraining baselines have lived in an each-paper-its-own-world regime, with data, order, and undeclared interventions all opaque. This work offers an affordable credential: the trainer pays 1.19x and any third party can query sample inclusion and exclusion without retraining. For open-weight releases it is a way to prove no stolen data; for compliance (test-set contamination, copyrighted corpora, privacy exclusions) it is the first mechanism answering both inclusion and exclusion queries. A leaderboard (dvbench.org) packages the credential into a public, verifiable submission format. The cold water: this is infrastructure whose value scales with adoption, 2B is two to three orders of magnitude short of frontier runs, and "immediately applicable at academic and open-weight scales" is the authors' own boundary.

Limitations

Author-acknowledged: only the training process is covered; evaluation procedures are attested by serialization but the leaderboard explicitly does not verify the scoring code, so leaderboards can still be gamed on the evaluation side. No claims are made about the initial state θ0 (to keep fine-tuning support), with the assumption that anything smuggled there is visible by inspection. Soundness is probabilistic, with the nonce and the 1% check rate as the grind barrier; the authors estimate an attacker needs on average 100 full training runs to luck into one passing sample.

Open questions: the root of trust is a white-box obfuscated VM, and "cannot be reverse-engineered or forged" is an engineering assumption, not a provable property. White-box cryptography has a long record of published breaks, and only the zkVM route carries the formal guarantees; the paper picks white-box for speed. The 1.47x DDP overhead shows 1.19x is a sharded-setting optimum, not a universal bound. The evaluation covers dense GPT models under DDP/FSDP/TP at 100M-2B; messier real pipelines (RLHF, multi-stage training) are untouched.

Terms

Source

What people are saying

Related papers

All paper explainers