A Unified Model for Motion-Conditioned Robot Co-design
Huy Ha, Karen Liu, Shuran Song
Not each robots are created equal
Not each robots are created adjacent — but what if you could creation 1 for a circumstantial task? We propose Transformer Transformer, a unified exemplary that does precisely this: manus it a manipulation demonstration, and it generates a complete robot — each link, joint, motor, and inertial spot — optimized for that motion. We fabricated 1 specified creation for cloth flinging connected an ALOHA2 bimanual platform; it reduced search correction by 73% and max associated velocity by 30% versus the original.
Behind that consequence is simply a diffusion transformer trained connected RoboTokens, a unified tokenization of robot embodiments, states, and actions. The aforesaid architecture spans embodiment spaces (wheeled bimanual, quadrupeds, humanoids) and usage cases (embodiment generation, cross-embodiment control). Rather than overfitting to 1 reward function, it is simply a dynamics exemplary whose reward-agnostic predictions are converted into reward-specific worth predictions astatine conclusion time, past utilized to steer embodiment diffusion done a process we telephone Dynamics Self-Guidance. Experiments crossed 3 creation spaces show zero-shot optimization of unseen rewards and trajectories, improving capacity and runtime complete an evolutionary baseline.
Technical Summary Video
A 17-minute walkthrough — aliases scroll for the figure-and-caption version.
What is the champion robot
for a fixed manipulation task?
A robot's embodiment decides what tasks it tin do well. We move effort into making robots smarter — bigger datasets, amended algorithms, much tin argumentation architectures — but a bad embodiment tin hamper moreover a awesome policy. You tin cod each the tossing information successful the world, but if your robot's style is far from optimal, it mightiness flip itself alternatively of the ball.
So let's framework the problem concretely. Given arsenic input a target end-effector mobility and a reward function, we want to make a complete robot embodiment for the task — by complete we mean each link, joint, motor, and inertial property, positive a controller that drives the full thing. We telephone this motion-conditioned robot co-design.
A randomly procedurally-generated robot attempting the target motion: it falls earlier it can decorativeness 🙃
Demonstrate, Generate, Validate
Our model reframes robot co-design arsenic a three-step process: you demonstrate the desired end-effector mobility (e.g., from a UMI3 human demonstration), our exemplary generates an optimized embodiment, and the aforesaid model validates the creation by straight controlling it. The aforesaid web plays 3 roles — generator, critic, and cross-embodiment controller — by training jointly connected 1 unified tokenization of robots.
Three steps, 1 model. Given target end-effector motions (e.g., from a quality demo) and a
user-defined reward, Transformer Transformer generates a complete robot — geometry, kinematics,
inertia, motors — past controls that robot to way the motion. No abstracted optimizer, critic, or
controller pipeline.
The insubstantial has 3 parts: a unified robot representation (RoboTokens), a unified architecture (Transformer Transformer), and a unified training objective (Dynamics Self-Guidance). You person until the architecture conception to fig retired the pun 🥸
PART 1
RoboTokens
A Unified Robot Representation
Every robot becomes a typed token sequence. Blue tokens encode embodiment (links,
joints,
motors); orangish tokens encode dynamics (states and actions). The aforesaid tokenizer ingests a quadruped, a
humanoid, aliases a dexterous manus — nary per-robot adapter — truthful a azygous exemplary tin study crossed each of them.
If we want 1 exemplary to co-design any robot, the web needs a shared vocabulary that spans each embodiment. RoboTokens are that vocabulary: typed tokens for each link, joint, motor, state, and action — organized truthful a azygous series describes some a robot's embodiment (time-invariant) and its dynamics (time-varying).
RoboTokens has the pursuing cardinal creation goals:
- Complete. A RoboToken series captures everything astir a rigid articulated robot: 5 embodiment token types (links, fixed joints, rotating/sliding joints, shot joints, motors) positive state and action tokens.
- Flexible. Tokens reference each different by ID — a associated token knows the 2 nexus tokens it connects — truthful the aforesaid format handles a 6-DoF limb aliases a 35-DoF biped.
- Consistent. The tokenizer canonicalizes redundant spatial offsets and stores inertial / toggle shape information successful a azygous frame, reducing the variance the exemplary has to study through.
- Extensible. New token types slot successful without changing the architecture — we add target end-effector airs tokens for trajectory search by pointing them astatine the applicable end-effector and timestep IDs, nary retokenization of the remainder of the robot required.
- Optimizable. Unlike autoregressive matter formats for illustration MJCF, diffusing continuous-valued RoboTokens gives some global controllability (later tokens power earlier ones across denoising steps) and differentiability — the 2 ingredients needed for gradient-based reward optimization astatine conclusion time.
We tokenized 11 robots from the MuJoCo Menagerie10, spanning 2 orders of magnitude successful wide (0.65 kg dexterous manus to 67.5 kg quadruped) and from 6 to 35 progressive joints. Each became a series of 28–101 RoboTokens — mini capable to diffuse end-to-end.
RoboTokens are 27–110× much compact than MJCF text. A robot's afloat explanation fits in
tens of typed tokens (blue counts) wherever a connection tokenizer would request thousands (grey counts) — small
capable that a transformer tin diffuse them directly, alternatively than autoregressively penning XML.
PART 2
Transformer Transformer
A Unified Architecture
The exemplary is simply a diffusion transformer (DiT1) trained on RoboTokens pinch a DDIM4 sound schedule. Noise is added to each input token except the ones we information connected — and by changing which tokens are masked, the aforesaid web wears different hats. Mask everything to get an unconditional robot generator. Mask the actions and you get a cross-embodiment controller5,6. Mask the embodiment and you get a motion-conditioned robot designer. Same weights, jointly trained connected dynamics.
(And astir the pun: the first “Transformer” refers to robots whose embodiments can change. The 2nd refers to the self-attention architecture 🥸)
One architecture, 2 usage cases. (a) Motion-to-robot optimization jointly diffuses
embodiment and dynamics tokens. (b) Cross-embodiment power diffuses the actions, conditioned connected the
embodiment and the target motion. At conclusion time, the model's ain predictions are converted into a
reward prediction whose gradients steer the procreation toward higher-reward designs.
An embodiment-aware controller
Because the controller sees the afloat embodiment arsenic input, it tin set its power strategy to the robot it's driving. Change nexus inertias, associated ranges, aliases centrifugal gains, and the aforesaid argumentation keeps search — without immoderate retraining per robot. We behavior-cloned whole-body controllers from RL experts7,8,9 trained one-per-design connected the procedural quadruped space.
One policy, galore quadrupeds. The aforesaid controller tracks the aforesaid trajectory across quadrupeds pinch continuous variations (link dimensions) and discrete variations (DoF, knee direction, spring-loaded vs serial leg).
A generator complete divers robot classes
Run the exemplary pinch nary conditioning astatine each and it diffuses retired complete robots from Gaussian noise. Trained connected divers robots from Menagerie10, a azygous Transformer Transformer produces fixed-base arms, quadrupeds, humanoids, and dexterous hands. Because diffusion is stochastic, each tally gives different robots.
Robots, diffused. A azygous exemplary generates fixed-base arms, quadrupeds, humanoids, and dexterous hands from the aforesaid sound schedule.
PART 3
Dynamics Self-Guidance
Zero-shotting Rewards
Now the existent co-design problem: really do we make a high-reward robot for a reward usability the exemplary has ne'er seen during training?
Here is the trick. The aforesaid exemplary predicts some the embodiment and its dynamics, truthful we tin feed those predictions into the user's reward usability and get a predicted reward. With predicted rewards successful hand, we tin tally the exemplary galore times successful parallel, foretell the reward for each candidate, and return the champion one. That is best-of-N sampling, but astatine GPU speed.
We tin do better. Because the predicted reward is simply a differentiable usability of the embodiment tokens, we tin return its gradient and inject it backmost into the diffusion process — pushing samples toward higher reward astatine each denoising step, pursuing classifier-guided DDIM11. The exemplary is, successful effect, asking itself: “how should this robot change to summation the reward?” We telephone this Dynamics Self-Guidance.
Why “self-guidance”: related activity that incorporates dynamics into diffusion guidance trains a abstracted dynamics model12 aliases relies connected a differentiable simulator13. Here, the exemplary uses its own dynamics predictions to steer itself.
One gradient, the full episode. Transformer Transformer predicts authorities and action tokens
crossed the episode's sky successful parallel; the reward gradient past flows backmost done all
of it to the embodiment tokens. Hardware gets optimized complete long-horizon dynamics, not 1 timestep astatine a
time.
Reward in, robot out
Take a randomly-generated quadruped that falls during a move toss. Ask our exemplary to make a robot for the aforesaid trajectory pinch only a search reward and it lowers the halfway of wide and widens the support polygon — unchangeable creation choices it discovered arsenic a side-effect of trying to maximize tracking reward it has ne'er seen.
Now adhd a torque-penalty word and the optimization scenery shifts. The exemplary returns a smaller, lighter robot — still search the motion, but utilizing 30% little mean torque. Add a size punishment and the scenery shifts again. This is what group mightiness telephone zero-shotting rewards: train connected dynamics modeling, optimize astatine conclusion for immoderate reward you tin constitute down.
Same model, different conditioning, different robots. Swapping the target trajectory
(Floor Scrub → Dynamic Toss) aliases adding a size punishment reshapes the optimization landscape, and the
generated embodiments displacement accordingly — without retraining. Discrete choices (leg design, DoF) and
continuous choices (link length, mounting point) some alteration successful response.
Composing diffusion models for full datasets
Manipulation isn't 1 motion; it's a distribution of motions. We want to optimize a robot for an full task — say, crockery washing — not a azygous trajectory. Diffusion composition14,15 lets america do precisely this: tally the exemplary successful parallel pinch different trajectories arsenic conditioning, mean the predicted sound at each diffusion step, and you get a generator optimized for each of them simultaneously.
We tested this connected the publicly-available UMI bimanual dish-washing dataset3, holding retired 26 validation trajectories. Transformer Transformer generated robots optimized complete the full held-out distribution — navigating some the discrete abstraction (spine designs: fixed, sliding, bending) and the continuous abstraction (arm dimensions, mounting offsets) — and the aforesaid model past served arsenic the cross-embodiment controller to validate each generated design.
One robot, a full task. Composed crossed the 26 held-out UMI dish-washing trajectories, the exemplary returns a azygous embodiment optimized for the full distribution — and the aforesaid web then drives it done each motion.
Better Designs, Faster
We comparison against 2 baselines: Random (sample a robot from the procedural design space) and CMA-ES16, a black-box optimizer wide utilized successful co-design. CMA-ES rolls retired campaigner robots successful MuJoCo17 pinch the creation space's controller (Mink18 for fixed-base / bimanual; an RL expert7 for legged robots), past biases the adjacent procreation toward higher-reward samples.
We springiness each methods the aforesaid task: make a robot for a target trajectory and reward, power it, study the achieved reward.
Test-time compute scales the results
Like ample connection models that get amended pinch longer thinking19, Transformer Transformer gets amended designs erstwhile fixed much inference seeds to sample over. Performance does yet plateau aft astir a infinitesimal — dissimilar the seemingly endless gains LLMs get from longer reasoning. We talk this successful the limitations.
Higher reward, orders of magnitude faster. Across 3 creation spaces and several
reward functions, our Zeroth Order and Dynamics Self-Guidance variants some nutrient higher-reward designs
arsenic much parallel samples are allowed — and some scope CMA-ES-level value successful seconds alternatively than hours.
For multi-trajectory bimanual optimization (rightmost), CMA-ES took 3+ hours; our exemplary vanished in
nether a minute.
Why truthful overmuch faster? Two reasons multiply. (1) GPU parallelization complete campaigner designs. (2) Non-autoregressive diffusion evaluates an full rollout successful parallel alternatively than 1 timestep astatine a time. Typical learned dynamics models foretell 1 measurement astatine a time; we foretell the full section astatine once.
Real-World: Cloth Flinging connected ALOHA
Original ALOHA vs Transformer Transformer-optimized ALOHA. Same task, aforesaid target trajectory, 2 robots. The optimized creation unfolds the cloth wherever the original cannot.
To stress-test the full strategy connected hardware, we picked move cloth unfolding connected ALOHA2. Flinging20 punishes embodiment mistakes done some kinematics (the limb has to scope complete the cloth astatine precocious speed) and unmodeled dynamics (aerodynamic drag, cloth weight, friction). The original ALOHA creation struggled to moreover way the trajectory.
We asked our exemplary to optimize the ALOHA creation for the “Tracking Velocity” reward, then fabricated the resulting design. Two things changed compared to the original:
- Longer nexus lengths. Just capable to kinematically scope crossed the flinging trajectory, but ray capable to enactment wrong the Dynamixel centrifugal torque envelope.
- Inverted mounting. The arms bent upside-down down the workspace, enabling an energy-efficient underarm plaything alternatively of an overhead fling.
Smoother associated trajectories. Joint velocity complete the flinging motion. The optimized design
has less peaks and a little maximum than the original — the kinematic and move gains transportation to
hardware.
Limitations & Future Work
Geometry and scene. RoboTokens presently screen primitive-based geometry, not arbitrary meshes aliases deformables, and don't yet encode the surrounding segment aliases interaction targets. Extending to analyzable geometry and segment discourse is simply a clear adjacent measurement toward afloat task-conditioned co-design.
Controller transfer. Our cross-embodiment controller correlates pinch the RL oracle at Pearson r = 0.53 connected diffused embodiments — promising but pinch headroom. Some outlier embodiments expose wherever the controller fails to generalize.
Test-time scaling plateau. Like different guided-diffusion methods, our test-time compute gains plateau aft astir a minute. Unlike LLMs19, more conclusion clip stops helping past a point. Improving reward-prediction accuracy and alternative conclusion schemes are unfastened directions.
Data procreation cost. RL-based whole-body controller information procreation is costly (one RL master per discrete creation choice, 16 hours of A100 per policy). Scaling Transformer Transformer to caller creation spaces hinges connected reducing this cost.
References
- Peebles, W., & Xie, S. Scalable diffusion models pinch transformers. ICCV, 2023.
- Zhao, T. Z., Kumar, V., Levine, S., & Finn, C. Learning fine-grained bimanual manipulation pinch low-cost hardware. arXiv:2304.13705, 2023.
- Chi, C., Xu, Z., Pan, C., Cousineau, E., Burchfiel, B., Feng, S., Tedrake, R., & Song, S. Universal Manipulation Interface: In-The-Wild Robot Teaching Without In-The-Wild Robots. Proceedings of Robotics: Science and Systems (RSS), 2024.
- Song, J., Meng, C., & Ermon, S. Denoising Diffusion Implicit Models. ICLR, 2021.
- Furuta, H., Iwasawa, Y., Matsuo, Y., & Gu, S. S. A strategy for morphology-task generalization via unified practice and behaviour distillation. arXiv:2211.14296, 2022.
- Gupta, A., Fan, L., Ganguli, S., & Fei-Fei, L. MetaMorph: Learning cosmopolitan controllers pinch transformers. arXiv:2203.11931, 2022.
- Ha, H., Gao, Y., Fu, Z., Tan, J., & Song, S. UMI connected Legs: Making Manipulation Policies Mobile pinch Manipulation-Centric Whole-body Controllers. Conference connected Robot Learning (CoRL), 2024.
- Schulman, J., Wolski, F., Dhariwal, P., Radford, A., & Klimov, O. Proximal argumentation optimization algorithms. arXiv:1707.06347, 2017.
- Rudin, N., Hoeller, D., Reist, P., & Hutter, M. Learning to locomotion successful minutes utilizing massively parallel heavy reinforcement learning. CoRL, 2022.
- Zakka, K., Tassa, Y., & MuJoCo Menagerie Contributors. MuJoCo Menagerie: A postulation of high-quality simulation models for MuJoCo. 2022. github.com/google-deepmind/mujoco_menagerie
- Dhariwal, P., & Nichol, A. Diffusion models hit GANs connected image synthesis. NeurIPS, 2021.
- Xu, X., Ha, H., & Song, S. Dynamics-Guided Diffusion Model for Sensor-less Robot Manipulator Design. arXiv:2402.15038, 2024.
- Wang, T.-H. J., Zheng, J., Ma, P., Du, Y., Kim, B., Spielberg, A., Tenenbaum, J., Gan, C., & Rus, D. DiffuseBot: Breeding soft robots pinch physics-augmented generative diffusion models. NeurIPS, 2023.
- Liu, N., Li, S., Du, Y., Torralba, A., & Tenenbaum, J. B. Compositional ocular procreation pinch composable diffusion models. ECCV, 2022.
- Du, Y., Durkan, C., Strudel, R., Tenenbaum, J. B., Dieleman, S., Fergus, R., Sohl-Dickstein, J., Doucet, A., & Grathwohl, W. S. Reduce, reuse, recycle: Compositional procreation pinch energy-based diffusion models and MCMC. ICML, 2023.
- Hansen, N., & Ostermeier, A. Completely derandomized self-adaptation successful improvement strategies. Evolutionary Computation 9(2): 159–195, 2001.
- Todorov, E., Erez, T., & Tassa, Y. MuJoCo: A physics motor for model-based control. IROS, 2012.
- Zakka, K. Mink: Python inverse kinematics based connected MuJoCo. 2025. github.com/kevinzakka/mink
- Brown, B., Juravsky, J., Ehrlich, R., Clark, R., Le, Q. V., Ré, C., & Mirhoseini, A. Large connection monkeys: Scaling conclusion compute pinch repeated sampling. arXiv:2407.21787, 2024.
- Ha, H., & Song, S. FlingBot: The unreasonable effectiveness of move manipulation for cloth unfolding. CoRL, 2021.
Full reference database disposable successful the paper. The action supra covers the citations utilized connected this page.
English (US) ·
Indonesian (ID) ·