Inference systems · Research feature

KV4-RL: Unlocking Faster Asynchronous Rollouts for RLVR with INT4 KV Cache Quantization

By comparing quantization methods under matched workloads, the study identifies that KV cache quantization delivers greater acceleration than weight-only or weight-activation quantization.

Adapted from research by Sihwan Park, Sung-Yub Kim, Doohyuk Jang and colleagues.

arXiv preprint revision · 2026-10-10 · Attribution & reuse
In this article
Editorial illustration of optical fibers.

Editor’s introduction

The research focuses on KV concentration—a phenomenon where sustained concurrency in asynchronous rollout systems shifts context processing into fewer, more intensive decode steps. By comparing quantization methods under matched workloads, the study identifies that KV cache quantization delivers greater acceleration than weight-only or weight-activation quantization. The findings show that INT4 KV rollout achieves up to 1.97× speedup in rollout performance over BF16, with final model accuracy within 0.5 percentage points of BF16 across multiple benchmarks. However, the study notes that aggressive KV quantization can degrade learning even with token-level importance sampling, indicating a need for sampler fidelity. This effect is observed specifically in dense Qwen3 models under a colocated asynchronous GRPO setup, which emphasizes long-tail generation. The evidence is limited to two dense models and mathematical reasoning tasks, and does not extend to models with mixed attention, MoE architectures, or disaggregated rollout systems. The results highlight a key trade-off between speed and learning stability in high-concurrency RLVR environments.

Introduction

Reinforcement learning with verifiable rewards (RLVR) has become a central approach for training reasoning models. Methods such as Group Relative Policy Optimization (GRPO) learn from multiple responses per prompt, making rollout generation a major training cost. Reasoning responses can span thousands of tokens and vary substantially in length. In conventional wave-based collection, shorter responses finish early while a few long responses continue decoding, causing the active batch to collapse. Asynchronous systems mitigate this long-tail inefficiency by admitting new requests, while partial-rollout schemes carry unfinished responses across policy updates. We study quota-based partial collection, which combines these mechanisms to sustain decode concurrency.

This workload shift changes which quantization target provides the greatest rollout acceleration. Prior work has primarily quantized model weights or activations, with recent work also incorporating FP8 KV caches into broader low-precision stacks. Under sustained concurrency, weight reads are increasingly amortized across the active batch, whereas attention continues to process the context of every response. Our roofline analysis identifies KV reads as the largest idealized service demand in the studied workloads, and matched-workload measurements show substantially greater decode acceleration from KV quantization than from the evaluated weight-only and weight-activation configurations. Cache compression can additionally sustain higher concurrency by fitting more resident context within the same HBM budget. Together, these results identify KV cache quantization as an effective target for asynchronous rollout.

Asynchronous and partial rollout

RL training systems mitigate rollout bottlenecks through flexible placement and scheduling of generation and policy optimization. One line of work overlaps rollout collection with learner execution, increasing hardware utilization while controlling the policy staleness introduced by asynchronous updates. Another line addresses long-tail generation through partial rollout, allowing completed responses to enter training while unfinished responses continue across subsequent updates. These approaches primarily study how scheduling reduces idle time or exposes more parallelism. We examine a complementary system consequence. By keeping more responses active, asynchronous collection concentrates context processing into fewer and larger decode steps, changing both the execution bottleneck and the relative value of different quantization targets. Our experiments focus on colocated, quota-based partial collection, where generation and optimization alternate on the same GPUs and unfinished prefixes are carried across policy updates.

Quantized reinforcement learning

Quantized RL methods reduce rollout cost by lowering the precision of model execution. Existing approaches predominantly target weights or activations, using weight-only or weight–activation quantization with either low-rank adaptation or full-parameter policy updates. Since the resulting sampler may differ numerically from the learner policy, these methods combine quantized rollout with importance correction, modified policy objectives, or other mechanisms that improve robustness to rollout–training mismatch. A related direction instead aligns the numerical execution paths used during generation and training, or introduces compensation on both sides of the update. FP8-RL extends low-precision execution to a broader training stack that also includes FP8 KV caches. These studies establish that low-precision rollout can preserve learning when sampler mismatch remains sufficiently controlled. Our work investigates a different numerical target and operating regime: sub-8-bit KV cache quantization under the sustained concurrency and long contexts produced by asynchronous rollout. We examine both the execution efficiency of rollout KV quantization and its effect on learned-policy quality, while keeping learner computation and evaluation in BF16 to isolate the rollout precision.

