Anymotion: A Dataset, Benchmark, and Baseline for Controllable Human Motion Editing

Haiyang Yan, Jianxin Sun, Yuhan Wu, libin wang, Zhiwei Li, Man Zhang, Jingdong Chen, DanDan ZhengNeurIPS 2026

TL;DR

Image editing models are great at swapping hats or changing colors, but ask them to take a person sitting in a cafe and make them freestyle ski down a mountain—without losing their face or mangling their limbs—and they quickly fall apart. AnyMotion solves this by teaching AI to "think before it draws": a multimodal language model first plans out an explicit stick-figure skeleton of the target pose before handing the paintbrush over to an image generator. Backed by a massive new dataset of 1.04 million motion edits, it unlocks open-world, "any scene, any action" human pose editing.

What Problem Does This Paper Address?

Editing human motion in static images hits a stubborn wall known as the semantic-kinematic mismatch. High-level text instructions ("make him row a sailboat") live in a completely different universe than low-level joint physics (where exact elbows, wrists, and knees need to go). Single-step "instruction-to-pixel" diffusion models try to make this leap all at once, often resulting in detached limbs or ignored instructions whenever the target pose differs drastically from the starting pose.

Data is the other major culprit. Existing motion-editing datasets usually pull adjacent frames from videos. Because video is temporally continuous, these frame pairs only capture tiny, smooth wiggles against static backgrounds. Models trained on them simply never learn how to handle dramatic, cross-scene leaps—like turning a guy eating soup indoors into a focused driver behind the wheel.

Cross-scene human motion editing example from eating indoors to driving

Methods

AnyMotion abandons the single-step leap in favor of a two-stage "think-before-generate" architecture called Skeleton Chain-of-Thought (SCoT):

  1. Cognitive Pose Planning: A Multimodal Large Language Model (MLLM, specifically Ling-Mini-2.0) takes the source image, the text instruction, and a set of learnable vectors called MetaQueries. Instead of outputting pixels, it outputs text tokens representing normalized 2D coordinates for body joints (e.g., <nose>(0.37, 0.27)), alongside updated MetaQueries.
  2. Guided Synthesis: Those predicted coordinates are parsed and drawn onto a clean, binary 2D stick-figure map. This explicit skeleton map (encoded via a standard VAE) and the implicit MetaQueries (which carry high-level context about scene layout and lighting) are jointly fed into a Diffusion Transformer (Z-Image DiT) to render the final pixels.

What’s clever here is how they train it: early on, bad skeleton guesses from the MLLM would ruin the diffusion model's training, so the DiT trains on ground-truth skeletons while both models optimize jointly end-to-end. At inference time, it relies on the MLLM's predicted skeletons—or, as a neat bonus, a user can manually tweak the skeleton keypoints to dial in exact limb angles.

Datasets

To break free from video-frame limitations, the authors built two new resources organized around a four-level hierarchy of 527 fine-grained actions across six major categories (full-body, half-body, facial expressions, hand gestures, sports, and work):

  • HME-1M (Training Dataset): 1.04 million quadruplets (source image, instruction, target skeleton, target image). Crucially, they built this in reverse. Starting with real web photos guarantees realistic target anatomy. They extracted keypoints from these real target photos, used Qwen3-VL-8B to invent a reverse instruction, and used Gemini 3.0 to synthesize a synthetic source image. A strict two-stage filter (MLLM rubric scoring + facial recognition thresholding > 0.97) kept quality and identity preservation high.
  • HumanMotion Bench (Evaluation): A benchmark of 1,581 privacy-protected real images paired with diverse action prompts. Unlike older benchmarks (like GEdit) that lump motion into generic "instruction following," this introduces category-specific metrics—judging hand anatomy for gestures, equipment interaction for sports, and emotional coherence for faces.
Figure 2: Pipeline of constructing the HME-1M dataset. We first build a hierarchical label taxon- omy, which serves as the basis for balanced image sampling and supplementation, followed by the construction and quality control of image editing quadruplets.

