# Learning to Absorb Corrections: Critic-Weighted Residual Flow for Vision-Based Insertion

Robotics.world

> Demonstration-trained policies such as ACT and Diffusion Policy give robots a good starting behavior, but demonstrations cannot cover every situation the robot meets during deployment, and small…

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

**Published**: 2026-10-21

**Authors**: Yiqing Yuan, Zhi Li, Jinrong Yang, Mingshan Sun, Mei Yu Zhi, Yong Zhao, Liangliang Ren, Hui Cheng

## In plain words

Demonstration-trained policies such as ACT and Diffusion Policy give robots a good starting behavior, but demonstrations cannot cover every situation the robot meets during deployment, and small alignment errors in tasks like plugging in a USB connector can compound into failure.

## AI summary

## Overview

**Research area:** Robot learning for contact-rich manipulation — specifically vision-based insertion, combining imitation learning (Action Chunking Transformer), generative residual policies (flow matching), and value-based guidance from a learned critic.

**Technical level:** Advanced. The paper assumes familiarity with behavioral cloning, diffusion/flow-matching generative policies, residual RL, chunk-level Q-learning, and DAgger-style interactive imitation.

**Scope (1 sentence):** The paper introduces ACT–Flow, an online framework in which a residual flow policy supplies corrections to an ACT prior while successful executions are folded back into that prior, and evaluates it on five real-world manipulation tasks.

## What This Paper Is About

Demonstration-trained policies such as ACT and Diffusion Policy give robots a good starting behavior, but demonstrations cannot cover every situation the robot meets during deployment, and small alignment errors in tasks like plugging in a USB connector can compound into failure. The paper asks how a robot can learn corrections from its own interaction experience *and* absorb the corrections that worked into the base policy itself, rather than leaving them stranded in a separate add-on module. The proposed answer, ACT–Flow, pairs an updatable ACT prior with a conditional residual flow policy, and uses a chunk-level critic trained on both successes and failures to steer which corrections get learned.

## Key Contributions

1. **An online learning framework for vision-based insertion** that connects an ACT prior and a residual flow policy through three stages: anchor-guided initialization, online correction, and feedback from successful experience.
2. **A behavior-absorption mechanism**: successful executed actions update ACT through behavioral cloning (mixed with anchor rehearsal), and residual targets are recomputed against the updated ACT so that correction supervision stays consistent as the base policy changes.
3. **Critic-weighted residual flow learning**: a joint objective combining critic-weighted flow matching (QFM) over multiple model-generated residual candidates with flow matching on successful real executions (SFM), where the critic is trained on both successful and failed interactions and scores the *composed* (base + residual) action.
4. **Real-world evaluation** on three insertion tasks (power-plug, USB, key) plus cable routing and needle threading, with component ablations and diagnostics of base-policy improvement, residual contribution, and critic ranking quality.

## Main Findings

- **Fast early adaptation:** at 20k post-initialization online steps, ACT–Flow reaches 78% (power-plug), 68% (USB), 80% (key), 65% (cable routing), and 40% (needle threading), the highest mean on every task at that checkpoint. Its five-task mean is 66%, versus 48% for FTC, the strongest baseline at that stage — an 18-percentage-point difference. The other baselines at 20k are MILES 29%, AutoSERL 10%, HIL-SERL 27%, and CR-DAgger 35%.
- **The gap narrows but does not close:** the average gap to FTC falls from 18 points at 20k to 9 at 40k and 4 at 60k. By 60k, ACT–Flow reaches a mean success rate of 87%, close to its 88% endpoint at 120k. Final per-task rates are 86%, 99%, 99%, 87%, and 70%; needle threading retains the largest separation, with 70% versus FTC's 60%, and wider variability (12 and 13 points SD, respectively).
- **Corrections are genuinely absorbed by the prior:** disabling the residual at the same combined-policy checkpoint (without retraining) shows ACT's mean success rising from 16% to 76%, a 60-point increase, while the combined policy moves from approximately 23% to 88% in that diagnostic.
- **The residual keeps earning its place:** even after absorption, the residual's final mean gain is approximately 12 points, ranging from 7 on key insertion to 25 on threading. ACT improves most on USB and key insertion (78 and 74 points), while threading shows the smallest ACT improvement (35 points) and the largest remaining residual contribution.
- **The prior matters most for learning speed, not just endpoints:** the independently trained Flow-only variant reaches 32% versus ACT–Flow's 66% at 20k steps, yet their endpoints are 87% and 88% respectively in that diagnostic.
- **Value weighting and successful-action supervision are complementary:** the full model reaches 88 mean SR and 79 NAUC; uniform candidate weights drop this to 82/67, removing SFM gives 78/67, and restricting the critic to successful episodes gives 78/64. Frozen ACT yields 84/73. ACT-only reaches 69/55, and Flow-only 85/65 (14 NAUC points below full).
- **Deformable tasks benefit most from the components:** removing SFM costs 18 points on threading and 14 on cable routing; a success-only critic costs 20 and 12 points. Freezing ACT costs 8 points on threading and 6 on cable routing, versus 2 on each rigid insertion task.
- **The all-buffer critic ranks better:** on a shared pool of eight candidates ranked into low/middle/high groups of 3/2/3, the all-buffer critic produces mean realized returns of 28/55/83 versus 47/56/64 for the success-only critic — high-minus-low gaps of 55 versus 17 return units. Weighted realized returns are 56 (uniform), 68 (success-only), and 75 (all-buffer).
- **Two distinct correction behaviors observed:** the power-plug sequences show *rapid target re-localization* after the socket board is displaced, and *pose following* as an initially inclined board is lowered.

