Skip to content
Robotics.world

Research

ValueFormer: Stage-Aware Value Labels for Online Failure Detection and VLA Post-Training

Generalist VLA policies can be dropped into a new scene with little task-specific training, but they "fail silently": from the action stream alone, a rollout that is collapsing looks much like one…

The paper’s first page · arXiv:2608.02958
arXiv
2608.02958 · accepted · NEURIPS workshop
Published
2026-08-03 · revised · 2026-10-14
Authors
Inkyu Sa, Konstantin Stulov, Rajat Bhageria

In plain words

Generalist VLA policies can be dropped into a new scene with little task-specific training, but they "fail silently": from the action stream alone, a rollout that is collapsing looks much like one making clean progress, because imitation learning supplies no notion of progress.

AI summary

Overview

Research area: Robot learning — specifically, value/critic learning and online failure detection for vision-language-action (VLA) policies used in real manipulation, plus post-training of those policies.

Technical level: Intermediate. The paper assumes familiarity with imitation learning, actor-critic value functions, and transformer architectures, but its central idea — how to shape a per-frame label — is explained in self-contained terms.

Scope: The paper proposes a small, policy-agnostic critic ("ValueFormer," 3.5 M trainable parameters over a frozen DINOv3 backbone) that emits a smooth progress value and a sharp per-frame failure signal from an 8 s history of images and joint states, trained on stage-aware "success-then-decay" labels, and evaluated on a real bimanual sandwich-making station for both detection and policy post-training.

What This Paper Is About

Generalist VLA policies can be dropped into a new scene with little task-specific training, but they "fail silently": from the action stream alone, a rollout that is collapsing looks much like one making clean progress, because imitation learning supplies no notion of progress. The cheapest available label — one success/failure bit at the end of an episode — is learnable in principle but too sparse to say when a rollout went wrong, which is exactly what a critic (needing per-frame advantages) and a safety filter (needing the frame a mistake began) both require. The paper's argument is that the per-frame label is the hard part, and that it should be continuous and non-monotonic — free to fall and rise again as a rollout goes wrong and recovers — obtainable cheaply by having a human mark only the stage at which an episode failed.

Key Contributions

  1. Stage-aware, success-then-decay labeling. A continuous, non-monotonic per-frame return expanded from a single macro stage index per failed episode: pre-failure frames follow the success curve and decay only after the failure stage. Of five label shapes trained under one fixed architecture, it is the only one that neither reveals the outcome at t=0 nor jumps at the failure frame, and label shape alone moves validation loss by 4×.

  2. A causal dual-head architecture aligned with deployment. One causal transformer over a frozen DINOv3 backbone emits a smooth progress value (V_mc) and a sharp per-frame failure signal (V_bin) in a single forward pass; a triangular mask keeps training identical to inference, and an 8 s window of images and joint states supplies the history a single frame cannot.

  3. Detection supervision that scales without new annotation. The sharp head is supervised by mistake intervals, so recovered mistakes also carry signal, and a teleoperation station's existing intervention flag supplies those intervals for free — lifting held-out detection from 0.38 to 0.82 average precision.

  4. An on-robot A/B of the closed loop. Two different critic-derived training weights each raise task completion from 70% to 85% and remove a repeat-pick failure mode against a same-data flag-only baseline, though at n = 20 the gain sits within noise.

