Manuscript Offprint
arXiv:2610.21515TRACE: Typed Reference-Aware Conversational Editing for Humanoid Motion Diffusion
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. Controlled ablations support the value of motion-grounded conditioning and kinematic consistency, while multi-turn editing evaluations demonstrate more reliable execution of successive relative requests under shared preservation constraints. Together, these results support typed kinematic structure as a common basis for motion generation and reference-aware revision.
1 Introduction
Language-conditioned humanoid motion generation maps a natural-language instruction to a sequence of root poses and joint configurations. It lets users specify behavior such as walking, dancing, or jumping without authoring each pose. The resulting trajectory can serve as an animation or a reference for a downstream robot controller. In interactive use, generation also provides a starting point for refinement: after seeing a motion, a user may ask for a higher jump or a different hand position while expecting the accepted parts of the sequence to remain recognizable.
Existing text-to-motion models learn mappings from captions to continuous trajectories or discrete motion codes (Tevet et al., 2023; Zhang et al., 2023a; Jiang et al., 2023; Guo et al., 2024). Structured approaches expose body-part or temporal conditions (Zhang et al., 2023b; Yazdian et al., 2025), and language-model planning decomposes instructions into detailed descriptions (Ouyang et al., 2026).
These intermediate conditions provide a way to specify motion structure, but a caption alone rarely determines exactly when a foot supports the body or how high a hand rises. A plan inferred solely from that caption can describe a valid realization different from its paired training motion. Grounding the plan in measurable properties of the demonstration gives supervision a direct connection to the trajectory the generator learns to reconstruct.
Editing makes this connection to a particular motion equally important. Source-conditioned methods learn revisions from language and an existing sequence (Athanasiou et al., 2024; Li et al., 2025; Lin et al., 2026). A relative request such as “raise the hand” must be interpreted against the current pose and trajectory, while the rest of the motion supplies a reference to preserve. An interactive system therefore needs both an explicit description of the requested change and a mechanism that restricts its effect to the selected body region and time interval.
The key challenge is to turn underspecified language into a coherent motion reference whose intended properties can be revised selectively. Figure 1 illustrates this requirement. An initial instruction produces a jumping jack; the follow-up “Jump higher, rest unchanged” refers to that particular motion. The edited example crouches deeper and jumps higher, requiring coordinated changes in preparation and take-off while retaining the overall action. A useful intermediate description should therefore expose quantities such as support and height over time. Our insight is that these measurable quantities can connect both stages: the paired demonstration determines the event targets used to train generation, and the current reference determines the baseline and protected coordinates for editing.
We introduce Typed Reference-Aware Conversational Editing (TRACE) for the Unitree G1 humanoid robot. Typed refers to explicit categories for support, root, and hand events and for requested changes. Reference-aware means that the current motion defines both the baseline for a relative change and the coordinates to preserve. For generation, we extract event targets from training motions through forward kinematics and supervise an LLM to predict duration and event intervals from text. The predicted Plan is converted into numerical conditions aligned with motion patches. A diffusion Transformer combines these conditions with the original caption, retaining language information beyond the compact event vocabulary. A gravity-referenced state directly represents height and tilt, while integrated-trajectory and support-selective contact objectives constrain motion consistency.
For editing, a language request is parsed into a typed change and compiled into a body–time scope and a source-relative goal. A separately trained diffusion editor receives the current motion, its revised events, and the compiled goal. At every sampling step, reference projection restores protected coordinates, allowing the selected region to change while retaining the rest of the encoded motion. Each output supplies the reference for the next request. Generation and editing thus share a motion representation and a kinematic vocabulary, with separate models for their respective conditioning tasks.
Experiments on BONES-SEED (Bones Studio, n.d.) evaluate generation, kinematic consistency, and successive request execution. TRACE leads the compared methods in retrieval, MM-Dist, FID, and human ratings (Section 4.2). Matched controls establish the value of event conditioning and motion-derived auxiliary supervision, while representation and objective ablations measure their effects on trajectory and contact errors (Section 4.3). For editing, hand-height requests provide measurable source-relative goals; TRACE achieves higher all-turn success than the adapted learned editors under shared scopes and reference projection (Section 5.3). Our contributions are:
-
Motion-grounded typed-event conditioning. We derive confidence-weighted support, root, and hand event targets from training trajectories and learn a text-to-Plan predictor. Patch-aligned numerical events complement raw-caption features in continuous G1 motion generation. Matched controls demonstrate gains from event conditioning and motion-derived auxiliary targets.
-
Gravity-referenced motion diffusion. We directly represent absolute height and gravity-relative tilt, and combine integrated-trajectory objectives with support-selective forward-kinematics penalties to reduce accumulated trajectory errors and improve foot-ground consistency. Representation and objective ablations quantify these effects through kinematic errors.
-
Typed, source-relative motion editing. We compile supported editing requests into body-time scopes and source-relative goals, and combine them with source-motion features and revised events in a separately trained editor. Reference projection preserves protected state
(a)

(b)
Figure 1: From text generation to reference-aware refinement. (a) The request “Do a wide jumping jack, arms overhead to sides” produces an initial motion reference. (b) “Jump higher, rest unchanged” specifies a relative height change; the schematic highlights the pelvis and legs involved in the revision. The robot sequence shows a deeper preparatory crouch and a higher jump. Orange and blue height profiles compare the initial and edited motions over normalized time.
coordinates throughout sampling. Shared-scope comparisons demonstrate more reliable successive hand-height changes to an evolving motion reference.
Kinematic consistency and humanoid generation. MDM incorporates geometric and foot-contact objectives (Tevet et al., 2023). PhysDiff adds simulator-based motion projection during denoising (Yuan et al., 2023), while CLoSD closes the loop between a diffusion planner and a tracking controller (Tevet et al., 2025). Language-conditioned humanoid systems connect generation to robot motion or control (Jiang et al., 2024; Shao et al., 2025; Li et al., 2026; Jian et al., 2026); imitation and transfer methods address downstream tracking (Fu et al., 2024; He et al., 2024; 2025). These methods address motion plausibility and downstream execution at different stages. TRACE targets upstream reference quality through gravity-referenced height and tilt, integrated trajectory objectives, and support-selective FK contact losses.
Typed source-relative and reference-preserving editing. MDM demonstrates temporal and body-part inpainting (Tevet et al., 2023), and PriorMDM composes diffusion priors for joint and trajectory control (Shafir et al., 2024). FineMoGen also uses LLMs for fine-grained editing (Zhang et al., 2023b). MotionFix introduces source–instruction–target pairs and the source-conditioned TMED editor (Athanasiou et al., 2024); SimMotionEdit adds motion-similarity supervision (Li et al., 2025), and CIME studies spatial preservation and non-uniform temporal mapping (Lin et al., 2026). TRACE connects source conditioning and preservation to explicit relative requests: a typed relative change is compiled into a kinematic body–time scope and coupled to source-relative goals, revised source events, and reference projection.

