Breaking Ties in Failed Rollout Groups with Action-Free Demonstrations

Group Relative Policy Optimization (GRPO) is a reinforcement learning method that has no value network, the "critic" that predicts how good each state is. Instead, it samples several attempts at the same task and pushes the model toward the attempts that scored above the group average. This makes it cheap enough to run on large models. In long tasks where the only feedback is a success flag at the very end, it has a basic failure: when every attempt in a group fails, every reward is zero, the group standard deviation is zero, and the update carries no learning signal. Those rollouts cost full inference time and teach nothing. Recordings of experts doing the task are often available, but usually as observations only (video frames, text observations, state logs) with no record of the actions taken. Current methods either turn such recordings into a dense reward, which invites reward hacking, or train a large learned critic on them, which brings back the memory cost that GRPO was adopted to avoid.

We propose a narrower use of these recordings. When a group of attempts all fail, rank the failures by how far along the expert's observed state sequence each one reached, and use only that ranking, normalized within the failed group, as the advantage. Whenever the group contains real successes, the task reward stays in charge, and a progress bonus can never lift a failure above a success. The aim is to keep updates from going silent without changing what the policy is optimized for, and without adding a critic to the training loop.

Core Claim

Action-free expert observations are most useful to critic-free policy optimization as a lexicographic tie-breaker inside groups with no variance in outcome, rather than as a reward. Lexicographic means the outcome is compared first and progress is consulted only among rollouts with the same outcome. Concretely, let $r_i \in \{0,1\}$ be the terminal success of rollout $i$ in a group of $G$. Let $p_i \in [0,1]$ be the furthest fraction of an expert observation sequence that rollout $i$ reached in order. "Reached" means some visited state came within a threshold $\tau$ of the $k$-th expert observation under a small, frozen state embedding, after earlier expert observations had already been matched. The advantage is

$$A_i = \frac{r_i - \bar r}{\sigma_r + \epsilon} + \kappa \, \frac{p_i - \bar p_{T(i)}}{\sigma_{p,T(i)} + \epsilon},$$

Here $\bar r$ and $\sigma_r$ are the group's reward mean and standard deviation. $T(i)$ is the set of rollouts with the same outcome as $i$, and $\bar p_{T(i)}$ and $\sigma_{p,T(i)}$ are the mean and standard deviation of progress within that set. $\kappa$ is chosen small enough that no failure's advantage exceeds any success's, which holds when $\kappa$ times the maximum within-set normalized spread is below the gap between the two outcome terms. In all-fail groups the first term vanishes and only the progress ranking remains. In mixed groups the second term only reorders rollouts that share an outcome.

What is new is the combination of three properties. The signal is ordinal, since only the ranking within a set matters. It is confined to sets of rollouts with identical outcomes. It is computed by matching against action-free demonstrations rather than by a trained critic. Because the bonus cannot raise a failure above a success, the optimal policy under the true task reward is unchanged.

Relation to Prior Work

The motivating evidence comes from the GRPO literature. GRPO is Secretly a Process Reward Model shows that GRPO behaves like an implicit step-level reward model only when rollouts share identical prefixes. That happens in text decoding but almost never in continuous or visual state spaces. Our order-respecting match to expert observations is a substitute for "shared prefix" that works where exact prefixes do not coincide. Your Group-Relative Advantage Is Biased shows that group advantages are badly biased on hard prompts with $G \le 8$ and corrects this by reweighting across batches. Reweighting cannot fix a group that has no signal at all, which is the case we target. Both papers evaluate only on text math.

The closest system-level relatives use demonstrations with action labels. Agent-G$^2$ starts GRPO rollouts partway along an expert trajectory at Gaussian-sampled depths, and it needs the expert's actions to replay the environment to that point. AMPT contributes the gating idea we borrow: feasibility comes first, and relative credit is assigned only afterwards. It also warns that demonstrations outside the policy's current distribution produce destructive gradients. That warning constrains our design. We never imitate the expert directly; we only rank the policy's own rollouts. Both of these systems rely on action-labeled trajectories.

The state-only imitation literature supplies the matching machinery and its known weaknesses. VIP learns embeddings from action-free video whose distances serve as dense rewards, and it still pairs them with standard RL or trajectory optimizers. PW-DICE shows that contrastively learned reachability metrics beat Euclidean distance for state matching. We reuse that technique for $\phi$. LobsDICE and TGE are offline-only and degrade when the data support does not match the expert's. VLAC gets large gains on a real robot from dense progress rewards, but with a 2B–8B critic in the loop. It also documents that progress-based methods fail on cyclic tasks. Our in-order matching inherits that monotonicity assumption, and we treat this as a stated limitation rather than something the method solves. ASH uses action-free video through an inverse dynamics model, which predicts the action from consecutive frames, followed by behavioral cloning. It reports that action ambiguity limits that route.

Research Program

We will build the tie-breaking advantage as a drop-in change to a standard GRPO trainer. The matching embedding $\phi$ has two variants. The first is a frozen pretrained encoder (VIP for pixel observations, a small sentence encoder for text observations). The second is a lightweight InfoNCE reachability encoder in the style of PW-DICE, trained on the agent's own rollouts and refreshed periodically. In either case $\phi$ has a few million parameters and only embeds states. It does not regress values, so it adds neither a model of the policy's size nor a separate value-learning loop. We will measure the memory and wall-clock overhead against GRPO directly, and also report the encoder refresh cost separately.

