Source-linked AI summary

TRANSIC: Sim-to-Real Policy Transfer by Learning from Online Correction

Yunfan Jiang, Chen Wang, Ruohan Zhang, Jiajun Wu, Li Fei-Fei

arXiv:2405.10315v3cs.ROcs.AIcs.LG

TL;DR

Robot-arm manipulation policies remain difficult to transfer from simulation because sim-to-real gaps often require domain-specific knowledge. TRANSIC learns gated residual policies from human online corrections and combines them with simulation-trained policies; the authors report effective transfer across varied gaps that scales with human effort.

  • Problem

    Robotic-arm manipulation transfer remains challenging across perception, embodiment, controller, and dynamics gaps, while common approaches often depend on domain-specific knowledge unavailable a priori.

    Source: §1 · p. 2
  • Method

    TRANSIC uses human teleoperation corrections from real-world policy execution to train gated residual policies that augment simulation-trained base policies.

    Source: §1 · p. 2, §2.4 · p. 4
  • Results

    TRANSIC is reported to address varied sim-to-real gaps collectively and individually, scale with human effort, and outperform traditional transfer methods while using less real-robot data than imitation learning and offline RL.

    Source: §1 · p. 2, §5 · p. 8
  • Takeaways & Limitations

    Combining a strong simulation base policy with limited real-world correction data can support transfer in contact-rich manipulation tasks.

    Source: §5 · p. 8

    TRANSIC requires simulation policies with reasonable performance.

    Source: §5 · p. 8

Abstract

from arXiv · show

Learning in simulation and transferring the learned policy to the real world has the potential to enable generalist robots. The key challenge of this approach is to address simulation-to-reality (sim-to-real) gaps. Previous methods often require domain-specific knowledge a priori. We argue that a straightforward way to obtain such knowledge is by asking humans to observe and assist robot policy execution in the real world. The robots can then learn from humans to close various sim-to-real gaps. We propose TRANSIC, a data-driven approach to enable successful sim-to-real transfer based on a human-in-the-loop framework. TRANSIC allows humans to augment simulation policies to overcome various unmodeled sim-to-real gaps holistically through intervention and online correction. Residual policies can be learned from human corrections and integrated with simulation policies for autonomous execution. We show that our approach can achieve successful sim-to-real transfer in complex and contact-rich manipulation tasks such as furniture assembly. Through synergistic integration of policies learned in simulation and from humans, TRANSIC is effective as a holistic approach to addressing various, often coexisting sim-to-real gaps. It displays attractive properties such as scaling with human effort. Videos and code are available at https://transic-robot.github.io/

1 Introduction

TRANSIC addresses the difficulty of transferring manipulation policies across sim-to-real gaps, which often require unavailable domain-specific expertise. It uses human online correction to learn residual policies that complement simulation-trained policies.

1 Introduction

  • Robotic-arm manipulation remains difficult to transfer because perception, embodiment, controller, and dynamics gaps can coexist, while existing remedies often require domain-specific knowledge unavailable in advance.Identifying which gap affects task completion is also described as intractable.Source: §1 · p. 2
  • The authors propose human-in-the-loop learning as a feasible way to obtain gap-relevant knowledge by having people observe and assist real-world policy execution.They frame this as a generally applicable paradigm that can cover different simulation-reality priors.Source: §1 · p. 2
  • TRANSIC deploys simulation-trained policies with human monitoring; operators teleoperate corrections, which train a residual policy combined with the base policy for contact-rich manipulation.The authors characterize this approach as domain-agnostic relative to methods relying heavily on prior domain knowledge.Source: §1 · p. 2
  • TRANSIC is reported to improve sim-to-real transfer over traditional methods, use less real-robot data than imitation learning and offline RL, and transfer short-horizon skills to long-horizon furniture assembly.The paper’s conclusion also describes transfer as addressing varied gaps and scaling with human effort.Source: §1 · p. 2

2 Sim-to-Real Policy Transfer by Learning from Online Correction

TRANSIC trains a simulation base policy, collects online human corrections during real-robot execution, then combines a learned residual policy with the base for deployment. The method uses point-cloud inputs and gated residual actions.

2 Sim-to-Real Policy Transfer by Learning from Online Correction

  • The framework trains simulation base policies, collects teleoperated corrections during monitored real-robot execution, and integrates learned residual policies with the base for test-time transfer.The method overview describes this sequence as the core pipeline.Source: §2 · p. 2, Figure 2 · p. 3