Figure 2: TRACE with a motion-grounded sparse-event plan. The upper path maps a text instruction to continuous G1 motion. A frozen text encoder supplies prompt features, while an LLM predicts duration and typed support, root, and hand events. The event projector maps their numerical, time-aligned encoding to plan features that condition the diffusion Transformer (DiT) alongside the prompt. The lower-left path constructs training supervision: gravity-gauged states and forward kinematics (FK) provide measurable signals for event extraction, linked to the plan by the dashed path. Test-time plans are predicted from text. Snowflake and flame symbols denote frozen and trainable modules in their respective training stages; the trained LLM is frozen for diffusion training. Generated references can be passed to a downstream controller for robot execution, illustrated at lower right. The edit loop denotes follow-up requests; Section 3.4 describes the separate reference-conditioned editor.
3 Method
3.1 Overview
Typed event plans structure generation; typed edit requests specify how an accepted motion should change. Reference-conditioned denoising realizes the change within its compiled scope, while projection preserves protected coordinates. TRACE uses separate generator and editor weights; Figure 2 depicts the generation pathway.
For an instruction , a frozen text encoder gives , while a supervised LLM jointly predicts duration and typed event intervals. Deterministic rasterization converts its structured output into the plan:
The LLM predicts support, root, and hand events and is frozen during diffusion training and inference. We denote its rasterized events at length N by . A conditional diffusion Transformer generates continuous G1 states from .
3.2 Motion-Grounded Sparse Planning and Conditioning
We construct a compact event vocabulary from measurable properties of the paired training motion. These motion-derived targets provide realization-aligned supervision for the language-to-plan predictor. At inference, predicted events supply explicit support, root, and hand structure, while the original caption retains semantics outside this vocabulary.
Motion-derived supervision. For each clean training motion, deterministic FK and root reconstruction produce sole heights/speeds, root vertical motion and height, and palm heights relative to the pelvis. Fixed thresholds convert these signals into typed events. Each four-frame patch carries two independent support probabilities and four categorical distributions:
These semantic groups form a compact vocabulary, with categorical entries summing to one within each valid group. Sparse refers to this vocabulary; every valid motion patch receives a condition.
Plan prediction and training conditions. Threshold ambiguity is encoded by confidence W. Motion-derived pseudo-targets supervise the LLM through serialized typed plans using only training motions; Y denotes their numerical encoding. To reduce dependence on perfect annotations at deployment, diffusion training mixes target and predicted conditions while retaining raw text. Uncertain targets fall back to predicted events:
The choice applies jointly to all event groups for a sample. Training uses the recorded length; inference uses the caption-predicted length and predicted events only. Appendix B.1 specifies the kinematic extraction rules and an actual training example.
Time-aligned conditioning. The raw caption is encoded once. A learned numerical event projection and a separate raw-text residual branch use patch progress features to align conditions to the denoiser. Both supplement the raw-text backbone. At diffusion timestep , the residual condition is scaled by , attenuating it near clean motion. Matched controls retain the same branch capacity, so removing plan means zeroing its event inputs while preserving all trainable parameters.
3.3 Gravity-Gauged and Contact-Consistent Diffusion
The plan specifies motion structure, but accurate local poses alone do not ensure a coherent trajectory. Small errors in integrated root motion can accumulate, and plausible poses can still move a supporting foot. We therefore represent height and tilt relative to gravity and supervise integrated geometry and foot contact explicitly. This separates quantities that require an absolute reference from those that describe displacement.
Gravity-gauged states and kinematic consistency. We predict absolute height and gravity-relative tilt directly, integrating only planar displacement and yaw. The per-frame state is
Here concatenates the first two columns of , where is the body-to-world root rotation and is its horizontal heading rotation; contains 29 joint angles. The six tilt coordinates are orthonormalized and composed with integrated yaw to recover the root rotation, up to the canonical initial heading (Appendix C.1). This yields a 40-dimensional motion representation. Plan support probabilities serve only as denoiser conditions.
Grouped training objective. The generator predicts clean normalized states under a cosine noise schedule. We organize its objective into three weighted groups:
Motion reconstruction supervises states, velocities, and accelerations. Geometry consistency constrains reconstructed position, cumulative yaw, body-up direction, and the yaw-pair norm. Contact consistency uses differentiable FK to penalize support-foot sliding, drift, and height error, plus penetration on all valid frames. Clean training motion selects support masks; predicted plan probabilities are conditions, not substitutes for these masks. Each group includes its component weights, detailed in Appendix C.2.
3.4 Automatic Masking and Reference-Aware Motion Editing
Editing requires both locating the requested change and preserving the remaining motion. We combine automatic body–time masking, source-relative goals, and reference projection to address these complementary requirements.
Automatic scope localization. At turn , contains the source and request; is the source length. A supervised LLM, frozen at inference, predicts : an attribute, effector, signed change, and interval. The source-only summary contains FK hand heights relative to the pelvis. A deterministic compiler constructs . For the body-time mask , it expands the selected effector to its kinematic chain and resolves interval against :
For hand-height edits, K contains seven arm-joint coordinates; its complement remains protected, including that arm outside the interval. Explicit time expressions are compiled from language; invalid requests leave the mask closed. Localization uses only the source and request. The grammar is detailed in Appendix D.2.
Source-relative motion revision. For controlled hand-height evaluation, encodes signed wrist-height offsets with a sine-squared temporal envelope. The editor conditions on source-motion features, the scope, these offsets, and revised source events. The event sequence is extracted deterministically from the current source motion, with the requested hand-height groups updated according to . Original and synthetic edit pairs supervise local motion fidelity, relative goals, and event consistency. The wrist-offset protocol evaluates hand edits; Figure 1 provides a separate qualitative jump refinement. Appendix D.2 defines request compilation, and Appendix D.3 details the editor and its training.
Reference-preserving transitions. The conditional editor defines a stochastic state transition:
Revised source events are deterministic functions of the source motion and compiled offsets; this dependence is implicit in the compact conditioning notation above. The next state is , with an external utterance; the Markov formulation assumes self-contained requests. After each DDIM step , the binary mask preserves protected normalized coordinates by reference projection:
The reference is noised to the current sampling level; the final step copies protected encoded state coordinates exactly. In the hand-height protocol, the root and nonselected joint chains remain fixed. For root-changing edits, this coordinate guarantee alone does not ensure world-space preservation. Mask localization and editing under shared scopes are evaluated separately.
4 Motion Generation Experiments
We evaluate generation quality (Section 4.2) and test Plan conditioning and kinematic design with matched controls (Section 4.3), using the setup in Section 4.1.
4.1 Experimental Setup
Data. We use the processed BONES-SEED test split of 13,302 text–motion pairs. Each UID contributes one complete generated motion, including reassembly of packed segments where required. Processing, split integrity, and reassembly are detailed in Appendix E.1.
Baselines. We distinguish two groups. Human-motion methods adapted to G1 comprise MDM (Tevet et al., 2023), MoMask (Guo et al., 2024), and MotionGPT3 (Zhu et al., 2026), retrained on the processed BONES-SEED/G1 split with heading-local 38D outputs. Native G1 methods comprise OMG (Huang et al., 2026), ECHO (Jia et al., 2026), TextOP (Xie et al., 2026), and TeXedo (Cao et al., 2026), using official checkpoints. TRACE is trained on the processed split and uses Plans predicted by the LLM from text, without target-motion conditions. All methods are evaluated on the same test set; training and inference configurations are documented in Appendix E.2.
Metrics. All rows use the same frozen G1 text–motion evaluator for 32-candidate R-Precision, MM-Dist, FID, and Diversity. Diversity is a distributional diagnostic, not a ranked objective. Physical errors are assessed only in matched component controls. Table captions identify the uncertainty measure; Appendix E.4 gives definitions, repetitions, and aggregation.
Table 1: BONES-SEED comparison: automatic metrics on test motions (R@k in percent) and a user study on 100 test prompts (scores 1–3). Cells show means above and uncertainty below where reported: evaluator-resampling 95% CI for R-Precision and SD across 16 participant means for the study. Automatic metrics and user-study scores follow the protocols defined in Appendix E.4.
| Method | Automatic test-set metrics | User study | |||||||
|---|---|---|---|---|---|---|---|---|---|
| R@1↑ | R@2↑ | R@3↑ | MM-Dist↓ | FID↓ | Diversity | Quality↑ | Text match↑ | Overall↑ | |
| TextOP (Xie et al., 2026) | 10.54 | 19.02 | 25.18 | 1.2950 | 0.3985 | 1.2437 | 1.331 | 1.281 | 1.306 |
| ±0.07 | ±0.09 | ±0.11 | ±0.199 | ±0.152 | ±0.154 | ||||
| TeXedo (Cao et al., 2026) | 10.78 | 17.80 | 22.60 | 1.3150 | 0.4060 | 1.2505 | 1.275 | 1.106 | 1.191 |
| ±0.10 | ±0.09 | ±0.07 | ±0.191 | ±0.106 | ±0.125 | ||||
| ECHO (Jia et al., 2026) | 24.08 | 36.90 | 44.05 | 1.2008 | 0.2577 | 1.3288 | 1.469 | 1.469 | 1.469 |
| ±0.12 | ±0.13 | ±0.13 | ±0.218 | ±0.196 | ±0.195 | ||||
| OMG (Huang et al., 2026) | 25.48 | 38.51 | 45.19 | 1.2158 | 0.2921 | 1.3060 | 1.356 | 1.300 | 1.328 |
| ±0.10 | ±0.13 | ±0.11 | ±0.287 | ±0.193 | ±0.200 | ||||
| MoMask (Guo et al., 2024) | 31.57 | 41.88 | 46.80 | 1.1801 | 0.3057 | 1.2716 | 1.463 | 1.250 | 1.356 |
| ±0.08 | ±0.10 | ±0.07 | ±0.258 | ±0.216 | ±0.188 | ||||
| MDM (Tevet et al., 2023) | 58.84 | 73.51 | 79.31 | 0.9716 | 0.0897 | 1.3769 | 1.313 | 1.313 | 1.313 |
| ±0.09 | ±0.11 | ±0.06 | ±0.225 | ±0.193 | ±0.182 | ||||
| MotionGPT3 (Zhu et al., 2026) | 68.46 | 81.29 | 85.81 | 0.8886 | 0.0628 | 1.3775 | 1.538 | 1.300 | 1.419 |
| ±0.12 | ±0.09 | ±0.08 | ±0.236 | ±0.146 | ±0.155 | ||||
| TRACE (Ours) | 73.84 | 86.24 | 90.31 | 0.8165 | 0.0434 | 1.3766 | 2.338 | 2.444 | 2.391 |
| ±0.13 | ±0.08 | ±0.07 | ±0.410 | ±0.407 | ±0.401 | ||||
(a)
Hip-hop funk chicken: alternate-leg hops with one hand waving.
(b)
Make a full right turn, then walk forward.
(c)
Slowly turn your head left, then right.
Ours

