Research
GUARD: Anomaly-Informed Q-Steering for Generative Robot Policies in Dexterous Manipulation
Generative robot policies (diffusion and flow matching) can imitate complex, multi-modal behavior, but during closed-loop execution small errors can push the robot into states that were never in the…

- arXiv
- 2611.10343 · Preprint · not peer-reviewed
- Published
- 2026-11-07
- Authors
- Aryaman Gupta, Xiaoyue Wu, Rana Soltani Zarrin, Mark Van der Merwe
In plain words
Generative robot policies (diffusion and flow matching) can imitate complex, multi-modal behavior, but during closed-loop execution small errors can push the robot into states that were never in the demonstration data, where the policy becomes unreliable — a problem called covariate shift. Fixing this usually requires extra human demonstrations, policy fine-tuning, engineered dense rewards, or task-specific signals.
AI summary
Overview
Research area: Robotics — dexterous manipulation, generative (flow-matching) policies, imitation learning, and test-time policy steering with reinforcement-learning-style value functions.
Technical level: Intermediate. The paper uses Q-learning and flow-matching notation, but its central idea — "keep the robot near states the policy was trained on, and nudge it toward task success" — is explainable without the math.
Scope: GUARD is a method that steers a frozen, pretrained generative robot policy at inference time using gradients from a Q-function trained on a sparse task reward plus a dense anomaly score derived from the policy's own training data, evaluated on four Adroit simulation tasks and three real-robot screwdriver tasks with an Allegro V5 Plus hand.
What This Paper Is About
Generative robot policies (diffusion and flow matching) can imitate complex, multi-modal behavior, but during closed-loop execution small errors can push the robot into states that were never in the demonstration data, where the policy becomes unreliable — a problem called covariate shift. Fixing this usually requires extra human demonstrations, policy fine-tuning, engineered dense rewards, or task-specific signals. GUARD's goal is to steer a pretrained policy back toward the region its training data covers, while still pushing it toward task success, without modifying the policy or adding human supervision.
Key Contributions
- Anomaly-informed dense reward: A dense reward built from an anomaly score learned only on the policy's training data (no failure examples, no failure annotations), combined with a sparse task reward by independent standardization and an equal-weight sum — no tunable trade-off coefficient.
- Failure-anticipatory Q-learning: Instead of penalizing instantaneous anomaly, the anomaly reward is propagated through the Bellman return, so the learned Q-function anticipates the future risk of drifting into poorly supported regions.
- Q-guided denoising of a frozen flow policy: A pessimistic ensemble of Q-functions provides gradients that bias each flow-matching denoising step toward high-return, high-support actions, leaving the pretrained policy as the behavioral prior (an ensemble size of five and pessimism ρ = 0.5 are used in all experiments).
- Offline-to-online Q adaptation: Q-functions are first initialized offline with behavior-policy fitted Q evaluation, then adapted online to the actual steered policy, because the policy being executed differs from the behavior policy used offline.
Main Findings
- Nominal Adroit performance: GUARD reaches an average success rate of 0.96 (96.0%) across Relocate, Pen, Hammer, and Door, a 36.0 percentage-point gain over the BC flow-matching policy and a 21.0 pp gain over the next-best baseline, DynaGuide.
- Robustness under perturbed dynamics: With task-specific action-noise perturbations (σ_d of 0.1, 0.3, 0.1, and 0.05 on Relocate, Pen, Hammer, and Door respectively), GUARD averages 0.80 success — 39.0 pp over BC and 20.0 pp over DynaGuide.
- Lowest anomaly scores on average: GUARD has the lowest average state-anomaly score (measured with random network distillation) in both nominal (3.18) and perturbed (21.68) settings, supporting the claim that steered rollouts stay in-distribution. One exception is visible in the table: on perturbed Relocate, GUARD's anomaly score (62.49) is higher than several baselines'.
- Both ingredients matter: Gains over U-SA (which steers directly with state-action anomaly gradients) are +24.0 pp nominal and +28.0 pp perturbed; gains over Sparse-Q (task reward only) are +30.0 pp in both settings. The paper reads this as evidence that the Q-function grounding and the dense anomaly signal each contribute.
- Better failure detection: GUARD achieves the highest episode-level AUROC for failure detection on Door among the compared methods (shown in a figure; the numeric value is not stated in the text).
- Data efficiency: Offline-only training is insufficient — the dashed offline-only curve sits well below the offline-plus-online curve. Online, GUARD climbs to approximately 0.9 success within roughly the first 10^5 environment steps and saturates near 1.0, while baselines improve more slowly and to a lower ceiling.
- Anomaly-metric ablation (Door): logpZO 0.95 ± 0.005, Dyn-Ens 0.91 ± 0.008, Recon-AE 0.90 ± 0.02, RND 0.89 ± 0.03, and Dyn-Err collapses to 0.61 ± 0.12 — prediction error conflates model inaccuracy with genuine anomaly.
- Sim-to-real, screwdriver rotation: With n = 20 real-robot trials, success rises from 20% (BC) to 60% (GUARD), a 40.0 pp gain, and the drop rate falls from 80% to 25%, a 55.0 pp reduction.
- Sim-to-real, palm-down reorientation: Success rises from 70% to 95% (a 25.0 pp gain) and drop rate falls from 30% to 5%; terminal orientation error improves from 4.4° to 2.1° and the longest stable hold increases from 32.3 s to 37.5 s.
- A reported failure case: On palm-up reorientation, GUARD hurts performance — success falls from 30% (BC) to 10% and drop rate rises from 5% to 20%. The authors attribute this to inaccurate contact modeling in simulation compared with the real world.
Methodology in Plain English
The starting point is a flow-matching policy already trained by imitation and then frozen. The researchers build three pieces around it.
First, they fit an anomaly detector on the observation data the policy was trained on, so that any state can be scored by how far outside that data it sits. Their default is a flow model that maps observations to a Gaussian latent space; the squared length of that latent vector is the anomaly score. A dense reward is formed by standardizing the log anomaly score of the next state using statistics frozen from an offline buffer, and adding it, with equal weight, to a standardized sparse task reward (in Adroit, −1 everywhere and 0 on success; on the real tasks, 0 everywhere and 1 on success).
Second, they learn a Q-function from this combined reward with an ensemble of five heads, and use a pessimistic combination — mean minus ρ times standard deviation — to avoid exploiting overestimated values. When guiding the flow policy, they do not differentiate through the whole ODE; at each denoising step they take a cheap one-step estimate of the clean action, ask the Q-ensemble for the gradient there, and add that gradient, scaled by a guidance weight λ, to the velocity update. λ is set once after offline training by matching the average gradient magnitude to the average flow-velocity magnitude and then held fixed.
Third, because guidance changes which policy actually runs, the Q-function is trained in two phases: offline fitted Q evaluation on rollouts of the frozen policy (bootstrapping on recorded behavior actions, with per-head target networks), then online adaptation where fresh trajectories from the steered policy are added to the buffer and bootstrap actions are regenerated from the guided target ensemble. All rewards reuse the frozen normalization statistics.
Simulation experiments use all four Adroit tasks with base policies trained on 200 episodes drawn equally from the expert and cloned subsets, and comparisons against BC, LPB, DynaGuide, UA-Flow, Sparse-Q, and U-SA under matched data budgets. Real experiments train everything in simulation and deploy directly to a 16-DoF Allegro V5 Plus hand, using BC policies cloned from 64, 256, and 4096 demonstrations (each 40 s long) generated by a PPO expert in the mjlab simulator with domain randomization.
Why This Matters
- Research impact: The paper reframes anomaly detection from a passive failure monitor into active supervision — a dense reward that can substitute for hand-shaped rewards when only sparse task success is available. It also shows a way to improve a generative policy without fine-tuning its weights, extra demonstrations, or human interventions.
- Real-world applications:
- Multi-fingered in-hand manipulation such as screwdriver rotation and reorientation, where dropping an object is costly and demonstrations are hard to collect with human supervisors.
- Industrial assembly and tool use with dexterous hands operating under contact-rich, hard-to-model dynamics.
- Recovering robustness to environmental variation (the perturbed-dynamics results) without retraining the underlying policy.
- Failure monitoring and pre-emptive correction on deployed robot fleets, since the same learned signal supports failure detection (AUROC) and steering.
- Industry relevance: Because GUARD trains entirely in simulation and transfers directly to hardware, and because it leaves the base policy untouched, it fits a practical workflow: keep an existing imitation-learned policy, add a lightweight value ensemble, and improve reliability with limited offline data plus a modest amount of online interaction (the reported saturation within roughly 10^5 environment steps).
Future Directions
- Fixing the palm-up failure: The paper attributes the palm-up regression to inaccurate simulated contact modeling; improving contact fidelity or sim-to-real calibration for that contact regime is an open problem.
- Beyond the state-distribution anomaly: The ablation shows the choice of anomaly metric matters (Dyn-Err collapsed to 0.61 on Door), leaving open how to design or learn anomaly scores that are consistently strong across tasks.
- Scaling and harder dynamics: All reported simulation results are on four Adroit tasks with a four-layer MLP policy; whether the approach holds for longer-horizon, more varied manipulation and for policies that are not flow-matching is not established here.
- Reducing the online phase further: Offline-only training was clearly insufficient, so understanding what the online adaptation is actually correcting — and whether it can be approximated offline — is a natural next step.
Target Audience
Robotics researchers and graduate students working on imitation learning, generative policies, and dexterous manipulation; reinforcement learning practitioners interested in offline-to-online value learning and test-time guidance; and applied engineers at robotics or manufacturing companies who want to harden an existing learned manipulation policy without collecting more human demonstrations.
Authors’ abstract
Generative robot policies based on diffusion and flow matching can model complex, multimodal behaviors, but remain susceptible to covariate shift during closed-loop execution. Existing approaches mitigate such failures through additional demonstrations, policy fine-tuning, or test-time guidance, but often require human intervention, engineered rewards, or other task-specific signals. We introduce GUARD, an anomaly-informed Q-steering framework that leverages the policy's…
The full abstract on arXivRelated papers
- GoalDex: Learning Image-Goal-Conditioned Policies for Dexterous In-Hand Manipulation 2026-11-01 · cs.RO · Key terms of the title in common
- HandMimicX: Learning Human-Like Dexterous Manipulation via an Object-Centric Policy from Egocentric Videos 2026-10-30 · cs.RO · Key terms of the title in common
- When Reasoning Helps Action: Monitoring and Steering Chain-of-Thought in Vision-Language-Action Policies 2026-09-30 · cs.RO · Also by Aryaman Gupta
- FoLD: Force-Informed Learning for Dexterous Articulated Object Manipulation 2026-09-27 · cs.RO · Key terms of the title in common
- Dexterous Robot Manipulation from Human Demonstrations via Contact-Anchored Retargeting and Residual Policy Learning 2026-09-21 · cs.RO · Key terms of the title in common