ΒΆPaper Feed

Issue 42 Β· Pick 08 Robotics βœ“ read

Blind Precise Assembly: Proprioceptive Sim-to-Real Peg-in-Hole for Diverse Parts

Antonia Bronars, Younghyo Park, Kushal Kedia, Pulkit Agrawal

TL;DR: A robot arm's joint encoders already measure contact β€” any force on the body shows up as a deviation between what the joints were commanded to do and what they actually did. This paper shows that signal alone, with no camera, no force/torque sensor, and no tactile skin, is enough to learn millimeter-precision assembly: peg insertion, gear meshing, and nut threading, trained entirely in simulation with RL. The peg policy transfers zero-shot to a real arm and succeeds on 73% of 237 trials across eight peg shapes (0.5–1.5 mm clearance per side), with the hole pose, grasp, and part geometry all unknown to the policy. More surprisingly, in controlled sim comparisons the blind policies generalize far better to unseen part shapes than matched vision policies β€” 36% vs 4% on random convex pegs. A second, quieter contribution may get used even more: mjfit, an open-source procedural generator that builds pegs, holes, threads, and gears from exact convex pieces so MuJoCo can simulate sub-millimeter clearances correctly and fast.

The regime that was supposed to need better sensors

Proprioceptive "blind" policies are old news in locomotion. Quadrupeds climb stairs and humanoids walk using only joint histories, because foot strikes are large, forceful events that scream through the kinematic chain. The standing assumption has been that precision assembly lives at the opposite end of the spectrum: finding a hole with a millimeter of clearance, catching a thread, meshing gear teeth β€” these involve light, glancing contacts whose effect on joint readings is easy to miss. So the field reaches for force/torque wrists, wrist cameras, tactile fingertips, or at minimum a calibrated goal pose that's known to within a few millimeters.

This paper asks whether that assumption is actually true, and sets up the hardest version of the question. The policy observes a 0.6-second history (30 steps at 50 Hz) of joint positions, joint velocities, the gripper pose and twist computed from them by forward kinematics, and its own previous actions. It never sees the hole pose, the part's shape or size, the clearance, or where the part sits in its grasp β€” and the grasp is randomized substantially: the deployed peg policy trains with the part offset up to Β±7 mm along the finger pads and tilted up to Β±20Β° in the fingers. Everything the policy knows about the world, it must extract from how its own motion deviates from its commands.

The signal and the architecture

Here's the physical intuition. The arm runs a joint impedance controller: the policy outputs small joint-position increments, and the controller applies spring-damper torques toward those targets. In free space, measured positions track commanded ones. The moment the held peg touches the plate, the contact force propagates through the links to the joints, and the measured trajectory peels away from the commanded one. The pattern of that deviation β€” which joints, which direction, how it evolves as the arm moves β€” encodes where and how contact is happening. The encoders become a distributed, whole-arm tactile sensor. The catch is that reading it requires memory (a single snapshot is ambiguous) and requires the policy to move in ways that make the signal informative β€” active perception, learned implicitly by RL.

The architecture is deliberately minimal: a temporal convolutional encoder compresses the 30-step observation history into a 32-dimensional latent z_t; an MLP maps z_t plus the current observation to seven joint-position increments. Trained with PPO across 12,288 parallel simulated worlds, each holding a different randomly generated assembly, with domain randomization over contact friction, contact stiffness, gripper force, fixture pose (tilted up to Β±10Β°), and grasp.

Two training-only tricks make learning from sparse reward tractable. First, an asymmetric critic that sees privileged state (true part pose, contact labels). Second β€” the more interesting one β€” contact supervision: at every step the simulator labels 64 points on the part's mating features as free, touching-but-misaligned, or aligned. A small decoder head predicts these labels from z_t, and its cross-entropy is added to the PPO loss. The gradient shapes the encoder into a contact estimator, but the decoder's output never reaches the actor, and the decoder is deleted at deployment β€” so nothing privileged leaks. This is worth 2.7Γ— (peg) to 5.1Γ— (nut) in sample efficiency, and the tasks are still learnable without it.