MotionGPT3
MDM
Figure 3: Qualitative comparison of Ours, MotionGPT3, and MDM. The third column illustrates generation from a free-form text prompt.
Implementation. TRACE generates 40D G1 states at 20 FPS with four-frame patches. The diffusion Transformer has eight layers, width 448, and eight heads. Frozen Qwen3-Embedding-4B supplies caption features; a Qwen3-4B-Instruct adapter jointly predicts duration and all event groups. The main-table generator continues a 32k-step raw-text model for 8k steps with the 16-event branch and frozen LLM predictions. Test inference uses predicted conditions, EMA, DDIM-50, and CFG 2.5. Appendix E.2 records the full training and sampling configuration and batch sizes.
4.2 Generation Performance Analysis
TRACE achieves the best retrieval, MM-Dist, and FID results in Table 1, indicating strong semantic alignment and distributional fidelity of the complete system. The user study provides complementary evidence of perceptual quality and text alignment.
Figure 3 compares TRACE with MotionGPT3 and MDM. The selected test examples qualitatively illustrate closer semantic alignment through clearer dance gestures and turn-then-walk ordering. Table 1 evaluates the complete system; the matched controls in Section 4.3 assess the contribution of motion-grounded event conditioning.
4.3 Ablation Study
Motion-Grounded Plan Ablation. Matched controls support typed, time-aligned Plan conditioning and supervision grounded in the paired motion (Figure 4). Aligned Plan uses the main-table model; Text Only retains the same raw-caption features, branch capacity, duration predictor, initialization, objectives, and continuation budget while zeroing the event inputs. A second comparison replaces motion-derived auxiliary targets with caption-derived events during training and retains the same predicted Plan at test time.
The retrieval and distributional improvements are consistent with two roles of the Plan: temporal conditioning exposes when support and height events occur, and motion-derived supervision aligns auxiliary targets with the trajectory being reconstructed. A caption-derived Plan can describe another valid realization. Test conditions are predicted from text throughout. Appendix B.2 provides the Global Events control, absolute values, and full protocols.
Kinematic Design Ablation. The kinematic controls show complementary effects of integrated-trajectory supervision and foot-ground constraints (Figure 5). Heading-local, Gravity-Gauged, Geometry, and Contact models share the training budget, data, and event conditions. Gravity-Gauged reduces contact-height error, consistent with predicting absolute height and tilt directly. Geometry further improves trajectory-related diagnostics but increases penetration; adding Contact reduces penetration and yields lower errors than Heading-local across all reported measures.
Each plotted metric is normalized by its Heading-local mean. Contact diagnostics use reference support intervals, and penetration uses all valid frames; absolute values and training details appear in Appendix C.3.


Figure 4: Motion-grounded Plan ablation. Teal compares Aligned Plan with Text Only; orange compares motion-derived with caption-derived training supervision under a shared predicted test Plan. Relative improvement is for retrieval and for MM-Dist/FID. Positive is better, not percentage-point change. Protocol details are in Appendix B.2.
Figure 5: Reference-based kinematic evaluation. Each error is normalized by its Heading-local mean (baseline 1; lower is better). The first transition changes the state representation; Geometry and Contact subsequently add objective bundles. Contact-based measures use reference support intervals, while penetration is evaluated over all valid frames.
5 Motion Editing Experiments
We separately test automatic localization and multi-turn execution under shared masks.
5.1 Experimental Setup
Data and tasks. We use hand-height editing as a controlled test of source-relative request execution. A requested height change defines a measurable FK goal while allowing multiple valid joint trajectories, so evaluation can assess goal achievement and preservation without requiring a unique target motion. Within this protocol, the signed offset follows a fixed sine-squared profile over the requested interval, using the benchmark’s temporal convention.
We use 199 held-out BONES-SEED/G1 source motions with human-reviewed synthetic English editing requests. Each initial request specifies a hand, a signed 5 cm height change, and an explicit time interval. We first evaluate the predicted body–time mask without generating motion. For sequential editing, each source yields three scripted four-turn patterns: same-arm edits, alternating arms, and reversals, giving 597 chains.
Models and controls. For motion editing, we compare the complete TRACE editor with local G1 adaptations of TMED (Athanasiou et al., 2024) and SimMotionEdit (Li et al., 2025) under a shared scope-compilation and reference-projection protocol.
Metrics. Mask localization uses body–time IoU against private reference masks. All-turn success requires every request through a depth to meet change and preservation criteria relative to its actual preceding output (Appendix E.4).
5.2 Scope-Construction Diagnostics

Figure 6: Scope diagnostics. Body–time IoU on 199 reviewed requests; parser outputs are fixed while compiler components are removed.

