ICRA 2027 · Under Review

Deploy, Diagnose, Repair: Iterative Policy Improvement for Fine-Grained Twisting in Real-World Dexterous Manipulation

Anonymous Author(s)

Submitted to ICRA, under review

The knob-manipulation platform and its control loop
The knob-manipulation platform and its control loop. (a) A five-fingered hand operates a knob on an unlimited-rotation axis, and an on-axis sensor streams the knob angle to the host computer. (b) The angle stream feeds policy feedback and criterion evaluation; every command passes a fail-closed reference-likelihood gate. (c) Hardware episode of the final policy: in the episode's final turn-and-hold primitive, the knob reaches the band around a held-out target at decision 176 and holds it for 1 s. (d) One hardware operation cycle.

▶Videos

Real-robot hardware recordings of the knob-twisting policy. Every clip below is executed on the physical five-fingered hand; success is read from the on-axis angle sensor.

▶
Deploy, Diagnose, Repair — paper overview video
narrated hardware footage of the deployed policy and the loop's iterations
▶
Initial deployment — the goal-blind pretrained policy
Initial deployment The pretrained policy turns positive on negative sub-goals and over-rotates the positive ones: 2/30 on the ten-target pool, 0/15 on negative targets.
▶
Iteration 2 — per-sign seed-target repair
Iteration-2 repair Direction-correct supervision synthesized at the failure states clears the sign-specific failure with zero safety faults (17/30, negative 8/15).
▶
Iteration 3 — self-imitation at a held-out magnitude
Iteration-3 repair The policy's own gate-passing recorded actions supervise mid-episode states; at the held-out magnitude −0.36 the knob sweeps monotonically into the band (23/30, negative 12/15).
▶
One hardware operation cycle
Operation cycle Turn-and-hold, release, reset, and recontact — the scripted macro stitches primitives between turn-and-hold sub-goals.

§Abstract

Deployment is not the end of dexterous policy improvement; it is where real-world improvement begins. Deployment exposes residual failure modes under three hardware conditions. Actions are irreversible, data collection is single-body, and no expert is available at failure states. We present the deploy–diagnose–repair (DDR) loop for iterative policy improvement under these conditions. Deploy executes every command through a fail-closed reference-likelihood gate and records each decision for offline replay. Diagnose attributes failures to mechanisms through interventions on recorded experience. Repair either synthesizes corrective supervision from hardware-certified actions or triggers targeted data collection according to repairability. Repairability is judged in two steps, attribution and material. We evaluate DDR on contact-rich knob twisting with a five-fingered hand. Success is the knob angle reaching the ±0.05-rad band around the commanded target, and holding for 1 s. A per-sign repair clears the goal-conditioned baseline's direction-specific failure on negative targets, a reference-likelihood screen admits a self-imitation repair before additional hardware interaction, and guard-side repairs bound the residual. The resulting policy scores 87/90 mixed-sign success with 44/45 negative targets, at a half-band 126× finer than the full-rotation granularity of prior twist-family evaluations.

§Approach: The Deploy–Diagnose–Repair Loop

A policy that performs well during training can still fail under the physical conditions of deployment. Improving a deployed policy differs from pre-deployment training because real-robot deployment imposes three conditions:

⚠️Irreversible actions

An out-of-distribution action can damage the scene or the robot, so every command is certified before execution and the step aborts fail-closed otherwise.

🤖Single-body data collection

One physical robot yields one episode stream (B = 1) within a finite per-session hardware budget, so diagnosis proceeds offline from recorded experience.

🚫No expert at the failure states

The states where the policy fails lie off the demonstrated manifold, so corrective supervision must be synthesized from certified experience, not teleoperated.

The deploy–diagnose–repair loop
The deploy–diagnose–repair loop over the certified record. The deploy row shows four keyframes of one hardware turn. The collection node summarizes targeted collection, the scripted macro gathering new episodes at the failure states on hardware.
Deploy

Three-phase training on a shared actor–critic–predictor architecture, then gated, fail-closed execution on hardware. Every command is certified against the reference-supported set; every decision is recorded with provenance, so every episode replays offline.

Diagnose

Interventional attribution on recorded observations — goal flips, history ablation, counterfactual command replay — localizes the failure mechanism. Interventions, not correlations, carry the method.

