groundy
agents & frameworks

Test-Time Scaling Cost Falls as PRMs Reuse Generator KV-Cache

KV-PRM cuts process reward model compute by reusing generator KV-caches instead of re-encoding text, reducing verification cost by up to 5,000x and making multi-agent.

8 min···2 sources ↓

Step-level verification is what makes multi-agent test-time scaling expensive. A paper posted to arXiv this week attacks the cost by moving the work rather than doing less of it: KV-PRM (arXiv:2607.09153) takes the key-value cache a generator model already produces and hands it to the process reward model that scores each step, so the scorer never re-encodes the text. According to the authors, that turns a quadratic cost into a linear one and drops scoring FLOPs by up to 5,000x.

Why is step-level verification the expensive part of test-time scaling?

The reason most teams do not run heavy verification at inference time is not that the reward models are weak. It is that scoring every reasoning step in a long rollout costs roughly as much as generating the trajectory in the first place.

A process reward model assigns a scalar score to an intermediate reasoning step rather than only to the final answer, which is what makes it more informative than an outcome reward model and also what makes it expensive. A text-based PRM runs a full forward pass over the trajectory text each time it scores a step, and according to the paper that scoring cost grows as O(L²) with sequence length L. In a multi-agent rollout you are both generating many long branches and scoring every intermediate node on every branch, so the verification bill comes to dominate generation. A tree search that expands a hundred nodes, each requiring a step-level score over a growing context, can spend most of its compute on the scorer.

That is the background that has kept strategies like Monte Carlo tree search and weighted voting out of most production setups. Generating the branches is affordable; scoring each one is not. Production deployments have leaned toward outcome reward models that score only the final answer, accepting weaker signal to keep cost bounded. KV-PRM is interesting precisely because it targets the cost that forced that tradeoff.

How does KV-PRM avoid re-encoding the trajectory?

KV-PRM skips re-encoding by reading the key-value cache the generator already built and running a single “verify token” against it, per the paper.

In a standard text-based PRM, each scoring call re-encodes the trajectory from tokens and runs a forward pass to produce a reward. KV-PRM instead transfers the generator’s KV cache directly to the PRM and processes one verify token on top of it. Because the cache is already computed during generation, the PRM is effectively doing a lookup against a representation the generator produced for free, rather than re-deriving it. The per-step scoring cost drops from O(L²) to O(L).

The authors prove the point rather than asserting it. They formally show that the KV cache contains strictly greater information capacity than text for downstream reward modeling, according to the paper. Text is a lossy serialization of the model’s internal state; the cache is the internal state. The argument is that a text-based PRM was discarding information every time it re-encoded the trajectory as tokens, and KV-PRM removes that loss. The proof is a necessary justification, because without it the method would look like a shortcut that trades signal for speed. Whether a trained PRM actually extracts the extra capacity in practice is an empirical question the benchmarks begin to address, but the theoretical case for the substitution is sound.

How much faster and cheaper is KV-PRM?

On three math reasoning benchmarks, the paper reports up to 5,000x fewer scoring FLOPs, 37x lower latency, and a 34x reduction in per-sequence memory footprint compared with text-based PRMs, according to the authors. The benchmarks are MATH, GSM8K, and AIME.

The three metrics carry different weight. The FLOPs and latency reductions are the economics story: per-step scoring gets cheap enough that verifying many more steps across many more branches becomes plausible, which is exactly what MCTS and weighted-voting setups need. The memory-footprint number cuts against the easy reading. A 34x reduction in per-sequence footprint is still a live KV cache held in memory and transferred between two models. At rollout breadth, holding one such cache per active trajectory, across a paired generator and PRM, is a real memory constraint, and the paper does not characterize how it behaves when hundreds of trajectories are in flight.

What does KV-PRM require from infrastructure?

The cost reduction only works if the generator and PRM can share a key-value cache, which is the new engineering constraint the method imposes.

The cache has to be produced by the generator, handed to the PRM, and consumed before it is evicted. That implies co-location of the two models, a compatible cache format, and scheduling that keeps the generator’s KV resident long enough for the PRM to read it across every step of every active trajectory. The paper is thin on implementation detail, and there is no public repository as of 2026-07-13, so the engineering cost of doing this at rollout breadth is not characterized in the source. The risk is that cache lifetime management, GPU scheduling between two models competing for the same device, and eviction policy under memory pressure eat into the headline savings in a real deployment.