joint angle vs. time contact begins commanded measured the deviation IS the sensor 0.6 s history q, qΜ‡, pose, aβ‚œβ‚‹β‚ TCN zβ‚œ MLP Ξ”q targets β†’ impedance ctrl contact decoder predicts contact labels Δ‰β‚œ CE loss vs. sim labels training only β€” gradient shapes zβ‚œ, decoder dropped at deployment No camera. No force/torque. No hole pose. No grasp pose.
Contact is sensed as the deviation between commanded and measured joint trajectories (left). A temporal-convolution encoder compresses 0.6 s of this into a latent; an auxiliary contact-prediction loss (dashed) forces the latent to encode contact state during training without any privileged information reaching the actor.

The unsung prerequisite: a simulator that respects 0.5 mm

There's a reason nobody did this before, and it's partly infrastructural. Training needs thousands of distinct assemblies, each simulated with its tiny clearance intact. MuJoCo collides meshes via convex hulls, so a concave hole must be either built from convex pieces by hand (doesn't scale to random shapes) or handled by approximate convex decomposition (CoACD, V-HACD) or signed-distance collision. The authors show both alternatives quietly destroy the task: decomposition tolerates concavity errors larger than the clearance, leaving phantom wall material inside the hole β€” in their benchmark it literally fills an M10 nut's 0.1 mm thread clearance β€” and mesh SDF misses contacts and rounds the rim. A perfectly centered, aligned peg dropped 1 mm above the hole jams or stops on the rim with every baseline's default settings, and falls cleanly through with theirs.

mjfit's fix is simple and principled: take the hole's planar outline, split the surrounding plate into convex polygons, and extrude them into exact convex prisms; define the peg as the hole outline offset inward by the clearance. Curves are tessellated with a circumscribed polygon, so the wall can never intrude into the true hole β€” the only error is a known amount of extra play at corners, c\,(1/\cos(\pi/n)-1) for an n-sided circle at clearance c (sub-micron for reasonable n). The same construction generates ISO threads and involute spur gears. On their passive-probe benchmark with analytic ground truth, mjfit hits ≀2.6 Β΅m error at 20 Β΅m radial clearance while running 29–93Γ— real-time on one CPU thread, versus mesh SDF at 2.2–2.9Γ— real-time with 23–79 Β΅m error or outright clearance-filling. Each assembly is a few dozen convex pieces, cheap enough that all 12,288 training worlds hold different parts.

true geometry peg clearance c ~ 0.02–1.5 mm CoACD / V-HACD hull pieces intrude: peg jams mjfit peg circumscribed wall: error only as extra play, c(1/cos(Ο€/n) βˆ’ 1)
Dashed circle: the true hole wall. Approximate convex decomposition (middle) leaves phantom material inside the hole β€” larger than the clearance itself β€” so even a perfectly aligned peg jams. mjfit (right) builds the wall from exact convex prisms circumscribing the outline, so it can only err toward slightly looser fits, by a closed-form amount.

Is it searching, or flailing?

The obvious skeptical read is that the policy learned a clever open-loop wiggle. Section 3.2 is the paper's best section because it tests this three ways.

First, a linear probe fitted on the history latent z_t decodes which of seven task "modes" the system is in (lifted, searching far/near, partly engaged, inside and moving, stuck, ...) at 61–73% balanced accuracy across the three tasks, against 14% chance and only 41–64% from the current observation alone β€” so the latent genuinely integrates contact evidence over time. Second, a latent-swap intervention: injecting the latent from a state in a different mode changes the policy's action 1.3–3.0Γ— as much as swapping within the same mode, so the policy actually uses this inferred contact state. Third, efficiency: against an optimistic scripted spiral search (given the peg's orientation, the best starting direction, and started flush with the opening), the blind policy travels a median 37 mm before seating versus 95 mm. And strikingly, the same probe β€” fitted purely in simulation β€” decodes the correct mode sequence from the latent on the real robot.

The generalization result that should update you

Both blind and visual policies (identical tasks, rewards, randomization; the visual one gets a 64Γ—64 wrist RGB stream over the same history) reach near-perfect in-distribution success. The divergence appears out of distribution:

Peg insertion: success on unseen parts (sim)success (%)02040608010099.497.2In-dist93.854.1Tighter clearance93.340.1Very slender91.916.4Extreme size36.23.9Random convex shapeBlind (proprioception)Visual (wrist RGB)Table 7 of the paper; each OOD category widens one part property beyond the training range. Mean over two training seeds.

