A humanoid copies a person carrying a box. Scale the person down and the hands sink into the box. OmniRetarget keeps the hands on the surface, and RL success rises from 50.83% to 82.20%.
Pick a retargeting method, then drag the robot’s height ratio. Watch which hands end up inside the box. Then we build, piece by piece, the interaction mesh, the constrained solver and the data engine underneath.
You need a feel for what a robot joint angle is and the idea of a reward in reinforcement learning. We build the rest from zero.
Based on OmniRetarget: Interaction-Preserving Data Generation for Humanoid Whole-Body Loco-Manipulation and Scene Interaction (arXiv 2509.26633) by Lujie Yang, Xiaoyu Huang, Zhen Wu, Angjoo Kanazawa, Pieter Abbeel, Carmelo Sferrazza, C. Karen Liu, Rocky Duan and Guanya Shi, Amazon FAR with MIT, UC Berkeley, Stanford and CMU. Every idea is re-taught here in our own words and devices. Project page: omniretarget.github.io.
The bars are the paper’s Table II, robot-object rows (OMOMO box carrying): worst penetration depth GMR 8.50 cm, VideoMimic 7.48 cm, OmniRetarget 1.34 cm; hand-object contact kept 0.99, 0.77, 0.96; downstream RL success 50.83%, 3.85%, 82.20%. The drawing is a toy front view with no elbows. At the starting ratio 0.74 (an illustrative 1.30 m robot against a 1.75 m person) the hands sink by exactly the table’s depth. Moving the slider scales the depth of the two scaling methods in proportion to one minus the ratio. That is our simple model, not a measurement. OmniRetarget solves with hard constraints, so its depth stays at the table value.
Chapter 0
See why a good human clip is not yet a good robot clip, and follow one motion through the whole pipeline
Picture a person in a warehouse. She bends down, lifts a box, walks across the room and sets it on a table. A motion-capture rig records every joint. The recording is a few seconds of data. Now you want a humanoid robot to do the same thing.
The robot is not a person. Its arms are shorter. Its legs are shorter. Its hands are not hands at all. If you copy the person’s joint angles, the robot reaches the wrong place. If you copy the person’s hand positions, the robot’s hands land inside the box. The first job is to rewrite the motion for the new body. We call that job motion retargeting. The two bodies differ in shape, size and number of joints. We call that difference the embodiment gap.
A humanoid is a robot with a human-like body: two legs, a torso, two arms. The paper uses the Unitree G1, and also the H1 and the Booster T1. Humanoids must walk and use their arms at the same time. Researchers call this loco-manipulation: locomotion plus manipulation. Carrying a box, climbing onto a platform and crawling over a slope are all examples.
The robot’s brain is a policy: a small neural network that reads the robot’s sensors and outputs joint commands many times each second. Teaching it takes reinforcement learning (RL): the policy tries things in a simulator and gets a score, the reward, after each try. Over millions of tries it learns the moves that score well.
Here is the trouble. A humanoid has many joints, so the number of possible moves is enormous. If you only say “carry the box to the table”, the policy almost never stumbles on a good plan. It needs a hint. The usual hint is a reference motion: a clip that shows what a good attempt looks like. The reward then says “stay close to the clip”. This idea is called motion imitation or motion tracking. The clip is kinematic, which means it lists poses over time and no forces. The simulator supplies the forces.
A reference is only a good hint if the robot could really follow it. Retargeted clips often break this rule in two ways. Foot skating means a foot that should be planted slides along the floor. Penetration means one solid part sits inside another, such as a hand inside a box or a foot inside a step. A real robot cannot do either. A policy trained on such a clip must fight the clip, or the engineers must add many extra reward terms to patch it.
Worse, simple retargeting forgets the interaction: the spatial and contact relationship between the body and the things it touches. The person’s hands rest on the box’s sides. After a naive rewrite, they float or sink. The meaning of the motion is lost.
The paper names two strategies. The first is teleoperation: a person steers the robot live, and the robot records what it did. It gives real feedback, but it costs a person’s time for every clip. It also tires the operator, and extreme motions such as a deep squat are hard to stabilize.
The second is offline interaction retargeting. You record humans once, then a program rewrites each clip for the robot, with the objects and the terrain included. This scales. The paper’s complaint is that existing programs do it badly. PHC and GMR match body points and ignore objects and terrain. VideoMimic adds soft penalties for collisions, which compete with the matching goal and come with no guarantee. IMMA, the closest ancestor, uses an interaction mesh but is not open source and ignores joint limits and the environment.
Here is the whole pipeline in five stages. Step through it and watch what data moves between stages. The shapes matter: later chapters fill in each box.
Each row is a stage. The right side names the data it hands to the next stage. Press Next stage to move the packet down, or press a row.
Stages and data follow Fig. 2 of the paper. T is the number of frames, K the number of keypoints and n the robot’s joint count. The base pose is 7 numbers: a quaternion (4) and a translation (3). Dataset hours are the paper’s: 2.78 h of box carrying (OMOMO), 1 h of in-house MoCap and 4.6 h of LAFAN1.
The first stage takes a human clip as a list of 3D points per frame. The second stage is the heart of the paper: it solves for the robot’s joint angles frame by frame while keeping the interaction. The third stage is optional. It changes the box or the terrain and runs stage two again. The fourth trains the policy. The fifth puts the policy on a real robot, with no extra tuning. We call that zero-shot sim-to-real: the policy trained only in simulation works on hardware on its first try.
The paper reports a 30-second parkour course on a G1: it carries a 4.6 kg chair to a platform, climbs on it, leaps off and rolls. It climbs a 0.9 m platform, which is 70% of the robot’s height. It also reports more than 8 hours of retargeted data, released openly. And on the box-carrying motions, policies trained on OmniRetarget data succeed 82.20% of the time, against 71.28% for PHC, 50.83% for GMR and 3.85% for VideoMimic. You played with those numbers in the instrument at the top.
Chapter 1
Learn what a retargeter computes, then see how a perfect point match can still put a hand inside a box
Hold your right arm out in front of you. Two things decide where your hand is: the angle at your shoulder and the angle at your elbow. Change either and the hand moves. A robot arm works the same way. The list of joint angles fixes the shape, and the shape fixes where every part sits in space.
Retargeting is the reverse question. You know where the human’s hands, feet and head were. You must find joint angles for a different body that put its parts in matching places. This chapter builds that question piece by piece, and then shows the trap inside it.
Forward kinematics (FK) turns joint angles into positions. For a flat arm with two links of length l, the hand sits at the sum of two steps. The first step runs along angle θ1. The second runs along θ1 + θ2. In symbols, the hand is at (l cosθ1 + l cos(θ1 + θ2), l sinθ1 + l sin(θ1 + θ2)).
A whole humanoid is the same idea with more links. Its full state is a vector q, the configuration. It has two parts. The first is the floating base: the pelvis, which is not bolted to anything, so its position (3 numbers) and its orientation (a quaternion, 4 numbers) are unknowns too. The second part is one angle for each of the n joints. So q holds 7 + n numbers. We write fi(q) for the position of keypoint i. A keypoint is a named point on the body, such as the left hand or the right knee.
Inverse kinematics (IK) runs FK backwards. Given wanted positions, search for the q that gets closest. Most robots have joint limits: an elbow cannot bend backwards. So IK is a search under limits, and it has to be repeated for every frame of the clip.
Human clips come in two common formats. SMPL is a parametric body model: a few numbers for body shape and a list of joint rotations give a full 3D body. BVH is a skeleton file: bones, offsets and rotations per frame. Either way you compute a time series of 3D keypoints, written psourcet,i for frame t and keypoint i.
The person is taller than the robot, so the points are shrunk first. OmniRetarget and GMR use the plainest rule: one global factor equal to the robot’s height divided by the person’s height.
PHC and VideoMimic take another route. They fit a scaled SMPL body to the robot first. The paper notes that this only works for SMPL data, while direct scaling also handles BVH skeletons.
GMR then solves one IK problem per frame. It looks for the q whose keypoints land on the scaled human points, in both position and orientation.
Read the objective again. It sums squared distances to points. It mentions no box, no floor and no foot. Nothing in it can notice that a hand entered the box. A solver that scores zero here is perfectly happy to be wrong about the world.
Here is a front view of a body holding a box. The box is 0.50 m wide, so its faces sit at ±0.25 m. The human hands touch the faces. The robot is smaller, so the scaled hand targets sit at α times those places. Drag the ratio and switch the missing rule on and off.
Blue is the human arm. Teal is the robot arm from IK. The box is orange. Press Add the rule to forbid the hand from entering the box.
Toy model, one arm drawn in a flat front view. The human upper arm and forearm are 0.30 m each, and the robot’s are scaled by α. Shoulders sit at ±0.20 m, the hand height is −0.55 m and the box faces are at ±0.25 m. The numbers are illustrative. They show the mechanism; the paper’s measurements are in the next paragraph.
With the rule off, the error to the scaled point is exactly 0.0 cm, and the hand sits deep inside the box. With the rule on, the hand rests on the face. The arm spreads wider and the match to the scaled point gets worse by the same amount. The trade is honest: a valid contact costs a little point accuracy. A keypoint matcher always picks accuracy, because accuracy is all it measures.
The symptom is easy to spot in a replay: a hand sinks into a crate, a foot slides across the floor. The paper measures it on a Unitree G1 with three scores. Penetration is the fraction of the clip with an intersection, and the deepest intersection in centimetres. Foot skating is the fraction of planted-foot time in which the foot moved, and its top speed. Contact preservation is the fraction of the wanted contact time that the retargeted clip still has.
On the box-carrying clips, GMR has an intersection during 0.83 of the clip, and its deepest overlap averages 8.50 cm across motions. PHC reaches 0.68 and 5.11 cm. VideoMimic reaches 0.60 and 7.48 cm, and it keeps only 0.77 of the hand contact. These are Table II rows, and we read the whole table in Chapter 7.
The fix is not a better point match. The fix is to measure the right thing. The next chapters give the retargeter a picture of the body and the object together, and then forbid the physical impossibilities outright.
Chapter 2
Wire the human, the box and the floor into a single net, so that “who is near whom” becomes a number you can keep
Imagine a corkboard. You push a pin into the person’s hand, one into the elbow, one into the shoulder. You push pins into the corners of the box and a few along its edges. You add pins along the floor. Then you tie a string between pins that sit close together. The result is a net.
Now lift the pins and move them to a smaller robot’s positions. If a hand pin was tied to three box pins, you want it tied to the same three, with the strings stretched or squeezed as little as possible. The net remembers the neighbourhood of every point. That is the whole idea of the interaction mesh.
The old way kept the robot near each human point, one point at a time. A point has no idea about the other points. The net adds the missing information: the hand is next to these box points, and next to this elbow. If the box moves or the body scales, the net says what must stay true between neighbours. The idea comes from computer graphics. Ho, Komura and Tai introduced it in 2010 to preserve the spatial relationships in character animation. OmniRetarget adds hard constraints and objects to it.
The paper defines the mesh as a volumetric structure. Its vertices are of three kinds. First, the key joints of the body: hand, elbow, shoulder, hip, knee, foot and so on, chosen by the user. Second, points randomly sampled on the manipulated object. Third, points sampled on the environment, such as the ground or a platform. The paper samples object and environment surfaces more densely than the body joints. Dense surface points keep the contact relationships accurate.
Two meshes exist for every frame t. The source set Psourcet holds the human’s anatomical points plus the object and environment points. The target set Ptargett holds the matching points on the robot, plus the same object and environment points. The only requirement is a semantic match: the human’s left hand corresponds to the robot’s left hand. The paper says the method is fairly robust to exactly where you put those keypoints.
Which points should be tied together? The paper applies Delaunay tetrahedralization to the points. A tetrahedron is a four-cornered solid, the 3D cousin of a triangle. Delaunay is a rule for cutting a cloud of points into such pieces. The rule says: around each piece, the smallest sphere that touches its four corners must contain no other point. This tends to give plump pieces that join near neighbours, and it avoids long thin ones that join far-away points.
It is easier to see in 2D. There, the pieces are triangles and the sphere becomes a circle. Try the device. You will see the net grow denser around the box as you add surface samples. The hand ends up tied to several box points, and so contact is part of the net.
Blue dots are body joints, orange dots are box samples, grey dots are ground samples. Purple lines are the net. Add box samples and watch the hand’s links.
A 2D stand-in for the paper’s 3D tetrahedralization: triangles and circles instead of tetrahedra and spheres. The body pose, the box size and the sample positions are illustrative, and the triangulation is computed live with the Bowyer-Watson algorithm. The paper’s real meshes are shown in its Fig. 9.
The dashed circle in the device is the Delaunay test. Its three corner points lie on it. No other dot lies inside. If you can find a dot inside, the triangle would not be in the net.
Let N be the number of vertices. The input for one frame is an N × 3 array of source positions. The robot’s share of the target array is a function of the unknown q: each robot keypoint is fi(q). The object and environment rows are fixed numbers. The tetrahedralization returns, for each vertex i, a neighbour set N(i). The same sets serve both meshes, because row i of the target means the same thing as row i of the source. Chapter 3 turns each neighbour set into one vector, and Chapter 4 asks the solver to make those vectors match.
One more design choice protects the contact. For terrain tasks such as climbing a raised platform, the authors uniformly sample a grid of points on the ground surface and add them to the mesh. That encourages stable ground contact when the terrain is elevated. The mesh is the place where you tell the retargeter what matters.
Here is how a thin net fails. The symptom: in the replay, one hand rides on the box while the other floats a few centimetres off its face. The measurement: count the hand’s neighbours that lie on the box. In the device, drop the slider to 4 samples and read the count. A hand tied to one box point has a weak anchor, and the optimizer can slide it along the face or away from it at little cost.
The fix is the paper’s sampling rule: put more points on the object and the ground than on the body joints. More box points means more links from the hand to the surface, and more links means more cost when the hand leaves it. Even so, pins cost compute. Every extra vertex adds rows to the Laplacian vector that Chapter 4 must differentiate at every iteration. The paper does not report an ideal count. It reports that the method is relatively robust to the placement of the keypoints.
Chapter 3
Turn each pin of the net into one small vector, then score a retarget by how much those vectors change
You stand in a room with three friends. Find the middle of the three. Now ask: where am I, compared with that middle? The answer is an arrow from the middle to you. It does not care where the room is. Walk all four of you across town and the arrow stays the same. It records only how you sit among your neighbours.
That arrow is the Laplacian coordinate of a point. It is the number the interaction mesh needs. A mesh is a pile of points, and what we want to compare is the local arrangement around each point. This chapter defines the arrow, scores a retarget with it, and shows why it keeps a hand against a box.
Read it as: take your position, subtract the average position of your neighbours. If you sit exactly in the middle, the arrow is zero. If you sit off to one side, the arrow points that way.
A tiny case. Let p = (2, 2) with three neighbours at (0, 0), (4, 0) and (2, 4). Their average is (2, 1.33). So L = (2, 2) minus (2, 1.33) = (0, 0.67). Now shrink the whole picture to half size about the origin. The point is (1, 1) and the neighbours are (0, 0), (2, 0) and (1, 2). Their average is (1, 0.67), so L = (0, 0.33). The arrow halved. Shrinking by a factor α shrinks every arrow by α.
Compute the arrow for every vertex of the human mesh. Compute it for every vertex of the robot mesh, using the same neighbour sets. Add up the squared differences.
The robot is smaller, so EL cannot reach zero. The goal is the smallest EL the physics allows. Squeezing is spread across the whole net, rather than dumped on one link.
Here is the trick. The body points are shrunk by the robot’s size, but the box points stay full size, because the box is the same box. The hand’s neighbours include box points. If the hand drifts away from the face, its arrow changes a lot, and EL rises. If the hand stays on the face, its arrow barely changes, and the shrinking is absorbed by the arm.
Faint blue is the human mesh. Purple is the robot mesh. The box (orange) keeps its size. Choose where the hand goes, then drag the ratio.
Toy mesh with five vertices in metres: hand, two box points on the contact face, elbow, shoulder. Body points scale about a torso anchor 0.90 m behind the face; box points do not move. The arrows and energies are computed live with uniform weights. The mesh and the numbers are illustrative.
Try it. Scaling everything lets the hand drift off the box face. Putting the hand on the face halves the energy. The best fit sits within a few centimetres of the face. The mesh energy alone pulls the hand toward contact. The hard constraints of Chapter 4 then make contact exact.
One more detail matters when the box moves. Say the box turns 180° while the person holds it. In the world frame the hand’s arrow flips from pointing up to pointing down. The score would say the arrangement changed, but nothing changed: the person and the box turned together. The paper therefore builds the mesh in the object’s local frame. There the arrow stays put. Move the slider.
Blue is the arrow before the turn. Teal is the arrow after. Switch the frame and compare.
Same toy mesh as above, with no scaling, turned as one rigid piece about the box centre. In the world frame the energy of a rigid turn by angle θ is the sum over vertices of 4 sin2(θ/2) times the squared arrow length. Illustrative numbers.
The symptom of ignoring all this is easy to see. A hand sinks into the box, or lifts off it, whenever the robot is a different size from the human. The measurement is EL itself: scale every point and the energy climbs with (1 − α)2, because every arrow shrinks by α. The fix is not to scale blindly. Let the optimizer decide which links bend, and weigh every link the same way. With uniform weights, a link to the box counts as much as a link to the elbow. The hand then bends the arm before it leaves the surface.
Chapter 4
Write the retargeting problem as one optimization with rules that cannot be bought off, then watch a trust-region solver walk to the answer
A sculptor works on a statue one frame at a time, like a flip book. She has a goal: keep the net’s shape as close to the human’s as she can. She also has rules. A foot that is planted stays planted. No part may pass through another. No joint may bend past its stop. No joint may move faster than its motor allows.
The rules are not wishes. If she breaks one, the frame is wrong, and she may not buy the break back by matching the human better. That is the difference between a hard constraint and a soft penalty. A soft penalty adds a cost for a violation. The solver may then pay it if the savings elsewhere are bigger. VideoMimic works this way, and the paper blames this for its weak interaction results: its collision cost fights its matching cost. A hard constraint is a wall the solver cannot cross.
For each frame t, OmniRetarget solves one constrained optimization problem. It is the paper’s Equation 3.
Which foot is planted? The paper marks a foot as in stance when its horizontal speed in the source motion is below 1 cm/s. The human clip tells the solver when the feet were down.
Forward kinematics has sines and cosines, so the problem is not convex. A convex problem has one bowl-shaped valley and is easy. This one has bumps. The paper uses a sequential method in the style of SQP (sequential quadratic programming). Start from a guess. Replace the objective by a quadratic that matches it near the guess. Replace every constraint by a straight line that matches it near the guess. Solve that easy problem for a small step dq. Move. Repeat.
The trust-region rule is a second-order cone constraint, and the quadratic objective fits the same family. So each round is a second-order cone program (SOCP), a convex problem with fast, reliable solvers. Hence the paper’s name for it: a sequential SOCP. Each frame runs for at most 10 rounds. It starts from the answer to the previous frame, a warm start, because consecutive frames are almost the same pose. The base orientation is a quaternion, and the derivatives for it come from Drake’s automatic differentiation on the 3-sphere.
A straight line is only a good copy of a curve close by. Take an arm of length 0.6 m that swings toward a pillar. The hand must stay at least 0.3 m out from the pillar line, which means cosθ ≥ 0.5, so θ must stay at or below 60°. The mesh wants 80°. We have one joint and one rule: φ(θ) = cosθ − 0.5. In the device, the dashed line is the straight-line copy of φ at the current angle.
The target angle is 80°, but the wall allows 60°. Press Step to run one round, or Run 10 for the paper’s cap. Change the trust region ε between runs.
A one-joint toy of the sequential scheme: minimize (θ − 80°)2 subject to the straight-line copy of cosθ − 0.5 ≥ 0 and a step of at most ε. The arm length 0.6 m and the wall are illustrative. The paper’s real values are ε = 0.2 and at most 10 rounds per frame.
Run it with ε = 0.2: six rounds land on 60° with almost no violation. Open the trust region to 0.6 and press Step. The second step jumps past the wall, because the dashed line promised more room than the curve gave. The next rounds pull back. Shrink ε to 0.05 and the 10-round cap runs out long before the angle gets to 60°. A small ε is safe but slow, and a large one is fast but can overshoot.
The symptom: even a hard-constraint retargeter can leave a few millimetres of overlap in a frame. The measurement: Table II shows OmniRetarget’s deepest intersection as 1.34 cm on the box clips and 1.37 cm on the terrain clips. The cause is what you just saw, a linearized constraint that is only approximately true. The fix is cheap: the RL stage cleans it up, and the paper says such small violations “can be efficiently fixed by RL”. The foot rule leaves no skating at all (0 in Table II).
Chapter 5
Change the box or the terrain, solve again, and turn a single human clip into a whole training set
A woman lifts a box from a table. You recorded it once. But your robot must lift boxes that are bigger, smaller, further left, further right. It must also climb platforms that are lower and higher than the one in the clip. The slow answer is to record the woman again for every case. That is thousands of takes, and a human tires.
The fast answer comes straight from the mesh. The mesh stores how the body relates to the box. If you change the box, you do not need a new human. You need the same relationship, expressed around a different box. That is a new optimization problem, and Chapter 4 can already solve it.
For each new scene, keep the source mesh exactly as it was. Change the target mesh: move, rotate or resize the object points, or reshape the terrain points. Then solve the per-frame problem again. Minimizing deformation finds a new robot motion that keeps the original contacts. The paper stresses that each variation is solved as a fresh optimization, and the result is a new kinematic reference. It does not rewrite a clip by hand and it does not train a network to do it.
The paper changes three things.
Changing the start pose has a catch. The clip ends with the box where the person put it. If you only move the start, the middle of the path would also be shifted, and the end would be wrong. The paper blends the shifted start into the original path with an exponential decay.
Worked example. Let Δp = 0.30 m, τ = 1.5 s, tm = 1 s. At t = 2.5 s the offset is 0.30 × e−1 = 0.11 m. At t = 5.5 s it is 0.30 × e−3 = 0.015 m. The box starts 30 cm off and ends 1.5 cm off the original goal, so the motion in between is a smooth bridge.
Blue is the original box path. Teal is the augmented path. Drag the offset and the decay time. Then switch the lower-body anchor.
The curve is Equation 14 in one dimension. The original path (still until 1 s, then a smooth 2 m carry ending at 6 s) and the feet positions are illustrative. The paper has separate time constants for position and orientation.
Chapter 3 showed why the mesh is built in the object’s local frame. Here it pays off. When the object moves or turns, the robot’s hands, being tied to the object points, follow it. The interacting body parts “naturally follow the object’s transformation”.
That ease hides a trap. The symptom: every augmented clip looks the same as the original, only slid sideways. The whole robot, feet included, moves rigidly along with the object. The paper calls this a trivial augmentation. The measurement is simple: compare the feet at the start of the clip with the feet in the nominal clip. If they differ by Δp, nothing new was learned.
The fix is a pair of extra terms that anchor part of the robot to the nominal trajectory.
In a pick-up task the legs now hold their stance and the upper body must find a new way to reach the shifted box. That is the new data. Switch the anchor in the device and watch the feet marker.
The paper tests whether the extra data helps. Relying only on domain randomization, which jitters the object’s shape and pose during training, performs poorly in their RL setup. The policies struggle to explore far from the nominal reference. Policies trained on augmented data succeed. Training and evaluating on the full augmented dataset reaches a 79.1% success rate. Evaluating the nominal motions alone gives 82.2%. A drop of about three points buys a much wider coverage of scenes.
The baselines in the paper cannot be compared on this: they do not support augmentation.
Chapter 6
See why a clean reference lets the policy learn from a tiny reward, a blind body and almost no tuning
Picture a student told, “Copy the coach’s clip as closely as you can.” If the clip is clean, that one sentence is nearly the whole lesson. Now say the clip shows the coach’s feet sliding and her hands inside the box. The student needs a long list of extra rules: do not slide, keep your feet down this long, ignore that part. Each rule is a number somebody must tune.
That is the situation in humanoid RL. Earlier work leaned on many hand-made terms for foot flight time, contact time and slipping, and on many randomizations such as random force injection, motor gains and action delay. The paper’s argument is short: with clean, interaction-preserving references, the RL step can be minimal. It follows BeyondMimic’s recipe, and it uses BeyondMimic’s weights and hyperparameters without tuning.
The policy is proprioceptive: it senses only its own body, plus the reference. It cannot see the box, the platform or the room. It is blind to the scene on purpose. If it can still carry a chair and climb a platform, then the reference alone carried the task. The observation is a list of groups.
| Group | What it holds | Size |
|---|---|---|
| Reference motion | Reference joint positions and velocities | 2n |
| Reference motion | Pelvis position error and orientation error against the reference | 3 + 6 |
| Proprioception | Pelvis linear and angular velocity | 3 + 3 |
| Proprioception | Joint positions and velocities | 2n |
| Previous action | The policy’s own action from the last step | n |
That is about 5n + 15 numbers, with n the joint count. The sizes are our accounting from the paper’s list: it names the groups and says the orientation noise is in Rot6D, a 6-number rotation code. For fast, agile motions state estimation is unreliable, so the paper masks out the pelvis linear position error and velocity. The output is an action vector of n numbers, one per joint.
A tracking reward pays the policy for being near the reference. DeepMimic popularised this form: reward = exp(−k × error2). At zero error it pays 1. As error grows it fades smoothly toward 0. The paper uses five terms.
A worked example with the width we use in the device, k = 1/0.152. A hand error of 0.15 m pays exp(−1) = 0.37. An error of 0.30 m pays exp(−4) = 0.018. Doubling the error cuts the pay by a factor of 20. The policy feels a strong pull toward the reference, and the pull is smooth, so it has a slope to follow.
Notice what is missing. No term says “keep your foot on the floor” or “do not slip”. The reference already has planted feet, so tracking it plants them.
An episode is one attempt. The simulator ends it early when the policy has clearly lost the plot. For the body, the episode ends on a large tracking deviation. For object tasks, it ends when the object is more than 1.0 m or 45° from the reference path. The paper turns on this object test only after the policy tracks the body reasonably well.
The curve is a tracking reward. The red line is where the episode ends. Drag the errors. Turn on wall-flip mode to see the looser limit.
The limits are the paper’s: end-effector error 0.25 m (0.5 m for the wall flip), object error 1.0 m and 45°. The reward width in the curve (k = 1/0.152) is illustrative; the paper uses BeyondMimic’s default weights, which it does not restate.
Domain randomization changes the simulator a little at each attempt so the policy does not memorize one exact world. For the object, the paper randomizes mass (0.1 to 2 kg), centre of mass (±0.08 m), inertia (50 to 150%) and shape (±10%). For the robot it keeps just four terms.
Training is grouped for speed. All box-moving motions share one multi-task policy. Platform climbing uses one policy per reference motion. The wall flip gets two changes. The end-effector threshold rises to 0.5 m. The foot orientation tracking term is dropped, because the rigid robot foot cannot flex as a human foot does. The robot completes the flip in about 0.5 s, reaches 15 rad/s and succeeds in 5 of 5 real trials.
The symptom of a dirty reference is a policy that cannot finish the clip. It stumbles where the clip hides a collision or a sliding foot. The measurement is the success rate on identical RL settings. The paper trains on 39 hard motions with unchanged hyperparameters. Data from VideoMimic gives 3.85% success on box carrying, GMR gives 50.83%, and OmniRetarget gives 82.20%. The RL recipe is the same in every row, so the data explains the gap. The fix is not another reward term. It is a better reference.
Chapter 7
Read Table II line by line, see which numbers can flatter a method, and learn what the paper says it cannot yet do
A results table is a story told in numbers, and a careless reader can hear the wrong story. This chapter reads the paper’s main table the way a lab would. What was measured? Against what? Which numbers need a second look?
The authors retarget three data sources to a Unitree G1 and score the motions on three kinematic measures: penetration, foot skating and contact preservation, all defined in Chapter 1. They then train an RL policy on each retargeted motion with identical hyperparameters from BeyondMimic, no manual tuning, and 39 challenging motions in total. Success is judged by the training termination criteria from Chapter 6. The baselines are PHC, GMR and VideoMimic, started from their public defaults and improved for consistency (the paper notes that baseline performance may depend on their hyperparameters). For the robot-only LAFAN1 motions the comparison is the public Unitree retargeted dataset, a strong baseline that is widely used for RL locomotion.
The released dataset has 2.78 hours of box carrying from OMOMO, 1 hour of in-house MoCap and 4.6 hours of LAFAN1.
Explore the table below. The mean is the bar; the thin line is one standard deviation. Lower is better for depth and duration. Higher is better for contact and success.
Pick a kind of motion, then a metric. Compare the bars, and read how wide each spread is.
Every number is from the paper’s Table II (mean ± one standard deviation across motions). Overlap time is penetration duration, normalized by trajectory length. Robot-only has no contact measure, and the Unitree dataset’s success rate and OmniRetarget’s are both 100% with no spread reported.
Four things stand out.
First, depth and overlap. On box carrying, OmniRetarget’s deepest overlap is 1.34 cm and lasts for almost none of the clip. The baselines overlap for 0.60 to 0.83 of the clip, at 5 to 8.5 cm. The same pattern holds on terrain (1.37 cm against 5.7 to 7.7 cm). The paper adds that OmniRetarget does occasionally penetrate, because of the linearization in Chapter 4, and RL repairs it.
Second, foot skating. It is zero for OmniRetarget in every row. The baselines show 1.4 to 2.0 cm/s of top speed. That is small in absolute terms, and it is exactly the kind of drift that costs reward tuning later.
Third, a number that can flatter. Look at contact on the box clips. GMR scores 0.99, the highest, above OmniRetarget’s 0.96. The paper explains it: scaling the human’s hand points toward the robot drives the hands into the box (Fig. 7b), and that counts as contact. High contact with deep overlap is not a good result. You need the depth row beside it.
Fourth, downstream success. RL succeeds on 82.20% of box motions with OmniRetarget data, against 71.28% for PHC, 50.83% for GMR and 3.85% for VideoMimic. On terrain, 94.73% against 78.94% at best. The text states the margin as over 10%, with lower variance. The spread is still wide on terrain (±22.33), and the paper says so in the table.
A worked reading. On box carrying, OmniRetarget’s 82.20% minus GMR’s 50.83% is 31.37 points. The spreads are 9.74 and 23.89. So OmniRetarget’s typical motion sits between about 72% and 92%, while GMR’s sits between about 27% and 75%. The two bands barely overlap. That is why the paper says the gain comes with lower variance, and not only a higher mean. Read each bar and its whisker together.
The paper's appendix breaks failures down per motion (Fig. 10). On the box motions, which are modest, most policies adapt, GMR fails over a wider range, and OmniRetarget’s results sit in the high-success region. On climbing, a poor reference makes the policy fail outright. PHC and VideoMimic fail entirely on nearly half the motions. GMR fails on four. OmniRetarget fails on one. The authors blame that last one on the simple RL formulation and suggest a curriculum.
The ablation in the paper is about augmentation. Domain randomization alone does not do what geometric augmentation does. Training and evaluating on the full augmented set gives 79.1%, against 82.2% on the nominal motions (Chapter 5). On hardware the policies run zero-shot on a G1. The long parkour sequence lasts 30 s, with a 4.6 kg chair, a platform climb, a leap and a roll. The wall flip peaks at 15 rad/s and 3.5 m/s, with 5 of 5 successes.
The paper names two. The frame-by-frame optimization works well, but it might be fragile with noisy sources such as video. The authors suggest optimizing the whole trajectory at once. And the single failing climb shows the limit of the minimal RL recipe on extremely hard motions; they suggest curriculum learning.
A reader should add three more cautions from the text itself. The benchmark success rate is measured in simulation, by the training termination test. The scale is a single global factor in this paper. And the baselines were run from public defaults with modest tuning, so a much more careful tuning might narrow the gaps.
Chapter 8
Keep the numbers, the terms and the core code on one page, check what you could rebuild, and find where to read next
You can now follow OmniRetarget from a human clip to a robot on a real floor. A human clip gives 3D points. The retargeter wires them, with the object and the ground, into an interaction mesh. For each frame it solves one constrained problem: keep every point’s Laplacian arrow close to the human’s, and obey the physics as hard rules. Changing the object or the terrain and solving again turns one clip into many. A tiny RL recipe tracks the result, and the policy runs on hardware with no tuning.
| Thing | Value | Where |
|---|---|---|
| Mesh weights | Uniform, wij = 1/|N(i)| | Sec. III-A, Chapter 3 |
| Stance foot test | Source foot speed in the ground plane under 1 cm/s | Sec. III-A, Chapter 4 |
| Solver | Sequential SOCP, trust region ε = 0.2, up to 10 rounds per frame, warm start | Sec. III-A, App. D |
| Robots | Unitree G1 (hardware), H1 and Booster T1 (retargeting) | Fig. 3 |
| Data | 2.78 h OMOMO box carrying, 1 h in-house MoCap, 4.6 h LAFAN1 | Sec. V-B |
| RL terms | 5 rewards, 4 robot randomization terms, proprioception only | Sec. IV |
| Object limits | Episode ends at 1.0 m and 45° from the reference | Sec. IV |
| Object randomization | Mass 0.1 to 2 kg, COM ±0.08 m, inertia 50 to 150%, shape ±10% | Sec. IV |
| Box carrying (Table II) | 1.34 cm deepest overlap, 0 skating, RL success 82.20% | Table II |
| Terrain (Table II) | 1.37 cm deepest overlap, 0 skating, RL success 94.73% | Table II |
| Augmentation | 79.1% on the full augmented set, 82.2% on nominal motions | Sec. V-A |
| Hardware | 30 s parkour with a 4.6 kg chair; 0.9 m platform, 70% of the robot’s height; wall flip 0.5 s at 15 rad/s, 5 of 5 | Fig. 1, Fig. 6 |
| Term | Plain meaning |
|---|---|
| Retargeting | Rewriting a motion for a body with a different size and shape. |
| Interaction mesh | A net over body joints, object points and ground points that remembers who is near whom. |
| Laplacian coordinate | A point’s offset from the average of its neighbours. |
| Deformation energy | The summed squared change of those offsets between human and robot. |
| Hard constraint | A rule the solver may not break at any price. |
| Signed distance | Positive when apart, zero when touching, negative when overlapping. |
| Trust region | The largest step the solver may take before its straight-line copy goes stale. |
| Foot skating, penetration | A planted foot that slides; one solid sitting inside another. |
| Zero-shot sim-to-real | A policy trained only in simulation works on the real robot at first try. |
A plain checklist. Nothing is saved; it is for you.
This is a schematic of the per-frame loop and the offset curve, not the authors’ released code. Shapes are in the comments: N is the number of mesh vertices and n the joint count.
pythonimport numpy as np def laplacian(P, nbrs): # P: (N, 3) -> (N, 3), uniform weights (Eq. 1) return np.stack([P[i] - P[nbrs[i]].mean(0) for i in range(len(P))]) def retarget_clip(src, obj, nbrs, robot, dt): # src: (T, N, 3) human + object + ground points, scaled by h_robot / h_demo q_prev, out = robot.q_init, [] # q: (7 + n,) base pose then joint angles for t in range(len(src)): L_src = laplacian(src[t], nbrs[t]) # (N, 3), fixed for this frame stance = stance_feet(src, t) # feet with source speed under 1 cm/s q = q_prev.copy() # warm start from the last frame for it in range(10): # at most 10 rounds P_tgt = robot.keypoints(q, obj[t]) # FK: robot points depend on q, object points are fixed L_tgt = laplacian(P_tgt, nbrs[t]) J_L = robot.jac_laplacian(q) # (3N, 7 + n) dq = solve_socp( # one convex step (Eq. 15) cost = sumsq(L_src - (J_L @ dq + L_tgt)) + sumsq_Q(q + dq - q_prev), s_t = [robot.phi(q) + robot.J_phi(q) @ dq >= 0, # no penetration q_min <= q + dq, q + dq <= q_max, # joint limits v_min * dt <= q + dq - q_prev, q + dq - q_prev <= v_max * dt, robot.foot(q, stance) + robot.J_foot(q) @ dq == foot_prev[stance], norm(dq) <= 0.2]) # trust region q = robot.retract(q, dq) # add dq, keep the base quaternion unit length if norm(dq) < 1e-4: break out.append(q); q_prev = q; foot_prev = robot.foot(q, stance) return np.stack(out) # (T, 7 + n) def offset_path(p_obj, dp, tau, t_m, ts): # Eq. 14, position part; p_obj: (T, 3), ts: (T,) off = np.where(ts[:, None] < t_m, dp, dp * np.exp(-(ts[:, None] - t_m) / tau)) return np.where(ts[:, None] < t_m, dp + p_obj[0], off + p_obj) # augmentation = change obj / terrain points, run retarget_clip again with the lower body anchored (Eq. 4, 5) # RL: obs = ref joints (2n) + pelvis errors + pelvis velocity + joints (2n) + last action (n); 5 rewards; 4 robot randomizations
PHC and GMR retarget by matching keypoints. VideoMimic adds soft contact and collision costs and works on video. IMMA used an interaction mesh first, in a multi-stage pipeline that ignored joint limits and the environment. OmniRetarget joins the mesh, hard constraints and objects in one per-frame optimization. For the RL half it relies on DeepMimic-style tracking and the BeyondMimic recipe. Its augmentation is inspired by data-generation work for contact-rich manipulation by the same first author and others.
Our CS224R sim-to-real lesson places the paper in the wider map: human data retargeted and tracked in simulation, with OmniRetarget as the interaction-aware entry. This lesson goes deeper on the same paper without changing that picture.
OmniRetarget was written by Lujie Yang, Xiaoyu Huang and Zhen Wu (equal contribution), with Angjoo Kanazawa, Pieter Abbeel, Carmelo Sferrazza, C. Karen Liu, Rocky Duan and Guanya Shi, at Amazon FAR (Frontier AI & Robotics) with MIT, UC Berkeley, Stanford and CMU. Read the original: arXiv 2509.26633. Videos and code: omniretarget.github.io. Every explanation, device and example here is our own re-teaching. Illustrative toys say so beside them; every figure labelled “Table II” is the paper’s.
Now press Present or Teach and explain, from memory, how one human box-carry clip becomes many robot clips and a policy on a real G1. Then go back to the instrument and predict the numbers before you touch it.