The honest framing is that KV-PRM relocates the bottleneck rather than removing it. Compute stops being the gatekeeper; cache-sharing plumbing takes its place, and reward-model quality becomes the other constraint that compute used to mask.

When does multi-agent verification start to pay off?

If verification cost has been the gating factor on how much test-time compute teams spend, then cutting it changes the calculus of when multi-agent reasoning pays off at all.

Strategies that were verification-bound now have headroom. Monte Carlo tree search expands many nodes and needs a value estimate at each one; weighted voting and best-of-N with step-level scoring all scale in the number of nodes they can afford to evaluate. Cheaper per-node scoring widens the search that is economically feasible. The question shifts from whether a team can afford to verify this many branches to whether its PRM is good enough that verifying more branches improves the final answer. Cheap verification paired with a weak reward model produces more confident wrong answers, faster, which is not an improvement.

This is also where the coverage gap sits. Most writing on test-time scaling focuses on new search algorithms or better reward models and treats PRM scoring as a fixed cost to budget around. KV-PRM makes verification cost a variable. That reframes the design space: the binding constraint moves from raw compute to reward-model quality and the cache-sharing infrastructure that makes the transfer work. Teams that have been optimizing search depth under a fixed verification budget may find the budget itself was the thing worth attacking.

What is still unverified?

The paper is a single primary source. There is no public implementation, no independent reproduction, and the results are confined to math reasoning.

The domain limitation is the most important caveat. MATH, GSM8K, and AIME are standard test beds for reasoning work, but they share properties that flatter a step-level verifier: correctness is checkable, step boundaries are clean, and the reasoning is largely self-contained. It is unclear how KV-PRM behaves on domains where steps are less discrete, where there is no ground-truth verifier, or where a trajectory mixes tool calls, retrieval, and free text. The paper does not report those, and agent workflows are exactly the mixed-trajectory case where step-level reward modeling is hardest.

The information-capacity proof is theoretical. It establishes that the cache can carry more signal than text, not that a trained PRM recovers the difference. The benchmark gains are consistent with the proof, but they are single-source gains on a narrow task set. A reproduction on a second architecture, ideally outside math, is what would move the result from interesting to load-bearing.

Finally, the engineering surface is underspecified. Cache transfer across a paired generator and PRM raises questions the paper does not answer: memory pressure when many trajectories are live, GPU contention when both models share a device, and what happens to the cache when a rollout is pruned mid-flight. These are the questions a release with code will have to settle. The direction is plausible and the upper-bound numbers are large. The work to ship it is real, and most of it is not in the paper.

Frequently Asked Questions

How does KV-PRM compare to MCTS optimization approaches?

Most MCTS work optimizes the search policy and rollout budget while treating verification as a fixed cost. KV-PRM makes verification cost variable, which changes which optimization levers matter. If scoring a node becomes 1,000x cheaper, the marginal value of a smarter search policy decreases relative to simply expanding more nodes. Teams that spent months tuning their tree search may find they get better returns by improving reward model quality or cache transfer throughput instead.

How does KV-PRM compare to speculative decoding?

They target different problems. Speculative decoding uses a small draft model to generate tokens that a larger model verifies in parallel, reducing generation cost. KV-PRM makes the verification step cheaper by reusing the generator’s KV cache rather than reducing generation overhead. Speculative decoding speeds up the forward pass; KV-PRM speeds up the backward scoring that search algorithms like MCTS need. You could combine both approaches, but they solve different parts of the test-time compute equation.

What infrastructure changes do teams need to adopt KV-PRM?

You need the PRM model loaded and scheduled alongside the generator on compatible hardware. The cache must stay resident in GPU memory from generation through scoring, meaning both models either share a device or live on NVLink-connected GPUs with high-bandwidth transfer. Your serving stack also needs an inter-model handoff protocol that moves cache references without copying, because copying across PCIe would erase most of the latency gains. Most production deployments today treat models as isolated inference services; KV-PRM requires them as a tightly coupled pair.

What happens when a rollout branch is pruned mid-flight?

The cache for that branch becomes dead weight. In a tree search, most explored branches are discarded because they lead to unpromising states. With KV-PRM, each discarded branch leaves behind a KV cache that occupied memory and compute during its brief life. The paper does not address cache invalidation or early pruning strategies. If your search algorithm aggressively prunes unpromising trajectories, you may spend substantial resources building caches for branches that never contribute to the final answer, eating into the reported efficiency gains.

sources · 2 cited

  1. Process Reward Models in Reasoningarxiv.orgprimaryaccessed 2026-07-13