# RedFlow: Redirect Failure into Action-level Corrections for Flow-matching VLA Policy

Robotics.world

> Reinforcement learning for VLA policies usually works by evaluating behavior — rewards, preferences, or value estimates say which rollouts were better, but never say what a failed action should have…

**arXiv**: 2607.27782 · Preprint · not peer-reviewed

**Published**: 2026-07-30 · revised · 2026-09-28

**Authors**: Zhengyang Yan, Junhao Li, Fangqi Zhu, Zijun Wang, Quanxin Shou, Yikun Miao, Xiaoyi Pang, Zicong Hong, Song Guo

## In plain words

Reinforcement learning for VLA policies usually works by evaluating behavior — rewards, preferences, or value estimates say which rollouts were better, but never say what a failed action should have been instead. This leaves failed trajectories largely unused and makes learning sample-inefficient.

## AI summary

## Overview

**Research area:** Robot learning — offline reinforcement learning and post-training for Vision-Language-Action (VLA) policies, specifically flow-matching policies for language-conditioned manipulation.

**Technical level:** Intermediate to Advanced. The paper assumes familiarity with flow matching, action chunking, offline RL objectives, and clustering-based data curation.

**Scope:** RedFlow is an offline post-training method that converts a fixed buffer of mixed-quality robot rollouts into action-level corrective supervision for flow-matching VLA policies, evaluated on four LIBERO suites and three real-robot tasks.

## What This Paper Is About

Reinforcement learning for VLA policies usually works by *evaluating* behavior — rewards, preferences, or value estimates say which rollouts were better, but never say what a failed action should have been instead. This leaves failed trajectories largely unused and makes learning sample-inefficient. RedFlow's goal is to extract explicit, action-level corrective targets directly from a fixed set of rollouts that contain both successes and failures, with no human interventions and no online data collection during post-training.

## Key Contributions

1. **Action-level correction from fixed rollouts.** RedFlow turns a static mixed-quality rollout buffer into corrective references by finding, for a low-quality action chunk, higher-quality chunks that were executed in a comparable situation and aggregating them into a target. No new human demonstrations or online interaction are needed during post-training.
2. **Execution-Context Matching.** Rather than requiring identical states (which are rare), the method defines an "execution context" per action chunk from an estimated task-progress signal plus the robot's proprioceptive state, and groups chunks with HDBSCAN. This gives cross-trajectory correspondences without assuming identical visual, object, or contact states.
3. **Quality-Guided Action Redirection.** A signed chunk-quality score (local progress change plus trajectory outcome) labels chunks as positive or negative. The training objective then combines three terms: quality-weighted imitation of observed actions, suppression of negative chunks within an adaptive margin, and redirection of correctable negative chunks toward their cluster-derived targets. A theorem characterizes the local minimizer of the suppression-plus-correction subsystem as a bounded projection.
4. **Simulation and real-robot evidence with a threshold-matched efficiency comparison.** Gains on LIBERO (56.2% to 68.2%) and on three real-robot tasks (56.7% to 74.7%), plus a comparison showing online methods need 8.7–16 times as many fresh post-training rollouts to reach the same LIBERO-Spatial success threshold.

## Main Findings

