NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AGLR: Attribute-Guided Latent Refinement for Fine-Grained Humanoid Motion Generation and Editing

Shuai Yuan, Yuwei Gui, Mingshuang Luo, Zhuo Li, Siyuan Meng, Wenhao Cui, RuiBing Hou, Bingpeng MaarXiv 2026

TL;DR

Generating humanoid robot motions from scratch is impressive, until you just want a walking robot to raise its left arm 20 centimeters without ruining its natural stride. AGLR (Attribute-Guided Latent Refinement) bridges the gap between vague text prompts and tedious joint-by-joint math by introducing a compact, intuitive geometric control interface. Better yet, instead of running agonizingly slow test-time optimization loops, it surgically edits whole-body robot trajectories in a single forward pass—taking just 9.1 milliseconds.

Figure 1. Fine-grained, fast, composable, and temporally adaptive humanoid motion generation. Our method enables intuitive control over individual limbs along three spatial axes, torso orientation, and root trajectories. These controls can be freely combined and varied over time, enabling diverse, precise, and localized motion refinements within a single motion instance.

What Problem Does This Paper Address?

Controlling how a humanoid robot moves involves an awkward Goldilocks dilemma. On one extreme, natural language ("raise your arm while walking") lacks geometric precision—how high, at what angle, and at which exact moment? On the other extreme, kinematic interfaces let you specify exact 3D joint positions, which forces you to micromanage burdensome spatial details that the task doesn't actually care about.

Even if you specify a localized edit cleanly, the problem is mathematically underdetermined: raising one arm leaves the rest of the body's movement open to interpretation, risking unwanted drift in the robot's gait or posture. Existing editors preserve the original motion via iterative diffusion sampling or gradient-based optimization at test time, both of which introduce massive latency bottlenecks. The authors ask: How can we give humanoid motions precise, composable geometric tweaks in real time while leaving the rest of the motion untouched?

Methods

AGLR operates in three stages, combining standard generative priors with a novel, lightweight editing mechanism:

  1. Robot-Native Prior & Distillation (Standard foundation, tailored to robotics): First, a Variational Autoencoder (VAE) compresses physically plausible robot motions (39-dimensional per-frame poses) into a compact latent space, paired with a text-conditioned latent flow model. To make base generation fast, they distill the 50-step flow model into a 4-step student generator.
  2. Whole-body Geometric Attribute Representation (WGAR - Novel): Instead of raw joint angles, edits are specified via a clean 21-dimensional per-frame descriptor: directional extents (Front, Out, Up) for each of the four limbs, pelvis-relative torso orientation (Forward Tilt, Rightward Tilt, Heading), and root trajectory. A binary channel mask tells the system which attributes to edit and which to leave alone.
  3. Attribute Residual Adapter (ARA - Novel): Given a base latent (either freshly generated from text or encoded from an existing motion), this Transformer-based module takes the target WGAR attributes and mask, and predicts an additive latent residual ($\Delta z$) in a single forward pass.
AGLR's three-stage architecture: learning a robot-native prior, distilling a fast generator, and refining latents via the Attribute Residual Adapter.

To train ARA without paired "before-and-after" human-edited datasets, the authors combine three objectives: reconstructing ground-truth targets, an identity loss (if no edit is requested, don't touch anything), and synthetic selective editing. Crucially, they apply dual-level supervision—penalizing errors in both the high-level WGAR attribute space and the raw, unedited joint coordinates.

Datasets

Because human motion capture data causes foot-skating and balance artifacts when directly mapped to robots, the authors filter datasets through a physics simulation using a privileged tracking policy on a Unitree G1 humanoid:

  • HumanML3D-G1: Constructed by retargeting the standard HumanML3D dataset to the Unitree G1, tracking in simulation, and filtering out bad rollouts (retaining 19,728 training and 3,766 test motions at 50 Hz).
  • BONES-SEED-G1: Derived from official G1-retargeted motions in BONES-SEED and tracked in simulation. A 2,000-motion subset is used strictly for zero-shot cross-dataset evaluation.

Key Insights and Ideas

  • Don't regenerate; nudge the latent: Predicting an additive residual on top of a cached base latent hugely outperforms predicting a new latent from scratch (dropping controllable generation error nearly 2x). Anchoring to the source latent naturally carries over subtle motion dynamics.
  • Dual-level preservation is essential: Preserving unselected WGAR attributes isn't enough on its own because multiple joint configurations can yield the same limb extent. Ablations show that removing the raw joint-coordinate preservation loss causes non-target joint drift to spike more than 5x (from $0.681^\circ$ to $3.601^\circ$).
  • Decoupling geometry from physics works: Because the VAE latent space is trained exclusively on simulation-tracked rollouts, kinematic edits made in this latent space remain physically grounded enough for a downstream closed-loop tracking policy to execute on real hardware.

Key Results

  • Controllable Generation: On HumanML3D-G1, AGLR achieves an 80.34% Attribute Success Rate (ASR)—beating the closest adapted baseline (ProjFlow at 73.66%) while running over 150x faster (90.09 ms vs. 13,638.80 ms end-to-end).
  • Source-Conditioned Editing: Under strict source-preservation constraints, AGLR hits 76.81% (attribute-constrained) and 77.28% (joint-constrained) success rates, outperforming diffusion editors like TRACE (~64–65%) and optimization methods like RG-DNO (<1%, which suffers heavy non-target drift).
  • Blistering Speed: Refining and decoding a cached 500-frame (10-second) motion takes just 9.1 ms on an RTX 4090D (13.15 ms end-to-end). That is roughly 5,300x faster than DNO and 40,000x faster than RG-DNO.
  • Zero-Shot & Real-World Transfer: Without any fine-tuning, AGLR maintains top generation (75.61% ASR) and editing (~74.3% constrained ASR) performance on BONES-SEED-G1, and successfully executes composed limb and torso edits on a physical Unitree G1 robot.

Limitations and Future Work

Not discussed in the paper (the authors note in the conclusion that limitations are discussed in the supplementary material, which is not included in the main text).

Summary updated

Abstract

Humanoid motion generation must accommodate evolving task requirements, where localized adjustments should satisfy new geometric constraints without disrupting desired motion details. However, language-based control lacks geometric precision, while joint-level constraints require explicit spatial targets. Local geometric constraints are also underdetermined, complicating target satisfaction and source preservation. We present AGLR (Attribute-Guided Latent Refinement), a unified framework for fine-grained humanoid motion generation and editing through source-anchored refinement. A compact geometric interface supports composable, time-varying control of limb extents, torso orientation, and root trajectories. Given a generated or encoded base latent, an Attribute Residual Adapter predicts a single-pass correction, with dual-level supervision enforcing target matching and selective preservation across attributes and motion coordinates. On HumanML3D-G1, AGLR achieves the highest controllable-generation and preservation-constrained editing success rates among evaluated methods. Editing take only 9.1 ms for a cached 500-frame motion, without additional sampling or test-time optimization. Zero-shot evaluation on BONES-SEED-G1 further demonstrates transfer without fine-tuning.
BibTeX
@misc{yuan2026aglr,
  author = {Shuai Yuan and Yuwei Gui and Mingshuang Luo and Zhuo Li and Siyuan Meng and Wenhao Cui and RuiBing Hou and Bingpeng Ma},
  title = {{AGLR: Attribute-Guided Latent Refinement for Fine-Grained Humanoid Motion Generation and Editing}},
  year = {2026},
  eprint = {2611.34519},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34519},
}
Figure