The analysis has three parts. First, we will measure how often groups have zero outcome variance as training proceeds. This tells us how much of the rollout budget the method can recover. Second, we will check whether the progress ranking correlates with eventual success: does a higher-$p$ failure lead, after the update, to more successes from similar states? Third, we will look for hacking. Lexicographic ordering removes the incentive at the optimum, but during training a policy could still learn to loiter near matched expert states. We will track how often rollouts with high $p$ and zero $r$ occur, and whether their share keeps rising.

Baselines

The naive reference is standard GRPO with only the terminal success reward and the same group size. All-fail groups give it zero gradient. It shows how much signal is lost and is the floor any method must clear.

The strongest critic-free competitor uses action-labeled demonstrations: Agent-G$^2$, run with the expert actions it requires. On ALFWorld it reports 95.3% success with Qwen2.5-1.5B and 98.4% with 7B (Agent-G$^2$). We will rerun it at 1.5B with our seeds and rollout budget. Because it uses strictly more information, we do not expect to beat it. Recovering most of its gain without action labels is the target. Success would mean closing at least two thirds of the gap between plain GRPO and Agent-G$^2$ at matched rollout count.

For pixel-based control, the strongest number in the file is VIP's 40% aggregate online-RL success on FrankaKitchen (VIP). We will reproduce VIP-as-reward under our policy optimizer so that only the use of the signal differs. Beating it means higher success at equal environment steps, with no increase in high-progress failures.

A critic-based reference is PPO with a value network fed the same VIP-style progress reward. This stands in for the VLAC approach at a scale we can run, since VLAC's own critic is far heavier. No reported result on Lacuna was found for a GRPO-versus-critic comparison on these control tasks, so we will report success per GPU-hour and peak memory alongside success.

All methods get the same demonstrations, environment-step budget, group size, and hyperparameter search budget, with five seeds each.

The ablations isolate the key ingredient. In the first, the same $p_i$ is added additively to the reward ($r_i + \beta p_i$, then ordinary group normalization). This is the obvious design and the main threat. In the second, progress is applied only in all-fail groups. In the third, Euclidean matching replaces reachability matching. In the fourth, $p_i$ is shuffled across rollouts within the group, which keeps a nonzero gradient but makes the ranking meaningless. This tests whether the benefit comes from the information in the ranking or merely from having any gradient at all.

Why not just…?

Why not just add the observation-progress distance to the reward, as VIP or VLAC do? This is the most serious alternative, and it may match our method early in training. The concern is that in mixed groups an additive term reorders successes against near-miss failures. That changes the objective and opens the reward-hacking route that Adaptive Reward Design for Reinforcement Learning documents for engineered dense rewards. The additive ablation tests this head-on, across a sweep of $\beta$. If additive shaping matches us on success and on the high-progress-failure rate for every $\beta$, lexicographic ordering adds nothing, and we will say so.

Why not just label the videos with an inverse dynamics model and clone, or replay them as Agent-G$^2$ hints? LobsDICE shows that inverse-dynamics baselines plateau as transitions become stochastic. ASH reports starting labeling accuracy around 60% because of visually ambiguous actions, and behavioral-cloning baselines stalling at 6.5/12 and 6.0/12 milestones. Replaying wrongly labeled actions would also fail to reach the intended start state. We will run this pipeline (IDM labels, then hint-based GRPO) as an extra baseline on ALFWorld and FrankaKitchen, where its errors can be measured against the true actions.

Why not just drop all-fail groups and sample harder or easier tasks? Filtering keeps gradients clean, but on the hardest tasks nearly every group is all-fail. Filtering discards exactly the tasks we want the agent to learn and still pays for the rollouts. Reweighting such as HA-DW (Your Group-Relative Advantage Is Biased) cannot create variance where none exists. We will include zero-variance filtering, with the freed budget spent on resampling, as a baseline and report results per difficulty stratum.

Why not just use PPO with a learned critic? A critic does give signal in all-fail groups, but at the cost of a second large model. ProRL chose GRPO over PPO precisely to cut that overhead. The PPO baseline above reports success per GPU-hour, so the trade-off is measured rather than assumed.

Proposed Experiments

We will use three testbeds where terminal rewards are sparse and observation-only demonstrations can be made honestly by deleting actions. The first is ALFWorld with Qwen2.5-1.5B and 7B: expert trajectories are stripped of their commands, keeping only the text observations, and the setup follows Agent-G$^2$. The second is FrankaKitchen from pixels, with VIP embeddings and the VIP reward baseline. The third is AntMaze from D4RL (D4RL), run online with action-stripped demonstrations, as a long-horizon stitching case. The metrics are success rate, the fraction of groups with nonzero advantage, success per thousand rollouts and per GPU-hour, peak memory, and the high-progress-failure rate as a hacking indicator.

The decisive checks are these. On the hardest third of ALFWorld tasks, the method should beat plain GRPO and zero-variance filtering at equal rollout budget, and the shuffled-progress ablation should not. Against additive shaping, it should show equal or better success with a lower and non-increasing high-progress-failure rate. Its memory overhead relative to GRPO should stay within a few percent while PPO's does not.

A deliberate negative test will use a cyclic FrankaKitchen variant that requires repeated knob turns. There we expect in-order matching to mislead, and the method to fall back toward plain GRPO. If it instead does worse than plain GRPO, the tie-breaker is actively harmful whenever the monotonicity assumption fails, and that defines where the method should not be used.