- **LIBERO average:** RedFlow improves the base policy from **56.2%** to **68.2%** across the four 10-task LIBERO suites, exceeding the strongest evaluated offline baseline, AWR at **62.3%**, by **5.9 percentage points**. Per-suite: Spatial **75.8%**, Object **70.4%**, Goal **71.2%**, Long **55.2%**; the largest single-suite gain is Goal, from **48.6%** to **71.2%**.
- **Baseline comparison:** DPO reaches **58.7%**, CQL **59.5%**, and IQL **60.8%** on the LIBERO average; all share the base policy, buffer, action chunks, and progress/outcome supervision.
- **Real robot:** Across clothes folding, object sweeping, and table cleaning on a dual-arm Agilex Cobot Magic, the average rises from **56.7%** to **74.7%**; clothes folding shows the largest gain, from **36.0%** to **67.0%** (a **31.0-point** increase). Each task is evaluated over **100 trials**.
- **Threshold-matched sample efficiency:** On LIBERO-Spatial, RedFlow reaches **75.8%** with a fixed buffer of **1,536** rollouts, while PPO, GRPO, and DDPO first cross that threshold after 13, 16, and 24 steps of 1,024 fresh rollouts respectively — **13,312**, **16,384**, and **24,576** rollouts, or **8.7–16×** more. The authors explicitly frame this as a comparison of additional post-training interaction, not an end-to-end data-efficiency claim.
- **Data composition matters:** Removing low-quality rollouts drops the three-suite average from **72.5%** to **68.0%**; removing high-quality rollouts drops it to **62.4%**.
- **Both matching cues are needed:** Removing task progress collapses the average to **43.5%**; removing proprioceptive state gives **58.2%**.
- **Redirection beats reweighting alone:** Removing the correction loss gives **63.5%**, removing the suppression loss gives **68.8%**, and removing both gives **65.7%**, isolating a **6.8-point** gain from explicit redirection beyond quality-weighted attraction. Assigning targets without positive support gives **61.0%**.
- **Progress and outcome signals are complementary:** Across all four suites, progress plus outcome reaches **68.2%**, versus **62.2%** for progress only and **54.1%** for outcome only; shuffling trajectory outcomes drops performance to **38.2%**.
- **Qualitative recovery:** In a clothes-folding example, the base policy repeatedly attempts an unreachable right-arm grasp, while RedFlow uses the left arm to pull the cloth back into a reachable configuration. The authors present this as an illustration, not standalone validation.

## Methodology in Plain English

**Setup.** The policy is a flow-matching VLA (a π0 policy initialized from πRL) that, at each step, takes a visual observation, a proprioceptive reading, and a language instruction, and outputs a chunk of consecutive low-level commands. Rollouts are stored with a simple success/failure label.

**Step 1 — Represent each chunk by its situation.** Exact state matches across independent rollouts are rare, so instead of comparing raw states, RedFlow describes each action chunk by two things: an estimate of how far along the task it is (produced zero-shot by a pretrained reward/progress model, then smoothed over a window), and the robot's normalized joint/proprioceptive state. This low-dimensional key is deliberately coarse — the authors state it does not capture object pose, contact, or occlusion.

**Step 2 — Group similar situations.** Chunks from all rollouts for a task are clustered with HDBSCAN in this two-dimensional context space. Chunks in the same cluster are treated as "comparable execution contexts"; outliers remain unmatched.

**Step 3 — Score each chunk.** Each chunk gets a signed quality score: how much the smoothed progress estimate increased around it, plus a bonus or penalty based on whether its episode ultimately succeeded. Positive scores mark good chunks; negative scores mark bad ones. The authors are explicit that this is a retrospective heuristic, not a policy advantage or a causal credit assignment.

**Step 4 — Build corrective targets.** For a negative chunk, RedFlow looks at the positive chunks in its cluster and takes a quality-weighted average of their actions (softmax weights over quality). That average becomes the corrective reference. If the chunk is an outlier or its cluster has no positive chunks, it is "uncorrectable" and gets no target.

**Step 5 — Change the training loss.** Three terms are combined: (i) the standard flow-matching loss, but weighted per chunk by its quality so good chunks are imitated more strongly; (ii) a suppression term that pushes the predicted action away from a negative chunk when it is too close, using a margin that adapts once per optimizer update; (iii) a correction term that pulls the predicted action toward the corrective target, applied only to correctable negative chunks. A theorem shows that, for this local subsystem, the minimizer is the point closest to the corrective target while staying outside the margin around the negative action — so suppression is finite-range and the target supplies the direction.

**Experimental protocol.** Simulation uses four 10-task LIBERO suites with a fixed buffer of 1,536 mixed-quality base-policy rollouts per suite (supervised fine-tuning data excluded from post-training) and 500 evaluation episodes; training builds on RLinf. Real-robot experiments use task-specific π0 base policies with fixed mixed-quality buffers and 100 trials per task.

## Why This Matters

**Impact on research.** The paper reframes failure data as a source of *directional* supervision rather than something to filter out. It also offers an alternative to human-in-the-loop correction pipelines, which provide explicit corrective actions but require repeated expert intervention that is hard to scale across tasks and platforms. The distinction between evaluative signals (rewards, preferences, critics) and corrective signals is a useful conceptual lens for the offline VLA post-training literature.

