DiFR: Inference Verification Despite Nondeterminism
Not on the map. Why?
Abstract (arXiv)
As demand for LLM inference grows, it is becoming increasingly important that providers and their customers can verify that inference processes are performed correctly, without errors or tampering. However, re-running the same inference process twice often leads to different results due to benign numerical noise, making it difficult to distinguish legitimate variation from actual problems. To address this problem, we introduce Token-DiFR (Token-Divergence-From-Reference), a method for verifying inference outputs by comparing generated tokens against predictions made by a trusted reference implementation conditioned on the same random seed. Sampling seed synchronization tightly constrains valid outputs, leaving providers minimal room to deviate from correct inference, which allows output tokens themselves to serve as auditable evidence of correctness at zero additional cost to the provider. Token-DiFR reliably identifies sampling errors, simulated bugs, and model quantization, detecting 4-bit quantization with AUC > 0.999 within 300 output tokens. For applications requiring sample-efficient forward-pass verification, we additionally introduce Activation-DiFR, a scheme that uses random orthogonal projections to compress activations into compact fingerprints for subsequent verification. Activation-DiFR detects 4-bit quantization with AUC > 0.999 using just 2 output tokens, while reducing communication overhead by 25-75% relative to existing methods. We release an open-source integration with vLLM to accelerate practical deployment of verifiable inference.
Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). Builds on 15 of its 26 references that are in the map. First posted on arXiv 25 Nov 2025.
Builds on
15 of 26 references.
References · 15
- 2024The Llama 3 Herd of Modelscited by 14,486
- 2025Qwen3 Technical Reportcited by 8,510
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,831
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,215
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,625
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 990
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Testcited by 319
- 2023From Sparse to Soft Mixtures of Expertscited by 247
- 2021A Review of the Gumbel-max Trick and its Extensions for Discrete Stochasticity in Machine Learningcited by 82
- 2024Learning Harmonized Representations for Speculative Samplingcited by 69
- 2024Model Equality Testing: Which Model Is This API Serving?cited by 46
- 2025Auditing Black-Box LLM APIs with a Rank-Based Uniformity Testcited by 17
3 more
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Demystifying Numerical Instability in LLM Inference: Achieving Reproducible Inference for Mission-Critical Tasks with HEAL
- 2026Know When To Fold 'Em: Token-Efficient LLM Synthetic Data Generation via Multi-Stage In-Flight Rejection
- 2026TTQ: Activation-Aware Test-Time Quantization to Accelerate LLM Inference On The Fly
- 2026MXSens: Sensitivity-Aware Mixed-Precision Quantization for Efficient LLM Inference
- 2025FGMP: Fine-Grained Mixed-Precision Weight and Activation Quantization for Hardware-Accelerated LLM Inference
- 2026Ventor-QTest: Threat-Model-Driven Verification of Vendor-Hosted LLM APIs
- 2026Bits Under ZK-LLM: Evaluating Zero-Knowledge-Friendly Quantization for Verifiable Private LLM Inference
- 2026Test-Time Speculation