Chiosa
AI Security & Safety

Signed model weights do not make quantized files reproducible

What You Sign Is Not What You Run: The Verifiability Gap in Quantized LLM Supply Chains · arXiv:2610.19498

3 min
Updated

In plain words

People often download model files that have been compressed into a lower-bit form. A signature can confirm who released the original weights, but rebuilding the downloaded file also depends on the recipe, calibration data, and computer settings.

The authors checked 198 popular repositories and found that none recorded enough inputs for an independent byte-for-byte rebuild. In specific rebuild trials, supplying missing recipe and build details let many files match exactly. Their statistical checks could still miss a targeted change, so exact rebuilding has limits too.

The research

If a model file is signed, can an independent checker tell whether the quantized file people actually run faithfully came from those signed weights? The conversion also depends on a recipe, calibration data, and computer build, so the signature alone may not identify which output to accept.

The authors measure whether disclosed inputs permit exact GGUF rebuilds and propose a signed manifest that commits to the recipe, calibration data, and build environment.

The authors sampled popular GGUF repositories to ask whether signed full-precision weights let an independent checker verify the quantized file people run.

Because quantization also depends on a recipe, calibration input, and build environment, they scored whether one representative file per repository could be rebuilt byte for byte from recorded inputs.

None of 198 files met that check, and the audited records lacked an environment coordinate. In rebuild trials, supplying missing recipe and build details yielded exact matches for many tested files.

This supports recording the transformation inputs, while the targeted-edit results show why statistical checks cannot guarantee tamper detection.

The measurement covers a popularity sample, and the rebuild and detector experiments cover selected models, quantization types, CPU builds, and edits.

Exact re-derivation checks the quantization step when its inputs are committed and honest rebuilds produce a unique output; it does not establish that the supplied calibration data or source weights are benign.

What the evidence shows

  • What does a signature cover?

    This measurement and characterization study asks whether an independent party can reproduce deployed quantized GGUF files byte for byte from disclosed inputs. Signing full-precision weights authenticates those weights, but the file users run also depends on the quantization recipe, calibration input, non-weight components, and execution environment.

    The question is whether the disclosed inputs identify the particular output a verifier should accept.

  • A disclosure gap in the sample

    The authors examined one representative file from each of 198 GGUF-bearing repositories among the 200 most-downloaded repositories returned by the Hugging Face API in August 2026. Their recorded-inputs check required the source weights, quantizer and version, calibration input when used, and execution environment.

    None of the 198 files could be re-derived bit for bit from recorded inputs, and none of the audited metadata or model cards recorded an environment coordinate. This measures disclosure in that frozen sample.

  • Rebuilds identify missing details

    Rebuild trials in four Qwen repositories showed that a model card's named release, published calibration input, and stock preset were not enough to reproduce any tested Q4_K_M file. Supplying the deployed per-tensor recipe and floating-point-contraction setting produced exact matches for seven of eight target–quant files on x86 and five of eight on arm64.

    A separate IBM Granite example also reached exact tensor matches after its per-tensor recipe was supplied, showing the recipe issue in another family.

  • The build affects honest outputs

    A comparison of two CPU architecture and compiler pairs found that default builds gave different bytes for three of four quantization types; Q8_0 matched as a control without the scale search used by the other types. Disabling floating-point contraction made all four match across those tested pairs.

    A single quality comparison found no difference distinguishable from zero for one model and task, but the result does not cover other models or tasks.

  • Statistical detection is bounded

    The study also tested whether statistics could separate benign build variation from uniformly placed edits. The detection floor rose as the verifier allowed for more environment variation, reaching a model-level tolerance of about 0.2% of weights under the paper's five-pair calibration.

    A targeted embedding edit evaded the statistics and changed the next-word choice on two of three probes. The authors therefore recommend exact re-derivation when honest output is unique across verifier environments, while treating statistical detection as a limited characterization.

Deep

Next paperOutput scores can miss changes to an AI agent’s runtime stack