Research
Transformer Transformer: A Unified Model for Motion-Conditioned Robot Co-design
Manipulation performance depends not only on the policy but on the robot's body: the same end-effector trajectory is harder or easier to execute depending on link lengths, joint layout, mass, and…

- arXiv
- 2607.25798 · Preprint · not peer-reviewed
- Published
- 2026-07-28
- Authors
- Huy Ha, C. Karen Liu, Shuran Song
In plain words
Manipulation performance depends not only on the policy but on the robot's body: the same end-effector trajectory is harder or easier to execute depending on link lengths, joint layout, mass, and actuation.
AI summary
Overview
Research area: Robotics — generative robot co-design, cross-embodiment control, and diffusion models for robot learning. Technical level: Advanced. The paper assumes familiarity with diffusion models (DDIM, classifier guidance), articulated-robot descriptions (MJCF/MuJoCo), reinforcement learning for legged locomotion, and differential inverse kinematics. One-sentence scope: The paper introduces a single diffusion transformer trained over a unified tokenization of robot bodies, states, and actions, which can generate robot embodiments optimized for unseen rewards and then control them to track target end-effector motions.
What This Paper Is About
Manipulation performance depends not only on the policy but on the robot's body: the same end-effector trajectory is harder or easier to execute depending on link lengths, joint layout, mass, and actuation. The authors formalize motion-conditioned robot co-design: given a set of target end-effector trajectories (from human demonstrations) and a set of user-defined reward functions, automatically generate complete robot designs — kinematics, geometry, and dynamics parameters — that score highly. The reward function is not known at training time, so the model must optimize new rewards zero-shot at inference.
Key Contributions
- RoboTokens — a unified robot representation. A tokenization scheme covering any rigid articulated robot as five embodiment token types (links, fixed joints, sliding/rotating joints, ball joints, motors) plus four state token types and action tokens, with cross-references by ID to represent arbitrary connectivity and passive joints. The authors report RoboToken sequences are 27–110× more compact than MJCF text tokens.
- Transformer Transformer — a unified architecture. A diffusion transformer (DiT) trained with different masked modeling schemes over RoboTokens so that one network acts simultaneously as the design generator, the critic (reward predictor), and the cross-embodiment controller.
- Dynamics Self-Guidance. A first-order guidance method that turns the model's reward-agnostic state/action predictions into reward-specific value predictions, and feeds their gradients back into the diffusion process — without training a separate dynamics model or using a differentiable simulator.
- Zero-shot optimization and real-world validation. Across three design spaces (fixed-base ViperX, quadruped manipulator, mobile bimanual), the model optimizes unseen rewards and trajectories at inference time, and a fabricated ALOHA design reduced tracking error by 73% and maximum joint velocity by 30%.
Main Findings
- RoboToken spans diverse embodiments. Eleven robots from MuJoCo Menagerie were tokenized — including a dexterous hand, fixed-base arms, quadrupeds with manipulators, bipeds, and humanoids — spanning masses from Allegro V3's 0.65 kg to Anymal C's 67.5 kg and from 6 active joints (UR5e) to 35 active/passive joints (Cassie), all mapping to RoboToken sequences of length 28 to 101.
- Generated designs stay on the training manifold. The model interpolates within the training distribution but does not extrapolate: it cannot produce hexapods from quadruped-only training, nor link lengths outside the training range. Outputs show mode coverage and cross-attribute coherence (larger links get proportional mass/inertia, motors sized to the joints they actuate).
- Faster and better than CMA-ES on two of three design spaces. For the fixed-base and mobile bimanual spaces, the model beats CMA-ES in both speed and reward. Reported optimization times include ViperX single-trajectory: CMA-ES 47.5 s vs Zeroth Order 0.5 s and Dynamics Self-Guidance 2.8 s; bimanual multi-trajectory: CMA-ES 11505.2 s vs 20.7 s and 30.8 s. The approach diffuses and evaluates 128 candidates faster than CMA-ES evaluates 5.
- Parallelism along two axes. Besides batch parallelism over candidate designs, the non-autoregressive formulation lets the model evaluate a short set of episode timesteps in parallel, whereas CMA-ES must roll out thousands of timesteps sequentially per candidate.
- Multi-trajectory optimization via diffusion composition. Composition enables zero-shot optimization over many trajectories despite training on single trajectories; designs performed favorably on 20/26 trajectories in Fig. 5 (b, d), while CMA-ES's time scales linearly with trajectory count, taking 3 hours longer.
- Test-time compute scaling. More parallel samples generally yield higher-reward designs across all three design spaces and rewards, but performance does not robustly increase with test-time compute — the model can refine a design for up to a minute (Fig. 5d, guided) without monotonic gains.
- Guidance substitutes for search. Dynamics Self-Guidance improves each individual sample while Zeroth Order improves by selection. With a single sample, guidance leads Zeroth Order by 242 to 341 reward on the multi-trajectory bimanual rows; with a large sampling budget the two become indistinguishable.
- The same model can control its own designs. On generated quadrupeds, the learned whole-body controller correlated with expert performance at Pearson's r = 0.53 (Fig. 8), with most embodiments clustering along the diagonal but some outliers.
- Controller capacity ablation. Small (11.6M parameters) vs large (63.6M parameters) unified models on the bimanual controller task over 25 robots and 650 episodes: position error 6.6 → 5.9 cm, orientation error 10.7 → 9.6 deg, survival 98.9% → 99.5%, reward 884.9 → 957.0, against the Mink oracle's 4.8 cm, 7.6 deg, 100.0%, 1064.3. The larger model needed 4× longer runtime at the same number of parallel samples.
- Hardware validation. On a fabricated ALOHA optimized for a "Tracking Velocity" reward on cloth-unfolding flings, maximum joint speed fell from 2.57 to 1.82 rad/s (30%) and tracking position error from 13.0 to 3.5 cm (73%). The optimized design used longer but lighter links and mounted the arms upside down behind the workspace, enabling an underarm swing instead of an overhead fling.
Methodology in Plain English
The team converts robot descriptions into a uniform list of numbers — one set of tokens for the body (links, joints, motors) and separate sets for the states and actions recorded while a controller drives that body to follow a target trajectory. Because every robot lands in the same format, a single transformer can be trained across many robot types at once.
Training uses a diffusion objective: the network learns to denoise corrupted RoboTokens, jointly for body and behavior, so it learns the joint distribution of what robots look like and how they move. For data, the authors collected 76 motion trajectories with a UMI-gripper extension built on ARKit (56 for training, 20 for validation), plus UMI bimanual dishwashing demonstrations. Each generated robot is driven to track those motions either by Mink, a differential IK library for MuJoCo with an 80 ms look-ahead to account for joint-control lag, or — for legged robots — by RL whole-body controllers, one policy per discrete design variation with continuous variations fed in as observations, giving 128 RL experts across 7 binary design choices.
At inference, two optimizers are compared. The Zeroth-Order Optimizer samples n designs in parallel, ranks them with the reward, and returns the best. Dynamics Self-Guidance additionally backpropagates the reward through the model's own per-step denoising predictions and injects that gradient into the diffusion update (following classifier-guided DDIM), pulling samples toward higher value. Evaluations run 9 seeds for CMA-ES and diffusion sampling, report 95% confidence intervals, validate each optimized design in MuJoCo with the design space's controller, and time everything on a lightly loaded NVIDIA RTX 4090 with an Intel i9 core. Rewards used include tracking only, tracking plus torque penalty, and tracking plus velocity penalty, with parameters such as σ_p = 0.01, σ_o = 0.5, α_torque = 5×10⁻⁵, and α_velocity of 0.1 (ViperX), 0.5 (bimanual), and 0.005 (quadruped).
Why This Matters
The paper reframes robot hardware as a design variable rather than a fixed constraint, and shows that one model can serve as generator, evaluator, and controller — collapsing a multi-stage co-design loop into a single GPU-parallel diffusion process. That is a structural change to how co-design pipelines are built, and the real-world ALOHA result is evidence the loop survives contact with unmodeled physics such as aerodynamic drag and cloth friction.
Real-world applications:
- Custom manipulator hardware tuned to a specific task family (e.g., high-speed cloth unfolding) rather than a general-purpose arm.
- Rapid prototyping of bimanual and mobile manipulator configurations — spine type, mounting points, link lengths — before committing to fabrication.
- Designing quadruped manipulators where stability, inertia, and agility trade off for dynamic tracking.
- Selecting a generalist manipulation platform by conditioning design optimization on many tasks drawn from a manipulation dataset.
Industry relevance: the runtime numbers matter commercially. CMA-ES taking 11505.2 s versus 20.7–30.8 s for the learned optimizers on the bimanual multi-trajectory setting is the difference between overnight and interactive iteration. The capacity ablation also gives practitioners a concrete cost curve: the 63.6M model scores better but costs 4× the runtime of the 11.6M model.
Future Directions
- Expand RoboToken's scope. The representation currently covers rigid articulated robots with primitive-based geometry (MJCF scope); the authors point to complex geometry, scene/object information, and tactile information as needed extensions, and note rewards involving structural strength or appearance are out of scope.
- Improve dynamics and reward modeling accuracy. The gap between predicted and actual rewards is larger for the quadruped space than for ViperX and bimanual (Fig. 7), which the authors tie to the difficulty of reasoning about discontinuous contacts and fall-induced termination — and which they flag as a lever for better test-time scaling.
- Better test-time compute scaling. Since performance does not robustly rise with more sampling, the authors suggest alternative inference schemes and improved dynamics modeling.
- Replace the 128 RL experts with one controller. The r = 0.53 correlation is framed as a first step; distillation and capacity/FLOP trade-offs (the smaller model would need 5.5× as many training steps under FLOP normalization) are left open.
- Scale data generation. More efficient legged control and broader robot coverage are named as prerequisites for a foundation model that treats embodiment as first-class tokens.
Target Audience
Robotics researchers working on co-design, morphology optimization, and cross-embodiment learning; practitioners of diffusion-based generative models interested in non-visual, structured domains; and engineers building manipulation platforms who want a learned alternative to evolutionary design search. Readers need comfort with diffusion sampling, robot description formats, and RL-based control to get full value; the paper is not an entry-level introduction to any of these.
Authors’ abstract
An often overlooked factor of robot manipulation performance is the embodiment of the robot itself. Motivated by this problem, we study motion-conditioned robot co-design, where the goal is to generate complete robot designs that track target end-effector trajectories (from human demonstrations) while optimizing user-defined rewards. We introduce Transformer Transformer, a diffusion transformer trained on RoboTokens, a unified tokenization of robot embodiments, states, and…
The full abstract on arXivRelated papers
- KING: Embodiment-Aware Kinematic Graph Neural Network for Unified Motion Representation of Legged and Wheeled Robots 2026-08-02 · cs.RO · Key terms of the title in common
- Pre-training Visual Dexterity in Simulation 2026-08-16 · cs.RO · Also by C. Karen Liu
- Koala Gripper: Co-designing Robotic Grippers and Data-Capture Devices for Scaling Dexterous Manipulation Learning 2026-08-20 · cs.RO · Key terms of the title in common
- Counterfactual Video Generation Enables Scalable Humanoid Loco-Manipulation 2026-09-29 · cs.RO · Also by C. Karen Liu
- DITTO-X: Forward and Reverse Teleoperation for Dexterous Manipulation and Human Intervention 2026-09-30 · cs.RO · Also by C. Karen Liu