LLM-42: Enabling Determinism in LLM Inference with Verified Speculation
Not on the map. Why?
Abstract (arXiv)
In LLM inference, the same prompt may yield different outputs across different runs. At the system level, this non-determinism arises from floating-point non-associativity combined with dynamic batching and GPU kernels whose reduction orders vary with batch size. A straightforward way to eliminate non-determinism is to disable dynamic batching during inference, but doing so severely degrades throughput. Another approach is to make kernels batch-invariant; however, this tightly couples determinism to kernel design, requiring new implementations. This coupling also imposes fixed runtime overheads, regardless of how much of the workload actually requires determinism. Inspired by ideas from speculative decoding, we present LLM-42, a scheduling-based approach to enable determinism in LLM inference. Our key observation is that if a sequence is in a consistent state, the next emitted token is likely to be consistent even with dynamic batching. Moreover, most GPU kernels use shape-consistent reductions. Leveraging these insights, LLM-42 decodes tokens using a non-deterministic fast path and enforces determinism via a lightweight verify-rollback loop. The verifier replays candidate tokens under a fixed-shape reduction schedule, commits those that are guaranteed to be consistent across runs, and rolls back those violating determinism. LLM-42 mostly re-uses existing kernels unchanged and incurs overhead only in proportion to the traffic that requires determinism.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 33 of its 62 references that are in the map. First posted on arXiv 25 Jan 2026.
Builds on
33 of 62 references.
References · 33
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 843
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 617
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 558
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 526
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
- 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 478
21 more
- 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verificationcited by 365
- 2024LayerSkip: Enabling Early Exit Inference and Self-Speculative Decodingcited by 307
- 2024Break the Sequential Dependency of LLM Inference Using Lookahead Decodingcited by 298
- 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 193
- 2024Inference without Interference: Disaggregate LLM Inference for Mixed Downstream Workloadscited by 121
- 2024The Good, The Bad, and The Greedy: Evaluation of LLMs Should Not Ignore Non-Determinismcited by 116
- 2024DynamoLLM: Designing LLM Inference Clusters for Performance and Energy Efficiencycited by 112
- 2024vAttention: Dynamic Memory Management for Serving LLMs without PagedAttentioncited by 98
- 2024NanoFlow: Towards Optimal Large Language Model Serving Throughputcited by 90
- 2025Comet: Fine-grained Computation-communication Overlapping for Mixture-of-Expertscited by 49
- 2024POD-Attention: Unlocking Full Prefill-Decode Overlap for Faster LLM Inferencecited by 47
- 2024Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Modelscited by 31
- 2025TileLink: Generating Efficient Compute-Communication Overlapping Kernels using Tile-Centric Primitivescited by 24
- 2025TokenWeave: Efficient Compute-Communication Overlap for Distributed LLM Inferencecited by 14
- 2025Deterministic Inference across Tensor Parallel Sizes That Eliminates Training-Inference Mismatchcited by 14
- 2025Efficient and Adaptable Overlapping for Computation and Communication via Signaling and Reorderingcited by 10
- 2025A Comprehensive Analysis of Large Language Model Outputs: Similarity, Diversity, and Biascited by 10
- 2025Accelerating Large-Scale Reasoning Model Inference with Sparse Self-Speculative Decodingcited by 10
- 2024Accelerating a Triton Fused Kernel for W4A16 Quantized Inference with SplitK work decompositioncited by 4
- 2024Integrating Randomness in Large Language Models: A Linear Congruential Generator Approach for Generating Clinically Relevant Contentcited by 4
- 2026Stochastic CHAOS: Why Deterministic Inference Kills, and Distributional Variability Is the Heartbeat of Artifical Cognitioncited by 1
Built on by
Citing papers per year: 2026: 16.
16 papers.
Sort:
By area:
- 2026Watt Counts: Energy-Aware Benchmark for Sustainable LLM Inference on Heterogeneous GPU Architecturescited by 5
- 2026VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?cited by 4
- 2026Decoding as Optimisation on the Probability Simplex: From Top-K to Top-P (Nucleus) to Best-of-K Samplerscited by 2
- 2026Demystifying Numerical Instability in LLM Inference: Achieving Reproducible Inference for Mission-Critical Tasks with HEALcited by 2
- 2026The Integer Alibi: Localizing Cross-Kernel Divergence in INT8-Quantized LLM Inferencecited by 2
- 2026Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architecturescited by 1
- 2026From Accuracy to Auditability: A Survey of Determinism in Financial AI Systemscited by 0
- 2026A Paired Testing Protocol for Batch-Conditioned Refusal Robustness in LLM Servingcited by 0
- 2026Reproducibility is the New Copyleft: Defining AGI-oriented Reproducible Buildscited by 0
- 2026Speculative Decoding at Temperature Zero: A Scoped Safety-Invariance Screen with a 48,072-Sample Expansioncited by 0
- 2026Same Request, Different Answer: Quantization Amplifies Cache-Induced Divergence in LLM Servingcited by 0
- 2026Validating Hybrid-State Cache Recovery for GLM-5.3-Flash with vLLM and LMCachecited by 0
4 more
- 2026Greedy Decoding Is Not Precision-Invariant: Cross-Precision Output Divergence in LLM Inferencecited by 0
- 2026When Do Models Admit They Are Wrong? Failure Disclosure Is Unstable Under Reinforcement Learningcited by 0
- 2026Measuring and Reducing Cross-Vendor Mismatch in Language Modelscited by 0
- 2026Same Text, Different Prediction: Serving-Context Nondeterminism in Text Classifierscited by 0
- 2026Same Text, Different Prediction: Serving-Context Nondeterminism in Text Classifiers6 Oct 2026
- 2026Measuring and Reducing Cross-Vendor Mismatch in Language Models4 Oct 2026
- 2026When Do Models Admit They Are Wrong? Failure Disclosure Is Unstable Under Reinforcement Learning27 Sep 2026
- 2026Greedy Decoding Is Not Precision-Invariant: Cross-Precision Output Divergence in LLM Inference22 Sep 2026
- 2026Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architectures22 Sep 2026
- 2026Validating Hybrid-State Cache Recovery for GLM-5.3-Flash with vLLM and LMCache14 Sep 2026
- 2026Same Request, Different Answer: Quantization Amplifies Cache-Induced Divergence in LLM Serving4 Sep 2026
- 2026The Integer Alibi: Localizing Cross-Kernel Divergence in INT8-Quantized LLM Inference13 Aug 2026
- 2026Speculative Decoding at Temperature Zero: A Scoped Safety-Invariance Screen with a 48,072-Sample Expansion23 Jun 2026
- 2026Demystifying Numerical Instability in LLM Inference: Achieving Reproducible Inference for Mission-Critical Tasks with HEAL19 Jun 2026
- 2026Reproducibility is the New Copyleft: Defining AGI-oriented Reproducible Builds2 Jun 2026
- 2026A Paired Testing Protocol for Batch-Conditioned Refusal Robustness in LLM Serving26 May 2026
4 more
- 2026From Accuracy to Auditability: A Survey of Determinism in Financial AI Systems11 May 2026
- 2026VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?7 May 2026
- 2026Watt Counts: Energy-Aware Benchmark for Sustainable LLM Inference on Heterogeneous GPU Architectures10 Apr 2026
- 2026Decoding as Optimisation on the Probability Simplex: From Top-K to Top-P (Nucleus) to Best-of-K Samplers20 Feb 2026
- 2026Watt Counts: Energy-Aware Benchmark for Sustainable LLM Inference on Heterogeneous GPU Architecturescited by 5
- 2026Demystifying Numerical Instability in LLM Inference: Achieving Reproducible Inference for Mission-Critical Tasks with HEALcited by 2
- 2026A Paired Testing Protocol for Batch-Conditioned Refusal Robustness in LLM Servingcited by 0
- 2026Speculative Decoding at Temperature Zero: A Scoped Safety-Invariance Screen with a 48,072-Sample Expansioncited by 0
- 2026Same Request, Different Answer: Quantization Amplifies Cache-Induced Divergence in LLM Servingcited by 0
- 2026Same Request, Different Answer: Quantization Amplifies Cache-Induced Divergence in LLM Serving4 Sep 2026
- 2026Speculative Decoding at Temperature Zero: A Scoped Safety-Invariance Screen with a 48,072-Sample Expansion23 Jun 2026
- 2026Demystifying Numerical Instability in LLM Inference: Achieving Reproducible Inference for Mission-Critical Tasks with HEAL19 Jun 2026
- 2026A Paired Testing Protocol for Batch-Conditioned Refusal Robustness in LLM Serving26 May 2026
- 2026Watt Counts: Energy-Aware Benchmark for Sustainable LLM Inference on Heterogeneous GPU Architectures10 Apr 2026
- 2026Decoding as Optimisation on the Probability Simplex: From Top-K to Top-P (Nucleus) to Best-of-K Samplerscited by 2
- 2026The Integer Alibi: Localizing Cross-Kernel Divergence in INT8-Quantized LLM Inferencecited by 2
- 2026Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architecturescited by 1
- 2026From Accuracy to Auditability: A Survey of Determinism in Financial AI Systemscited by 0
- 2026Reproducibility is the New Copyleft: Defining AGI-oriented Reproducible Buildscited by 0
- 2026Validating Hybrid-State Cache Recovery for GLM-5.3-Flash with vLLM and LMCachecited by 0
- 2026Greedy Decoding Is Not Precision-Invariant: Cross-Precision Output Divergence in LLM Inferencecited by 0
- 2026Same Text, Different Prediction: Serving-Context Nondeterminism in Text Classifierscited by 0
- 2026Same Text, Different Prediction: Serving-Context Nondeterminism in Text Classifiers6 Oct 2026
- 2026Greedy Decoding Is Not Precision-Invariant: Cross-Precision Output Divergence in LLM Inference22 Sep 2026
- 2026Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architectures22 Sep 2026
- 2026Validating Hybrid-State Cache Recovery for GLM-5.3-Flash with vLLM and LMCache14 Sep 2026
- 2026The Integer Alibi: Localizing Cross-Kernel Divergence in INT8-Quantized LLM Inference13 Aug 2026
- 2026Reproducibility is the New Copyleft: Defining AGI-oriented Reproducible Builds2 Jun 2026
- 2026From Accuracy to Auditability: A Survey of Determinism in Financial AI Systems11 May 2026
- 2026Decoding as Optimisation on the Probability Simplex: From Top-K to Top-P (Nucleus) to Best-of-K Samplers20 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025Mirror Speculative Decoding: Breaking the Serial Barrier in LLM Inference
- 2026ASPIRE: Asynchronous Batched Self-Speculative Decoding for Long-Context LLM Inference
- 2025Yggdrasil: Bridging Dynamic Speculation and Static Runtime for Latency-Optimal Tree-Based LLM Decoding
- 2026SonicSampler: Unified Tile-Aware Kernels for LLM Sampling and Speculative Verification
- 2026Blink: CPU-Free LLM Inference by Delegating the Serving Stack to GPU and SmartNIC
- 2025Scaling LLM Speculative Decoding: Non-Autoregressive Forecasting in Large-Batch Scenarios
- 2025SpecOffload: Unlocking Latent GPU Capacity for LLM Inference on Resource-Constrained Devices
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devices