The pattern repeats on the other tasks β€” on nut threading the visual policy collapses to 1.6% at extremely different nut sizes while the blind one holds 98.4%. The explanation is clean and generalizes beyond this paper: a vision policy entangles the task with the part's appearance, and learns to align visual features that may simply not exist on held-out geometry. A blind policy interacts with the part only through its contacts, and the contact physics of "slide until the edge catches the rim, then pivot in" is shared across shapes. Less sensing, in this regime, means a more invariant input distribution. This cuts against the reflexive "more modalities is more robust" assumption, and rhymes with the imitation-learning finding (which the authors cite) that adding robot state can hurt by suppressing visual learning β€” here the causality runs the other way.

The price is speed: the blind peg policy seats in a median 0.80 s versus 0.44 s for vision (65 vs 82 insertions/min counting failures), because it must search by feel. On gears and nuts the gap nearly vanishes β€” the held part occludes the camera, so the visual policy has to search too.

Real-world transfer

The frozen policy runs at 50 Hz on a Flexiv Rizon 4S with a Robotiq 2F-85, with no fine-tuning and no real data. Eight 3D-printed pegs, 30 planned trials each, starts drawn from the simulated reset distribution (randomized grasp position and tilt, peg touching the plate near the hole):

Real-world zero-shot peg insertionsuccess (%)01020304050607073Overall (237 trials)66Tighter: 0.5 mm clearance66Larger cross-section72Taller handleSection 3.4; the last three pegs are outside the training distribution. In-distribution pegs individually score 73–80%.

73% overall, 73–80% on each in-distribution peg, and only a modest drop on the three out-of-distribution pegs. The behavior matches sim: press onto the surface, sweep, drop in when the opening passes under the peg. The authors claim this is the first sim-to-real demonstration of precise insertion from proprioception alone, and I don't know a counterexample β€” prior "minimal sensing" work used fingertip tactile, F/T wrists, or a goal pose good to a few millimeters.

What to be skeptical about

Read the limitations honestly, because the authors mostly do. This is a last-mile skill: every episode begins with the part already touching the fixture, a median 1–2 cm from the goal, so something else (scripted motion or vision) must get it there, and the behavior is local β€” a peg that slips out of the grasp and lands far away is unrecoverable. Only peg insertion was deployed on hardware; gear meshing and nut threading β€” arguably the more impressive capabilities, with 0.05–0.2 mm thread clearances β€” remain sim-only, and threading in particular stresses the simulator in ways reality may not forgive. Real clearances were 0.5–1.5 mm per side; industrial press-fit territory (tens of microns) is untested, and their own benchmark notes the physics can't even resolve geometric error below ~20 Β΅m. Success was operator-judged, and there's no real-world visual baseline β€” the blind-vs-visual comparison lives entirely in sim, where the visual policy's rendering gap is zero but its appearance-overfitting is maximal; a real wrist camera with domain randomization might fare differently in both directions. And a 73% success rate is a demonstration, not a product; real assembly cells want 99.9% with retries.

Also note what the transfer did require: a joint impedance controller on an arm model whose armature, damping, and friction were system-identified from real measurements, plus wide randomization of contact parameters. "No extra sensors" is not "no extra engineering."

Why it matters anyway

If this holds up, the practical implication is that a large class of insertion tasks needs no F/T sensor, no wrist camera, no fixture calibration, and no part-specific tuning β€” one policy, any arm with decent encoders and a torque-level controller. The conceptual implication is sharper: the proprioceptive channel in manipulators has been treated as pose feedback when it is actually a rich, whole-arm contact sense, exactly as the locomotion community discovered a few years ago β€” and policies built on it inherit an appearance-invariance that vision fundamentally lacks. There's a pleasing biological echo too: you can thread a bolt with your eyes closed, and much of that is joint and muscle proprioception, not fingertip skin.

If you read two sections, make them 3.2 (the probing and latent-swap analysis β€” the most convincing evidence the policy is doing inference, not pattern replay, including the sim-fitted probe decoding real-robot states) and 2.2 plus Appendix B (the mjfit benchmark β€” anyone simulating tight-tolerance contact in MuJoCo should see Figure 6 and Table 4 before trusting CoACD or SDF collision). The generator is open-source, and I'd expect it to outlive the specific policies.