Noise floor in quantized comparisons: measuring the magnitude of engine, restart, batch size, and kernel drift relative to 8-bit and 4-bit effects with two decision modelsThe Noise Floor of a Quantization Comparison: Engine, restart, batch and kernel drift, measured against 8-bit and 4-bit effects in two decision models
On the same 2,400 decisions, the authors decompose the non-quantization noise in the quantization comparison, stating that the 4-bit effect exceeds all non-quantization sources, while accuracy masks most decision changes.
- Quantized models are usually compared with the BF16 original, but such comparisons often change the inference engine, server instance, batch, or even kernel at the same time; how large a difference counts as the cost of quantization itself? The authors argue that accuracy also masks a large number of per-decision changes.
- On the same GB10, run 13 configurations each for Clef-flash (9B) and Clef (27B) (3 engines, 5 weight formats), compute paired flip-rate differences and bootstrap intervals on the same 2,400 public decisions, express each quantization effect as the portion exceeding each non-quantization source, and test against the 5 preregistered predictions.
- Non-quantization sources move 0 to 0.92% of decisions; llama.cpp restarts are fully bit-identical, and vLLM restarts flip at most 22 records. All 4-bit effects for both models exceed all non-quantization sources; on the full set Clef's Q4_K_M net accuracy changes by only -0.02 points, yet 436 decisions got worse (exploratory).
- The authors note: only two models of the same architecture, a single GB10 device, few restart repetitions per build, wide intervals on the 2,400 samples, ref-r2 conflating reruns with batch changes, and the restart mechanism not fully separated (Limitations section).
- Evaluated models
- Clef-flash (9B)Clef (27B)
- Benchmarks
- BANKING77CLINC150ANLI R1/R2/R3ContractNLIMMLUARC-ChallengeBoolQRAGTruthWhen2CallSST-5
- Metrics
- top-1 flip ratemean TVDbit-identical shareaccuracymacro-F1BrierECE
On the same set of 2,400 public decisions, the authors measured decision flips of Cloudflare's two decision models, Clef-flash (9B) and Clef (27B), on NVIDIA GB10 caused by engine switching, restarts, batch size, and kernel selection, and expressed the quantization effect as the additional portion beyond this noise. Non-quantized sources changed 0 to 0.92% of decisions; after llama.cpp restarts, per-record bitwise consistency held; vLLM restarts under BF16, FP8, and NVFP4 flipped 0, 5, and 20 records for Clef-flash respectively, and 4, 0, and 22 records for Clef respectively; under BF16, changing the engine flipped 6 to 16 records, changing the batch size flipped 8 to 15 records, and the Gated DeltaNet kernel automatically selected by transformers caused 10 to 14 flips. Two of five preregistered predictions failed, and the same two still failed when the tests were rerun on the 27B.
Paper analysis
What problem does this paper attempt to solve?
The quantitative comparison mixes four kinds of noise: engine, instance, batch, and kernel. The authors measure them separately and express the quantization effect as the excess portion.
Core question: comparisons of quantized models with the BF16 original usually change more than the weights—how many of the differing decisions are really caused by quantization?
- Setting and motivation: a decision model outputs a probability distribution over fixed options for a fixed question, and the deployed behavior is the top option; when the top option changes, that is one business decision changed. The authors argue operators care about how many decisions a build changed, not just how many it got right.
- Blind spot of accuracy: on 31,275 public questions, the 4-bit GGUF build of the 27B model had a net change of only 6 questions, yet this masked 436 decisions that got worse (exploratory); on 9B, a net change of 114 questions masked 527 that got worse.
- Shortcomings of existing comparisons: typical quantization evaluations run the quantized build on one engine (vLLM for FP8/NVFP4, llama.cpp for GGUF) and the reference on another, attributing all differences to quantization; the authors point out at least four other things changed: engine, server instance, batch, and kernel (transformers 5.x silently selects the Gated DeltaNet kernel based on which packages are imported).
- Core distinction: the authors distinguish two kinds of change throughout—a quantized build answering differently from the BF16 original is "the price paid for memory savings," while two server instances with the same configuration answering differently is "nondeterminism, a defect that needs fixing"; the two are reported separately and never merged.
- Paper outputs: a decomposition protocol based on paired flip-rate differences and bootstrap intervals; measurements of two decision models across 3 engines and 5 weight formats; 5 preregistered predictions and their results (2 of which failed); and an analysis expressing each quantization effect as a multiple of the largest non-quantization source.
What related research exists?
Related work falls into four groups: flip metrics, backend differences, within-server nondeterminism, and classifier serving context; the authors state that no one has measured restart flips of production engines and compared them against quantization effects.
Flips as a metric
- Dutta et al. (2024, "Accuracy is Not All You Need")—points out that compressed models can change many individual answers while accuracy stays level, and advocates reporting flips; this paper adopts flips as the primary metric and asks "how many flips would a comparison show with no quantization at all."
- Wu, Dhiman and Koshiyama (2026)—explains the mechanism of flips: quantization approximately linearly compresses decision margins, and the fitted compression predicts flip rates on 16 models to a median of 1.0 point; the authors state that their finding that "flips concentrate where the reference is uncertain" is exactly this explanation's prediction for decision heads.
Backend differences
- Masoudian et al. (2026)—attributes about 39% of out-of-the-box benchmark differences to the inference backend.
- Pape, Evertz and Schönherr (2026)—finds that the backend alone can move benchmark scores by up to 16.6 points (across 5 engines, including vLLM and llama.cpp). The paper notes that both study generation tasks and neither studies quantization or server restarts.
Nondeterminism within a server
- Thinking Machines Lab (He, 2025)—traces run-to-run differences within a single server mainly to batch variation and releases batch-invariant kernels.
- Yuan et al. (2025)—reports accuracy fluctuations of up to 9% from GPU count, GPU model, and batch size; Li et al. (2026)—finds that concurrency alone changes some answers on a Qwen3.5 decision workload, up to 3.2% between 1 and 64 clients in vLLM. The authors note that their restart measurement is a different quantity: two instances launched with identical flags.
Classifier serving context and kernel/quantization
- Kasa, Kasa and Negi (2026)—trains 180 text classifiers and measures label changes under batch shape, precision, device, and 8-bit quantization against a reproducibility floor; the paper notes they leave production engines (vLLM, SGLang) out of scope and do not study restarts, which is exactly the situation this paper measures.
- Chen (2026)—changes only the INT8 matmul kernel within vLLM: each kernel is bit-reproducible across cold restarts, but the two kernels disagree on any generation sequence. Patodiya (2026)—prefix-cache reuse makes repeated llama.cpp/vLLM runs diverge, and increasingly so with deeper quantization (37.4% for F16 to 82.5% for Q4_K_M); this paper disables prefix caching in vLLM, so this mechanism does not explain this paper's floor.
- Lu and Ni (2026)—closest comparison to this paper: predicts the KL divergence caused by int8/fp8/int4 on 5 generation models and compares against a vLLM noise floor (0.17–0.22 nats); the authors note the difference is that their floor comes from real restarts with identical flags and is measured in decision flips, whereas their floor comes from deliberate changes (reruns reusing the kernel selection are bit-identical).
Positioning: the authors state that after searching (two rounds, 2026-11-03 and 2026-11-10) they found no paper that measures decision flips between restarts of a production serving engine and compares them against quantization effects on the same batch of records; kernel choice as a source of numerical differences has been established by several papers, but the case of "selecting the implementation based on which packages are imported" has not been measured. This paper has no baseline method for comparison; comparisons are made pairwise between configurations on the same batch of records.
How does the paper address this problem?
Run 13 configurations on the same device and the same 2,400 records, using paired flip-rate differences plus bootstrap intervals to measure each kind of noise and the quantization effect separately.
Overall approach: decompose a quantization comparison into four non-quantization sources—"engine, instance, batch, kernel"—plus "quantization" itself; each source is measured separately on the same batch of records, and every quantization effect is paired with BF16 within the same engine and expressed as the portion exceeding the non-quantization sources. The protocol has no separate name; the authors call it the decomposition protocol.
Models, hardware, and configurations
- Models under test: Cloudflare's decision models Clef-flash (9B) and Clef (27B), each with a joint schema head that scores options; both are based on the Qwen3.5 hybrid architecture (full attention every 4th layer, with Gated DeltaNet layers in between).
- Hardware and software: one NVIDIA DGX Spark (GB10, 128 GB unified memory), NGC vLLM 26.09 container (CUDA 13.4 forward-compatibility mode).
- 13 configurations: transformers 5.16.1 native reference (ref, PyTorch GDN fallback, batch 1), bf16-srv / fp8 / nvfp4 on vLLM 0.29.0, gguf-bf16 / q8_0 / q4_k_m on llama.cpp b11671, four -r2 restart instances (new instances with the same flags), ref-r2 (batch 8 rerun), ref-fla (fla 0.5.2 kernel); Clef additionally has exploratory third instances fp8-r3 and nvfp4-r3.
- Quantization details: all quantized builds keep the joint schema head, vision tower, norms, and Gated DeltaNet gate projections in BF16; FP8/NVFP4 use llm-compressor, and calibration data comes only from the task training set, with no overlap with the scoring records.
Task and comparison unit
- Data: 12 public tasks, fixed-seed held-out splits, 31,275 questions in total, covering six categories: intent, inference, knowledge, grounding, agent, and ordinal; each record uses Clef's own question schema and one fixed prompt format.
- Comparison unit: restart repetitions and ref-fla were run only on the first 200 records of each task, so all decomposition comparisons uniformly use these 2,400 records; the authors explicitly state that these 2,400 are the first 200 per task rather than a random sample, and are not interchangeable with the full-set basis (equal-weighting tasks raises the full-set flip rate by a factor of 1.26–1.36).
Statistical methods
- Four metrics: top-1 flip rate, mean total-variation distance (TVD) between option distributions, maximum absolute probability difference, and the proportion of bit-identical records (for llama.cpp, which returns only probabilities, defined as identical probabilities).
- Intervals: percentile 95% intervals from 2,000 paired bootstraps (fixed seed 20261015); all pairings for the same model share one resampling matrix, so differences between pairings are themselves paired; pairings with zero flips use exact Clopper-Pearson intervals instead (upper bound 0.15% on 0/2,400).
Making kernel choice observable
- transformers silently selects the Gated DeltaNet kernel; the authors make the choice explicit: torch mode blocks the fla import to force fallback, fla mode adds a counter to the fla entry point and asserts after warm-up that it actually ran; each result row records the kernel used.
- Six early Clef-flash ref results predate this marking; the authors give three independent pieces of evidence that they ran the fallback (including a torch-mode rerun on ANLI R1 that exactly matches the archived output, with a maximum logit difference of 0.0 on 200 questions).
Preregistration
- H1–H11 were registered on 2026-10-15 (for the entire benchmark), and 5 tests N1–N5 were registered on 2026-10-17 (before analyzing any quantization results); scoring the N series on Clef-flash is a preregistered result, while rerunning it on the 27B is exploratory.
What experiments did the paper conduct?
Decompose four kinds of noise and four quantization effects on 2,400 decisions; 2 of 5 preregistered tests failed; on the full set of 31,275 questions, accuracy masked the vast majority of flips.
Experimental setup
- Models under test: Clef-flash (9B) and Clef (27B), 13 configurations each (see Question 3); Clef additionally has an exploratory third instance.
- Data: the decomposition comparison uses the first 200 records of each of 12 public tasks, 2,400 records in total; the full-set effects use all 31,275 public questions; a further 13,415 private records are reported only as aggregate numbers.
- Metrics: top-1 flip rate (with 95% intervals), bit-identical proportion, TVD; the full set additionally reports accuracy, macro-F1, Brier, and ECE.
- Statistics: 2,000 paired bootstraps; exact Clopper-Pearson intervals for zero flips.
- Evaluation method: decision tasks are judged correct or incorrect against gold answers, with no LLM judging.
- Number of repetitions: each vLLM floor is based on one pair of restart instances per build; only Clef's FP8/NVFP4 have a third instance (exploratory).
Main results
Decomposition table (Table in Section 4.1, 2,400 decisions, each cell is flip count, flip rate [95% CI]):
Swipe horizontally to read the table
Source Pairing Clef-flash (9B) Clef (27B) Restart, llama.cpp BF16 gguf-bf16 vs -r2 0, 0.00% 0, 0.00% Restart, vLLM BF16 bf16-srv vs -r2 0, 0.00% 4, 0.17% Restart, vLLM FP8 fp8 vs -r2 5, 0.21% 0, 0.00% Restart, vLLM NVFP4 nvfp4 vs -r2 20, 0.83% 22, 0.92% Engine, transformers→llama.cpp ref vs gguf-bf16 6, 0.25% 16, 0.67% Engine, transformers→vLLM ref vs bf16-srv 8, 0.33% 13, 0.54% batch 1→8 ref vs ref-r2 8, 0.33% 15, 0.62% GDN kernel, fallback→fla ref vs ref-fla 10, 0.42% 14, 0.58% Q8_0 gguf-bf16 vs q8_0 21, 0.88% 25, 1.04% FP8 bf16-srv vs fp8 51, 2.12% 39, 1.62% Q4_K_M gguf-bf16 vs q4_k_m 139, 5.79% 84, 3.50% NVFP4 bf16-srv vs nvfp4 139, 5.79% 136, 5.67% - The authors state: on both models every 4-bit effect exceeds every non-quantization source and its interval excludes zero (N2 holds); 8-bit excludes zero in 29 of 32 comparisons, and the 3 exceptions are Clef-flash's Q8_0 versus its NVFP4 restart (21 vs 20), Clef's Q8_0 versus its NVFP4 restart (25 vs 22), and versus its llama.cpp engine change (25 vs 16) (exploratory).
- Two differences for the 27B: non-restart non-quantization sources are about twice those of the 9B (13–16 vs 6–10 flips); its 4-bit GGUF build moves less on this unit (84 vs 139).
- Figure 1 shows bars of the flip rate and 95% intervals for each source on the same 2,400 decisions, with a dashed line marking each model's largest non-quantization source; the quantization rows are all within-engine comparisons against BF16.
Preregistered tests (N1–N5)
- N1 fails: the FP8 flip rate versus bf16-srv is not at or below bf16-srv's restart noise—+2.12 pp [+1.54, +2.71] on Clef-flash and +1.46 pp [+0.96, +1.96] on Clef, neither supporting the prediction; the excess over FP8's own restart (not preregistered) is still +1.92 pp.
- N2 holds: all 16 differences of 4-bit versus non-quantization sources for each of the two models exclude zero (also after Bonferroni correction), with the weakest at +4.96 pp and +2.58 pp respectively.
- N3 fails: under BF16, changing engines moves fewer decisions than within-engine 8-bit quantization; on Clef-flash all four difference intervals are below 0, and on Clef three are below 0 with the fourth at [-0.79, 0.00]. The authors state they overestimated the engine and underestimated 8-bit quantization.
- N4 and N5 hold: kernel switching produces nonzero flips and falls within the range of vLLM restart drift (10 vs 0–20; 14 vs 0–22); llama.cpp BF16 is bit-identical after restart on 2,400/2,400 records for both models.
Third-instance probe and full-set effects
- Third instance (exploratory): for Clef's FP8, all three pairwise comparisons among the three instances are 0 flips; for NVFP4 they are 22, 22, and 4 flips. The authors state this rules out a "binary discrete state at startup" explanation (the third instance differs from each of the two old instances on 12.0% of NVFP4 records), but three runs cannot rule out a larger fixed set of states; the difference between 4 and 22 is confounded with two factors, cold compilation and full-set versus subset request streams, and cannot be separated.
- Quantization effects are stable across instances: the three FP8 instances flip 33, 33, and 33 versus ref, and the three NVFP4 instances 137, 139, and 137—restarts change which borderline decisions flip, with counts varying by at most 2.
- Full-set accuracy (31,275 questions): Clef-flash's NVFP4 drops 0.95 points, Q4_K_M drops 0.36 points, FP8 drops 0.20 points; for Clef only NVFP4's 0.65-point drop is measurable, and its Q4_K_M is -0.02 points [-0.20, +0.16].
- Flip direction breakdown (exploratory): Clef's Q4_K_M net change of -6 questions masks 436 that got worse, 430 that got better, and 134 wrong-to-wrong; Clef-flash's Q4_K_M net -114 masks 527 that got worse. The authors state the net change is the least informative of the four numbers.
Other ablations and analyses
- Floor multiples (exploratory): on the 2,400-record unit, Q8_0 is only 1.05/1.14 times the floor, FP8 is 1.8–2.6 times, and 4-bit is 3.8–7 times; on the full set NVFP4 reaches 19.01 times (Clef-flash, versus 75 flips for the engine change).
- Flip locations (H3, preregistered): on Clef-flash, questions with reference top probability <0.7 account for 16.3% but contain 100% of Q8_0's, 98% of FP8's, 90% of Q4_K_M's, and 86% of NVFP4's flips; 4-bit shows no rule of "never exceeding a certain confidence" (NVFP4 flips 11 questions among the 18,125 with ≥90% confidence).
- Equal-memory comparison (exploratory): the 27B's two 4-bit builds (16.6–20.0 GB) and Clef-flash's BF16 (18.2–19.1 GB) are within 15% in size; Q4_K_M is 1.45–1.46 points more accurate than Clef-flash BF16, and NVFP4 is 0.82–0.84 points more accurate; the preregistered H8 (4-bit Clef versus 8-bit Clef-flash at equal memory) cannot be evaluated because no build pair falls within the window.
- Speed and memory (Appendix B): at a single request, within vLLM FP8 is 1.5 times faster than BF16 and NVFP4 is 2.1–2.2 times faster, while within llama.cpp the quantized builds are instead 6–10% slower; at 16 concurrent requests FP8 is slower than BF16, and the authors state they have not found the cause.
- Appendix A exception: Clef-flash's Q4_K_M is +1.26 points [+0.20, +2.31] on ContractNLI, the only task-level gain whose interval excludes zero; the authors state they have no explanation.
What are some points that can be further explored?
The authors list eight limitations including a single model, a single device, and few restart repetitions; experiments cover only two models of the same architecture, one GB10, and 12 public tasks.
Limitations and future directions noted by the authors
- Two models, one family (Limitations): both models share the same architecture (Qwen3_5ForConditionalGeneration) and the same release; the source ordering holds on both models, but the vLLM restart pattern does not, and a third model might change it again.
- One device (Limitations): all floors were measured on one GB10, whose FP8/NVFP4 kernels are still new; the authors read their floor as a property of this device and these engines, not a constant.
- Few restart repetitions (Limitations): each vLLM floor is based on one pair of restarts per build, with a third instance only for Clef's FP8/NVFP4; the authors state that repetition with five or more instances per build is the next measurement.
- Interval width (Limitations): 2,400 records give an exact upper bound of 0.15% for zero-flip pairs, enough to separate every 4-bit effect from the floor but not enough to rank smaller non-quantization sources, nor on 27B to separate the llama.cpp engine change from Q8_0.
- Batching within vLLM runs (Limitations): quality runs used 16 in-flight requests, so the vLLM restart comparison includes both batch-composition differences and instance differences; the authors report the restart drift a real deployment would see, not isolated instance drift.
- Restart mechanism unresolved (Limitations): a third-instance probe ruled out a two-state startup explanation and made FlashInfer FP4 kernel tuning an unlikely cause, but could not separate cold graph compilation from full-set/subset request streams; the authors give the needed experiment: a cold-cache instance running the subset and a warm-cache instance running the full set.
- Confounded rerun (Limitations): ref-r2 combines the rerun with a batch-size change; the attribution to batch size relies on bit-level reproduction at batch 1 on Clef-flash and was not checked on 27B.
- Preregistered thresholds (Limitations): some decision rules involve subjective judgment (e.g., N4's "within range"); H2's rule text did not say how to combine the two 4-bit builds and the two models, and the authors added a reading on 2026-10-23 after seeing the 27B results, with the date noted.
Experimental coverage
- The models tested are Clef-flash (9B) and Clef (27B), 2 in total, both from the same Cloudflare release and the same Qwen3.5 hybrid architecture.
- Hardware is one NVIDIA DGX Spark (GB10); engines are transformers 5.16.1, vLLM 0.29.0, and llama.cpp b11671, 3 in total; weight formats are BF16, FP8, NVFP4, Q8_0, and Q4_K_M, 5 in total.
- The decomposition comparison is uniformly on the first 200 records per task, 2,400 records in total; full-set effects are on 31,275 public questions; private data (13,415 records) are reported only as aggregates, and the paper states others cannot reproduce them.
- Each vLLM restart floor is based on one pair of instances per build, with a third instance only for Clef's FP8/NVFP4 (2026-11-03, exploratory); llama.cpp restarts were tested only under BF16.
- The paper reports no statistical tests beyond repetition counts for latency measurements; the latency experiments in Appendix B use 4,800 sampled records and 20 warm-ups per configuration, and the authors note another process occupied GPU memory (mostly 4.7 GB) not recorded for the native reference.
Summarize the main content of the paper
Decompose the quantization comparison into four kinds of non-quantization noise measured one by one: the 4-bit effect exceeds all noise, most 8-bit effects exceed it, and accuracy masks the vast majority of decision changes.
A measurement paper on quantization evaluation methodology: when comparing quantized models with the BF16 original, the engine, server instance, batch, and kernel choice often change at the same time; the authors measure how many decisions each of these non-quantization sources changes and express the quantization effect as the portion exceeding them.
- Approach: on one GB10, run 13 configurations each for Cloudflare's decision models Clef-flash (9B) and Clef (27B) (transformers/vLLM/llama.cpp × BF16/FP8/NVFP4/Q8_0/Q4_K_M), and compute paired flip-rate differences and bootstrap intervals on the same 2,400 public decisions; 5 predictions were preregistered on 2026-10-17.
- Non-quantization noise: moves 0 to 0.92% of decisions. llama.cpp restarts are bit-identical on 2,400/2,400 records for both models; vLLM restarts flip 0/5/20 (Clef-flash) and 4/0/22 (Clef) under BF16/FP8/NVFP4 respectively, with the two models ordered oppositely; changing engines gives 6–16 flips, changing batch 8–15, and silent kernel switching 10–14.
- Quantization effects: within the same engine, Q8_0 is 0.88%/1.04%, FP8 is 2.12%/1.62%, Q4_K_M is 5.79%/3.50%, and NVFP4 is 5.79%/5.67% (Clef-flash/Clef). Every 4-bit effect exceeds all non-quantization sources; 8-bit exceeds in 29 of 32 comparisons.
- Preregistered results: N1 (FP8 falls within restart noise) and N3 (changing engines moves at least as many as 8-bit quantization) fail, and rerunning on the 27B also fails; N2, N4, and N5 hold.
- Accuracy's blind spot: on the full set of 31,275 questions, Clef's Q4_K_M net accuracy change is -0.02 points [-0.20, +0.16], yet 436 decisions got worse and 430 got better (exploratory); Clef-flash's FP8 drops 0.20 points while changing 374 decisions.
- The authors' conclusions: quantization comparisons should be done within the same engine, each quantized build should be repeated across restarts with the largest pair reported, the kernel actually run should be recorded, flips should be broken down by direction and reported alongside accuracy, and the distance from the floor should be reported as a multiple; these checks require only a few thousand extra inferences per configuration. The authors emphasize that nondeterminism is a defect to be fixed and quantization is a cost to be traded off, and the two cannot be reported together.