2.1 Preliminaries

  • The task is modeled as an MDP, with simulation and reality treated as different MDPs and a human operator able to intervene during policy execution.The MDP is defined by state and action spaces, transitions, rewards, discount, and initial-state distribution.Source: §2.1 · p. 3

2.2 Learning Base Policies in Simulation with RL

  • Student base policies use point clouds and joint-position actions, distilled from RL teacher trajectories generated with an operational-space controller.Matched simulation-reality point clouds are also used for regularization during student-policy training.Source: §2.2 · pp. 3–4

2.3 Learning Residual Policies from Online Correction

  • Operators intervene when the base policy behaves abnormally, and the collected pre- and post-intervention states support residual learning rather than direct fine-tuning.The paper notes that direct fine-tuning on human corrections can cause large motions and model collapse; residual actions predict the difference between post- and pre-intervention states.Source: §2.3 · p. 4

2.4 An Integrated Deployment Framework

  • A learned gate determines whether to apply residual actions, so deployment combines the base policy with gated residual actions under a joint-position controller.The gate shares the residual policy’s feature encoder and is jointly trained on the correction dataset.Source: §2.4 · p. 4

2.5 Implementation Details

  • Implementation uses Isaac Gym with PPO teacher training, GMM student policies, and SpaceMouse teleoperation; evaluation benchmarks four FurnitureBench skills for square-table assembly.The four tasks are Stabilize, Reach and Grasp, Insert, and Screw.Source: §2.5 · pp. 4–5, Figure 3 · p. 5

3 Experiments

TRANSIC is evaluated on contact-rich manipulation tasks using real-robot comparisons, with experiments addressing transfer performance, sim-to-real gaps, human-data scaling, and emergent behaviors. It outperforms the reported baselines, including under deliberately exacerbated gaps, and scales with additional correction data.

3.1 Tasks, Baselines, and Evaluation Protocol

  • The experiments evaluate four precise FurnitureBench tasks against transfer, interactive-imitation, and real-data-only baselines over 20 real-robot trials per method.The four tasks are Stabilize, Reach and Grasp, Insert, and Screw; the research questions also cover unseen-object generalization, robustness, long-horizon tasks, and emergent behaviors.Source: §3.1 · p. 5, §3 · p. 5

TRANSIC is effective for sim-to-real transfer and requires significantly less real-world data

  • TRANSIC achieves the best average performance and leads on all four tasks; human corrections boost its average performance by 1.24×.Figure 4 reports average success rates across the four benchmarked tasks.Source: TRANSIC is effective for sim-to-real… · p. 5, Figure 4 · p. 6
  • TRANSIC outperforms interactive imitation-learning methods HG-Dagger and IWR by 0.75× on average.Its separate residual policy and gating combine with the base simulation policy, which runs most of the time and yields to the residual policy when likely to fail.Source: TRANSIC is effective for sim-to-real… · p. 6
  • With only dozens of real-robot corrections, TRANSIC achieves 3.6× better performance than BC-RNN and IQL trained on similarly limited trajectories.The paper reports overfitting and model collapse for those real-data-only methods at this data scale.Source: TRANSIC is effective for sim-to-real… · p. 6
  • Across five deliberately exacerbated simulation-reality pairs, TRANSIC averages 77% success, compared with 18% for IWR.The controlled gaps include perception error, underactuated control, embodiment mismatch, dynamics differences, and object-asset mismatch; these are artificial settings.Source: TRANSIC is effective for sim-to-real… · p. 6
  • Increasing the human-correction dataset from 25% to 75% of its full size improves TRANSIC by 42% on average, versus 23% for IWR.IWR plateaus early or decreases on tasks other than Insert as more human data is added.Source: TRANSIC is effective for sim-to-real… · p. 7
  • TRANSIC reaches 75% average success when zero-shot evaluated on lamp assembly, and the paper reports category-level generalization, robustness properties, human-like recovery behaviors, and chained long-horizon manipulation.Reported behaviors include error recovery, unsticking, safety-aware actions, and failure prevention.Source: TRANSIC is effective for sim-to-real… · p. 7

4 Related Work

Prior work establishes sim-to-real transfer in several robotic domains, while TRANSIC targets more challenging whole-arm, contact-rich manipulation. The paper also positions human intervention and shared autonomy as tools for transferring policies across the simulation-reality gap.