## Methodology in Plain English

**Setup.** A six-axis arm with a gripper, task-specific flanges, and a RealSense D405 close-view camera performs five tasks, with work and ring lights illuminating the contact region. Each control decision produces an action chunk of horizon H = 4; the robot executes up to 4 steps before re-planning, and early termination is allowed.

**Composing base and correction.** An ACT policy proposes a nominal action chunk from the RGB observation. A residual flow policy takes the observation, the (stop-gradient) base chunk, and Gaussian noise, and produces a correction chunk. The correction is scaled by a fixed λ = 1, added to the base, and clipped to legal limits. Zero residual recovers plain ACT, so the same composition is used everywhere: warmup, data collection, scoring, and value targets.

**Stage 1 — anchor warmup.** Human-specified anchor poses define stages (for insertion: approach, aligned pre-insertion, terminal insertion; for cable routing: successive placement poses including clip entry and exit). Demonstrations are collected in overlapping atomic state–action spaces following the HD-Space principle. These train ACT by behavioral cloning; ACT is then frozen and used to compute teacher residuals from successful correction chunks, which warm up the residual flow. The anchor teacher's privileged geometry and target information never enter the policy or critic inputs.

**Stage 2 — online rounds.** Each round alternates in a fixed order: collect with the current ACT–Flow pair; update ACT from successful online executions mixed with anchor rehearsal (α controls the mixture); recompute residual targets for those same executed actions against the *updated* ACT; train the chunk critic; then update the flow with the critic held fixed.

**Why relabeling matters.** A successful action's residual changes whenever ACT improves. Reusing the historically labeled residual would supervise a correction relative to an outdated base, so the target must be recomputed each batch. The executed action stays a fixed reference point even as its decomposition shifts.

**Critic-weighted flow matching.** Before each flow gradient step, a no-gradient snapshot of the current flow generates N = 8 candidate residuals at the same observation. The critic scores each composed, clipped action; scores become softmax weights within the candidate group (temperature τ = 1, stabilized by subtracting the max). The QFM loss fits each candidate separately with its weight — losses are averaged rather than actions, since distinct candidates may encode different corrective motions and averaging them could produce a target matching neither. This is combined with the SFM loss on residuals recomputed from real successful executions, weighted by β = 1.

**Rewards and value.** A ReWiND-based Progressive Model predicts task progress from a single RGB image and a task description; language conditions only reward estimation. Qwen3-VL-8B supplies terminal success labels during warmup, reported at 97% classification accuracy against human annotations. The progress model is fine-tuned on 30 warmup episodes and frozen during online learning. Reward is the progress difference plus a bonus of 100 at success. A two-head chunk critic with Polyak-averaged targets (target update rate 0.005, γ = 0.99) evaluates full composed chunks, with chunk returns and discounts defined over the k executed steps so early termination stays consistent.

**Protocol.** All methods get 30 episodes of initialization; online step zero is counted after that. Curves extend to 120k real environment steps. Evaluation is 100 episodes per task per seed with human-judged success, over three training seeds; main results report means and SDs. Final SR averages the last three predetermined checkpoints, and a normalized area under the learning curve (NAUC) captures performance throughout adaptation. Baselines are MILES, AutoSERL, HIL-SERL, CR-DAgger, and FTC.

## Why This Matters

