Skip to content
Robotics.world

Research

Visual Sim-to-Real Learning for Robotic Insertion under Geometric Variations: Application to Rebar Installation

Rebar insertion — lifting a bent steel bar and forcing it into narrow slots on a support rack — is one of the most repetitive and physically demanding jobs on a construction site.

The paper’s first page · arXiv:2609.20477
arXiv
2609.20477 · Preprint · not peer-reviewed
Published
2026-09-17
Authors
Tao Sun, Beining Han, Patrick Yin, Rui Xu, Harry He, Abhishek Gupta, Szymon Rusinkiewicz, Yi Shao

In plain words

Rebar insertion — lifting a bent steel bar and forcing it into narrow slots on a support rack — is one of the most repetitive and physically demanding jobs on a construction site.

AI summary

Overview

Research area: Robot learning — visual sim-to-real transfer for contact-rich robotic manipulation, applied to construction automation (rebar installation).

Technical level: Advanced. The paper assumes familiarity with reinforcement learning (PPO), privileged teacher–student distillation, DAgger, domain randomization, and camera calibration/projection.

Scope (one sentence): The paper presents RebarSim, a system trained entirely in simulation that learns to insert geometrically varied rebars held in randomized in-hand poses into a three-slot rack with 1.4 mm clearance, and transfers zero-shot to a real robot at 91.3% success over 150 rollouts.

What This Paper Is About

Rebar insertion — lifting a bent steel bar and forcing it into narrow slots on a support rack — is one of the most repetitive and physically demanding jobs on a construction site. The difficulty for a robot is that there is no single "part": each structural member has its own nominal design, and fabrication tolerances further bend, twist and stretch every individual rebar, so real-world training data would have to be recollected whenever designs or production batches change. The goal is a policy that handles both kinds of variation, learns without any real-world demonstrations or object-pose estimation, and works directly from camera images on the real robot.

Key Contributions

  1. A first-of-its-kind visual sim-to-real insertion pipeline. To the authors' knowledge, this is the first end-to-end visual policy for object insertion that transfers from simulation to the real world while handling variation in both object geometry and in-hand pose, with no real-world demonstrations and no intermediate pose-estimation stage, validated on a practical industrial task.
  2. A study of how training-time geometry diversity affects generalization. The paper factorizes rebar geometry into nominal design and fabrication deviation, runs a 2×2 factorial over which is randomized, and measures the effect on both zero-shot success and adaptation speed.
  3. An empirical study of the visual sim-to-real recipe. Ablations isolate appearance randomization, viewpoint randomization, and the DAgger mixture, identifying which ingredients are essential versus merely helpful.
  4. A working real-robot system. RebarSim seats rebars from a real factory production run at 91.3% (137/150 rollouts), including rebars whose corner angles and out-of-plane twists sit at their tolerance limits.

Main Findings

  • Strong zero-shot transfer. In simulation the policy scores 96.1% on the nine training designs and 96.6% on four unseen designs held out inside the training grid. On the real robot it seats 137 of 150 rebars (91.3%): 68/75 (90.7%) on design 𝒟₁ and 69/75 (92.0%) on 𝒟₂, against 95.4% and 96.8% for the same policy in simulation.
  • Generalization degrades gracefully outside the training grid. On 𝒟_extrap, four designs outside the grid on both axes, simulation success is 77.6% zero-shot.
  • Design diversity matters more than tolerance diversity. In the 2×2 study on 𝒟₁, success goes from 79.4% (neither randomized) to 89.8% (fabrication deviation only) to 95.9% (design only) to 96.6% (both). The design main effect is 16.5 points versus 10.4 for tolerance; adding design diversity on top of tolerance gains 6.8 points, while adding tolerance on top of design adds only 0.7. A nine-design policy beats a single-design specialist on that specialist's own design.
  • Diversity shortens adaptation at the teacher level. Zero-shot success on 𝒟_extrap is 92.6% for the teacher pretrained across diverse designs, 55.4% for single-design pretraining, and 0.0% from scratch. The diverse teacher already starts above 90% (fine-tuning adds 5.6 points); the single-design teacher needs 77 M samples to reach 90% and from-scratch training needs 667 M. All three converge to 96–98% within the shared 1.0 B-sample budget, so diversity determines sample cost rather than final performance.
  • Pretraining shortens adaptation at the student level. The RebarSim student reaches 77.6% zero-shot on 𝒟_extrap versus 55.1% for the single-design student. To reach 85%, they need 0.19 M and 0.26 M distillation samples — 6.2× and 4.5× fewer than the 1.17 M needed from scratch — and they plateau at 90–93% versus 81–85%.
  • Appearance randomization is indispensable. Removing it leaves the student able to solve its own fixed-appearance environment (91.1) but collapses to 2.8 under the randomized appearances used at deployment.
  • The DAgger mixture is the second most important ingredient. Replacing it with pure behavior cloning costs 27.2 points (68.9 versus 96.1); removing viewpoint randomization costs 5.9 points (90.2).
  • Robust to background changes. Across 30 real rollouts in five deployed scenes (construction lab, two re-textured, two cluttered), 25 rebars seated, versus 6/6 in the clean lab; the two hardest scenes — a marble backdrop and a heavily cluttered scene with toys, tools and cables — still seated 4 of 6.
  • Recovery behavior emerges without being programmed. About 20% of real insertions did not seat on the first attempt: the rebar collided near the slots, the policy backed it out, and retried until it seated. No retry term exists in the reward and no such behavior is coded in the controller.
  • A characteristic failure mode. In some rollouts the policy keeps rotating the rebar against contact instead of backing out; the grasp cannot transmit enough torque to overcome friction, producing a growing in-hand roll shift until recovery is impossible. The authors attribute this to simulation–reality contact differences.