Main Findings

  • Label shape is the dominant variable. Across five fail-episode label shapes with model and recipe held fixed, MC-smooth reached validation loss 0.00051 versus 0.00192 (A: outcome-scaled), 0.00202 (B: cliff), 0.00190 (C-linear) and 0.00178 (C-late) — a 4× spread in validation BCE and roughly 3.5× against the nearest alternative, and 2× on rollout MAE (0.024 versus 0.047–0.058). Because each scheme is scored against its own target, these numbers compare learnability, not accuracy.

  • Naive Monte Carlo targets are worse than no label. Setting the value to 0 over every frame of a failed episode teaches the model that clean pre-failure observations predict failure; scheme A leaks the outcome at t=0, and scheme B asks the head to fit a step over an optically continuous transition, which surfaces as oscillation just before the cliff.

  • Intervention flags are a free, scalable supervision source. On a separate HIL set (134 rollouts, 362 k frames, 333 takeovers, 24 episodes held out) at a matched 5% per-frame false-positive rate, adding intervention-derived labels lifted average precision from 0.38 to 0.82, AUROC from 0.69 to 0.94, the fraction of mistakes flagged before the operator reacts from 35% to 95%, and the median detection lead from 1.2 s to 2.4 s.

  • The detection gain is threshold-free and robust. All 48 manual+intervention runs beat all 6 manual-only runs, with a clean gap between the two clusters, and the effect survives variation in label shape, intervention share, context length and detection-head weight.

  • The critic works as a training weight, with a caveat. Against a flag-only IWR control at 70% completion (14/20), both vf-mask and vf-awr reached 85% (17/20), Wilson 95% CI [64, 95]. vf-mask gives the flattest floor (tomato 0.82→0.97, lettuce 0.82→0.95) and is the only variant that improves on the harder second sandwich (60%→90%); vf-awr reaches the highest ceiling (mean subtask 0.96, clean subtasks 92%) but dips on the second sandwich (90%→80%).

  • Repeat-picks vanish under both critic weights. That reflex survived every flag-only lever (more correction data, a doubled replay share, pause-frame removal) yet does not appear once under either critic weight — the clearest signal in the A/B, though the authors note several headline rows track the same three extra completed sandwiches.

  • Serving cost is manageable with the right encode path. Running the critic live pushes π0.5 inference from 58.6 ms in isolation to a p90 of 100.6 ms, close to the ≈100 ms budget left by the 30 Hz loop's three-step action-chunk prefetch (not the 33.3 ms of one control tick). A batched bf16 encode path cuts the 2 Hz tick cost from 266 to ≈52 ms (encode time 349.8 ms → 85.1 ms, 4.1×) and restores the margin at no measurable cost in AUROC (0.943→0.942, AP 0.818→0.816, median lead unchanged at 2.4 s).

  • Two consumers need two targets. One head failed to serve both consumers at every γ tried; separate targets over a shared backbone recover both regimes for one extra 33 k-parameter head.

Methodology in Plain English

Setting. All experiments run on a real bimanual sandwich station: two 7-DoF Trossen WidowX arms, six ingredient bins, and a π0.5 policy prompted with "make a sandwich." The task has six ordered stages (bottom bun, patty, cheese, tomato, lettuce, top bun), and a rollout succeeds only if all six are placed correctly. The dataset is 1,427 episodes (1,249 teleoperated expert successes plus 178 autonomous rollouts: 90 success, 88 failure), subsampled to 213,102 samples, with 21 further rollouts (12 success, 9 failure) held out.

The label. For a successful episode the target rises geometrically toward 1 at the final frame (with γ = 0.99, giving v_0 ≈ 0.23 for a typical 73 s episode). For a failed episode, the annotator supplies only the index of the stage at which things went wrong; the frame where that stage begins is approximated as an equal share of the episode, and the target simply follows the success curve up to that frame, then decays at the same rate. This is what the authors call macro-labeling: one number per failed episode expands into a per-frame continuum.

The second, sharp target. The smooth label changes by at most a factor of γ between frames — exactly what a critic wants and the opposite of what a safety filter wants. So a second head is trained on a per-frame binary target built from hand-annotated mistake intervals: 0 inside any interval, 1 elsewhere, so an episode that succeeds overall still contributes 0-labeled frames over a transient mistake such as a missed grasp the policy retries.

Reusing the intervention flag. A human-in-the-loop teleoperation station already logs a per-frame intervention flag, and each unbroken run of that flag is one takeover. The flag cannot be used directly because it lags — the operator reacts after the action that caused the problem — so the binary target is shifted a fixed lead of λ = 1.5 s earlier than the takeover start, and the ambiguous run-up [t_start − 5 s, t_start − λ) is excluded from the binary loss. Frames inside a takeover are the human's actions, not the policy's, so the value loss carries half weight from t_start − λ to release and the V_mc target dips smoothly (a trapezoid down to a floor of 0.2) rather than stepping down. Training draws only 20% of frames from these noisier intervention-derived labels; validation uses the manual set.

