arXiv:2610.21515cs.ROOct 2026

Manuscript Offprint

arXiv:2610.21515

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

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

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:

  1. 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.

  2. 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.

  3. 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)

Figure

(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.

References (86)