﻿# HIVE: select reasoning prompts at the moving learning edge

HIVE combines reward history and prompt entropy before RL rollouts. Its reported savings depend on micro-batch selection, test-checkpoint choice and workload.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/hive-moving-learning-edge-rollout-selection-evidence/
Language: en

Reinforcement learning for a language model can require several generated solutions for one mathematics problem. But when every solution is correct or every solution is wrong, the response group often contributes little to a model update. HIVE selects prompts before expensive generation, targeting tasks where the model can already produce a useful signal but has not fully mastered the problem. The first paper version appeared on arXiv on 26 March 2026, and the fourth on 28 October; the authors also published [implementation code](https://github.com/JiahaoWuGit/HIVE-Efficient-Rollout-RL). [Preprint and revision history](https://arxiv.org/abs/2603.25184).

The authors call this the *moving learning edge*: as the model changes, some tasks become too easy and previously inaccessible ones can become useful. Their experiments reduce generated responses and training time while maintaining comparable average results on the evaluated tests. These are author results; checking did not establish independent reproduction of the claimed benefit. [Paper sections 2 and 4](https://arxiv.org/html/2603.25184v4).

## Why select prompts

In reinforcement learning with verifiable rewards, RLVR, the model receives a prompt such as a problem statement and generates automatically assessable solutions. GRPO compares several responses within each prompt group. Equal rewards produce zero relative advantage, so the group supplies no useful signal for that policy-gradient update. Generation has already consumed compute even though the prompt was too easy or currently too difficult. [Author explanation](https://arxiv.org/html/2603.25184v4#S2).

A fixed preliminary task list soon becomes stale: after many updates, earlier difficulty no longer necessarily matches the current model. Generating fresh responses and discarding unhelpful groups, as Dynamic Sampling does, pays the checking cost first. HIVE tries to predict usefulness earlier by combining accumulated history with an inexpensive current-model check. [Approach comparison](https://arxiv.org/html/2603.25184v4#S1).

In a preliminary study, the authors estimate utility through the final layer's gradient norm normalized by response length, rather than directly measuring improvement from every example. Strong signals concentrate at intermediate difficulty and high response-token-distribution entropy. Entropy describes model uncertainty here, without guaranteeing that a task will improve learning. [Metric and observations](https://arxiv.org/html/2603.25184v4#S2).

## HIVE's two stages

First, HIVE uses each prompt's previous visits: response-group rewards and generated-response entropy. Repeated visits with equal rewards lower selection probability. Separate exploration probabilities apply to already solvable and currently unsolved tasks; probabilities remain nonzero so a prompt can be revisited after its usefulness changes. Historical uncertainty supplements the estimate, producing a candidate pool without generating new answers. [First stage](https://arxiv.org/html/2603.25184v4#S3.SS2).

Next, the current model checks candidates again. Instead of generating several solutions, it computes average prediction entropy on the prompt's own tokens, requiring only a forward pass over that text. HIVE retains candidates at or above median entropy, then performs ordinary RL response rollouts. The median threshold follows the candidate distribution. The published implementation selects within micro-batches of 32 raw prompts, retaining the upper half of first-stage survivors and rounding the count down to a multiple of eight. After generation, zero-reward-variance groups are still removed and more groups collected until a full update batch is available; preliminary verification does not guarantee that condition. This remains an approximation: question-text uncertainty is different from uncertainty in a future answer. [Second stage](https://arxiv.org/html/2603.25184v4#S3.SS3).

The paper also presents a rank-consistency theorem for the two entropies, but it is conditional on a positive approximately linear relationship with bounded error. The authors do not prove this assumption for every model or task and acknowledge that the bound can be loose. Their component-removal experiment worsens the quality-versus-rollout tradeoff when either stage is removed. [Limitations and ablation](https://arxiv.org/html/2603.25184v4#S4.SS4).

## What the measurements show

Main mathematics experiments use eight NVIDIA A100 GPUs with 80 GB each. Methods train for 1000 steps, generating eight responses per prompt at temperature 1.0. Qwen2.5-Math-1.5B and 7B use a 4096-token context. Training corpora are DAPO+MATH and a separate 30-thousand-example Open-R1 subset. Evaluation occurs every 50 steps on six mathematics benchmarks including Math500 and AIME24; the table reports the checkpoint with the best average across those same tests. Interpretation must therefore account for checkpoint selection on the evaluation benchmarks. [Protocol](https://arxiv.org/html/2603.25184v4).

For Qwen2.5-Math-7B on DAPO+MATH, the authors report 3.9 million HIVE rollouts versus Dynamic Sampling's 13.1 million. Average scores across six benchmarks are 59.7% and 57.8%, with individual tests differing in both directions. Rollouts and costs are counted up to the selected best checkpoint, rather than necessarily the last of 1000 steps. Total elapsed time to that point is 85.8 versus 198.4 hours, approximately 2.3 times faster in this configuration. For comparison, history-based selector GRESO obtains 58.6%, uses 6.3 million rollouts and takes 112.3 hours. This is not a universal speedup: model, data, selection policy and generation's share of total cost all matter. [Table 1](https://arxiv.org/html/2603.25184v4#S3.T1).

Outside mathematics, the authors test tool calling: Qwen2.5-1.5B trains on 80% of BFCL-V2 prompts and is evaluated on the remaining 20%. HIVE scores 79.26% with 1.1 million rollouts, versus Dynamic Sampling's 79.08% and 5.3 million. This single split illustrates another task under the experimental conditions, without establishing transfer to arbitrary agents and environments. [BFCL results](https://arxiv.org/html/2603.25184v4#S4.T3).

The method concerns teams adapting reasoning models with automatically verifiable rewards and spending substantial compute on repeated generation. Evaluation on actual training data needs reward history, token-probability access and a reliable answer checker. Fewer rollouts do not imply the same reduction in total time, and the preprint does not establish equal benefit across every model, task or computing system.

[Controlled curriculum learning](/journal/data-guide-curriculum-order-controlled-replay/) helps separate selected content, order and exposure counts. [Temperature and entropy](/journal/temperature-probability-entropy/) explains uncertainty: high entropy alone does not verify a solution's correctness.

## Sources

- [Wu et al., Train at the Moving Edge, arXiv version 4](https://arxiv.org/html/2603.25184v4): method, protocol, tables and limitations.
- [arXiv preprint record](https://arxiv.org/abs/2603.25184): authors and revision history.
- [Official HIVE repository](https://github.com/JiahaoWuGit/HIVE-Efficient-Rollout-RL): published implementation.
