# TRACE: Typed Reference-Aware Conversational Editing for Humanoid Motion Diffusion

Robotics.world

> Text-to-motion models can produce a humanoid movement from a caption, but a caption rarely pins down concrete details such as when a foot supports the body, how high the root rises, or where the…

**arXiv**: 2610.21515 · Preprint · not peer-reviewed

**Published**: 2026-10-15 · revised · 2026-10-22

**Authors**: Zejian Kang, Yifu Luo, Boyang Shen, Jingxuan Li, Zekai Chen, Zekun Shi, Yongxue Xu, Zhenyu Hou, Bingqian Wu, Shaolei Zhang, Wentao Yang, Xiangru Huang

## In plain words

Text-to-motion models can produce a humanoid movement from a caption, but a caption rarely pins down concrete details such as when a foot supports the body, how high the root rises, or where the hands sit.

## AI summary

## Overview

**Research area:** Robotics — language-conditioned humanoid motion generation and interactive motion editing, applied to the Unitree G1 humanoid robot.

**Technical level:** Intermediate. The high-level ideas (typed events, reference-relative edits, preserving untouched parts of a motion) are accessible, but the method sections assume familiarity with diffusion models, forward kinematics, and motion representations.

**Scope in one sentence:** The paper presents TRACE, a two-part system (a generator and a separate editor) that turns text into G1 humanoid motion using explicit, measurable kinematic events, and then lets a user revise that motion through follow-up natural-language requests while keeping the rest of the motion unchanged.

## What This Paper Is About

Text-to-motion models can produce a humanoid movement from a caption, but a caption rarely pins down concrete details such as when a foot supports the body, how high the root rises, or where the hands sit. The harder problem comes afterwards: a user sees a motion, accepts most of it, and asks for a targeted change ("jump higher, rest unchanged") that must be interpreted relative to *that specific motion* while everything else is preserved.

TRACE addresses both halves. It grounds generation in typed, measurable events extracted from the paired training motion (support, root, hand), and it converts follow-up requests into an explicit body–time scope plus a goal defined relative to the current motion, so a separate diffusion editor can change only the requested region.

## Key Contributions