KV cache compression and selective precision

KV cache compression reduces the storage and memory traffic associated with attention during autoregressive generation. Distribution-aware quantizers exploit the distinct statistical properties of keys and values, while rotation-based methods mix channels to reduce sensitivity to outliers before quantization. To translate storage reduction into practical speedup, efficient attention implementations combine packed KV representations with low-bit dot products and fused reconstruction. Selective-precision methods complement these techniques by retaining influential initial positions, recent context, or dynamically selected regions at higher precision. Most of these methods are designed and evaluated for inference, where numerical perturbations affect the generated output of an individual request. RL rollout introduces an additional constraint because those outputs become training data and can influence subsequent policy updates. KV4-RL builds on these compression and selective-precision principles, but utilizes them to balance execution efficiency against sampler fidelity during repeated RLVR training.

Quota-based partial rollout

After a policy update, the KV caches of carried prefixes cannot be reused since they were computed under the staled policy. The retained token sequences are therefore re-prefilled under the updated policy to reconstruct their KV caches before decoding resumes. Re-prefill does not resample or modify the retained tokens, and the probability originally recorded for each sampled token remains unchanged. A carried response can consequently contain tokens sampled under multiple policy versions, while its KV cache is reconstructed under the current rollout policy whenever generation resumes. In our colocated configuration, rollout generation and policy optimization alternate on the same GPUs. Thus, asynchronous rollout refers to responses progressing across collection boundaries and policy updates, rather than concurrent rollout and learner execution.

KV Concentration in Asynchronous Rollout

Quota-based partial rollout avoids the low-utilization tail of synchronous generation by continuously filling available decode slots. This improvement, however, does not eliminate the underlying generation work. Instead, it changes how that work is distributed across decode steps, raising a central question for accelerating asynchronous rollout: Which component of the decode workload becomes the dominant cost when high concurrency is sustained across long responses?

We answer this question by first characterizing how asynchronous scheduling concentrates KV processing into fewer decode steps and validating this behavior in practical rollout traces. We then compare candidate quantization targets and show that KV cache quantization most directly addresses the resulting bottleneck.

KV4-RL: Faster Asynchronous Rollout with INT4 KV Caches

Section 4.2 identifies KV cache quantization as the most effective acceleration target for asynchronous rollout and shows that INT4 provides the largest execution gains among the evaluated configurations. This finding motivates a seemingly direct approach: storing and processing the rollout KV cache in INT4. In RL rollout, however, the generated responses are not merely inference outputs. They constitute the samples from which policy updates are constructed, so numerical errors that appear modest at an individual prefix can accumulate along trajectories and ultimately alter the learned policy.

The resulting design challenge is to retain the execution and capacity benefits of INT4 while keeping the rollout sampler sufficiently close to the BF16 policy. KV4-RL addresses this tension through three coordinated components. It uses calibration-free online quantization to follow the evolving policy, selectively protects a bounded number of sensitive context positions, and executes the INT4 and protected regions without reconstructing the full cache.

A Practical INT4 KV Rollout Path

A quantizer calibrated at a fixed checkpoint can become stale as policy updates shift activation and KV statistics. Repeating offline calibration throughout training would introduce additional synchronization and data-collection overhead. At the same time, KV compression reduces decode cost by lowering cache traffic and increases feasible concurrency by reducing cache storage. Materializing the cache in higher precision before attention would add memory traffic and computation, substantially weakening the decode-cost benefit of compression. We therefore use a calibration-free representation whose quantization parameters are computed online for each newly produced KV vector and whose compressed values are consumed directly by the attention kernel.