**Impact on research.** The paper targets a real tension in residual learning: a frozen prior gives a stable reference for corrections but never improves, while an updatable prior can absorb corrections but invalidates the labels the residual was trained on. The relabeling scheme is a clean, general answer, and it applies to any base-plus-generative-residual architecture, not just ACT. The finding that value weighting and observed-success supervision are complementary — and that a success-only critic produces markedly worse candidate rankings — is a useful negative result for anyone building critic-guided generative policies.

**Real-world applications:**

- **Electronics assembly:** USB, connector, and power-plug insertion on moving or repositioned fixtures, as demonstrated by the re-localization and pose-following experiments.
- **Wire harness and cable routing** in automotive and appliance manufacturing, where deformable parts shift during manipulation.
- **Sewing, textile, and medical-device assembly** requiring thread-through-eye precision, the task where ACT–Flow's margin over the strongest baseline persisted to the end.
- **Flexible pick-and-place cells** that must recover when a part is knocked out of alignment after the initial approach.

**Industry relevance.** The framing is explicitly sample-efficient: 30 initialization episodes, then gains measured in tens of thousands of real interactions rather than millions of simulated ones. Evaluation at matched checkpoints, an explicit step-zero definition, three seeds, and 100 episodes per checkpoint per task address the reproducibility complaints that plague real-robot RL papers. The requirement of manually specified anchor poses is the main barrier to drop-in deployment.

## Future Directions

- **Learning task decompositions instead of hand-specifying anchors.** The authors name this directly: the framework requires tasks that admit subtask decomposition with feasible anchor demonstrations and correction warmup, and reducing reliance on predefined anchors is stated future work.
- **Handling the tasks where absorption is weakest.** Needle threading shows both the smallest ACT improvement (35 points) and the largest remaining residual contribution (25 points), suggesting that for some precision tasks the base policy cannot capture what the correction is doing. Understanding why is open.
- **Better critic and weighting schemes.** The candidate-ranking diagnostic is a natural lever: exploring candidate count, temperature, critic architectures, or off-policy evaluation could sharpen the advantage over the uniform-weight baseline, which already loses 6 SR and 12 NAUC points.
- **Scaling and generalization.** All evidence is from five tabletop tasks on one platform with three seeds; whether the relabeling-plus-absorption loop holds across embodiments, longer horizons, or larger task suites is untested here.

## Target Audience

Robotics researchers and graduate students working on imitation learning, residual RL, and generative policies for manipulation; engineers building real-world assembly or insertion systems who need policies that improve after deployment; and practitioners interested in critic-guided fine-tuning of flow and diffusion policies. Readers without background in flow matching or chunk-level Q-learning will find the method sections dense, though the problem framing and experimental results are accessible.

## Authors’ abstract

Vision-based insertion requires correcting alignment errors while retaining useful behavior learned from demonstrations. We present ACT--Flow, an online learning framework that couples an adaptive Action Chunking Transformer (ACT) with a conditional residual flow policy. Following anchor-guided warmup, ACT absorbs successful executed actions through behavioral cloning, while residual targets are recomputed relative to the updated prior. A chunk-level critic learns from…

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

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

## Related papers

- [Agentic RSR: Real-to-Sim-to-Real through Scene Reconstruction and Execution-Grounded Robot Policies](https://robotics.world/paper/agentic-rsr-real-to-sim-to-real-through-scene-reconstruction-and-2610.10479) 2026-10-07 · cs.RO · Also by Hui Cheng
- [HABILIS Brain 0: Geometry-Change Supervision for Vision-Language-Action and Residual Flow Recovery](https://robotics.world/paper/habilis-brain-0-geometry-change-supervision-for-vision-language-action-2609.25558) 2026-09-22 · cs.RO · Key terms of the title in common
- [SUN: Agentic Robot Policy Learning with Persistent Task Programs](https://robotics.world/paper/sun-agentic-robot-policy-learning-with-persistent-task-programs-2608.31167) 2026-08-31 · cs.RO · Also by Zhi Li
- [FetchMan: Learning Visual Humanoid Loco-Manipulation Policies from Simulated Experiences](https://robotics.world/paper/fetchman-learning-visual-humanoid-loco-manipulation-policies-from-2608.17027) 2026-08-17 · cs.RO · Also by Zhi Li
- [X-NavDP: Generalizing Navigation Diffusion Policy to Novel Behavior and Embodiments with Group Q-score Reweighted Matching](https://robotics.world/paper/x-navdp-generalizing-navigation-diffusion-policy-to-novel-behavior-and-2607.28560) 2026-07-30 · cs.RO · Also by Hui Cheng

---

Canonical: https://robotics.world/paper/learning-to-absorb-corrections-critic-weighted-residual-flow-for-vision-2610.29117