Figure 7: Editing under shared masks. All-turn success over 597 scripted chains and three sampling runs; higher is better.
Effect of scope-construction components. The full pipeline matches the prescribed masks on all 199 requests. With parser outputs fixed, whole-body and full-duration masks unnecessarily release unrelated coordinates or time intervals, while wrist-only masks omit proximal coordinates of the prescribed arm chain. These errors highlight the roles of body selection, temporal localization, and kinematic-chain expansion in constructing a compact editing scope, measured by agreement with prescribed masks in Figure 6.
5.3 Multi-Turn Editing Analysis
Multi-turn editing under shared preservation constraints. TRACE achieves the highest all-turn success at every evaluated depth. At four turns, success reaches 30.82%, compared with 6.48% for TMED-G1 and 2.74% for SimMotionEdit-G1. All 597 chains remain in the denominator, and each request is evaluated relative to the method's preceding output. Shared reference projection gives all methods zero protected-coordinate error, so the performance gap reflects their ability to realize successive changes under the same preservation constraint. Table 9 provides additional motion-quality diagnostics.
6 Conclusion and Limitations
TRACE combines motion-grounded typed-event conditioning, gravity-referenced diffusion, and source-relative editing to generate and revise Unitree G1 motion. Generation comparisons show strong semantic alignment and perceptual quality; matched controls support temporal event conditioning, motion-grounded supervision, and kinematic consistency. Under shared scopes and reference projection, TRACE sustains successive hand-height changes more reliably than the adapted learned editors. Typed motion quantities thus connect language-conditioned generation with measurable revisions of an evolving reference.
Scope and limitations. The system addresses text instructions and flat-ground kinematics without scene perception. Retrieval and distributional metrics assess generated motions, not exact adherence to each predicted event. Contact objectives encourage foot-ground consistency without guaranteeing zero slip.
References
Nikos Athanasiou, Alpár Cseke, Markos Diomataris, Michael J. Black, and Gül Varol. MotionFix: Text-driven 3D human motion editing. In SIGGRAPH Asia 2024 Conference Papers, 2024. URL https://motionfix.is.tue.mpg.de/.
Bones Studio. BONES-SEED: Skeletal everyday embodiment dataset. Dataset, n.d. URL https://huggingface.co/datasets/bones-studio/seed. Accessed September 21, 2026.
Jianuo Cao, Yuxin Chen, Yuzhen Song, Masayoshi Tomizuka, Chenran Li, and Thomas Tian. TEXEDO: Test time scaling for controller-aware language-conditioned humanoid motion generation. arXiv preprint arXiv:2606.22998, 2026. URL https://arxiv.org/abs/2606.22998.
Zipeng Fu, Qingqing Zhao, Qi Wu, Gordon Wetzstein, and Chelsea Finn. Humanplus: Humanoid shadowing and imitation from humans. arXiv preprint arXiv:2406.10454, 2024.
Chuan Guo, Yuxuan Mu, Muhammad Gohar Javed, Sen Wang, and Li Cheng. Momask: Generative masked modeling of 3d human motions. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1900–1910. IEEE, 2024.
Tairan He, Zhengyi Luo, Xialin He, Wenli Xiao, Chong Zhang, Weinan Zhang, Kris Kitani, Changliu Liu, and Guanya Shi. Omnih2o: Universal and dexterous human-to-humanoid whole-body teleoperation and learning. arXiv preprint arXiv:2406.08858, 2024.
Tairan He, Jiawei Gao, Wenli Xiao, Yuanhang Zhang, Zi Wang, Jiashun Wang, Zhengyi Luo, Guanqi He, Nikhil Sobanbabu, Chaoyi Pan, Zeji Yi, Guannan Qu, Kris Kitani, Jessica K. Hodgins, Linxi Fan, Yuke Zhu, Changliu Liu, and Guanya Shi. ASAP: Aligning simulation and real-world physics for learning agile humanoid whole-body skills. In Proceedings of Robotics: Science and Systems, Los Angeles, CA, USA, June 2025. doi: 10.15607/RSS.2025.XXI.066.
Siqiao Huang, Kun-Ying Lee, Dongming Qiao, Guanqi He, Zhenyu Wang, Yitang Li, Shaoting Zhu, and Hang Zhao. OMG: Omni-modal motion generation for generalist humanoid control. arXiv preprint arXiv:2606.10340, 2026. URL https://arxiv.org/abs/2606.10340.
Haozhe Jia, Jianfei Song, Yuan Zhang, Honglei Jin, Youcheng Fan, Wenshuo Chen, Wei Zhang, and Yutao Yue. ECHO: Edge-cloud humanoid orchestration for language-to-motion control. arXiv preprint arXiv:2603.16188, 2026. URL https://arxiv.org/abs/2603.16188.
Yingzhao Jian, Zhongan Wang, Yi Yang, and Hehe Fan. Endowing gpt-4 with a humanoid body: Building the bridge between off-the-shelf vlms and the physical world. In International Conference on Learning Representations, volume 2026, pp. 134007–134065, 2026.
Biao Jiang, Xin Chen, Wen Liu, Jingyi Yu, Gang Yu, and Tao Chen. Motiongpt: Human motion as a foreign language. Advances in Neural Information Processing Systems, 36:20067–20079, 2023.
Zhenyu Jiang, Yuqi Xie, Jinhan Li, Ye Yuan, Yifeng Zhu, and Yuke Zhu. Harmon: Whole-body motion generation of humanoid robots from language descriptions. arXiv preprint arXiv:2410.12773, 2024.
Zhe Li, Yangyang Wei, Boan Zhu, Yibo Peng, Tao Huang, Pengwei Wang, Zhongyuan Wang, Cheng Chi, Chang Xu, and Shanghang Zhang. From language to locomotion: Retargeting-free humanoid control via motion latent guidance. In International Conference on Learning Representations, volume 2026, pp. 129292–129319, 2026.
Zhengyuan Li, Kai Cheng, Anindita Ghosh, Uttaran Bhattacharya, Liangyan Gui, and Aniket Bera. Simmotionedit: Text-based human motion editing with motion similarity prediction. arXiv preprint arXiv:2503.18211, 2025. URL https://arxiv.org/abs/2503.18211.
Shaohui Lin, Zhenwu Shi, Jingyu Gong, Jiao Xie, Yu Zhou, Baochang Zhang, Lizhuang Ma, and Chia-Wen Lin. Spatial temporal synergy: Balancing change and invariance in text driven 3D human motion editing. arXiv preprint arXiv:2608.16008, 2026. URL https://arxiv.org/abs/2608.16008.
Runqi Ouyang, Haoyun Li, Zhenyuan Zhang, Xiaofeng Wang, Zeyu Zhang, Zheng Zhu, Guan Huang, Sirui Han, and Xingang Wang. Motion-R1: Enhancing motion generation with decomposed chain-of-thought and RL binding. In International Conference on Learning Representations, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/7a4cf58610e1c911e06970c8d75b86dc-Abstract-Conference.html.
Yonatan Shafir, Guy Tevet, Roy Kapon, and Amit Bermano. Human motion diffusion as a generative prior. In International Conference on Learning Representations, volume 2024, pp. 8717–8733, 2024.
Yiyang Shao, Xiaoyu Huang, Bike Zhang, Qiayuan Liao, Yuman Gao, Yufeng Chi, Zhongyu Li, Sophia Shao, and Koushil Sreenath. Langwbc: Language-directed humanoid whole-body control via end-to-end learning. arXiv preprint arXiv:2504.21738, 2025.
Guy Tevet, Sigal Raab, Brian Gordon, Yonatan Shafir, Daniel Cohen-Or, and Amit H. Bermano. Human motion diffusion model. In International Conference on Learning Representations, 2023.
Guy Tevet, Sigal Raab, Setareh Cohan, Daniele Reda, Zhengyi Luo, Xue Bin Peng, Amit Bermano, and Michiel van de Panne. CLoSD: Closing the loop between simulation and diffusion for multi-task character control. In International Conference on Learning Representations, 2025.
Weiji Xie, Jiakun Zheng, Jinrui Han, Jiyuan Shi, Weinan Zhang, Chenjia Bai, and Xuelong Li. TextOp: Real-time interactive text-driven humanoid robot motion generation and control. arXiv preprint arXiv:2602.07439, 2026. URL https://arxiv.org/abs/2602.07439.
Payam Jome Yazdian, Rachel Lagasse, Hamid Mohammadi, Eric Liu, Li Cheng, and Angelica Lim. MotionScript: Natural language descriptions for expressive 3D human motions. In 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 21574–21581. IEEE, 2025. doi: 10.1109/IROS60139.2025.11247385.
Ye Yuan, Jiaming Song, Umar Iqbal, Arash Vahdat, and Jan Kautz. PhysDiff: Physics-guided human motion diffusion model. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 2023. URL https://nvlabs.github.io/PhysDiff/.
Jianrong Zhang, Yangsong Zhang, Xiaodong Cun, Yong Zhang, Hongwei Zhao, Hongtao Lu, Xi Shen, and Ying Shan. Generating human motion from textual descriptions with discrete representations. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 14730–14740, 2023a.
Mingyuan Zhang, Huirong Li, Zhongang Cai, Jiawei Ren, Lei Yang, and Ziwei Liu. FineMoGen: Fine-grained spatio-temporal motion generation and editing. In Advances in Neural Information Processing Systems, volume 36, pp. 13981–13992, 2023b.
Bingfan Zhu, Biao Jiang, Sunyi Wang, Shixiang Tang, Tao Chen, Linjie Luo, Youyi Zheng, and Xin Chen. MotionGPT3: Human motion as a second modality. In International Conference on Learning Representations, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/1551c01d7a3d0bf21e2518331e9f7074-Abstract-Conference.html.
A Real-Robot Qualitative Demonstrations
Figure 8 presents real-robot demonstrations of left–right looking, a hip-hop routine, and a weight-shifting groove.
(a) left-right looking “Can you slowly turn your head to the left and then to the right?”

(b) Hip-hop routine. “person quickly performs a hip-hop dance routine that includes a leg kick, arm strike, and return”

(c) Weight-shifting groove. “grooving by shifting bodyweight from one leg to another, hands on hips to hip hop music”