**Real-world applications:**

- **Household manipulation:** folding laundry and table cleaning, the two task types where the largest real-robot gains appear.
- **Warehouse and logistics picking:** turning existing failed pick-and-place logs into training signal without new teleoperation sessions.
- **Manufacturing and lab automation:** improving deployed manipulation policies from logs of routine operation, where failures are common but expert re-demonstration is expensive.
- **Fleet-scale policy maintenance:** post-training from already-collected rollout buffers avoids the operational cost of running online RL on physical hardware.

**Industry relevance.** The method's selling point is operational: it uses data companies already have (mixed success/failure logs) and requires no online rollouts during post-training. For teams deploying VLA policies at scale, that removes the need for a human-in-the-loop intervention workforce and for risky on-robot exploration.

## Future Directions

- **Uncertainty in corrective targets.** The authors call for better target uncertainty estimation; the weighted centroid is a soft local reference, not a verified counterfactual, and can be misleading for multimodal clusters or when the matched context is only superficially similar.
- **Richer context representations.** The matching key intentionally omits object pose, contact configuration, and occlusion. Extending it — while keeping cross-trajectory matches findable — is a natural next step, since removing either existing cue already costs 14–29 points.
- **Broader and longer-horizon evaluation.** The paper's own conclusion asks for testing in broader, longer-horizon settings; current evidence covers four LIBERO suites and three real-robot tasks with 100 trials each.
- **Better quality scores.** The chunk-quality score inherits the episode outcome for every chunk in an episode, so neutral or necessary actions can receive the wrong sign. Sharper, more local credit assignment — the paper notes the true advantage is unavailable offline — would likely improve target construction.

## Target Audience

Robotics and embodied-AI researchers working on VLA policies, imitation learning, and offline RL; engineers deploying manipulation policies who have accumulated mixed-quality rollout logs; and graduate students interested in how corrective supervision can be derived from static datasets. Readers without background in flow matching or offline RL will need to consult the preliminaries, but the core idea — match similar situations, keep the better action, steer away from the worse one — is accessible without the math.

## Authors’ abstract

Reinforcement learning (RL) can improve Vision-Language-Action (VLA) policies from deployment experience, but reward- and preference-based RL primarily identifies desirable behaviors without specifying how to correct failed actions, underutilizing failure trajectories and limiting sample efficiency. Can such corrections be derived from fixed rollouts? Our key insight is that rollouts with different outcomes may contain action chunks executed in similar states, enabling…

[The full abstract on arXiv](https://arxiv.org/abs/2607.27782)

[Read the original paper](https://arxiv.org/abs/2607.27782)

## Related papers

- [SteerQuant: Steering Quantization Error with Action-Guided Scaling in World-Action Models](https://robotics.world/paper/steerquant-steering-quantization-error-with-action-guided-scaling-in-2609.39056) 2026-09-30 · cs.RO · Also by Quanxin Shou, Song Guo +3
- [META-Robot: Self-Cognition and Capability Scaling in Agentic Robots](https://robotics.world/paper/meta-robot-self-cognition-and-capability-scaling-in-agentic-robots-2610.41868) 2026-10-30 · cs.RO · Also by Fangqi Zhu, Junhao Li +3
- [Failure Detection for Surgical Robot Imitation Policies via Flow-Matching World Modeling](https://robotics.world/paper/failure-detection-for-surgical-robot-imitation-policies-via-flow-2607.27511) 2026-07-29 · cs.RO · Key terms of the title in common
- [Hydra: A Navigation World Action Model with Discrete Latent Planning and Continuous Flow-Matching Execution](https://robotics.world/paper/hydra-a-navigation-world-action-model-with-discrete-latent-planning-and-2608.28995) 2026-08-29 · cs.RO · Key terms of the title in common
- [Uncertainty-Gated Exploration Noise Suppresses Task Collapse in Online RL Fine-Tuning of a Flow-Matching Vision-Language-Action Policy](https://robotics.world/paper/uncertainty-gated-exploration-noise-suppresses-task-collapse-in-online-2609.28838) 2026-09-23 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/redflow-redirect-failure-into-action-level-corrections-for-flow-2607.27782