Following rotation-based KV quantization, we apply a fixed normalized Hadamard transform to keys after RoPE and the same transform to queries before attention. Because the transform is orthogonal, it preserves the unquantized QK scores while distributing outlier coordinates before key quantization. Keys are stored in the rotated basis, whereas values remain in their original basis. Combined with the head-wise affine INT4 encoding described above, this yields the calibration-free cache representation that we call KV4. To evaluate the representation independently of the deployed integer attention path, we conduct controlled cache-representation ablations that reconstruct the quantized K/V tensors to BF16 and perform the remaining attention computation in BF16. Appendix D.4 uses this setup to evaluate rotation and group-size choices for affine INT4 and to compare its fidelity with NVFP4 and MXFP4 at comparable storage costs.

Why KV4 alone is insufficient

We compute this quantity before temperature scaling or sampling truncation. The metric captures the conditional distortion introduced by the quantized KV path, but not changes in the prefixes visited by the sampler. It therefore provides a controlled numerical diagnostic that complements the learned-policy comparison in panel (a). Appendix B.5 describes the evaluation protocol.

Improving fidelity throughout the full INT4 cache through finer groups or additional error compensation would introduce overhead that grows with context length. The near-BF16 learning trajectory of KV8 suggests that INT8 provides sufficient fidelity under the tested training recipe. Applying INT8 to the entire cache, however, would sacrifice part of KV4’s execution and capacity advantage. This motivates a bounded selective-precision design that retains the full context in INT4 while using INT8 only for a small set of context positions.

Timing protocol

We measure execution time at three nested scopes. Fixed-workload replay measures captured decode forwards at matched states and therefore isolates the execution benefit of KV compression. Rollout collection additionally includes prefill, carried-prefix reconstruction, scheduling, output collection, and reward scoring, while full-iteration time further includes learner computation, parameter synchronization, and phase transitions. End-to-end rollout also captures the capacity benefit of reduced KV storage: under the same memory budget, it can admit more resident context and sustain higher decode concurrency when KV capacity limits scheduling. We exclude initialization, restart downtime, evaluation, and checkpoint saving. Cumulative speedup is computed as the ratio of summed BF16 time to summed method time over the same update interval, rather than as the mean of per-iteration speedup ratios. Since each training configuration generates responses from its own evolving policy, collection and iteration times reflect execution efficiency, feasible concurrency, and the workload produced during learning. Appendix B.6 specifies the timing boundaries.

From sustained concurrency to KV-aware scaling

Asynchronous and partial rollout improve utilization by sustaining generation across long and heterogeneous responses. Our central finding is that this concurrency also concentrates context processing into fewer and more expensive decode steps, shifting the rollout bottleneck toward the KV cache. KV quantization directly addresses this workload by reducing both the execution cost of each decode state and the memory required to sustain a large active batch. KV4-RL further shows that these gains can translate into faster policy optimization when aggressive compression is paired with sufficient sampler fidelity. KV quantization therefore provides a systems primitive for converting sustained rollout concurrency into end-to-end RLVR acceleration. This mechanism depends on the workload maintained by the rollout engine and is also relevant to disaggregated systems whose rollout workers retain many long prefixes.

Expanding the scaling frontier

Recent frontier architectures substantially reduce context-dependent memory and computation through compressed, local, or hybrid attention designs. These advances expand the feasible context and concurrency range, but the released capacity is increasingly used to support longer reasoning, larger active batches, and more persistent generation state. The same pressure therefore reappears as systems approach the new operating frontier. MoE architectures alter the balance of FFN computation and communication, but their KV workload remains governed by the attention structure. This consideration becomes particularly important for frontier reasoning and agentic RL, where rollouts extend into long multi-turn trajectories with tool outputs, environment observations, and persistent histories. KV quantization complements these architectural advances by pushing the feasible context and concurrency frontier further, positioning it as an increasingly important foundation for scaling long-horizon RLVR.

Limitations