Figure 8: Real-robot demonstrations. Panel (a) corresponds to the in-the-wild request in Figure 3. Panels (b,c) sample 0/25/50/75/100% of each recording. Fixed spatial crops preserve poses and temporal order; clips are not time-synchronized.
B Sparse Plan Design and Validation
B.1 Motion-Derived Sparse Plan Construction
Clean-motion support, root, and palm signals yield confidence-weighted 16-channel targets on the four-frame patch grid. The Plan is sparse in vocabulary and dense in time; motion length is supplied separately.
Signals and coordinates. We use the clean G1 trajectory at 20 FPS, reconstructed from the Gravity-Gauged state. Leg FK evaluates four sole points per foot; palm FK follows the robot's hinge chains without clipping joint angles. The ground is the fifth-percentile order statistic of the pooled minimum sole heights. Root height is measured above ; hand height is the vertical palm displacement relative to the pelvis in the gravity-aligned frame.
Table 2: Sparse-event schema. Channels are zero-indexed. The four categorical groups use softmax; the feet are independent sigmoid probabilities. All distances are in meters.
| Channels | Quantity | Fixed states / rules |
|---|---|---|
| 0–1 | Left/right support | Enter at height 0.035 and speed 0.20 m/s; leave at height > 0.055 or speed > 0.30 m/s. |
| 2–4 | Root vertical speed | Descending / level / ascending, split at -0.08, +0.08 m/s. |
| 5–7 | Root height | Low / middle / high, split at 0.60, 0.85. |
| 8–11 | Left hand height | H0 / H1 / H2 / H3, split at 0, 0.25, 0.45 relative to pelvis. |
| 12–15 | Right hand height | Same four bins as the left hand. |
Temporal annotation and uncertainty. Support uses hysteresis. Frames between the enter/leave thresholds are uncertain, and contact runs shorter than three frames are confidence-masked. Lack of stable support is not an airborne label. For root/hand categories, we first apply a five-frame moving average with edge padding; root vertical speed is the gradient of smoothed height times 20. Frames within 0.025 m of a height threshold or 0.02 m/s of a speed threshold are uncertain. H3 is an operational height bin, despite its implementation label above_shoulder; it is not measured relative to an anatomical shoulder.
Each patch pools up to four valid frames. Its target is the histogram over confident frames and its confidence is the fraction of confident frames. No confident frame gives zero weight, not a negative event. For each categorical group and class ,
The same confident-frame pooling applies to each binary foot label. The padded grid has 128 patches, of which are valid. Patches use a fixed temporal grid.
Training and inference use. Training labels supervise the joint LLM planner, which is frozen during diffusion training. Equation 3 specifies the confidence fallback and 50/50 target/prediction mixture. Test conditions use only captions and predicted durations; the main model's duration-planner prose is not encoded as a condition. Training settings are detailed in Appendix E.2.
Table 3: Actual cached training Plan example. Caption: a simple jump in place. frames (25.6 s), valid patches. The first non-mirrored jump UID in cache order is used. Patches show endpoints and first extrema of support, ascent, and confidence, selected solely from annotations, independently of model performance. Entries show support probability or categorical mode followed by confidence .
| 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 |
For example, patch 87 covers frames [348, 352]. Its root-height target is (0.00, 0.67, 0.33) (low, middle, high), not just the displayed mode. Its group confidence is 0.75; the remaining weight falls back to the predicted distribution during target-conditioned training.
The example reproduces cached training targets.
B.2 Main-Model Matched Plan Controls
The Aligned Plan checkpoint is exactly the model in Table 1. All three controls retain identical residual capacity, raw-caption features, 32k-step EMA initialization, optimizer, losses, and 8k continuation budget. They share the frozen joint event-and-duration LLM described in Appendix E.2. Text Only zeros event inputs but retains trainable branch capacity. Global Events averages every channel over valid patches and broadcasts that mean at both training and inference. Aligned Plan preserves the patchwise sequence. Both event-conditioned variants use Equation 3, isolating event content and timing under the same training budget.
All arms use the same 13,302 test UIDs, EMA, DDIM-50, CFG 2.5, and batch size 64. Table 4 reports absolute semantic results. Targets enter training supervision only, never test conditions. These post-selection controls were not pre-registered.
Table 4: Matched LLM Plan controls on test. Aligned Plan is the main-table model. R@k is in percent.
| 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 |
Aligned Plan improves the displayed semantic criteria over both controls, consistent with patchwise events resolving temporal ambiguity left by global averages: event prevalence alone omits when support and height changes should occur.
We additionally isolate the source of Plan supervision by replacing the motion-derived target in the target-conditioned training branch with caption-derived events from a caption-only language model. The inference LLM and its predicted test Plan remain fixed, as do initialization, raw-caption features, residual capacity, 8k updates, objectives, and sampler. This is a supervision-source control under a fixed inference planner.
Table 5: Matched Plan-supervision source control on test. Both rows use the same predicted Plan at inference; only the training target source changes. R@k is in percent.
| 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 |
Motion-derived supervision improves all reported retrieval and distributional criteria. A caption admits several valid support, root, and hand trajectories; caption-derived events can therefore disagree with the paired diffusion target. Motion-derived events describe that target trajectory, supporting the utility of realization-aligned supervision under the fixed inference planner. Both variants predict the test Plan from text alone.
C Kinematic Design and Objectives
C.1 Gravity-Gauged State: Encoding and Decoding
Coordinate convention and heading removal. Let and denote root position and the body-to-world rotation at motion frame . The world axis is vertical; the body's first axis is forward. Positions are stored in centimeters and joint angles in degrees, while the yaw angles below are in radians. Input root Euler angles are converted from degrees to radians; form . The stored translation triplet is reordered as world before encoding. Write for the Cartesian unit vectors. Projecting the root's forward axis onto the horizontal plane gives
The yaw-free residual is . Its continuous six-coordinate encoding stores the first two columns, concatenated columnwise:
Thus tilt encodes an absolute per-frame residual rotation.
Translation and yaw increments. For , the remaining root coordinates are
(12)
These per-frame displacements are integrated without a frame-rate factor. Together with , the six tilt coordinates and 29 joint angles, they give the 40D state in Equation 4. The encoder copies the penultimate planar and yaw increments into the last frame; those last increments are never integrated. For a single frame, planar increments are zero and .
Decoding and the initial gauge. Split a decoded tilt vector into . The implementation uses Gram–Schmidt normalization:
(13)
Here in the differentiable FP32 Torch decoder and in the FP64 NumPy export decoder. The result is orthonormal when both vectors have pre-normalization norms at least ; zero or collinear pairs remain degenerate under this clamp.
For predicted , recover . The Torch decoder substitutes if the pair norm is at most ; the NumPy export uses the pair directly. Starting with and , decode
(14)
The 29 joint angles are copied unchanged. Initial global planar position and yaw are intentionally omitted: for an exactly encoded trajectory, . Restoring the original global frame requires its initial planar translation and yaw as external metadata. Height is retained directly.
Numerical input and masking. The denoiser operates on featurewise normalized states , with training-only statistics and a standard deviation floor of . Decoding first applies . In a padded batch, each sequence has a valid prefix; increments from padded frames are zeroed and padded outputs do not enter any objective. The same canonical decoder is applied separately to the prediction and clean target for the geometric losses below.
C.2 Generation Objective Groups and Contact Implementation
Objective groups. The compact objective in Section 3.3 collects the component losses into three groups, with component-specific weights:
Motion losses supervise normalized clean states and temporal derivatives; geometry losses supervise integrated position/yaw, gravity, and yaw-unit norm. Contact terms use decoded FK. Component activation is specified in Appendix C.3.
Geometric inputs and reduction. At a sampled diffusion noise level, the denoiser predicts a normalized clean sequence , with clean target . Both are denormalized using the same training statistics and decoded by Appendix C.1, yielding and . Each trajectory integrates its own predicted or target increments from zero initial planar position and yaw; there is no additional rigid alignment or use of target headings to integrate predicted translations. Geometry is computed from the unclipped one-step clean prediction.
Let be the valid-frame mask and . Define body-up vectors and . Let be the two denormalized yaw coordinates before the decoder's small-norm fallback. The implemented geometry terms are
In Equation 18, p is the full three-coordinate root position: its planar coordinates are integrated, while its height is predicted directly. The factor converts centimeter-valued errors to meters before squaring; division by 3V averages coordinates and valid frames. Cumulative yaw enters the periodic cosine penalty directly in radians.
The gravity term matches the target body-up direction, preserving demonstrated leaning. It uses the third column of the complete decoded rotation, including heading composition. The yaw-unit term penalizes , the squared deviation of the pair norm from one. The latter three terms are dimensionless. All sums pool valid frames across the batch, so longer sequences contribute more frames; there is no additional timestep-dependent reweighting. Empty masks contribute zero, with implementation denominators clamped below by one. Denormalization and geometric computations use FP32. The reported geometry weights are .
Contact penalties. Let be sole point of foot , , and the clean-motion support mask. Define uninterrupted-contact weights . With masked means over valid batch, time, feet, and applicable point/coordinate entries, the implemented penalties are
(24) where excludes lags not shorter than the sequence. Position and velocity use meters and meters per second, respectively.
The reported main checkpoint uses differentiable FK for both six-joint G1 legs. Each ankle-roll link carries four sole sample points, in meters: and . The ground estimate pools the clean minimum sole height of each foot over valid frames and selects the fifth-percentile order statistic. A candidate support frame has sole height at most above this ground and foot-center planar speed at most . Singleton contacts are removed by requiring an adjacent contact frame. All masks are computed from clean motion without gradient propagation; generated motion is used only in the loss arguments.
Slip uses adjacent support frames; anchors require uninterrupted support at lags 2/4/8 (0.1/0.2/0.4 s), normalized separately. Height uses the lowest sole point, not the ankle origin. Invalid frames are excluded; empty masks contribute zero. The elementwise robust penalty is
Its scales are for slip and for anchor and height. All three loss weights are 0.05 in the reported checkpoint. Height supervision applies to support frames; the penetration term below also covers swing frames.
Penetration and Plan-mask distinction. The current continuation and the final physical-control bundle also use
with weight one, zero tolerance, and FP32 contact computation. This hinge averages over valid frames and feet, independently of support.
Loss masks use the clean-motion selector above, independently of predicted Plan probabilities. Plan annotation instead uses hysteresis, confidence, three-frame runs, and patch pooling (Appendix B.1).
C.3 Motion-Consistency Ablation Protocol
All four controls use raw captions and the current sparse-event condition, including the same 50/50 training mixture and frozen joint duration/event LLM. They share training data, global batch 256, 32k updates from scratch, learning rate , 500-step warm-up, and EMA 0.999. Testing uses the same predicted events, DDIM-50, CFG 2.5, and 13,302 complete test motions.
All variants retain reconstruction, velocity, and acceleration losses. Gravity-Gauged core has no geometry/contact objectives. Geometry adds integrated-position, integrated-yaw, gravity, and yaw-unit losses with weights (0.25, 0.10, 0.25, 0.02). Contact adds slip/anchor/height with weight 0.05 each and penetration with weight one. The final step evaluates Contact as a bundle. The matched-budget representation comparison retains Heading-local and Gravity-Gauged's native 38D/40D targets, normalization, and decoders.
Table 6: Absolute physical errors underlying Figure 5. Mean SD over repeated sampling, in cm; lower is better. Sliding and Drift measure planar endpoint displacement over reference contact runs, using ankle and sole-point geometry, respectively.
| Variant | Sliding | Drift | Height error | Penetration |
|---|---|---|---|---|
| Heading-local | 28.152 ± 0.090 | 31.756 ± 0.074 | 3.385 ± 0.018 | 0.2659 ± 0.0004 |
| Gravity-Gauged | 26.047 ± 0.010 | 29.558 ± 0.023 | 2.596 ± 0.003 | 0.1575 ± 0.0021 |
| + Geometry | 24.456 ± 0.033 | 27.817 ± 0.055 | 2.533 ± 0.008 | 0.1970 ± 0.0017 |
| + Contact | 23.047 ± 0.062 | 26.383 ± 0.068 | 2.366 ± 0.007 | 0.1333 ± 0.0017 |
For variant and metric , the plotted ordinate is
Each metric uses its own unrounded denominator and is reported separately. Geometry increases penetration before Contact reduces it.
D Automatic Masking and Motion Editing
D.1 Language Interfaces and Qualitative Whole-Body Example
The two language adapters share the instruction-tuned backbone reported in Section 4.1, but are trained and serialized independently because generation and editing expose different output schemas. Both adapters are frozen when their respective diffusion models are trained or sampled.
Adapter interfaces. The generation adapter receives a standalone instruction and emits a duration plus a sequence of typed event intervals. Each interval records its start and end, left/right support, root vertical state, root-height state, and left/right hand-height states. Deterministic validation clips interval endpoints to the predicted duration, resolves overlaps by output order, fills uncovered regions with unknown states, and rasterizes the result onto the four-frame Plan grid. The original instruction is encoded separately alongside the serialized Plan.
The editing adapter receives the follow-up instruction together with the duration and a source-only kinematic summary. It emits an attribute, effector, signed change, and temporal interval. A deterministic compiler maps this record to a body-time scope, a source-relative target when the attribute has a metric interpretation, and revised source-event channels when the request changes an event-level property. Invalid or incomplete records produce a closed scope and leave the source unchanged.
Table 7: Serialized language interfaces. Both outputs are schema-validated before being consumed by a motion model.
| 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 |
Training examples are stored as an instruction followed by one canonical JSON object. Generation targets come from the motion-derived annotation in Appendix B.1; editing targets pair paraphrased requests with typed deltas and compiler scopes. The reproducible checkpoint for each adapter consists of its parameter-efficient weight update, the base-model revision, prompt template, tokenizer files, output schema, and normalization or vocabulary metadata. Decoding is constrained to one JSON object and followed by the deterministic validator above. Each follow-up request is self-contained and interpreted against the source state.
Whole-body refinement in Figure 1. Figure 1 presents a jumping-jack refinement with a deeper preparatory crouch and a higher jump. Its coordinated root and lower-body changes are presented qualitatively, outside the hand-height benchmark and its two-wrist target formulation and success criteria.
Evaluation scope. The reported editing benchmark starts from held-out G1 source motions so that requested changes and protected coordinates can be measured against a common source. After the first edit, each subsequent turn consumes the editor's own preceding output, evaluating multi-turn accumulation. Quantitative results therefore cover revision from held-out sources; Figure 1 illustrates the end-to-end generation-to-editing interface qualitatively.
D.2 Markov Editing State and Relative Requests
For the supported self-contained requests, the state and transition follow Equation 7: and , with external next utterance . The frozen parser emits a relative action, realized by supervised editing and deterministic projection. The editor retains source duration and derives its event conditions directly from the source motion.
Source-only automatic mask construction. Inputs are the request, frame count, and four-frame mean left/right wrist heights relative to the pelvis, computed by source FK. The supervised adapter predicts JSON fields for attribute, effector, signed offset, and interval; the compiler validates them and resolves supported time syntax. For hand , offset , and interval , compilation gives
where contains the seven arm coordinates; outside the interval. The complement, including the selected arm outside its window, is protected. This fixed envelope defines the synthetic task. The compiler constructs the dense mask from typed fields using source-only inputs.
Offsets satisfy . Negated, ambiguous, or unsupported expressions leave the source unchanged.
D.3 Reference-Conditioned Editor: Architecture and Training
Training data. Retargeted official MotionFix pairs provide 5,387 training and 330 validation pairs. Local supervision adds 3,690 pairs from 256 training sources, six windows, both hands, signed 3/5/7 cm offsets, and six instruction templates. Source-only bounded IK constructs local training targets; rejected candidates are recorded before evaluation. Selection uses 64 original-validation and 40 expanded-development cases. At inference, the learned editor produces revisions through conditional denoising and reference projection, without per-request IK optimization or post-hoc smoothing.
Architecture. The independent editor uses 40D states, four-frame patches, at most 104 frames, an eight-layer width-448 denoiser with eight heads, and a two-layer source encoder. Text queries attend to source patches. Scope and two-wrist offset patches have separate zero-initialized projections; offsets are scaled by 5 cm. Its weights and normalization are independent of the main-table generator.
Table 8: TRACE editor training stages. Mixed batches contain equal numbers of local and original MotionFix pairs.
| 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 |
Original-edit training uses batch 192 and learning rate . Relative-goal and event-aware continuations use batch 128, learning rates and , AdamW, EMA 0.99, a 300-step cosine schedule, and clean-state prediction. Selection maximizes mean joint success on the two validation sets, breaking ties by height RMSE at steps 2k/4k. Both TRACE continuations select step 4k.
Local objectives. Let denote wrist FK squared error normalized by . The local reconstruction and goal groups are
The goal uses vertical and mean horizontal squared wrist errors, also normalized by , against the source trajectory plus the public offset over editable entries. Original-pair losses retain reconstruction, velocity, and applicable auxiliary heads. Adapted baselines also receive the local goal term.
Source-derived events. The final stage adds a zero-initialized MLP over 16 source-motion event channels and four progress features. Only requested hand-height groups are revised by the relative offset, keeping inference events source-derived. The residual is attenuated during the last quarter of reverse denoising. Confidence-weighted hand-category cross entropy has weight 0.05. Current test cohorts and baseline checkpoints follow in Appendix D.4; same-cohort quality diagnostics are in Appendix D.5.
D.4 Automatic Localization and Sequential-Editing Protocols
Cohort and evaluation tasks. Of 200 frozen BONES-SEED/G1 candidates, 199 pass human review for naturalness, scope, and feasibility, independently of model outputs. Sources contain 64–104 frames; initial requests select one hand. Mirrored duplicates, training-source groups, and exact source-array hashes from earlier editing train/development sets are excluded. Initial requests were reviewed; scripted chains were not independently reviewed. We evaluate mask localization and shared-scope execution separately.
Mask-only structural interventions. We reuse the same frozen, fine-tuned instruction-parser predictions, whose public inputs contain the instruction, length, and source summary. Private reference masks are accessed only for scoring. Removing body selection opens all 40 coordinates in the predicted interval; removing temporal localization opens the selected arm throughout the valid sequence. Removing arm-chain expansion retains only the three wrist coordinates, compared with seven arm coordinates in the reference. No model is retrained and no threshold is tuned in this diagnostic.
The whole-body overlap follows from the ratio of reference arm coordinates to all state coordinates; wrist-only overlap follows from the retained fraction of the arm chain. Full-duration overlap reflects the average requested interval fraction. These geometric ratios explain agreement with prescribed scopes in Figure 6.
Four-turn construction and inference. Each source generates three fixed chains. Let A be the original selected hand, B the other hand, and d its signed 5 cm offset. The same-arm pattern is ; alternating arms uses ; reversals use . All methods receive the same explicit instructions, frame intervals, deterministic compiler, and per-step reference projection. Each turn uses the actual preceding generated motion, with no reset, teacher forcing, early termination, or failure exclusion. The source duration is unchanged. DDIM-50, CFG 1.5, EMA, batch 64, and paired sampling yield 21,492 outputs across methods, turns, and chains. Neither IK nor smoothing is applied to generated outputs.
Models and shared controls. Validation selects TRACE's event-aware step 4k and the mixed-training goal-loss checkpoints at steps 4k/2k for TMED-G1/SimMotionEdit-G1, before testing. TRACE retains relative offsets and source events; baselines retain text/source interfaces. Scope and sampling are shared, but architectures, prior training, and total FLOPs differ. The baselines are local G1 adaptations.
Aggregation, feasibility, and uncertainty. The primary denominator includes all 597 chains from 199 sources; no chain is removed using solver-derived feasibility. At depth d, all-turn success requires joint edit-and-preserve success at every preceding turn, as defined in Appendix E.4. We average repeated samples within each chain, then bootstrap 199 source clusters while retaining all three patterns. Four-turn success has 95% source-cluster intervals of [26.07, 35.62]% for TRACE, [4.13, 9.10]% for TMED-G1, and [1.23, 4.47]% for SimMotionEdit-G1, quantifying source-sampling uncertainty with trained models fixed. Protected-coordinate error is zero for all methods under the shared projection; success differences therefore concern requested changes.
D.5 Current-Cohort Editing Quality
TRACE improves four-turn success and the reported quality diagnostics over the two learned adaptations. We evaluate the same 199 sources and all 597 four-turn chains used in Figure 7, aggregating paired sampling runs. Each turn starts from the method's actual preceding output, without private targets, feasibility filtering, or test-specific tuning.
XY RMSE measures unintended horizontal wrist displacement over the active edit. Boundary diagnostics measure RMS velocity/acceleration changes relative to the incoming motion on the edited arm. New-limit rate counts editable coordinates that newly violate joint limits; pre-existing violations are excluded from this count.
Table 9: Current-cohort editing comparison. Success requires all four turns to pass. Quality diagnostics concern the fourth edit relative to its incoming motion. Lower is better for all quality columns.
| Method | Success (%) | XY RMSE (cm) | Δv (deg/s) | Δa (deg/s2) | 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 |
E Data and Reproducibility Details
E.1 BONES-SEED Data Processing
Source and scope. We use BONES-SEED's supplied G1 retargeting and captions (Bones Studio, n.d.). Its 142,220 metadata entries include original and mirrored motions. We select a predominantly ground-supported subset and construct study-specific grouped splits.
Selection and filtering. Requiring body-position standing and temporarily excluding mirrors gives 61,292 originals. We reject malformed paths, Stunts, and metadata indicating non-standing or externally supported motion. At an intermediate 50 FPS, a kinematic screen rejects clips whose two lowest foot-collision points stay above world ground by 5 cm for at least one second; sampled rejection candidates are checked frame by frame. This leaves 58,574 originals.
A semantic filter removes 3,115 originals (1,969 keyword rules; 1,146 Qwen-Max classifications), leaving 55,459. It excludes difficult acrobatics and externally supported actions, retaining walking, running, turns, gestures, squats, daily dance, and small jumps. Persisted filtering decisions are reused; semantic filtering is separate from deterministic Plan annotation.
Mirrors and captions. Restoring 55,423 supplied mirrors gives 110,882 clips; 36 originals remain unpaired. No mirrors or captions are synthesized. We retain four natural, one technical, and two short-description fields, plus filename-matched temporal annotations. Mirror annotations come from their own records without left/right substitution; clip-level captions may still be shared. After whitespace/case-insensitive deduplication, the generator takes the first nonempty caption in this order; semantic evaluation uses the corresponding first natural description.
Grouped split and leakage checks. We connect records sharing a motion family, its mirror-canonical family, an original/mirror pair, or a normalized exact caption. Caption matching uses all available English alternatives and an existing locally translated Chinese copy of the same metadata. Text normalization uses Unicode normalization, case folding, and punctuation/whitespace cleanup. Connected components are kept intact when assigning train/validation/test with seed 20260822 and target proportions 76/12/12, balancing clips and frames. Adding mirrors rebuilds the assignment and produces 2,557 final components. The recorded audit finds zero cross-split overlap for paths, exact and mirror-canonical families, caption keys, components, and mirror pairs. This is not an actor-disjoint split or a guarantee that every semantic paraphrase is disjoint; generic temporal annotation phrases are not grouping keys.
Table 10: Processed BONES-SEED counts. Full clips, packed windows, and eligible model examples are different units. Eligible windows have at least ten frames; durations count full clips at 20 FPS.
| 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 |
Temporal and geometric representation. The final 20 FPS trajectories are obtained directly from the 120 FPS source: output frame copies source frame , without interpolation, smoothing, or IK. Frame counts and durations are recomputed at the target rate. Parsing retains root translation/orientation and the 29 G1 joint angles; unused non-root translation fields do not enter the model. We then convert to the 40D Gravity-Gauged state defined in Section 3.3: planar increments, absolute root height, yaw increments, a six-coordinate yaw-free tilt rotation, and joint angles. Appendix C.1 defines heading removal, columnwise tilt encoding, canonical root reconstruction, and terminal-frame handling. Means and standard deviations are estimated from training frames only, with a standard deviation floor of ; validation and test reuse these statistics.
Windowing and Plan supervision. Long clips are split into consecutive, nonoverlapping windows of at most 512 frames. Original/mirror pairs share window boundaries, and each window retains its parent motion ID, source offsets, and ordering. Temporal annotations are clipped and rebased to each window. Windows shorter than ten frames are excluded from the model's input manifests (66/4/16 in train/validation/test); padded frames are masked out of losses. Four-frame patches are formed only after these operations. The sparse-event Plan is derived from clean G1 motion through FK, thresholding, confidence masking, and patch aggregation, independently of the provider's prose phase labels. Appendix B.1 specifies every event channel and its thresholds. Training-motion labels supervise the joint LLM planner; test conditioning uses predicted events and durations, never target event labels.
Full-motion evaluation. The 13,706 eligible test windows are generated, decoded, and reassembled in parent-window order into exactly 13,302 full-motion IDs. The variable-length assembly concatenates heading-local root increments and joint states; it does not pad or truncate predictions to GT lengths and does not fill excluded short tails with GT frames. Each parent is scored once. Source-derived segmentation is retained, so the protocol predicts window durations but is not an unconstrained full-clip duration benchmark.
E.2 Training and Evaluation Configuration
Generation backbone and continuation. The frozen encoder in Section 4.1 supplies a 2,560-dimensional caption vector. The generator has 32,508,520 parameters, including residual branches but excluding upstream models, and feed-forward width 1,792. Training predicts clean states with a 1,000-step cosine schedule.
Table 11: Generation training schedule. Continuations start from the same raw-text EMA initialization and retain equal residual capacity. Physical from-scratch controls are specified in Appendix C.3.
| Setting | Raw-text backbone | Sparse-event continuation |
|---|---|---|
| Updates | 32k | 8k |
| Global batch | 256 | 128 |
| Learning rate |
Continuation uses 250-step warm-up and EMA 0.999. Contact losses use FP32, with weights in Appendix C.2. The event residual is scaled by , . Main-table inference uses EMA, DDIM-50, CFG 2.5, and batch 64.
Joint LLM planner. A supervised language-model adapter predicts duration and typed support, root, and hand events in a structured Plan. The event intervals are rasterized onto the four-frame patch grid; no separate support or root/hand prediction network is used in this configuration. The LLM is frozen for diffusion training and inference. The generator uses all 86,385 training segments with the joint 50/50 condition mixture in Equation 3; event extraction is defined once in Appendix B.1. Most predicted training conditions are in-sample, without out-of-fold separation. Test inputs contain no target events or durations. The Plan controls in Appendix B.2 reuse the same joint LLM frontend. Invalid Plans remain in the evaluation with target-free fallback: unknown support values are 0.5 and unknown categorical groups use uniform probabilities.
Retrained baselines. MDM, MoMask, and MotionGPT3 consume raw captions and predict heading-local 38D G1 motion. Their budgets are 64k steps (MDM), 17k VQ-autoencoder plus 50k base/residual Transformer steps (MoMask), and 50k motion-VAE plus 50k language-model steps with pretrained language initialization (MotionGPT3). OMG, ECHO, TextOP, and TeXedo retain official weights and generation settings.
E.3 Inference Procedure
Algorithm 1 distinguishes the main generation network from the independent editor . Editing uses source features in addition to reference projection; generation predicts sparse events from text.
Algorithm 1 Sparse generation and independent relative editing
Require: instruction u, optional source motion M 1: 2: if then 3: 4: else 5: 6: 7: if parsing or compilation fails then 8: return M 9: end if 10: 11: 12: end if 13: for each reverse DDIM timestep k do 14: if then 15: with CFG 16: else 17: with CFG 18: end if 19: 20: if then 21: 22: else 23: 24: end if 25: end for 26: return Decode( )
E.4 Metric Definitions and Aggregation
E.4.1 Semantic and Distributional Metrics
All main-table methods use one frozen G1 evaluator and 13,302 parent IDs. The text branch uses GloVe/POS features and a bidirectional GRU; the motion branch uses normalized 38D states, temporal convolutions, and a bidirectional GRU. Both yield unit-normalized 512D embeddings. Training uses a symmetric contrastive objective on the training split, with no generated-test updates. Let , , and be paired text, generated-motion, and target-motion embeddings. Distances are Euclidean.
R-Precision (R@1/R@2/R@3, higher is better). For every method, retrieval is motion-to-text: ranks its caption among 32 candidates, including 31 others sampled without replacement. For ,
We average 20 candidate samplings to measure paired-caption alignment.
Multimodal distance (MM-Dist, lower is better). The mean paired distance measures text–motion alignment, not within-caption diversity.
Fréchet Inception Distance (FID, lower is better). FID compares the full generated/GT embedding distributions, with means , and covariances , :
Features come from the G1 encoder; FID is computed once per complete set.
Diversity (reference diagnostic). We average over 300 distinct-motion pairs in each of 20 repetitions and compare with GT. Higher is not necessarily better. Multimodality, by contrast, requires multiple generations per fixed caption.
E.4.2 Kinematic Metrics
G1 FK is evaluated on the common predicted/GT prefix, without time warping. Within-clip scores are averaged equally across clips, then across repeated sampling runs. GT contacts are scoring masks only. These diagnostics measure adherence to reference contact timing as well as kinematic consistency: a valid generated swing during GT support can increase the error. They do not isolate foot slip under the generated motion's own contacts.
Foot Sliding (cm, lower is better). Ground is the fifth percentile of the framewise lower GT ankle height over the full target clip. Support requires height above ground at most 3.5 cm and planar speed at most 0.20 m/s; singleton contacts are removed. Sliding averages generated-ankle planar endpoint displacement over contact runs of both feet; endpoint scores can miss within-run excursions.
Contact Drift (cm, lower is better). Using four sole corners per foot, ground is the fifth percentile of pooled GT lowest-sole heights on the evaluated prefix. Support requires lowest-sole height within 3.5 cm above ground and sole-centroid planar speed at most 0.20 m/s, excluding singletons. Drift averages generated corners' planar endpoint displacements over corners, runs, and feet. Its geometry and mask differ from Sliding. Clips without valid runs contribute zero to both metrics.
Contact Height Error (cm, lower is better). For generated lowest-sole height and the same sole ground g, average over GT-contact frames and feet. Clips without selected contacts contribute zero.
Penetration (cm, lower is better). Average over all valid frames and feet. This measures depth, not the fraction of penetrating frames. All four errors are converted to centimeters. Figure 5 normalizes them separately by Heading-local means (Equation 27); no aggregate score is formed.
E.4.3 Editing and Human Ratings
Relative edit success. Let and be the requested wrist's world-space FK height, the requested direction, and the fixed sine-squared envelope. For the test request of 5 cm, success requires median signed gain median cm and height RMSE at most 2.5 cm over the complete editable interval, relative to the profile cm. The score evaluates the requested relative height profile.
Preservation and joint success. Scoring uses the private reference mask, never a method's predicted mask. Preservation requires at most 1% of protected joint/frame coordinates to change by more than 1°, protected FK position error at the 95th percentile at most 1 cm, maximum root displacement at most 1 cm and rotation change at most 1°, and unchanged duration. Joint success is the conjunction of edit and preservation success. All compared editors share projection; their protected joint MAE is zero. All requests and parse failures remain in the denominator. Same-cohort quality diagnostics are reported in Appendix D.5.
Automatic body–time mask overlap. Let and be the predicted and private reference sets of editable frame–coordinate pairs within valid frames. Figure 6 reports coordinate-level macro IoU:
An empty prediction against a nonempty reference scores zero.
All-turn editing success. Let indicate joint edit-and-preserve success at turn t of chain i in sampling replicate r. Each request is scored relative to the actual preceding output using the unchanged thresholds above. For N = 597 chains and R = 3 replicates, the curve in Figure 7 is
An earlier failure persists at greater depths; no failed chains are removed. Source-cluster uncertainty follows Appendix D.4.
Auxiliary whole-body and boundary diagnostics. World-space FK MPJPE averages all 29 actuated joint-body positions against the private IK witness without alignment, retaining coincident origins. The witness provides one reference realization. Boundary error measures edited-arm velocity change from source at both interval edges (20 FPS finite differences, deg/s). These diagnostics supplement request satisfaction.
User Study. The interface hides method names and identifies videos only by letters A–H; the letter-to-method mapping is stored separately from the survey page. For each prompt, method assignments to letters are randomly permuted once with a fixed seed; the resulting order is shared across participants. Videos appear together with the prompt in a grid, using a common G1 rendering setup, background, and camera configuration, without method-name overlays. Participants can pause and replay the clips and rate every video on two separate criteria: motion Quality and Text match.
The displayed three-point anchors are: 1 (poor), clearly unnatural or discontinuous motion with severe visible artifacts, or a mismatch with the main action or intent; 2 (fair), broadly plausible motion with local coordination defects or mild artifacts, or a broadly correct action with inaccurate details, direction, amplitude, or timing; and 3 (good), natural, continuous, coordinated motion with few visible artifacts, or accurate expression of the principal action, direction, and intent. The two criteria are scored independently. Score definitions remain visible during rating, and all required ratings must be supplied to complete an item. Overall is the equal-weight mean of the two criteria. We first average each participant's ratings for a method, then report the mean and sample SD across participants.