TRACE: Typed Reference-Aware Conversational Editing for Humanoid Motion Diffusion
Organizations: Zhejiang University · Westlake University · Technical University of Munich · Huazhong University of Science and Technology ·
Abstract
Language-conditioned humanoid motion generation enables users to create and refine robot movements through natural language. The central challenge is to connect an underspecified request to concrete motion structure that can subsequently be revised relative to an accepted reference. We present TRACE, a generation and editing framework for the Unitree G1 humanoid robot built around typed, measurable kinematic quantities. Our insight is to ground generation conditions in paired training motions and editing goals in the current motion. A language model learns to predict support, root, and hand events from motion-derived supervision; their time-aligned encodings complement the original text in a diffusion generator. Gravity-referenced states and trajectory--contact objectives improve kinematic consistency. For editing, typed requests define body--time scopes and source-relative goals. A separate reference-conditioned diffusion editor uses these goals and revised events to realize changes, while sampling-time projection preserves protected state coordinates. Quantitative evaluation and human assessment show improved semantic alignment and motion quality over the compared methods. Multi-turn editing evaluations demonstrate more reliable execution of successive relative requests under shared preservation constraints. Code is available at https://github.com/Multimodal-Perception-Action/TRACE.
Figures & tables
| Automatic test-set metrics | User study | ||||||||
| Method | R@1 | R@2 | R@3 | MM-Dist | FID | Diversity | Quality | Text match | Overall |
| TextOP ( Xie et al., 2026 ) | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] |
| TeXedo ( Cao et al., 2026 ) | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] |
| ECHO ( Jia et al., 2026 ) | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] |
| MoMask ( Guo et al., 2024 ) | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] |
| MDM ( Tevet et al., 2023 ) | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] | [-1pt] |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Channels | Quantity | Fixed states / rules |
|---|---|---|
| 0–1 | Left/right support | Enter at height and speed m/s; leave at height or speed m/s. |
| 2–4 | Root vertical speed | Descending / level / ascending, split at m/s. |
| 5–7 | Root height | Low / middle / high, split at . |
| 8–11 | Left hand height | H0 / H1 / H2 / H3, split at relative to pelvis. |
| 12–15 | Right hand height | Same four bins as the left hand. |
| Patch | L foot | R foot | Root speed | Root height | L hand | R hand |
|---|---|---|---|---|---|---|
| 0 | 1.00/1.00 | 1.00/1.00 | level/1.00 | middle/1.00 | H0/1.00 | H0/1.00 |
| 4 | 0.00/0.50 | 0.00/0.50 | up/1.00 | high/0.75 | H0/1.00 | H0/1.00 |
| 87 | 0.67/0.75 | 0.50/1.00 | up/1.00 | middle/0.75 | H0/1.00 | H0/0.50 |
| 127 | 1.00/1.00 | 1.00/1.00 | level/1.00 | middle/1.00 | H0/1.00 | H0/1.00 |
| Model | R@1 | R@2 | R@3 | MM-Dist | FID | Diversity |
|---|---|---|---|---|---|---|
| Text Only | 73.10 | 85.72 | 89.81 | 0.8341 | 0.0464 | 1.3817 |
| Global Events | 73.65 | 86.17 | 90.26 | 0.8310 | 0.0448 | 1.3809 |
| Aligned Plan (Ours) | 73.84 | 86.24 | 90.31 | 0.8165 | 0.0434 | 1.3766 |
| Supervision | R@1 | R@2 | R@3 | MM-Dist | FID | Diversity |
|---|---|---|---|---|---|---|
| Caption-derived | 73.26 | 85.89 | 90.00 | 0.8331 | 0.0458 | 1.3817 |
| Motion-derived (Ours) | 73.84 | 86.24 | 90.31 | 0.8165 | 0.0434 | 1.3766 |
| Variant | Sliding | Drift | Height error | Penetration |
|---|---|---|---|---|
| Heading-local | ||||
| Gravity-Gauged | ||||
| + Geometry | ||||
| + Contact |
| Adapter | Supervised output | Saved inference artifact |
|---|---|---|
| Generation | duration and typed support/root/hand intervals | adapter weights, tokenizer/template identifier, schema, and event vocabulary |
| Editing | attribute, effector, signed change, and interval | adapter weights, tokenizer/template identifier, schema, and compiler vocabulary |
| Stage | Updates | Supervision / added condition |
|---|---|---|
| Original editing | 8k | Original retargeted motion pairs |
| Mixed editing | 8k | Local/original source+scope initialization |
| Relative goal | 4k | Relative offsets and wrist goal loss |
| Event-aware | 4k | Source-derived event residual and consistency |
| Method | Success (%) | XY RMSE (cm) | (deg/s) | (deg/s 2 ) | New limits (%) |
|---|---|---|---|---|---|
| SimMotionEdit-G1 | 2.74 | 2.238 | 34.273 | 602.284 | 0.033 |
| TMED-G1 | 6.48 | 2.206 | 52.730 | 967.980 | 0.043 |
| TRACE | 30.82 | 2.047 | 26.304 | 520.346 | 0.017 |
| Split | Originals | Mirrors | Full clips | Packed / eligible windows | Hours |
|---|---|---|---|---|---|
| Train | 42,156 | 42,131 | 84,287 | 86,451 / 86,385 | 170.54 |
| Validation | 6,650 | 6,643 | 13,293 | 13,803 / 13,799 | 26.95 |
| Test | 6,653 | 6,649 | 13,302 | 13,722 / 13,706 | 26.91 |
| Setting | Raw-text backbone | Sparse-event continuation |
|---|---|---|
| Updates | 32k | 8k |
| Global batch | 256 | 128 |
| Learning rate |
Robot Motion Generation
Robot motion generation creates feasible, task-directed trajectories for robots to move, manipulate objects, and interact with people and environments.
See all 198 papers