While encouraging, our evaluation focuses on two dense Qwen3 models and mathematical reasoning workloads under a colocated asynchronous GRPO configuration. This setting directly captures the long-generation, high-concurrency regime in which KV concentration becomes important, but it does not cover the broader diversity of modern RLVR systems. Although the underlying mechanism applies whenever rollout workers sustain many long resident contexts, its quantitative impact may vary with model architecture, attention structure, scheduler design, and system placement. Further validation on MoE and hybrid-attention models, disaggregated rollout systems, and broader long-horizon workloads such as agentic and multi-turn RLVR remains an important direction.

Conclusion

In this work, we identified KV concentration as a defining systems consequence of asynchronous RLVR rollout: sustained concurrency reduces low-utilization tail generation but concentrates context processing into fewer and more expensive decode steps. Our analysis and matched-workload measurements showed that this workload shift makes KV cache quantization the most effective acceleration target among the tested quantization configurations. We further found that INT4 KV rollout can degrade learning despite token-level importance correction, demonstrating that aggressive cache compression must be accompanied by sufficient sampler fidelity. Guided by these findings, we proposed KV4-RL, which combines calibration-free INT4 KV storage with bounded INT8 protection of attention sinks and recent context. Across full-parameter GRPO experiments, KV4-RL preserves learned-policy quality close to BF16-rollout training while substantially accelerating rollout and end-to-end training, with larger gains as responses become longer. Together, these results establish KV-aware precision allocation as a practical path for converting sustained rollout concurrency into training acceleration and position KV quantization as an important scaling primitive for long-horizon RLVR.

Policy Evaluation

The final checkpoints are iteration 600 for 4B and iteration 400 for 8B. Both comparisons use evaluation seeds 42/43/44. Each model uses the same evaluation sources across rollout configurations. The Mean column first averages all six tasks within each seed and then computes the mean and sample standard deviation across seeds.

Workload Traces

We discard three collection rounds to form the carry pool before measurement. The 4B summaries use the following twelve rounds. The 8B summaries use the following six rounds at every checkpoint. The early 8B run contains twelve measured rounds, of which the first six form the matched comparison. Sampling uses seed 6101. Statistics combine pure-decode calls from both replicas and exclude prefill calls. Active batch and nominal resident volume are averaged over calls. Per-engine decode throughput is the total committed decode tokens divided by summed CUDA-event decode time. It therefore excludes time spent on prefill and collection outside these calls.

Shared-Prefix Fidelity and Protection Timing

The reported mean gives each state equal weight. Confidence intervals use 10,000 bootstrap samples of the 32 response paths, retaining all eight positions of a selected path together. An independent BF16 process repeat at 4B–300 produces bit-identical reference logits and zero KL. This control measures the repeatability of the comparison within the same engine. The conditional KL remains a sampler diagnostic, while training measures the effect on learned performance.

Protection timing uses heterogeneous contexts to retain the variation encountered by the attention kernel. At 4B–300, we reconstruct 24 batch-context vectors from the midpoint of each measured round across both replicas. They contain 407–475 active responses with mean contexts of approximately 1.4k–1.7k tokens. At 8B, we construct 11 heterogeneous vectors from the mean and quantiles recorded in the iteration-250 traces. These are synthetic vectors because preemption prevents exact reconstruction from contiguous residency records. They contain 260–374 responses with mean contexts of approximately 3.3k–4.7k tokens. The 8B protection kernels and fidelity probe use the iteration-200 checkpoint. Thus its workload shapes and policy parameters come from different recorded iterations.

Rollout and Training Time

Decode replay fixes the active batch and context shapes across precision configurations, so it measures only the execution benefit at a matched resident workload. End-to-end collection instead retains each configuration’s precision-specific KV pool and the resulting scheduler decisions. Its timing therefore includes both the reduction in per-forward execution cost and any change in admitted concurrency caused by the cache-capacity constraint. Because each learned policy also produces its own responses, response-length trajectories are reported alongside these timings to distinguish capacity and execution gains from changes in generated work.

Section 6 sums the iteration and rollout timers along the same checkpoint lineage used for policy evaluation. The 8B comparison contains exactly 400 updates per configuration. If a run restarts from a saved checkpoint, only the branch leading to the evaluated policy contributes to the total. Initialization and restart downtime are excluded together with evaluation and saving. These totals measure cumulative execution of the retained training iterations.