The model. Six views per frame — three camera images (top, left wrist, right wrist) and three region-of-interest crops — are encoded by one shared, never-fine-tuned DINOv3 ViT-L/16 at 518². The six CLS tokens (6×1024), the joint state and two time features are projected to d_model = 256 and summed element-wise, then a 2-layer, 4-head causal transformer runs over an 8 s window and its last token feeds one MLP per head. Both heads train jointly under binary cross-entropy.

The closed-loop test. The critic's outputs are turned into per-frame training weights for the policy: vf-mask sets weight 0 where V_bin < 0.5 marks a failing frame, and vf-awr scales weight by clip(e^(A_t/β), 0.1, 9) with V_mc as the critic (H_A = 50 frames, β = 0.3). Both floor takeover frames at w = 9 and are compared against a flag-only IWR control that leaves autonomous frames of takeover episodes at weight 1. Each variant is scored over 10 trials of two consecutive sandwiches with no scene reset — 20 sandwiches and 120 graded subtasks, each subtask graded in [0, 1] with 1.0 clean and near 0 catastrophic.

Why This Matters

Impact on research. The paper reframes failure detection as a label-design problem rather than a modelling problem, and shows that with architecture and recipe fixed, the shape of the per-frame target accounts for a 4× spread in validation loss. It also shows a practical route to scale: the supervision a fleet-scale loop needs is already being logged by the teleoperation stations in the form of an intervention flag. And because the critic is a percent of the policy's size and trains in three minutes, one critic can follow a VLA across the generations that replace it, while the stage decomposition and annotated failure set stay task-specific.

Real-world applications.

  • Fleet supervision in food-service robotics, where one operator could oversee many robots instead of watching each robot's video stream.
  • Safety filters / pre-abort triggering on manipulators handling deformable or perishable material, where unattended on-policy exploration is wasteful and unsafe.
  • Data curation for imitation learning: identifying and down-weighting the low-value drift frames in otherwise successful demonstrations.
  • General-purpose progress monitoring for any imitation-trained policy that otherwise emits only action chunks and joint commands.

Industry relevance. The paper is explicitly framed around a commercial deployment (Chef Robotics' sandwich station) and reports the engineering numbers that decide whether a monitor is deployable: p90 inference latency against a 30 Hz loop budget, encode-path duty cycle, and an advisory fail-safe design in which a missed or late tick only delays an operator alert rather than entering the control path.

Future Directions

  • Reducing detection lag. Predictions currently lag the true failure by several seconds, roughly half the causal history window; the authors suggest an asymmetric attention kernel favoring recent frames.
  • Automating failure-stage annotation. The smooth head's stage index is still manual: a Gemma-4-26B stage labeler reached only 0.21 MAE on the failure stage as a fraction of the episode, above the 0.10 the authors judged usable.
  • Establishing the closed-loop gain statistically. The A/B covers one path at n = 20 and sits within noise (Fisher exact p = 0.45); a paired re-evaluation with more trials would supply the power it lacks, and abort triggering and advantage conditioning remain untested.
  • Testing across tasks and stations. Every result comes from one task on one station with no external failure detector as a baseline, so the cross-task claims the authors would most like to make are unsupported.
  • Validating detection against an independent notion of failure. The held-out ground truth is itself intervention-derived, so it measures agreement with where the operator intervened, not failure per se; lead time is the exception.

Target Audience

Robotics and embodied-AI researchers working on VLA policies, imitation learning and robot deployment; practitioners building fleet monitoring or safety filters for manipulation systems; and engineers interested in the practical mechanics of reusing human-in-the-loop teleoperation logs as free supervision. Readers focused on reinforcement learning theory or on benchmark-scale evaluation will find the scope deliberately narrow: one task, one station, n = 20.

Authors’ abstract

Generalist vision-language-action (VLA) policies now transfer to new scenes with little task-specific training, but they still fail silently: from the action stream alone, a collapsing rollout looks much like one making clean progress, because imitation supplies no notion of progress. The cheap alternative, a terminal success / failure bit, is learnable in principle yet too sparse to say when a rollout went wrong. We argue that the per-frame label is the hard part, and that…

The full abstract on arXiv
Read the original paper

Related papers