TL;DR
RedFlow is a new offline reinforcement learning (RL) framework that turns robotic deployment failures into precise, action-level "teaching moments." By matching failed actions to successful ones in similar contexts, it enables flow-matching Vision-Language-Action (VLA) policies to learn robust recovery behaviors with 10x better sample efficiency than standard online RL methods.
What Problem Does This Paper Address?
Modern VLA policies, often trained via imitation learning, suffer from a classic problem: compounding errors. When a robot makes a tiny mistake, it enters a state slightly outside its training data. This "distribution shift" causes more errors, eventually leading to a total task failure.
While offline RL is a promising way to fix this using data already collected during deployment, current methods are limited. They either ignore failure data entirely (focusing only on successes) or use "preference labels" (e.g., "this whole attempt was bad"), which are too coarse to tell the robot exactly which action was the mistake and how to fix it. RedFlow aims to bridge this gap by providing dense, action-level supervision from mixed-quality data.
Methods
RedFlow introduces a two-part system to refine flow-matching VLA policies:
- Context-Aware Corrective Matching: Instead of looking at raw pixels (which are high-dimensional and noisy), RedFlow defines a robot's "context" using its proprioceptive state (joint positions) and task progress (estimated by a pre-trained reward model). It clusters these contexts using HDBSCAN. When the robot fails, RedFlow looks into the same cluster to find successful actions performed in a similar context. These become "corrective targets."
- Adaptive Redirection Objective: This is a novel "push-pull" loss function. It operates at three levels:
- Attraction: It reinforces high-quality successful actions.
- Suppression: It uses a repulsive hinge loss to push the policy away from actions that led to failure.
- Redirection: It pulls the policy toward the matched corrective targets, giving the robot a clear path to recovery.
Datasets
The researchers evaluated RedFlow on both simulated and real-world benchmarks:
- LIBERO Benchmark: A standard suite for robotic manipulation featuring four categories: Spatial, Object, Goal, and Long-horizon tasks.
- Real-Robot Tasks: Three challenging tasks performed on a dual-arm Agilex Cobot Magic:
- Clothes Folding: Requires dexterous bimanual coordination.
- Object Sweeping: Involves tool-mediated interaction.
- Table Cleaning: A complex pick-and-place and wiping sequence.
Key Insights and Ideas
- Failures are Diagnostic, Not Just "Bad": A failed trajectory often contains many perfectly good actions. RedFlow's ability to isolate the specific "failure-inducing" chunks allows it to learn much more efficiently than methods that discard or penalize entire trajectories.
- Context over Pixels: By clustering based on proprioception and task progress rather than raw visual features, the system avoids the "curse of dimensionality" and finds more meaningful matches between failed and successful attempts.
- Emergent Recovery: One of the most striking findings was the emergence of recovery behaviors not present in the original expert demonstrations. For example, in the clothes folding task, the robot learned to use its left arm to pull a T-shirt back into reach after the right arm missed a grasp—a behavior it "stitched together" from different parts of the offline buffer.
- Extreme Sample Efficiency: RedFlow reached peak performance using only ~1,500 offline trajectories. To reach the same success rate, strong online RL baselines (like PPO or GRPO) required between 13,000 and 24,000 fresh environment interactions.
Key Results
- Real-World Success: RedFlow improved the real-world success rate from a base policy's 56.7% to 74.7%, significantly outperforming offline baselines like AWR and DPO.
- Bimanual Dexterity: On the difficult clothes folding task, success jumped from 36.0% to 67.0%.
- Simulation Gains: On the LIBERO-Goal suite, RedFlow achieved a 71.2% success rate, compared to 57.8% for AWR and 51.8% for DPO.
Limitations and Future Work
The authors acknowledge several areas for improvement:
- Dependency on Progress Models: The system relies on a pre-trained General Reward Model (GRM) to estimate task progress. If the GRM is inaccurate, the context matching can fail.
- The "Nearby Success" Requirement: RedFlow can only provide a corrective target if a similar successful context already exists in the offline buffer. If the robot encounters a completely novel failure mode, it can only suppress the bad action without knowing how to fix it.
- Future Directions: The team plans to investigate uncertainty-aware target assignment for out-of-distribution states and explore extending the framework to even longer-horizon tasks and iterative offline-online improvement cycles.
Summary updated