WorksComputer Science
Exact on Paper: Which LLM Serving Shortcuts Flip Graded Answers, Measured Against the Noise of Reordering the Same Requests
Abstract
Teams enable serving features such as prefix caching, chunked prefill and speculative decoding after checking that benchmark accuracy is unchanged, because the engine documents them as exact. Accuracy is an aggregate, so a feature can hold it while flipping which requests are answered correctly. We serve one 4B instruction model in vLLM under nine single feature configurations and five replicas of a reference configuration, grade 3,380 requests from five benchmarks in every run, and compare each candidate with a restart floor (fresh process) and a scheduling floor (same requests in a different order). With default kernels every configuration keeps accuracy within one point, and the seven exact features flip the graded outcome of 1.47% (95% CI 1.13 to 1.85) to 1.78% (1.39 to 2.20) of requests, none above the scheduling floor of 1.72%, while the FP8 KV cache flips 3.36% (2.80 to 3.96), as many as FP8 weights. With batch invariant kernels all seven exact features, speculative decoding included, reproduce the reference text on every request, while the FP8 KV cache still flips 3.91% (3.28 to 4.53) of graded outcomes. A gate that compares against a single replica pair rejected an unchanged configuration, so we recommend certifying a serving change under batch invariant kernels, where the floor is zero, or against a scheduling floor measured from at least three replicas.
Introduction
A production LLM service turns on serving features to cut latency and cost. vLLM, for example, offers prefix caching, chunked prefill, CUDA graph capture, continuous batching with a configurable number of concurrent sequences, speculative decoding with n-gram, EAGLE and draft model proposers, and an FP8 KV cache [9, 10] (Li et al. 2025). Most of these are described as leaving the output distribution unchanged; speculative decoding in particular is lossless by construction under exact arithmetic [10]. Teams therefore validate such a change by rerunning a benchmark and checking that accuracy holds.
Floating point arithmetic in a batched engine is not exact. A request’s logits depend on how many other requests share its batch, on how its prompt is split into prefill chunks, and on which kernel the engine picks for the shape at hand [14]. Under greedy decoding a change in the last bit of a logit can switch one token, and one switched token can send a math derivation down a different path. A feature can then leave accuracy at the same value while flipping which requests are right. One GSM8K word problem from our runs shows it. All three restarts of the reference configuration answer it correctly with 26. With prefix caching on, the generated text matches the reference for its first 46% of characters, then inserts one word into a restated sentence, and the derivation that follows ends at 13. Other items flip the other way, and accuracy under prefix caching moves by −0.02 points.
Measuring this is harder than counting differences. With default kernels the same configuration restarted in a fresh process already flips 24.56% of generated texts and 1.38% of graded outcomes in our setup, and changing only the order in which the same requests arrive raises both. A feature’s flips mean something only above these floors, and the floors must be estimated with intervals, from more than one pair of runs, on the same items.
We serve Qwen3 4B Instruct [17] in vLLM 0.33.0 on one GPU, grade 3,380 items from GSM8K, MATH500, MMLU, HumanEval and MBPP [6, 8, 7, 3, 1], and run each of nine single feature configurations once and the reference configuration five times (three restarts and two reorderings). We repeat the design with vLLM’s batch invariant kernels, which remove the dependence of a request’s arithmetic on its batch, as a control arm. The hypotheses, metrics and decision rules were preregistered before any main run.
| Today | Recommendation | Section |
| Accuracy unchanged | Paired accuracy equivalence test with a stated margin | 4 |
| Spot check outputs | Graded flip rate against a scheduling floor, not a restart floor | 4 |
| One rerun as control | At least three replicas, all pairs, cluster bootstrap | 6 |
Table 1. What a team checks before enabling a serving feature, and what we recommend.
Contributions.
Exact features flip graded answers, but no more than reordering does. With default kernels the seven exact features flip 1.47% to 1.78% of graded outcomes while accuracy stays within one point; reordering the same requests flips 1.68% and 1.76%, and no feature exceeds the scheduling floor (Figure 1, § 4).
The FP8 KV cache is not near exact for graded answers. It flips 3.36% of outcomes, +1.65 points (one sided 95% lower bound +1.19) above the scheduling floor and as many as FP8 weights, while its accuracy change of +0.13 points passes a one point equivalence test (§ 4).
Under batch invariant kernels the exact features are exact. Restarts and reorderings are bitwise identical, the seven exact features reproduce the reference text on all 3,380 items, and FP8W and FP8KV still flip 3.43% and 3.91% of graded outcomes (Figure 2, § 5).
A flip gate needs a multi replica floor. Holding out one restart replica against a floor from the other two produced a FAIL on an unchanged configuration, because single replica pairs range from 25 to 62 flipped items (§ 6).
Figure 1. Exact serving features flip graded answers as often as reordering the same requests does, and the FP8 KV cache doubles the rate while accuracy holds. (a) Flip rate against R1 by decile of R1’s 10th percentile token margin (top 1 minus top 2 logprob), pooled per group. (b) Accuracy change against flip rate per configuration, against R1 to R3; band: restart floor, dashed: scheduling floor, bars: 95% cluster bootstrap intervals. Default kernels, 3,380 items per configuration.
Figure 2. Figure 2. Batch invariant kernels remove every flip of the exact features and leave the FP8 flips in place. (a) Text flip rate and (b) correctness flip rate of each configuration against R1, R2 and R3, under default kernels (circles) and batch invariant kernels (triangles); 3,380 items per configuration, bars are 95% cluster bootstrap intervals, dashed lines the restart floor of each arm. Under batch invariant kernels the reordered replica and all seven exact features reproduce the reference text on every item.
Setup
Model, engine and hardware. Qwen3 4B Instruct 2507 in bf16, served by vLLM 0.33.0 through its offline LLM.generate interface in the official container, on one RTX 5070 Ti (16 GB). Decoding is greedy (temperature 0, seed 0). All requests of a task are submitted together, so the engine forms batches by continuous batching as it would under load. Each configuration runs in a fresh process.
Items and grading. 3,380 items: all 1319 GSM8K test items (four shot), all 500 MATH500 items (boxed answer, graded with math-verify), 1140 MMLU test items (20 per subject, five shot, answer generated in free form with a final answer line), all 164 HumanEval items and all 257 sanitized MBPP items (graded by executing the official tests in a container without network). Generation caps are 768, 4096, 1024, 1024 and 1024 tokens; a truncated output is graded as produced. The decision unit is the item, and its decision is the graded outcome (right or wrong).
Configurations. The reference configuration (REF) has prefix caching off, a prefill budget of 8192 tokens, at most 128 concurrent sequences, CUDA graphs on, a bf16 KV cache and no speculation. Each candidate changes one factor: prefix caching on (PC); a prefill budget of 512 tokens so that every GSM8K prompt and most MMLU prompts are prefilled in chunks (CP); at most 16 concurrent sequences (BS); CUDA graphs off (EAGER); speculative decoding with an n-gram proposer (NGRAM, four tokens), an EAGLE-3 head (EAGLE3, three tokens) or Qwen3 0.6B as draft model (DRAFT, four tokens); an FP8 KV cache (FP8KV); and dynamic FP8 weights (FP8W), a positive control that is known to be lossy. We call PC, CP, BS, EAGER, NGRAM, EAGLE3 and DRAFT the exact features: under exact arithmetic none of them changes the greedy output. REF runs five times: R1, R2 and R3 in fresh processes with the canonical request order, and S1 and S2 with the request order shuffled by seeds 1 and 2, which changes batch composition but nothing else. The batch invariant arm repeats the design with VLLM_BATCH_INVARIANT=1.
Metrics. For a candidate C and reference replicas , the per item flip probability is the share of the pairs (C, ) in which the item’s graded outcome differs, which we call a flip; the correctness flip rate (flip rate for short) is its mean over items. The restart floor is the same quantity over all pairs of restart replicas, and the scheduling floor over all pairs (S, R). The excess flip rate is the per item flip probability minus the per item floor, averaged over items, so both rates are paired on the same items. Accuracy change is the paired difference of candidate and mean reference accuracy. All intervals are cluster bootstrap intervals (2000 resamples, seed 0; cluster is the MMLU subject, otherwise the item, 2297 clusters). Secondary metrics are the answer flip rate (extracted answer differs) and the text flip rate (any generated token differs).
Preregistered claims and rules. C1: an exact feature “flips” if the one sided 95% lower bound of its excess over the restart floor is above zero, and is accuracy equivalent if the 90% interval of its accuracy change lies within one point; C1 holds if at least three of the seven exact features do both. C2: under batch invariant kernels PC, CP, BS and EAGER produce zero text flips, the speculative features produce zero correctness flips, and both FP8 configurations produce some. C3: the gate (§ 6) gives no FAIL on any null comparison and FAIL on FP8W, in each arm. Everything else is labelled exploratory.
The instrument reads zero where it should
Grading is deterministic (K1). Rescoring the outputs of 3 runs gives 0 differing rows out of 10,140; re executing the 421 generated programs of R1 in a fresh sandbox gives 0 differing pass flags.
Every feature is engaged (K4). Engine counters, read before and after each task, show 1,424,672 prefix cache hit tokens for PC, 1,982 prompts above the 512 token prefill budget for CP, and draft acceptance rates of 13.7% (NGRAM), 50.8% (EAGLE3) and 65.6% (DRAFT). No feature is excluded.
The default kernel floor is under the flag line (K3). Restarting REF flips 1.38% of graded outcomes (one sided 95% upper bound 1.69%), below the 2% line at which the preregistration flags the default arm as unstable. It flips 3.01% of extracted answers and 24.56% of generated texts. Reordering raises the three rates to 1.72%, 3.57% and 29.00%.
Batch invariant restarts are bitwise identical (K2). With VLLM_BATCH_INVARIANT=1, the three restart pairs of REF differ on 0 generated texts, so the batch invariant restart floor is zero for texts, answers and grades (one sided 95% upper bound 0.09% of items). The two reordered replicas also match every restart replica token for token (scheduling floor 0.00%). K2 passes, and C2 is scored as preregistered.
Exact features flip answers at the scheduling floor
Accuracy holds everywhere. Reference accuracy is 85.94% (95% CI 84.26 to 87.53). Every configuration, the FP8 positive control included, has its 90% accuracy interval inside the one point margin (Table 2). The largest change is EAGLE3 at +0.42 points (90% CI +0.12 to +0.73), which is inside the margin although its interval excludes zero. An accuracy check alone would pass all eleven candidates.
| Configuration | Flip rate (%) est. | Flip rate (%) 95% CI | Excess (points) restart lower | Excess (points) sched. est. | Excess (points) sched. bounds | Δacc (points) est. | Δacc (points) 90% CI | Text (%) | Gate |
| Reordered S1 | 1.68 | [1.31, 2.09] | +0.04 | floor run | +0.22 | [−0.09, +0.52] | 28.8 | INCONC. | |
| Reordered S2 | 1.76 | [1.36, 2.15] | +0.11 | floor run | +0.22 | [−0.09, +0.53] | 29.2 | INCONC. | |
| Prefix caching | 1.62 | [1.26, 2.03] | −0.02 | −0.10 | [−0.36, +0.17] | −0.02 | [−0.34, +0.31] | 29.6 | INCONC. |
| Chunked prefill 512 | 1.60 | [1.25, 1.98] | −0.01 | −0.12 | [−0.38, +0.13] | +0.10 | [−0.20, +0.41] | 29.2 | PASS |
| Max 16 sequences | 1.47 | [1.13, 1.85] | −0.13 | −0.25 | [−0.52, +0.01] | −0.23 | [−0.52, +0.06] | 28.5 | PASS |
| No CUDA graphs | 1.77 | [1.39, 2.19] | +0.12 | +0.05 | [−0.22, +0.32] | +0.13 | [−0.19, +0.44] | 31.0 | INCONC. |
| Spec. n-gram | 1.78 | [1.39, 2.20] | +0.14 | +0.06 | [−0.20, +0.33] | −0.02 | [−0.33, +0.30] | 29.5 | INCONC. |
| Spec. EAGLE-3 | 1.63 | [1.27, 2.02] | −0.01 | −0.09 | [−0.33, +0.15] | +0.42 | [+0.12, +0.73] | 29.3 | INCONC. |
| Spec. draft model | 1.68 | [1.29, 2.07] | +0.05 | −0.04 | [−0.29, +0.21] | +0.28 | [−0.03, +0.59] | 29.0 | INCONC. |
| FP8 KV cache | 3.36 | [2.80, 3.96] | +1.53 | +1.65 | [+1.19, +2.08] | +0.13 | [−0.37, +0.63] | 54.2 | FAIL |
| FP8 weights | 3.38 | [2.80, 4.01] | +1.53 | +1.67 | [+1.22, +2.11] | −0.29 | [−0.76, +0.19] | 55.4 | FAIL |
Table 2. Every configuration keeps accuracy equivalent, the exact features flip graded outcomes as often as a reordered rerun, and the FP8 configurations double the rate. Default kernels, 3,380 items, flip rate against R1 to R3 with 95% cluster bootstrap interval. Excess over the restart floor (1.38%): one sided 95% lower bound; over the scheduling floor (1.72%): estimate, one sided 95% bounds. Δacc: 90% interval, margin one point. Text: text flip rate. Gate: § 6, 0.5 point tolerance (INCONC. is inconclusive).
Exact features flip graded outcomes. The seven exact features flip the graded outcome of 1.47% (BS) to 1.78% (NGRAM) of items and the generated text of 28.47% (95% CI 25.99 to 31.16) to 31.02% (28.37 to 33.87). Three of them, EAGER, NGRAM and DRAFT, have a one sided lower bound on their excess over the restart floor above zero (+0.12, +0.14 and +0.05 points) and are accuracy equivalent. By the preregistered rule C1 holds: three of seven, exactly the threshold.
The scheduling floor explains the excess. The two reordered replicas of REF also pass the C1 rule (lower bounds +0.04 and +0.11), although nothing in their configuration changed. Against the scheduling floor, no exact feature has a positive lower bound: the largest estimates are +0.06 (NGRAM) and +0.05 points (EAGER), with upper bounds of +0.33 and +0.32. C1 therefore holds as preregistered, but the excess it detects is of the size that a change in request order produces on its own. For the exact features with default kernels we read this as: they flip answers, and so does production traffic.
The FP8 KV cache behaves like FP8 weights. FP8KV flips 3.36% of graded outcomes (95% CI 2.80 to 3.96) and FP8W 3.38% (2.80 to 4.01), each about +1.65 points above the scheduling floor, and each flips more than half of all generated texts (54.23% and 55.37%). The direction is balanced: against R1, FP8KV makes 63 items right and 61 wrong (exact McNemar ), which is why accuracy holds. Per task, the FP8 configurations raise the MMLU flip rate from at most 0.41% under the exact features to 2.63% and 2.57%, so short answer tasks are where the KV cache precision shows most clearly (Section A).
Long math derivations carry most flips. MATH500 has the highest flip rate for every configuration, 4.53% to 6.53% for the exact features, because a 4096 token derivation gives one switched token many chances to flip the result.
Seed noise and nondeterminism do not explain the FP8 KV cache
Greedy decoding with a fixed seed removes sampling noise, and K1 removes grading noise. What remains is numerical: batch composition, kernel selection and preemption. Both floors include all three, since every REF replica sees about 1,947 preemptions, as most configurations do (the BS configuration, with at most 16 sequences, sees 34). FP8KV’s excess over the scheduling floor has a one sided lower bound of +1.19 points, so the cheap explanations do not account for it. The batch invariant arm removes them outright: its floor is exactly zero, and FP8KV still flips 3.91% of graded outcomes there (§ 5).
Batch invariant kernels remove every exact feature flip
With \texttt{VLLM\_BATCH\_INVARIANT=1}, vLLM computes each request with kernels whose reduction order does not depend on the batch the request shares ([14]). If the default arm flips of the exact features come from batch dependent arithmetic, they should vanish under these kernels; flips caused by lower precision should not. We ran all fourteen configurations again in this mode (Figure 2, Table 5). Every feature stays engaged (K4): 1,424,800 prefix cache hit tokens for PC, 1,982 prompts above the prefill budget for CP, and draft acceptance rates of 13.6%, 51.1% and 65.7% for NGRAM, EAGLE3 and DRAFT.
| Configuration | Flip rate (%) est. | 95% CI | Excess (points) restart lower | sched. est. | sched. bounds | acc (points) est. | 90% CI | Text (%) | Gate |
| Reordered S1 | 0.00 | [0.00, 0.00] | +0.00 | floor run | +0.00 | [+0.00, +0.00] | 0.0 | PASS | |
| Reordered S2 | 0.00 | [0.00, 0.00] | +0.00 | floor run | +0.00 | [+0.00, +0.00] | 0.0 | PASS | |
| Prefix caching | 0.00 | [0.00, 0.00] | +0.00 | +0.00 | [+0.00, +0.00] | +0.00 | [+0.00, +0.00] | 0.0 | PASS |
| Chunked prefill 512 | 0.00 | [0.00, 0.00] | +0.00 | +0.00 | [+0.00, +0.00] | +0.00 | [+0.00, +0.00] | 0.0 | PASS |
| Max 16 sequences | 0.00 | [0.00, 0.00] | +0.00 | +0.00 | [+0.00, +0.00] | +0.00 | [+0.00, +0.00] | 0.0 | PASS |
| No CUDA graphs | 0.00 | [0.00, 0.00] | +0.00 | +0.00 | [+0.00, +0.00] | +0.00 | [+0.00, +0.00] | 0.0 | PASS |
| Spec. n-gram | 0.00 | [0.00, 0.00] | +0.00 | +0.00 | [+0.00, +0.00] | +0.00 | [+0.00, +0.00] | 0.0 | PASS |
| Spec. EAGLE-3 | 0.00 | [0.00, 0.00] | +0.00 | +0.00 | [+0.00, +0.00] | +0.00 | [+0.00, +0.00] | 0.0 | PASS |
| Spec. draft model | 0.00 | [0.00, 0.00] | +0.00 | +0.00 | [+0.00, +0.00] | +0.00 | [+0.00, +0.00] | 0.0 | PASS |
| FP8 KV cache | 3.91 | [3.28, 4.53] | +3.37 | +3.91 | [+3.37, +4.43] | −0.47 | [−1.02, +0.11] | 58.2 | FAIL |
| FP8 weights | 3.43 | [2.83, 4.06] | +2.92 | +3.43 | [+2.92, +3.97] | −0.18 | [−0.70, +0.33] | 55.7 | FAIL |
Table 5.
The exact features are exact in arithmetic. PC, CP, BS and EAGER produce zero text flips against all three restart replicas, as C2 predicts. For NGRAM, EAGLE3 and DRAFT we predicted only zero correctness flips; they too reproduce the reference text token for token on all 3,380 items, which is what speculative decoding promises under exact arithmetic (Leviathan et al., [10]). With zero flips in 3,380 items, the one sided 95% upper bound on each feature’s text flip rate is 0.09% of items.
FP8 still flips. FP8KV flips 3.91% of graded outcomes (95% CI 3.28 to 4.53, 132 items) and FP8W 3.43% (2.83 to 4.06, 116 items), and each flips more than half of all texts (58.17% and 55.71%). With a zero floor these rates belong to the precision change alone, and they are close to the default arm rates (3.36% and 3.38%). C2 holds for all nine features. One result differs from the default arm: the FP8KV accuracy change of −0.47 points has a 90% interval from −1.02 to +0.11, which crosses the one point margin, so its accuracy equivalence is inconclusive in this arm, while FP8W stays equivalent (−0.18 points, −0.70 to +0.33).
Where the default arm flips come from. Under default kernels an exact feature flips about as many outcomes as reordering the same requests; under batch invariant kernels neither switches a single token. The exact features therefore flip answers only through the batch dependence of the arithmetic, the same channel that request order uses, whereas FP8 flips them through precision in either arm.
What the control costs (exploratory, indicative). REF generates about 4% slower with batch invariant kernels than with default kernels (mean of three restarts per arm, shared GPU). Within the batch invariant arm the speedups keep their default arm pattern: FP8W 1.90, FP8KV 1.49, PC 1.23 and EAGLE3 1.09 times as fast as REF. An audit run in this mode needs no floor estimate: one candidate run against one reference run attributes every flip to the change.
A flip gate needs a multi replica floor
We ship the decision rule as a command line gate. Given reference replicas and candidate runs on a fixed request set, it reports the paired accuracy change with its 90% interval (PASS when inside a margin, here one point) and the excess flip rate over the floor of all reference replica pairs (PASS when the one sided 95% upper bound is at most a tolerance, here 0.5 points; FAIL when the lower bound is above it; otherwise INCONCLUSIVE). The overall verdict is FAIL if either test fails.
The gate catches both FP8 configurations. FP8W and FP8KV get FAIL on the flip test while passing the accuracy test; CP and BS get PASS; the other exact features are INCONCLUSIVE at this sample size (Table 2).
A held out restart replica failed. For the preregistered null comparisons each restart replica is held out as a candidate against the other two (Table 3). R1 and R3 get PASS; R2 gets FAIL, with an excess upper bound of +1.34 points. The cause is the floor: with two remaining replicas the floor comes from a single pair, and the three restart pairs differ on 25 (R1 and R3) to 62 (R1 and R2) items, that is 0.74% to 1.83% of items. Holding out R2 leaves the quietest pair as the floor. C3 is therefore refuted in the default arm. The reordered replicas S1 and S2, compared against all three restart replicas, get INCONCLUSIVE. The lesson for practice is concrete: a floor from one replica pair is itself a noisy estimate, so a gate needs at least three replicas, and in the default arm it should include reordered replicas, since production traffic reorders requests anyway.
| Default kernels | Batch invariant | ||||
| Held out | est. | upper | Gate | est. | Gate |
| R1 | −0.28 | −0.03 | PASS | +0.00 | PASS |
| R2 | +0.96 | +1.34 | FAIL | +0.00 | PASS |
| R3 | −0.68 | −0.45 | PASS | +0.00 | PASS |
| S1 | +0.30 | +0.58 | INCONC. | +0.00 | PASS |
| S2 | +0.37 | +0.64 | INCONC. | +0.00 | PASS |
Table 3. Table 3. A floor from one replica pair fails an unchanged configuration; batch invariant kernels pass every null comparison. Gate verdict and excess flip rate over the floor (estimate, one sided 95% upper bound, points) for each null comparison; is held out against the other two restarts, S1 and S2 are compared with all three. Tolerance 0.5 points, 3,380 items; INCONC. is inconclusive.
With batch invariant kernels the gate separates cleanly. All five null comparisons (each restart replica held out, and S1 and S2) get PASS, every exact feature gets PASS, and FP8W and FP8KV get FAIL on the flip test. C3’s prediction holds in this arm. Because the preregistered claim requires it in each arm, C3 as a whole stays refuted by the default arm result.
Which requests flip (exploratory)
Flips concentrate on items the reference answers with a small token margin (Figure 1a). The 10th percentile of the top 1 minus top 2 logprob along R1’s output predicts whether an item flips under an exact feature with ROC AUC 0.89 (95% CI 0.85 to 0.92), and the lowest decile of that margin holds 70% (60 to 79) of exact feature flips. The same margin predicts restart and reorder flips equally well (AUC 0.89), and FP8 flips less well (AUC 0.78), because FP8 also flips items with a moderate margin. Two caveats keep this exploratory. The minimum margin is exactly zero for 38% of items, because logprobs are returned at bf16 resolution, so it cannot rank the tail (AUC 0.79). And output length alone predicts exact feature flips with AUC 0.88 (0.84 to 0.91), since the margin and log length correlate at −0.76. A margin based triage adds little to “long outputs flip”.
Speed beside the flips (exploratory, indicative). On this shared GPU, relative to REF, FP8W and FP8KV generate 1.77 and 1.66 times as fast, PC 1.18 times and EAGLE3 1.16 times; NGRAM (0.97), BS (0.84), EAGER (0.77) and DRAFT (0.50) are not faster at 128 concurrent sequences. The two configurations with the largest speedup are the two that double the flip rate.
Related work
Noise floors and quantization flips. Blagojevich & Sunderland [2] is closest in method: it measures restart, engine, batch and kernel drift and states 8 bit and 4 bit weight quantization effects as excess over it. Its treatment is weight quantization; we toggle the serving features themselves, separate a restart floor from a scheduling floor, and add a batch invariant control arm. Wu et al. (2026) predict which decisions low bit weight quantization breaks from the decision margin; our exploratory margin result agrees in direction but finds output length as predictive for generative tasks. Chen [4] localizes divergence from one INT8 kernel swap.
Single serving features. Patodiya [13] toggles prefix caching in multi turn agentic episodes at batch size one and finds divergence that grows with quantization while accuracy holds; Zhang et al. [18] shows that batch speculative decoding implementations can corrupt outputs and that vLLM speculative output matches its non speculative output on 65.6% to 96.9% of prompts by exact text match; Chodavarapu & Xu [5] compares KV cache on and off in FP16. We measure graded correctness rather than text equality, for seven features in one engine, against two floors.
Drift across stacks. DriftBench (Vitale, [15]) measures flip rates across hardware, frameworks and precisions and blocks an upgrade with a regression predictor; Pape et al. [12] show that the inference backend moves benchmark accuracy. Both vary the stack broadly; we hold the engine, model and GPU fixed and vary one documented feature at a time. Thinking Machines Lab [14] explains batch dependence and provides the batch invariant kernels that vLLM exposes, which we use as a control rather than as the object of study.
Limitations
One model (a 4B instruction model), one engine version and one consumer GPU. Larger models have larger margins on easy items and longer outputs on hard ones; we did not test which dominates.
One candidate run per feature. The excess uses all reference replicas, but the candidate’s own restart variability is not averaged out, which widens rather than biases the interval.
Three restart replicas. The gate result in § 6 shows that the floor estimate is itself variable; more replicas would narrow every excess interval.
Request order is the only scheduling change we control. Real traffic also changes arrival times and concurrent request lengths, which we expect to raise the scheduling floor further.
The GPU was shared with other jobs during the runs, so the speed numbers are indicative only; flip rates do not depend on timing beyond what the floors already include.
The batch invariant result holds for the kernels of vLLM 0.33.0. A feature that falls back to a batch dependent kernel in another version or on another GPU would not be exact there.
Five benchmarks with exact grading. Tasks graded by a judge or by human preference may react differently.
We do not claim that these features make the model less accurate: every default arm configuration is accuracy equivalent. The claim is about which requests are answered correctly.
Conclusion
For one model in vLLM with default kernels, the serving features documented as exact flip the graded answer of 1.47% to 1.78% of requests, which matches what reordering the same requests does, and the FP8 KV cache flips 3.36%, as many as FP8 weights, with accuracy equivalent in every case. A team that enables a serving feature should compare it with a scheduling floor measured from at least three replicas, report the paired flip rate with a cluster bootstrap interval next to the accuracy change, and treat the FP8 KV cache as a lossy change. With batch invariant kernels the same features switch no generated token, so running the audit in that mode turns a noisy floor estimate into a zero floor, and any flip that remains belongs to the change.
Impact Statement
Serving features are switched on in production to cut latency and cost, usually after an accuracy check. When they flip which requests are answered correctly, individual users get different answers from a model whose reported accuracy did not move, and nobody chose that change on purpose. The gate and the batch invariant audit described here let a team see and bound those flips before a rollout. The same measurement could be used to argue that a cheaper configuration is safe on accuracy alone; reporting the flip rate next to the accuracy change makes that choice visible. We use public benchmarks and open weight models and collect no human data.
AI Disclosure Statement
AI assistants were used for code and experiment orchestration, and for drafting the text. Every number in the paper is produced by a script from the result files and enters the text as a generated macro, so no number is typed by hand, and every reference was checked against its arXiv or publisher record. The authors reviewed all code, results and text and take full responsibility for them.
Per task correctness flip rates
Table 4. MATH500 carries the most flips for every configuration; the FP8 configurations raise the MMLU and code flip rates most. Correctness flip rate (%) against R1, R2 and R3 per task, default kernels; items per task: GSM8K 1319, MATH500 500, MMLU 1140, HumanEval 164, MBPP 257.
| Configuration | GSM8K | MATH500 | MMLU | HumanEval | MBPP |
| Reordered S1 | 1.31 | 6.27 | 0.32 | 0.41 | 1.43 |
| Reordered S2 | 1.59 | 5.87 | 0.41 | 1.42 | 0.78 |
| Prefix caching | 1.39 | 5.33 | 0.41 | 0.61 | 1.56 |
| Chunked prefill 512 | 1.64 | 5.13 | 0.23 | 0.41 | 1.30 |
| Max 16 sequences | 1.54 | 4.53 | 0.23 | 0.61 | 1.17 |
| No CUDA graphs | 1.79 | 5.33 | 0.32 | 0.61 | 1.82 |
| Spec. n-gram | 1.69 | 6.00 | 0.32 | 0.61 | 1.17 |
| Spec. EAGLE-3 | 1.47 | 5.53 | 0.32 | 1.02 | 1.04 |
| Spec. draft model | 1.42 | 6.53 | 0.15 | 0.61 | 1.04 |
| FP8 KV cache | 2.48 | 6.60 | 2.63 | 4.88 | 3.89 |
| FP8 weights | 2.53 | 7.13 | 2.57 | 2.64 | 4.54 |
Table 4.
Batch invariant arm
Table 5. With batch invariant kernels every same configuration rerun and every exact feature reproduces the reference text on all items, and the FP8 configurations flip graded outcomes at the default arm rate. Columns as in Table 2; restart and scheduling floors are both 0.00%, 3,380 items.
Preregistration and amendment
The preregistration (thesis, claims C1 to C3, metrics, thresholds, kill checks K1 to K4 and the exploratory list) was committed before any main run, at commit c00e671c0298b57e062646fe951afdd710fb5175. One dated amendment followed after the default arm was scored and touches exploratory analyses only: the margin analysis uses the 10th percentile margin for the decile summaries and Figure 1(a), because the minimum margin is exactly zero for many items at bf16 logprob resolution, and output length is added as a comparison predictor. No confirmatory claim, metric, threshold or decision rule changed. The preregistration with its amendment, the code, the per item outputs of every run and the scripts that produce every number, table and figure will be released with the public code release and are available from the author on request until then.
References
- [1]Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., Le, Q., and Sutton, C. Program synthesis with large language models. arXiv preprint arXiv:2108.07732, 2021.arxiv.org/abs/2108.07732
- [2]Blagojevich, A. and Sunderland, T. The noise floor of a quantization comparison: Engine, restart, batch and kernel drift, measured against 8-bit and 4-bit effects in two decision models. arXiv preprint arXiv:2611.15671, 2026.arxiv.org/abs/2611.15671
- [3]Chen, M., Tworek, J., Jun, H., Yuan, Q., et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021.arxiv.org/abs/2107.03374
- [4]Chen, T.-R. The integer alibi: Localizing cross-kernel divergence in INT8-quantized LLM inference. arXiv preprint arXiv:2608.13756, 2026.arxiv.org/abs/2608.13756
- [5]Chodavarapu, R. and Xu, L. The illusion of equivalence: Systematic FP16 divergence in KV-cached autoregressive inference. arXiv preprint arXiv:2604.15409, 2026.arxiv.org/abs/2604.15409
- [6]Cobbe, K., Kosaraju, V., Bavarian, M., Chen, M., Jun, H., Kaiser, L., Plappert, M., Tworek, J., Hilton, J., Nakano, R., Hesse, C., and Schulman, J. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.arxiv.org/abs/2110.14168
- [7]Hendrycks, D., Burns, C., Basart, S., Zou, A., Mazeika, M., Song, D., and Steinhardt, J. Measuring massive multitask language understanding. arXiv preprint arXiv:2009.03300, 2020.
- [8]Hendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart, S., Tang, E., Song, D., and Steinhardt, J. Measuring mathematical problem solving with the MATH dataset. arXiv preprint arXiv:2103.03874, 2021.
- [9]Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J. E., Zhang, H., and Stoica, I. Efficient memory management for large language model serving with PagedAttention. arXiv preprint arXiv:2309.06180, 2023.arxiv.org/abs/2309.06180
- [10]Leviathan, Y., Kalman, M., and Matias, Y. Fast inference from transformers via speculative decoding. arXiv preprint arXiv:2211.17192, 2022.arxiv.org/abs/2211.17192
- [12]Pape, D., Evertz, J., and Schönherr, L. The silent hyperparameter: Quantifying the impact of inference backends on LLM reproducibility. arXiv preprint arXiv:2605.19537, 2026.arxiv.org/abs/2605.19537
- [13]Patodiya, A. Same request, different answer: Quantization amplifies cache-induced divergence in LLM serving. arXiv preprint arXiv:2609.04748, 2026.DOI
- [14]Thinking Machines Lab. Defeating nondeterminism in LLM inference. Blog post, 10 September 2025, https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/, 2025.DOI
- [15]Vitale, G. DriftBench: Measuring and predicting infrastructure drift in LLM serving systems. In Proceedings of Machine Learning and Systems (MLSys), 2026.DOI
- [17]Yang, A. et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025.arxiv.org/abs/2505.09388
- [18]Zhang, R. H., Dey, S., Mishra, A., Wu, H., Li, B., and Zhang, R. Correctness forensics for batch speculative decoding: Diagnosing the ragged tensor problem. arXiv preprint arXiv:2510.22876, 2025.arxiv.org/abs/2510.22876