Generalization

  • Figure 7 reports success rates for generalization to unseen objects from a new category, averaged over Reach and Grasp and Screw.The caption identifies the tasks and averaging scope but gives no success-rate values.Source: Figure 7 · p. 7

Sim-to-Real Transfer

  • TRANSIC targets complex whole-arm manipulation, extending sim-to-real transfer beyond domains such as locomotion, dexterous in-hand manipulation, and simple non-prehensile manipulation.The paper reports solving sophisticated contact-rich tasks and requiring significantly fewer real-robot data than behavior cloning.Source: §4 · p. 7

Demonstrations

  • Figure 8 depicts TRANSIC assembling a lamp and a square table from FurnitureBench [85].The caption also points to videos of these tasks.Source: Figure 8 · p. 8

Human-in-The-Loop Robot Learning

  • TRANSIC applies human intervention and correction to sim-to-real transfer, extending human-in-the-loop learning and shared autonomy into this setting.Shared autonomy has largely been studied in assistive robotics and human-robot collaboration.Source: §4 · p. 8

5 Limitations and Conclusion

TRANSIC combines a simulation-trained base policy with a gated residual policy learned from limited human correction data. The paper reports addressing sim-to-real gaps, while noting limits in task setting, intervention decisions, and the quality of the required simulation policy.

5 Limitations and Conclusion

  • The demonstrated tasks are limited to a single-arm tabletop setting; operators still choose when to intervene, and TRANSIC requires a reasonably performing simulation policy.The paper notes that intervention could be automated with failure detection and that the approach could potentially extend to more complicated robots.Source: §5 · p. 8
  • TRANSIC learns a gated residual policy from a small amount of human correction data to complement a strong simulation base policy and address sim-to-real gaps.The conclusion says the approach scales with human effort and addresses gaps both collectively and individually.Source: §5 · p. 8

A Simulation Training Details

  • Simulation training uses Isaac Gym Preview 4 with PhysX and FurnitureBench models, and defines four square-table skills: Stabilize, Reach and Grasp, Insert, and Screw.The task suite covers tabletop stabilization, leg grasping, insertion, and screwing.Source: §A.1 · p. 21, §A.2 · p. 21

A.2 Task Implementations

  • The tasks use geometry curricula for grasping, randomized conditions for insertion, and an action-space curriculum for screwing.Screw success requires 180° rotation into the tabletop, while failure occurs if the leg tilts more than 10° from vertical.Source: §A.2.2 · p. 22, §A.2.3 · p. 22, §A.2.4 · p. 23

A.3 Teacher Policy Training

  • Teacher policies use privileged and proprioceptive observations, operational-space actions, domain randomization, and PPO training.The action space includes end-effector pose changes and a binary gripper command; randomization is applied during RL training.Source: §A.3.1 · p. 23, §A.3.2 · p. 24, §A.3.3 · p. 24

A.4 Student Policy Training

  • Student policies are distilled from successful teacher rollouts using real-world-available observations and joint-position actions.The students use point-cloud encoders and data augmentation; teacher policies generate 10,000 successful trajectories per task, excluding those shorter than 20 steps.Source: §A.4.1 · p. 24, §A.4.2 · p. 25, §A.4.3 · p. 25

A.4.6 Training Details

The student-policy training stage uses matched simulation-reality point clouds for feature regularization and selects a simulation checkpoint by success rate. Real-world learning uses a multi-camera robot setup and a preprocessing pipeline that constructs labeled point-cloud observations.

A.4.6 Training Details

  • Student training regularizes point-cloud features with 59 matched simulation-reality pairs and selects the checkpoint with the highest success rate across periodic 1,000-episode simulation rollouts.The regularization weight is β = 10−3, and training uses Adam with a learning rate of 10−4.Source: §A.4.6 · pp. 25–26

B.1 Hardware Setup

  • The real-world setup uses a Franka Emika 3, four fixed cameras, one wrist camera, and a three-sided wall for external support.A joint-position controller runs at 1000 Hz.Source: §B.1 · p. 27, Figure A.3 · p. 27

B.2 Obtaining Point Clouds from Multi-View Cameras

  • Multi-view point clouds are transformed into the robot base frame, filtered, labeled for scene and gripper points, and uniformly downsampled.Measured gripper points are removed using K-nearest neighbors and replaced with synthetic points derived through forward kinematics; the pipeline avoids farthest-point sampling for speed.Source: §B.2 · p. 27, Figure A.4 · p. 28