Key Insights and Ideas

  • Run the synthetic pipeline backward: When creating synthetic image-editing pairs, generating the edited image often introduces AI artifacts into your supervision target. By treating real, wild photos as the targets and synthesizing the sources, the diffusion model only ever learns to generate real-world human physics.
  • Pixel-space maps beat point-clouds for skeletons: In ablations, feeding joint coordinates into the diffusion model via a Transformer point-cloud encoder yielded a 5.17% Relative Keypoint Deviation (RKD). Simply drawing the skeleton as an image, passing it through the VAE, and concatenating it with noise dropped the error to 1.43%—spatial alignment in pixel space matters immensely.
  • Explicit + Implicit priors are synergistic: MetaQueries alone capture vibe and scene context well, but fail at exact anatomy (Overall score: 6.06). Adding explicit skeleton reasoning jumps the score to 7.52, proving MLLMs can effectively bridge language and physical geometry when forced to write down coordinates.

Key Results

Evaluated on HumanMotion Bench against 10 open-source baselines (including FLUX.2-dev, Qwen-Image-Edit, Step1X-Edit, and MotionEdit) using Gemini 3.0 as a judge (validated against human annotators with >87% agreement):

  • State-of-the-Art Overall: AnyMotion achieved the highest overall score of 7.52 (beating second-place FLUX.2-dev at 7.06) and an 85.09% pairwise win rate.
  • Identity & Motion Mastery: It dominated in Identity Preservation (8.92 vs. Step1X-Edit's 8.15) and fine-grained Motion quality (6.42 vs. UniWorld-V1's 6.07).
  • Controllability Trade-off: Its raw visual Quality score (6.89) trailed slightly behind FLUX.2-dev (7.17) and Qwen-Image (7.08)—an expected, slight trade-off from enforcing rigid skeletal constraints—while qualitatively matching closed-source heavyweights like Seedream5 on complex scene-and-pose swaps.

Limitations and Future Work

  • Still images only: AnyMotion operates purely on single images; extending this cognitive skeleton-planning paradigm to temporally smooth, multi-frame video editing remains future work.
  • Misuse potential: Because the model excels at preserving a person's facial identity while placing them into arbitrary scenes and actions, the authors note the clear risk of deepfakes, emphasizing the need for human oversight and safety guardrails.

Summary updated

Abstract

Human motion change is currently hindered by the lack of large-scale datasets, comprehensive benchmarks, and robust algorithms capable of handling diverse motion requirements. To address these gaps, we propose AnyMotion, a novel open-world paradigm for highly controllable and identity-consistent human motion editing across arbitrary scenes and actions. Our contributions are two-fold. First, we establish a hierarchical label taxonomy covering six major categories and 527 fine-grained classes, and curate HME-1M, a large-scale dataset containing 1.04 million editing quadruplets via systematic data balancing, cleaning, and reverse construction. Second, we introduce the Skeleton Chain-of-Thought (SCoT) framework, a two-stage pipeline consisting of motion reasoning and guided generation. In the reasoning stage, a multimodal large language model serves as a cognitive planner to derive target skeletal keypoints and MetaQueries. These outputs subsequently function as explicit structural and semantic priors, providing the necessary guidance for the diffusion transformer to perform high-fidelity motion generation. Finally, built upon our label taxonomy, we present Human Motion-Bench, the first motion-centric benchmark equipped with multi-category fine-grained evaluation metrics. Extensive experiments demonstrate that AnyMotion achieves state-of-the-art performance across diverse editing scenarios.
BibTeX
@inproceedings{yan2026anymotion,
  author = {Haiyang Yan and Jianxin Sun and Yuhan Wu and libin wang and Zhiwei Li and Man Zhang and Jingdong Chen and DanDan Zheng},
  title = {{Anymotion: A Dataset, Benchmark, and Baseline for Controllable Human Motion Editing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=X6fainOrUU},
}
Figure