Optimal Embodiment: Searching for the perfect robot to imitate humans (In progress)

Repository: https://github.com/leoperezz/OptimalEmbodiment
Before discussing the idea, it is worth noting that many recent works have focused on robotic manipulation tasks, while comparatively few have been published on loco-manipulation. At the same time, recent research has shown that we can scale data collection by using egocentric human videos directly, with EgoScale being the most promising work so far. From this, two questions arose:
- How can we scale this for full-body control tasks as well?
- What would be the perfect embodiment to absorb human movement data?
In this article, we will explore the latter, without considering hands for now, since they are a complex topic on their own; for a great discussion on dexterous hands, I highly recommend the Origami Robotics blog . The core idea I propose is that, given a human motion dataset, we can use the randomization technique from XHugWBC to find the most effective embodiment for imitating human movement. This applies to both joints and links. Additionally, the goal is to establish a metric to estimate how optimal different existing robots are for learning from this data.
Generally speaking, this algorithm should be able to perform two things:
The following sections explain the process to achieve this.
Randomization
Ideally, we need an exploration algorithm; for this, we require not only a sampling method but also a morphological state space where we can sample physically plausible bodies. For this purpose, we follow the paper , which introduces the concept of Physics-Consistent Randomization.
Mathematical Representation of the Robot
starts from a template robot and defines a vector of morphological parameters:
where:
-
groups the inertial parameters of the rigid bodies (links). Each link has:
where is the mass, is the first moment of mass (mass times center of mass), and encodes the rotational inertia matrix relative to the body frame origin. In other words, describes how heavy each link is, where its center of mass is located, and how mass is distributed around it.
-
groups the parameters of the joints. Each joint connects a parent and a child link via:
where is the joint position in the parent frame, is its orientation (e.g., in Euler angles), is the axis of movement, and are its position, velocity, and torque limits. Essentially, describes where the hinges are, how they are oriented, which way they rotate, and their physical limits.
Naively randomizing morphologies would correspond to sampling:
but this can break physical consistency (e.g., negative masses or non-positive-definite inertia matrices). Therefore, first reparameterizes the link and joint space into coordinates where adding noise is safer.
Reparameterizing the Link Space
We first derive a physics-consistent randomization solution for the link space, which mainly consists of inertial parameters
Definition 3.1 (Physics-Consistent Inertial Parameters). A rigid body's inertial parameters are said to be physics-consistent if its pseudo-inertia matrix:
is symmetric positive definite, where:
This condition compactly captures that mass must be positive, the center of mass must be realizable, and the inertia matrix must originate from a physically possible mass distribution.
Lemma 3.2 (Cholesky Factorization). If , it admits a Cholesky decomposition:
with being lower triangular. Any plausible pseudo-inertia matrix can be written this way. A naive randomization method would be to perturb :
Lemma 3.3 (Affine Transformation). If we apply an affine transformation to the rigid body coordinates, , and scale the mass density , the pseudo-inertia transforms as:
This is derived from the integral form of :
Substituting the coordinate change yields that the new pseudo-inertia is exactly . Combining Lemmas 3.2 and 3.3 results in:
which suggests that perturbing in a physically consistent manner is equivalent to perturbing its factorization via an affine transformation associated with reasonable geometric scaling and deformations.
Geometric interpretation
Lemma 3.2 suggests a tempting randomization strategy: if , then perturb and rebuild :
However, to understand which perturbations are meaningful (and how to parameterize them cleanly), it helps to view them through rigid-body geometry. In this context, an affine transformation can be thought of as a linear map that includes rotations and anisotropic rescalings (plus the associated homogeneous-coordinate machinery).
Lemma 3.3 states that under an affine coordinate change together with a density scaling , the pseudo-inertia transforms as:
Combining this with yields:
So, perturbing the pseudo-inertia can be interpreted as perturbing its Cholesky factor via left-multiplication by a geometrically meaningful transform . If we want to match the naive perturbation with an affine-induced one , we can write:
This makes the key point explicit: choosing a random perturbation implicitly defines a random affine-like transform . The reparameterization in Lemma 3.4 is designed to sample such transforms in a controlled, interpretable way, while guaranteeing .
Lemma 3.4 (Bijective Map ). Instead of sampling directly, constructs a bijective map between matrices and an "explainable" vector of dimension 10:
The corresponding matrix is written as:
With this construction, we obtain a bijective map from inertial parameters to a vector in and vice versa. Randomizing the link space is reduced to:
- Sampling within bounded ranges.
- Reconstructing from .
- Calculating and, from there, the new parameters .
This procedure ensures that remains positive definite, meaning the new link remains physically realizable.
Reparameterizing the Joint Space
For the joints, starts from the decomposition:
which can be interpreted as:
- Position : where the joint (and thus the child link) is located relative to the parent link, controlling lengths and the global geometry of the robot.
- Orientation : how the joint frame is oriented—i.e., how the "hinge" is placed relative to the parent body (defining the configuration zero).
- Rotation Axis : in which direction the movement acts (e.g., if a door opens to one side or the other).
- Limits and Actuation: intervals , maximum velocity , and maximum torque that characterize the actuator's physical capability.
Joint Space Randomization. In real systems, these parameters are constrained by the robot's own dynamics and construction. proposes:
- Randomizing the rotation axis in key joints (e.g., the hips) to synthesize kinematically distinct yet reasonable configurations.
- Randomizing position within bounds depending on the distance to the link's center of mass, avoiding impossible geometries.
- Scaling limits and torques consistently with total mass, so that control behavior remains comparable between morphologies with different masses.
- Choosing joint types (revolute or fixed) in some cases, allowing certain DoFs to be locked or activated depending on the sample.
The result is a new set that respects geometric and inertial constraints while exploring a rich family of joint configurations. In short, on the joint side we are essentially randomizing within a set of predefined intervals that are chosen to be reasonably valid.
For more details on the values/ranges explored, see the appendix in .
Joint Space Semantic Alignment and Morphology Graphs
A key challenge in cross-embodiment is that each robot may have a different number of degrees of freedom and a different joint order. Inspired by Lin et al. (2025), defines a canonical joint space of fixed dimension , where each index corresponds to a joint with a well-defined semantic meaning (e.g., "left hip roll", "right knee pitch", etc.).
For a robot with joints and configuration , a mapping is introduced:
such that the canonical joint state is constructed as:
In this way, all robots share the same input/output joint space for the policy, with padding on DoFs that do not exist in a specific morphology. This semantic alignment allows training a single controller over many different morphologies.
Furthermore, a graph-based description of the morphology is built upon this canonical space. Each robot is represented as a directed kinematic graph , where:
- represents the joints (nodes).
- represents the rigid connections between them (edges).
From , an adjacency matrix is defined such that:
In practice, many humanoids have parallelogram mechanisms or parallel linkages; collapses them into equivalent nodes to obtain a connected, acyclic kinematic tree. This graph representation, aligned with the canonical joint space, allows our controller and the optimal embodiment algorithm to reason structurally about very different yet comparable body topologies.
References
- Ruijie Zheng, Dantong Niu, Yuqi Xie, Jing Wang, Mengda Xu, Yunfan Jiang, Fernando Castañeda, Fengyuan Hu, You Liang Tan, Letian Fu, Trevor Darrell, Furong Huang, Yuke Zhu, Danfei Xu, Linxi Fan. "EgoScale: Scaling Dexterous Manipulation with Diverse Egocentric Human Data." arXiv, 2026.
- Quanting Xie, Tongzhou Liao, Yonatan Bisk. "The Dexterity Deadlock." Origami Robotics Blog, February 12, 2026.
- Yufei Xue, YunFeng Lin, Wentao Dong, Yang Tang, Jingbo Wang, Jiangmiao Pang, Ming Zhou, Minghuan Liu, Weinan Zhang. "Scalable and General Whole-Body Control for Cross-Humanoid Locomotion." arXiv, 2026.