Methodology in Plain English

The authors build the task in simulation (Isaac Lab) and train in three stages.

Stage 1 — a privileged teacher. A procedural generator creates a family of rebars: a nominal design defined by leg length and crossbar width, perturbed by fabrication error (length and width within ±5%, corner angles at 90° ± 3°, out-of-plane twist at 0° ± 5°, and hook lengths between 20 and 100 mm at 45°, 60° or 90°). The study uses #3 rebar with diameter held at 9.5 mm. A state-based teacher is trained with PPO using simulator internals as input — including the poses of the rebar's segments and the peak contact force — with a reward that is a fixed weighted sum of alignment, success, contact-force penalty and motion-smoothness terms, plus a penalty for abnormal arm motion. The policy outputs a 6-DoF fingertip pose delta at 10 Hz, tracked by a task impedance controller on the seven arm joints. Crucially, training starts from a precomputed bank of 5,000 reset states per rebar variant, mixing free-space approach poses (1:1) with partially inserted poses obtained by "physics back-out," so the policy experiences every stage of insertion rather than only the easy beginning.

Stage 2 — a visual student. The teacher is distilled into a student that sees only what a real robot could see: eight RGB views (six close-ups on the slots, two wide views of the whole rebar) plus 21 dimensions of proprioception over a four-step history. One ImageNet-pretrained ResNet-18 encodes all views with a learned per-view embedding; a small MLP outputs the action. Distillation mixes behavior cloning with online DAgger at a 0.5/0.5 ratio, so the student is also trained on states it visits itself. Everything that changes appearance is randomized during distillation: HDRI lighting, independent textures and materials per object, and camera pose jitter of ±1 cm on all eight views and ±3° on the wide ones. Dynamics randomization (friction, armature, controller gains, surface friction ranges) continues from teacher training.

Stage 3 — real deployment. On a Franka Research 3 with two ZED Mini stereo cameras, the frozen student is run directly. Each real camera image is cut into fixed crops matching the simulated views and warped by homography into virtual cameras that face their targets the way the simulated cameras do. Torque commands are interpolated to 1 kHz, and the roughly 0.7 kg rebar gravity load is compensated manually.

Evaluation. Success means all slots within 5 mm of the seated pose. Simulation numbers use 4,096 episodes for teachers and 2,304 for students; real evaluation covers two designs (both grid points of the training set) with five rebars each from a real factory batch, fifteen rollouts per rebar.

Why This Matters

Impact on research. The paper shows that an end-to-end visual policy can handle a task where the object itself is not standardized — both its shape and its pose in the hand vary — without pose estimation, CAD models, or any real-world data. It also provides a clean decomposition of geometric variation into design and tolerance, with evidence that design-level diversity transfers to unseen tolerances but not the reverse, which is a useful design principle for anyone building sim-to-real pipelines for families of parts.

Real-world applications:

  • Robotic rebar-cage assembly for beams, columns and pile cages, where stirrups are among the most numerous shapes on site.
  • Prefabrication yards and modular construction, where batches change and re-collecting data per batch would be prohibitive.
  • General tight-clearance insertion of fabricated, non-standard parts — connectors, fittings, dowels — where millimeter alignment and contact resolution are required.
  • Any setting where a policy must be redeployed quickly to a new part variant, since pretraining cuts adaptation to 4–6× fewer distillation samples.

Industry relevance. Construction faces a documented shortage of skilled labor, and rebar work is repetitive, physically demanding and associated with musculoskeletal injuries. A system that is trained in simulation and needs no site-specific data collection maps directly onto how fabrication tolerances and design revisions actually behave in production, where almost no rebar matches its nominal drawing exactly.

Future Directions

  • Grasping is assumed, not learned. RebarSim starts each episode with the rebar already in hand; the authors intend to train the grasp stage in simulation with RL and compose it with insertion into a single grasp-and-insert pipeline.
  • Fixed viewpoints limit deployment. The eight views are fixed bounding-box crops laid out for one target slot group, and other slot groups on the rack are not considered; active vision, where the policy chooses which image region to resolve, would make that choice part of the learned policy.
  • Closing the contact-model gap. The failed-recovery behavior — rotating against contact until an unrecoverable in-hand roll shift occurs — is attributed to simulation–reality differences in contact, pointing to better contact modeling or system identification.
  • Automatic gravity compensation for the payload is left to future work, as is target-slot selection from a color or position cue in the observation.

Target Audience

Robotics researchers working on sim-to-real transfer, teacher–student distillation and contact-rich manipulation; engineers building construction or prefabrication automation; and practitioners who need insertion policies for families of non-standard parts without real-world demonstration collection. Readers without a background in RL will find the high-level results accessible but the methodology sections demanding.

Authors’ abstract

Rebar insertion is among the most repetitive and physically demanding tasks on construction sites, and a contact-rich problem at 1.4 mm clearance. The parts, however, vary at two levels: a nominal design per structural member, and fabrication tolerance around each nominal design. Real-world data therefore has to be re-collected as designs and batches change. We present RebarSim, a visual sim-to-real system trained entirely in simulation. A privileged state-based teacher is…

The full abstract on arXiv
Read the original paper

Related papers