mlsanityData to 24 Nov 2026

Detent: Batch-Invariant LLM Serving and RL Rollouts at Near-Stock Speed

arXiv 2611.10611 ↗Submitted 7 Nov 2026cs.LG cs.DCcited by 0

New in Efficient LLM inference and serving; no direction yet. Efficient LLM inference and serving

Abstract (arXiv)

Reproducible evaluation, verifiable inference and on-policy reinforcement learning (RL) need an LLM engine to give a request the same output bits whichever requests share its batch. Batch-invariant kernels exist, but engines still select each kernel and its parameters from the batch. Two kernels that compute the same sum can round it differently. The engines' deterministic modes remove the choice by keeping one conservative kernel per operator and pay for it in latency. Many fast kernels are batch-invariant by themselves, so it is enough to fix the few batch-dependent values that kernel selection reads. Detent expresses kernel selection as a program that the engine executes. It finds the fewest values in this program that must be fixed and tunes them for the workload before deployment. On multi-GPU deployments of Llama-3.1-70B and Qwen3-30B-A3B in vLLM and SGLang, Detent is batch-invariant. Tuned per load, it serves at 1.04-1.17x the latency per output token of Stock (each engine with its standard settings), against 1.67-10.3x for the deterministic modes. In SGLang it matches the GSM8K accuracy of SGLang's deterministic mode. Detent covers multiple deployment combinations, including multiple engines, GPU generations, tensor-parallel degrees, and dense and MoE models. Seeded RL rollouts of models up to Llama-3.1-70B replay bit for bit under other batches and cache splits. A trainer on Detent's kernels and values matches every rollout logprob bit for bit at 1.03x Stock's rollout time per token. BF16 GRPO then stays stable where Stock's run collapses.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 16 of its 44 references that are in the map. Submitted 7 Nov 2026.

Builds on

16 of 44 references.

References · 16

  1. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  3. 2025Qwen3 Technical Reportcited by 9,994
  4. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
  5. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
  6. 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 493
  7. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 330
  8. 2025Defeating the Training-Inference Mismatch via FP16cited by 84
  9. 2025Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inferencecited by 74
  10. 2025Do Large Language Model Benchmarks Test Reliability?cited by 67
  11. 2026LLM-42: Enabling Determinism in LLM Inference with Verified Speculationcited by 27
  12. 2025Deterministic Inference across Tensor Parallel Sizes That Eliminates Training-Inference Mismatchcited by 26
4 more
  1. 2025TOPLOC: A Locality Sensitive Hashing Scheme for Trustless Verifiable Inferencecited by 24
  2. 2026Diagnosing Training Inference Mismatch in LLM Reinforcement Learning via a Zero-Mismatch Referencecited by 18
  3. 2025TokenWeave: Efficient Compute-Communication Overlap for Distributed LLM Inferencecited by 15
  4. 2026EigenAI: Deterministic Inference, Verifiable Resultscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026God Does Not Play Dice: Enforcing Batch Invariance in Agentic Kernel Generation
  2. 2026vSkipper: Translating Dynamic Layer Skipping into LLM Serving Gains
  3. 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve
  4. 2026Adaptive Decoding Methods for Token-Efficient Reinforcement Learning
  5. 2026KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?
  6. 2026LLM-Emu: Native Runtime Emulation of LLM Inference via Profile-Driven Sampling
  7. 2024Batch-Max: Higher LLM Throughput using Larger Batch Sizes and KV Cache Compression
  8. 2024Multi-Bin Batching for Increasing LLM Inference Throughput