1. **Motion-grounded typed-event conditioning.** Confidence-weighted support, root, and hand event targets are derived from training trajectories via forward kinematics, and a supervised LLM learns to predict duration and these event intervals from text alone. The resulting patch-aligned numerical events are fed to the diffusion generator alongside the raw caption, and matched controls isolate the gain from event conditioning and from using motion-derived rather than caption-derived supervision.
2. **Gravity-referenced motion diffusion.** The generator represents absolute height and gravity-relative tilt directly instead of integrating everything, and combines integrated-trajectory objectives with support-selective forward-kinematics contact penalties to reduce accumulated trajectory error and foot–ground inconsistency.
3. **Typed, source-relative motion editing.** Supported edit requests are compiled into a body–time scope (the effector's kinematic chain over a time interval) and a source-relative goal. A separately trained reference-conditioned editor uses these together with source-motion features and revised events, and a sampling-time projection restores protected coordinates at every denoising step.
4. **Shared kinematic vocabulary across generation and editing.** Generation and editing use the same 40-dimensional G1 motion representation and the same event vocabulary, with separate model weights for their respective conditioning tasks.

## Main Findings

- **Generation leads the compared methods on the reported metrics.** On the processed BONES-SEED test split of 13,302 text–motion pairs, TRACE reaches R@1 73.84 ± 0.13, R@2 86.24 ± 0.08, R@3 90.31 ± 0.07, MM-Dist 0.8165, and FID 0.0434. The strongest adapted baseline, MotionGPT3, reaches R@1 68.46 ± 0.12, MM-Dist 0.8886, and FID 0.0628. Official G1 checkpoints score far lower: ECHO R@1 24.08 ± 0.12, TeXedo 10.78 ± 0.10, TextOP 10.54 ± 0.07.
- **Human raters prefer TRACE.** In a user study on 100 test prompts scored 1–3, TRACE records Quality 2.338 ± 0.410, Text match 2.444 ± 0.407, and Overall 2.391 ± 0.401, the highest in the table.
- **Diversity is reported as a diagnostic, not a win.** TRACE's Diversity is 1.3766, essentially level with MotionGPT3's 1.3775; the paper explicitly states Diversity is a distributional diagnostic rather than a ranked objective.
- **Patch-aligned events beat global events.** With identical capacity, initialization, and an 8k-step continuation budget, Aligned Plan (73.84 / 86.24 / 90.31, MM-Dist 0.8165, FID 0.0434) outperforms Text Only (73.10 / 85.72 / 89.81, 0.8341, 0.0464) and Global Events (73.65 / 86.17 / 90.26, 0.8310, 0.0448), indicating that *when* events occur matters, not just their prevalence.
- **Motion-derived supervision beats caption-derived supervision.** Holding the inference planner fixed and changing only the training target source, motion-derived targets (73.84 R@1, MM-Dist 0.8165) improve over caption-derived targets (73.26 R@1, MM-Dist 0.8331), supporting the claim that a caption can describe a different valid realization than the paired trajectory.
- **Kinematic components have complementary effects.** In a control sequence from Heading-local to Gravity-Gauged to Geometry to Contact, Gravity-Gauged lowers contact-height error, Geometry further improves trajectory diagnostics but increases penetration, and adding Contact reduces penetration while yielding lower errors than Heading-local across all reported measures. Absolute values appear in the appendix, outside the truncated content.
- **Scope construction matters for editing.** The full masking pipeline matches the prescribed masks on all 199 reviewed requests; ablating components produces over-broad masks (whole-body, full-duration) or too-narrow wrist-only masks that omit proximal arm coordinates.
- **Multi-turn editing is markedly more reliable.** Under shared scopes and reference projection, four-turn all-turn success reaches 30.82% for TRACE versus 6.48% for TMED-G1 and 2.74% for SimMotionEdit-G1, over 597 scripted chains and three sampling runs. Since all methods have zero protected-coordinate error, the gap reflects the ability to realize successive relative changes.

## Methodology in Plain English

**Step 1 — Describe motion with measurable events instead of prose.** The authors run forward kinematics on each clean training motion to compute sole heights and speeds, root height and vertical velocity, and palm height relative to the pelvis. Fixed thresholds convert these signals into a 16-channel event vocabulary over four-frame patches: two foot-support probabilities, a three-way root vertical speed class, a three-way root height class, and four height bins each for the left and right hand. Ambiguous frames (near a threshold, or contacts shorter than three frames) are down-weighted rather than forced into a label, so every patch gets a confidence score alongside its target.

**Step 2 — Teach a language model to predict those events from text.** A Qwen3-4B-Instruct adapter is trained on serialized typed plans to output duration and all event groups, then frozen. At inference, only the caption is used — no target motion.

**Step 3 — Condition a diffusion generator on text plus the event plan.** A frozen Qwen3-Embedding-4B encodes the caption; the rasterized events go through a learned numerical projection with patch-progress features, and both are combined in a diffusion Transformer. During training, the model sees a 50/50 mixture of confident motion-derived targets and predicted events, so it does not depend on perfect annotations at deployment. The event branch is attenuated near clean motion via a timestep-dependent scale.

**Step 4 — Represent height and tilt against gravity.** Instead of integrating full root motion (where small errors accumulate), the model predicts absolute height and gravity-relative tilt directly and integrates only planar displacement and yaw, composing a 40-dimensional state including 29 joint angles. Training is organized into three loss groups: motion reconstruction, geometry consistency (position, cumulative yaw, body-up direction), and contact consistency via differentiable forward kinematics on support feet.

**Step 5 — Turn edit requests into scopes and relative goals.** A supervised LLM parses a follow-up utterance into an attribute, effector, signed change, and time interval, given the source length and a source-only summary of hand heights. A deterministic compiler expands the effector to its kinematic chain (seven arm joints for hand edits) and resolves the time interval into a binary body–time mask. The requested hand-height change becomes a signed offset with a sine-squared temporal envelope.

**Step 6 — Edit only inside the scope.** A separately trained diffusion editor conditions on source-motion features, the mask, the offsets, and revised source events derived from the current motion. At each DDIM step, a reference projection mixes the denoised prediction with the noised encoding of the source, so protected coordinates are preserved exactly and the final step copies them verbatim. Each output becomes the reference for the next turn.

## Why This Matters

**Impact on research.** The paper makes a concrete argument that intermediate conditions for text-to-motion should be *grounded in the paired demonstration* rather than inferred from the caption alone, and it supplies controlled experiments isolating that choice. It also reframes motion editing around explicit, typed, source-relative goals plus a hard preservation guarantee, rather than relying on the editor to implicitly respect what should stay fixed.

**Real-world applications:**

- Authoring and revising humanoid behavior libraries for deployment on robots like the Unitree G1, without hand-keyframing every pose.
- Animation and previsualization, where an artist iterates on a generated clip with successive targeted requests instead of regenerating from scratch.
- Generating reference trajectories for downstream tracking controllers, where consistent height and foot contact matter.
- Interactive prototyping of whole-body motions for entertainment, dance, and performance content.

**Industry relevance.** Humanoid robot companies need a practical interface between non-expert intent and executable whole-body motion; a typed intermediate representation is easier to validate, log, and constrain than free-form text. The preservation guarantee is directly relevant to safety and predictability, since it lets an operator state precisely which coordinates an edit is allowed to touch. Real-robot demonstrations on the G1 (head turning, a hip-hop routine, a weight-shifting groove) indicate the pipeline reaches hardware.

## Future Directions

- **Add scene and terrain perception.** The current system handles text instructions and flat-ground kinematics only; uneven ground, obstacles, and object interaction are outside its scope.
- **Evaluate exact event adherence, not just retrieval and distribution.** The authors note that their metrics assess generated motions rather than whether each predicted support, root, and hand event was actually realized; per-event accuracy is an open measurement problem.
- **Guarantee world-space preservation, not just coordinate preservation.** The paper states that for root-changing edits, fixing encoded coordinates does not by itself ensure the world-space result is preserved — a gap worth closing.
- **Strengthen physical contact guarantees.** Contact objectives encourage foot–ground consistency but do not guarantee zero slip, leaving room for tighter coupling with simulation or a tracking controller.

## Target Audience

Robotics and graphics researchers working on language-conditioned motion generation, humanoid whole-body control, and interactive motion editing will get the most from this paper, particularly those interested in structured intermediate representations and in evaluation protocols for multi-turn editing. Practitioners building authoring tools or behavior pipelines for humanoid platforms will find the typed-event and scope-compilation design directly reusable. Readers new to diffusion-based motion synthesis can follow the high-level narrative but will need background in denoising models and forward kinematics for the method sections.

## Authors’ 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…

[The full abstract on arXiv](https://arxiv.org/abs/2610.21515)

[Read the original paper](https://arxiv.org/abs/2610.21515)

## Related papers

- [SemPhys: Semantic-Physical Co-Learning for Humanoid Motion Generation via Differentiable World Models](https://robotics.world/paper/semphys-semantic-physical-co-learning-for-humanoid-motion-generation-2611.24074) 2026-11-18 · cs.RO · Also by Bingqian Wu, Boyang Shen +4
- [BRACE: Adapting Whole-Body References for Force and Terrain Aware Humanoid Motion Tracking](https://robotics.world/paper/brace-adapting-whole-body-references-for-force-and-terrain-aware-2610.07052) 2026-10-05 · cs.RO · Key terms of the title in common
- [PartiGen: Part-Aware Representations for Language-Conditioned Humanoid Motion Generation](https://robotics.world/paper/partigen-part-aware-representations-for-language-conditioned-humanoid-2610.13373) 2026-10-09 · cs.RO · Key terms of the title in common
- [iGPC: Generative Motion Priors for Object-Aware Humanoid Interaction](https://robotics.world/paper/igpc-generative-motion-priors-for-object-aware-humanoid-interaction-2610.08120) 2026-10-06 · cs.RO · Key terms of the title in common
- [Awomo-SimDataEngine: Agentic Simulation-ReadyWorld Generation](https://robotics.world/paper/awomo-simdataengine-agentic-simulation-readyworld-generation-2610.02274) 2026-10-01 · cs.RO · Also by Xiangru Huang

---

Canonical: https://robotics.world/paper/trace-typed-reference-aware-conversational-editing-for-humanoid-motion-2610.21515