Repair

Repairability routes each failure: synthesis from hardware-certified actions when the recorded experience holds corrective material, targeted collection when it does not.

Accept

Candidates pass a pre-hardware reference-likelihood screen at recorded mid-episode states, then a preregistered hardware A/B with fixed episode counts and an invalidation rule. Accepted experience returns to the next iteration's training as a change of data only.

Training pipeline and execution gate
The deployed policy's training pipeline and execution gate. A shared architecture of flow actor, Critic ensemble, value network, and angle predictor serves all three phases: offline pretraining with the true knob angle, online fine-tuning first with the true angle in the loop, then reading the frozen predictor's rolling predictions. At deployment the knob-angle input is masked and every command passes the reference-likelihood gate.

Repairability: attribution + material

Repairability is judged in two steps, attribution and material, over three components — the policy, the scripted macro, and the guard. The attribution decides which component caused the failure; the repair material available there determines whether the repair succeeds. For the policy's component, the test is a data-coverage property: at the failure states, the reference-supported set holds the actions the deploy-time gate would certify — under the repair constraint, also the only actions usable as supervision targets there. If the intersection between corrective actions and this set is non-empty, repair proceeds from recorded experience; if it is empty, no training on the same data can produce a behavior no label exhibits, and the loop routes to targeted collection — before training is spent.

⚙Hardware Platform

Hardware platform: five-fingered hand operating a knob
The physical platform: a five-fingered hand operating a knob on an unlimited-rotation axis, with an on-axis absolute magnetic sensor reading the angle.
  • Hand — TESOLLO DG-5F, 20 joints (12 controlled)
  • Task — fine-grained twisting to commanded signed target angles, relative to episode start
  • Sensing — single-turn absolute magnetic angle sensor, unwrapped across zero crossing
  • Control — one target joint-position command per decision at 100 Hz; six most recent samples stacked
  • Observation — hand proprioception (positions, velocities, currents), executed commands, knob angle & velocity, sub-goal, signed remaining rotation
  • Policy — RealNVP-style flow actor with goal-conditioned base; IQL critic (51-bin categorical); three-phase training at B = 1 with RLPD-style replay mixing
  • Deployment mode — the knob-angle input is masked; the frozen angle predictor's rolling prediction and sign class judge primitive termination
  • Safety — fail-closed reference-likelihood gate on every command, 1-rad/s cumulative-travel clamp, sensor-health guards; every recorded fault caught before damage

One hardware operation cycle

Initial grasp
1 Initial
Contact
2 Contact
Turn and hold
3 Turn & hold
Release
4 Release
Reset
5 Reset
Recontact
6 Recontact

§Results

87/90
whole-task mixed-sign success under the ±0.05-rad band with 1 s hold — 44/45 on negative targets
495/495
primitive-level turn-and-hold sub-goals at the 0.3-s hold (269/269 negative)
±0.05 rad
commanded-angle band — a half-band 126× finer than the full-rotation granularity of prior twist-family evaluations
2/30 → 87/90
the per-iteration record across the loop's four iterations on the ten-target pool
0
teleoperated corrections — every repair is synthesized from hardware-certified actions or collected by the scripted macro
64.5% → 8.6%
lateral-reversal primitives under the accepted guard repair; macro recontact failures removed, 7/10 → 0/10

The loop's four iterations on hardware

The goal-blind actor

The initial flow uses a goal-agnostic base and never reads the goal slot: sweeping the goal moves the dominant drive joint by ~8% and never flips its sign. The deployed repair swaps in a goal-conditioned base distribution, retrained on the same record with no new supervision — frozen episodes at ±2.08 rad targets reverse the knob's direction with zero safety faults.

The history imitator

The offline goal-sweep probe had passed, but the goal-flip intervention overturns it: flipping the goal sign moves the drive joint by only ≈0.03 rad, while ablating the action history flips the response. The per-sign seed-target repair supervises the failure states directly with gate-passing, direction-correct actions and clears the failure with zero safety faults.

Likelihood-guided repair selection

The offline-strongest multi-value variant is falsified on hardware at 0/20; the label-copy variant is withdrawn by the pre-hardware screen. The deployed repair is self-imitation of the policy's own gate-passing recorded actions. A registered retraining study shows returning session data corrupts the angle predictor's direction head, not the actor.