B.3 Human-in-the-Loop Data Collection

Operators use a SpaceMouse to intervene during real-world policy execution, producing correction trajectories for residual-policy training. The residual policy predicts corrections and learns a separate gate, reflecting that human correction timing varies across tasks.

B.3 Human-in-the-Loop Data Collection

  • Operators decide whether to intervene during execution and use a SpaceMouse to teleoperate corrections; the collected correction trajectories are split into training and held-out validation data.The collection includes 20, 100, 90, and 17 corrected trajectories for Stabilize, Reach and Grasp, Insert, and Screw, respectively.Source: §B.3 · p. 28, Figure A.5 · p. 28

B.4.1 Model Architecture

  • The residual policy conditions on the base policy’s outputs and predicts residual joint positions, a gripper-action negation, and whether to apply the correction.The policy uses a GMM action head and a two-way intervention classifier; point-cloud encoders vary by task.Source: §B.4.1 · pp. 28–29

B.4.2 Training Details

  • Residual-policy training first learns the feature encoder and action head, then freezes them while training the intervention head.The paper reports that jointly training both heads produces suboptimal residual-action prediction; correction timing also varies across tasks, motivating the learned gate.Source: §B.4.2 · pp. 29–30, Figure A.6 · p. 30

C Experiment Settings and Evaluation Details

C.1 Task Definition

The evaluation covers four fundamental skills needed to assemble a square table: stabilizing the tabletop, reaching and grasping a leg, inserting it, and screwing it in.

C.1 Task Definition

  • The four evaluated skills are Stabilize, Reach and Grasp, Insert, and Screw, which are fundamental to square-table assembly.Initial object poses are randomized during evaluation.Source: §C.1 · p. 30
  • Stabilize moves the tabletop to the wall’s right corner so it remains stable for later assembly steps.Source: §C.1 · p. 30
  • Reach and Grasp requires orienting the end effector to avoid infeasible grasping poses while grasping a table leg.Source: §C.1 · p. 30
  • Insert places a pre-grasped table leg into the tabletop’s far-right assembly hole.Source: §C.1 · p. 30
  • Screw turns an inserted table leg clockwise into the tabletop, starting with the end effector near the leg.Source: §C.1 · p. 30

C.2 Main Experiments

The main experiments compare TRANSIC with baseline methods across four furniture-assembly skills. TRANSIC has the highest success rate in every task.

C.2 Main Experiments

  • Each method was evaluated over 20 trials per task, using different object and robot poses and efforts to match initial settings across methods.The study also reports that full numerical results are in Table A.XI.Source: §C.2 · p. 31
  • TRANSIC outperforms all baseline methods on success rate in each of the four tasks.Table A.XI reports per-task success rates; evaluation used 20 trials per method on each task.Source: §C.2 · p. 31
  • The compared methods include direct transfer, TRANSIC, interactive imitation-learning methods, behavior cloning variants, and IQL variants.Source: §C.2 · p. 31

C.3.1 Experiment Setup

The experiments create several sim-to-real gaps, evaluate their conditions, and examine TRANSIC’s gating, robustness, visual regularization, emergent behaviors, and action-space distillation.

C.3.1 Experiment Setup

  • The five created gaps are point-cloud jitter, early-stopped joint control, a shorter gripper, increased tabletop friction, and replacing the table leg with a light bulb.The gaps are tested on Reach and Grasp, Insert, Screw, Stabilize, and Reach and Grasp, respectively.Source: §C.3.1 · pp. 31–32

C.3.2 Evaluation

  • The gap experiments use 20 trials with different initial configurations; the first four use the main-experiment configurations, while asset mismatch has separate configurations.Source: §C.3.2 · p. 32

C.4 Data Scalability Experiments

  • Table A.XII reports quantitative results for how performance scales with human-correction dataset size across four tasks.Source: §C.4 · p. 32, §C.5.2 · p. 34

C.5.1 Effects of Different Gating Mechanisms

  • Learned gating incurs only negligible performance drops versus human gating, supporting fully autonomous operation after the gating mechanism is learned.Source: §C.5.1 · pp. 32–33

C.5.2 Policy Robustness

  • The robustness tests remove two cameras or inject noise into residual-action correction data; TRANSIC remains robust to partial point clouds and shows a 6% relative decrease in average success rate with noisy corrections.The authors attribute partial-view robustness to point-cloud downsampling and noisy-correction robustness to the base policy compensating for residual-policy errors.Source: §C.5.2 · p. 33

