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

1University of the Chinese Academy of Sciences 2Institute of Computing Technology, Chinese Academy of Sciences 3Noetix Robotics
†Corresponding authors
9.1 ms Single-pass editing for a cached 500-frame motion on RTX 4090D
AGLR Teaser Figure
Fine-grained, fast, composable, and temporally adaptive humanoid motion generation. AGLR enables intuitive control over individual limbs along three spatial axes (Front, Out, Up), torso orientation, and root trajectories—freely composed and varied over time within a single motion instance.
Overview

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

Methodology

Source-Anchored Latent Refinement

Unifying controllable motion generation and selective editing into a single forward pass over a shared motion latent space.

AGLR Framework Architecture
AGLR Framework. A base latent is obtained either from text-conditioned latent flow generation or by encoding an existing source motion. Conditioned on masked WGAR attribute targets, the Attribute Residual Adapter (ARA) predicts an additive latent refinement in one forward pass, decoded directly into Unitree G1 motion (RPR39).
1

21-Channel WGAR Interface

Whole-body Geometric Attributes Representation encodes directional limb extents (left/right arm & leg: Front, Out, Up), torso tilt/heading, root horizontal path, height, and root orientation—supporting composable, time-varying requests.

2

Single-Pass Residual Adapter

Given a cached base latent, ARA predicts an additive latent correction without repeating diffusion/flow sampling or test-time optimization—refining and decoding 500 frames (10 s at 50 Hz) in 9.1 ms on an RTX 4090D.

3

Dual-Level Preservation Supervision

Combines paired-target, identity, and selective-editing objectives across both unselected WGAR attributes and unedited motion coordinates—achieving low drift without requiring paired edited motion datasets.

Interactive Interface

AGLR Motion Studio Demo

Text-conditioned base motion generation followed by real-time WGAR attribute editing—without repeating flow sampling.

AGLR Motion Studio Walkthrough
Viser 3D · MuJoCo FK · 1080p
Interactive Web Service for Humanoid Motion Generation & Editing. Built on Viser and MuJoCo FK with cached immutable base latents, live Plotly attribute curves, up to 8 concurrent sessions, and one-click NPZ export:
Offset Amplitude Scale Keyframe Offsets Constant Target Boundary Fade NPZ Export (RPR39 + qpos)
Hardware Deployment

Real-World Motion Editing on Unitree G1

Compare base executions (left) side-by-side with edited variants (right), tracked on a physical Unitree G1 humanoid robot. Click any edit or tap the video to toggle playback.

Base 0 (Reference Execution) Base
Right Arm Up +0.3 Edited
Real-world Unitree G1 tracking snapshots
Physical Robot Tracking Snapshots. Comparing the original execution with single-arm, multi-axis arm, and combined arm + torso lean edits at aligned timestamps on Unitree G1.
Benchmarks

Quantitative & Qualitative Results

Evaluated on HumanML3D-G1 and zero-shot transferred to BONES-SEED-G1 without fine-tuning.

Method Ref. TAE ↓ NAD ↓ NJD (°) ↓ ASRca (%) ↑ ASRcj (%) ↑ Latency (ms) ↓
TRACEarXiv'26 0.22200.05570.000 63.8065.641,009.22
OmniMECVPR'26 0.24120.12261.383 61.5164.32969.72
ScaleMoGenECCV'26 0.81370.38677.989 10.056.58275.41
DNOCVPR'24 0.15140.595812.172 10.891.9269,721.37
RG-DNOCVPR'26 0.10081.223429.847 0.780.00531,482.50
AGLR (Ours)— 0.14310.05840.681 76.8177.2813.15*

* End-to-end latency including source processing and output conversion is 13.15 ms; with a cached source latent, ARA refinement + decoding takes 9.1 ms for 500 frames.

Selective Editing Qualitative Comparison
Selective Motion Editing Comparison. AGLR satisfies single-part, compositional, and time-varying attribute targets while preserving unedited body parts, whereas OmniME and RG-DNO exhibit noticeable non-target drift.
Method Ref. TAE ↓ ASR (%) ↑ FID ↓ R@1 ↑ R@2 ↑ R@3 ↑ MD ↓ Latency (ms) ↓
OmniControlICLR'24 0.869517.200.1258 42.7458.9267.951.16003,132.79
TLControlECCV'24 0.587129.790.1431 25.1134.1339.691.2552723.87
MotionLCMECCV'24 0.362940.170.0773 44.1560.1868.721.125385.95
MaskControlICCV'25 0.637425.660.0303 49.9566.0574.521.12374,558.55
SFControlICCV'25 0.310041.340.4884 21.7931.1437.531.27331,859.52
ProjFlowCVPR'26 0.119273.660.0776 45.9461.8169.871.155013,638.80
AGLR (Ours)— 0.074080.340.0225 56.0471.0778.211.110190.09
Controllable Generation Qualitative Comparison
Fine-Grained Controllable Generation Comparison. Examples spanning individual limb control, cross-part composition, root trajectory control, and all-attribute conditioning on HumanML3D-G1.

Zero-Shot Controllable Generation

Method TAE ↓ ASR ↑ FID ↓ R@1 ↑
OmniControl0.805215.970.316830.24
TLControl0.864816.080.631611.34
MotionLCM0.455131.180.360442.59
MaskControl0.768817.500.266939.72
SFControl0.293344.470.618624.14
ProjFlow0.100374.500.270841.03
AGLR (Ours)0.094775.610.231247.98

Zero-Shot Selective Editing

Method TAE ↓ NAD ↓ NJD ↓ ASRca ↑ ASRcj ↑
TRACE0.23700.05600.00061.7562.32
OmniME0.24300.12551.66461.8562.65
ScaleMoGen0.96730.468610.0077.722.59
DNO0.17420.658814.2056.780.00
RG-DNO0.11441.284730.3620.000.00
AGLR (Ours)0.16630.07261.10674.2874.35
Preservation Threshold Sweep Across Methods
Method Comparison Across Preservation Thresholds. AGLR maintains the highest ASR across NAD (0.10–0.50) and NJD (1°–5°) threshold sweeps.
Ablation Study Across Preservation Thresholds
Ablation Analysis. Base-latent conditioning, residual prediction, and dual-level preservation objectives provide complementary gains across thresholds.
Citation

BibTeX

@article{yuan2026aglr,
  title   = {AGLR: Attribute-Guided Latent Refinement for Fine-Grained Humanoid Motion Generation and Editing},
  author  = {Yuan, Shuai and Gui, Yuwei and Luo, Mingshuang and Li, Zhuo and Meng, Siyuan and Cui, Wenhao and Hou, RuiBing and Ma, Bingpeng},
  journal = {arXiv preprint arXiv:2611.34519},
  year    = {2026},
  eprint  = {2611.34519},
  archivePrefix = {arXiv},
  primaryClass = {cs.RO},
  doi     = {10.48550/arXiv.2611.34519},
  url     = {https://arxiv.org/abs/2611.34519}
}