The repairability boundary

At the policy's 4,453 excursion states the mode action is wrong-direction everywhere yet below the reference threshold (0/4453): the NLL screen is structurally blind, and no synthesis source crosses the direction gate. Repair routes to targeted collection; the loop closes at the guard — a reverse-step clamp then a registered lateral-monotonic constraint — and at the macro's stitch-level fix.

Final policy evaluation

Evaluation levelTargetsnHoldSuccess
Primitive level, single sub-goals
Turn-and-hold sub-goalsmixed-sign4950.3 s495/495
Turn-and-hold sub-goalsnegative2690.3 s269/269
Whole task, macro
Full commanded targetsmixed-sign901 s87/90
Full commanded targetsnegative451 s44/45

The recorded iterations are scored on a mixed-sign pool of ten targets spanning −0.45 to +0.377 rad under the 1 s in-band hold:

PolicySuccessNegative-target
π₀, pretrained offline2/300/15
Iteration-1 base (goal-conditioned base)9/301/15
Iteration-2 repair (per-sign seed-target)17/308/15
Iteration-3 repair (self-imitation)23/3012/15
Iteration-4 final87/9044/45

Registered comparisons decided off the main path

ComparisonResultDecision
Online fine-tuning vs. frozen baseline (18 episodes/variant) no significant gain; held-out error of the most probable action stays flat not adopted
Multi-value seed sweep, the offline-strongest variant falsified on hardware at 0/20 falsified
Label-copy variant withdrawn by the pre-hardware screen: 80.8% of supervised states above the deploy threshold withdrawn
Drift-controlled cloning at the boundary (3 registered draws) wrong-direction fraction moves at most one percentage point against the 0.500 requirement rejected
Scripted pull-back candidate follows its labels at supervised states, fails the same direction gate at the excursion states the trigger never reached (wrong-direction 0.995–0.999) rejected
Guard: reverse-step clamp zero effective excursions across 170 negative-motion primitives accepted
Guard: lateral-monotonic constraint (registered A/B) lateral-reversal primitives 64.5% → 8.6% accepted
Scripted-macro stitch fix (policy untouched) recontact init-failed 7/10 → 0/10 class removed
Retraining with session data (28,302 → 68,112 transitions, 3 seeds) direction head collapses from the first retraining epoch on every seed; actor holds parity on every held-out metric (registered pure-BC control, 5 seeds) excluded
Knob twist angle traces across stages
Knob twist angle on negative targets, zeroed at policy onset. The shaded band is ±0.05 rad around the dashed target. (a) Frozen goal-conditioned baseline, target −0.18: the knob turns the wrong way to +0.76 rad and stalls into timeout. (b) The Iteration-2 repair reaches the band at decision 11. (c) The Iteration-3 repair, held-out magnitude −0.36, reaches the band at decision 40.
The repairability boundary
The repairability boundary at the deployed policy's excursion states. (a) The most probable action's reference surprisal lies entirely below the deploy threshold. (b) Its turn component is wrong-direction at essentially every state, mean −0.21. (c) Counterfactual label synthesis against the direction-gate requirement: no source crosses it, nearest-neighbor copy at 0.74%.

Validations

The q-gap probe across actor–critic variants
The q-gap probe Over seeds 7/11/13, one Critic per variant: negative values mean OOD probe actions are valued below data actions. IQL sits in the intermediate, structurally safe band between CQL's aggressive separation and BC's unconstrained Critic. A tanh-Gaussian actor swap matches the flow on every safety metric, so the screens are representation agnostic.
Phase-1 offline pretraining curves
Phase-1 offline pretraining Early stops at epochs 4/5/2. The actor behavior NLL drops from +10.4–+13.9 nats at init to −32.2–−31.0 nats within the first epoch; the angle predictor's direction head settles into the 0.86–0.89 band, the control band the retraining analysis quotes.

BibTeX

@inproceedings{anonymous2027ddr,
  title     = {Deploy, Diagnose, Repair: Iterative Policy Improvement for
               Fine-Grained Twisting in Real-World Dexterous Manipulation},
  author    = {Anonymous},
  booktitle = {Proceedings of the IEEE International Conference on
               Robotics and Automation (ICRA)},
  year      = {2027},
  note      = {Under review}
}