C.5.3 Consistency in Learned Visual Features

  • Without point-cloud encoder regularization during distillation, performance significantly decreases, especially on tasks needing fine-grained visual features.The authors say unregularized simulation policies overfit to synthetic point-cloud observations.Source: §C.5.3 · p. 34

C.6 Qualitative Analysis and Emergent Behaviors

  • TRANSIC exhibits error recovery, unsticking, safety-aware actions, and failure prevention; interventions occur with probability about 0.20 and at different times across tasks.The authors say varying intervention times make heuristic intervention rules difficult.Source: §C.6 · p. 34, Figure A.12 · p. 35

D.1 Empirical Justifications for Action Space Distillation

  • TRANSIC’s action-space distillation is motivated by OSC transfer difficulty and training efficiency: direct RL with point clouds and joint-position actions showed no improvement after seven days, while TRANSIC trained in about three days.The section also explains that OSC requires accurate robot-parameter modeling and can produce joint-position deviations between simulation and reality.Source: §D.1 · pp. 34–35, Figure A.13 · p. 35

D.2 Distilling Simulation Base Policy with Diffusion Policy

The paper examines diffusion-policy distillation, gating design, long-horizon task statistics, and intervention-based policy learning. Its experiments identify limitations of diffusion-policy execution across sim-to-real gaps and compare gated residual learning with residual-only learning.

D.2 Distilling Simulation Base Policy with Diffusion Policy

  • Diffusion Policy is more vulnerable to sim-to-real gaps because planning inaccuracies compound across its executed future trajectory; re-planning each step may help, but inference latency prevents real-time execution.The real-robot comparison is reported in Table A.XIV.Source: §D.2 · p. 36

D.3 Gating Function Justification and Conceptual Comparison

  • On Screw, gating with the residual policy reaches 85% success versus 55% with the residual policy alone; separating gating from correction learning is intended to reduce bias from mostly zero residual actions.The authors report correction interventions at approximately 0.20 probability.Source: §D.3 · pp. 36–37

D.4 Long-Horizon Tasks Statistics

  • The long-horizon task statistics are drawn from FurnitureBench and report number of steps and average human-demonstration length.Source: §D.4 · p. 37

E.1 Intervention-Based Policy Learning

  • During data collection, a human can take control of the base policy; the resulting trajectory distribution combines robot and human observation-action data, while HG-Dagger, IWR, and BC differ in how they weight or select those data.HG-Dagger uses human intervention data, IWR emphasizes human data while balancing distributions, and BC uses full human demonstrations.Source: §E.1 · p. 37

F Extended Related Work

Prior sim-to-real transfer has succeeded in several settings, but complex manipulation remains challenging amid multiple kinds of sim-to-real gaps. TRANSIC applies human intervention and correction to transfer, drawing on shared autonomy and human-in-the-loop learning.

F Extended Related Work

  • TRANSIC demonstrates sim-to-real transfer for complex, contact-rich manipulation and requires significantly fewer real-robot data than prevalent imitation-learning and offline-RL approaches.The paper contrasts this scope with earlier successful transfer in locomotion, dexterous in-hand reorientation, and simple non-prehensile manipulation.Source: F Extended Related Work · p. 37
  • Manipulation transfer is challenged by perception gaps, embodiment mismatch, controller inaccuracy, and poor physical realism.Earlier successes include locomotion, in-hand reorientation with nearby objects, and simple non-prehensile manipulation, while complex manipulation remained more challenging.Source: F Extended Related Work · pp. 37–38
  • Traditional approaches include system identification, domain randomization, real-world adaptation, and simulator augmentation, but often require domain-specific prior knowledge.The passage notes case-by-case engineering, difficulty identifying and randomizing all physical parameters, and potential safety concerns during adaptation or repeated deployment.Source: F Extended Related Work · p. 38
  • Human-in-the-loop learning uses feedback including intervention and correction; TRANSIC extends this trend to sim-to-real transfer by using those signals to address transfer gaps.Related approaches also use human feedback to improve policies iteratively or align rewards with preferences.Source: F Extended Related Work · p. 38
  • Shared autonomy gives humans and robots shared control authority toward a common goal; TRANSIC applies this paradigm to sim-to-real policy transfer.The paper positions this application as a novel perspective on shared autonomy.Source: F Extended Related Work · p. 38
Loading 2405.10315v3…