IKDiffuser: A Generative Inverse Kinematics Solver for Multi-arm Robots via Diffusion Model

Zeyu Zhang, Ziyuan JiaoarXiv 2025 · DOI

Introduction

Inverse Kinematics (IK) is the fundamental process of determining joint configurations that achieve a desired end-effector pose. While well-established for simple serial manipulators, IK remains a significant challenge for complex "kinematic trees"—robots with multiple limbs, shared roots, and high degrees of freedom (DoF), such as humanoids or dexterous hands. Traditional optimization-based solvers often struggle with local minima and sensitivity to initial seeds, particularly when multiple limbs have conflicting goals. Learning-based approaches, while faster, are typically constrained to specific robot morphologies or fixed numbers of end-effectors.

Kinematic tree representation of a complex humanoid robot.

Methodology

IKDiffuser addresses these challenges by modeling the distribution of valid joint configurations as a conditional diffusion process. This generative approach allows the solver to provide diverse, collision-free solutions across various robot structures.

Structure-Agnostic Tokenization

Unlike previous models that use fixed-length vectors, IKDiffuser represents each end-effector pose as an individual token. A Transformer-based architecture utilizes cross-attention to learn the implicit interactions between limbs. This design allows a single model architecture to generalize across diverse robot morphologies without hard-coded kinematic maps.

Masked Marginalization and Guided Sampling

During training, a "masked marginalization" technique is employed, where some end-effector constraints are randomly replaced with a learnable "empty" token. This enables the model to handle partial constraints effectively. At inference time, "objective-guided sampling" allows the model to be steered by task-specific gradients—such as maximizing manipulability or ensuring motion smoothness—without requiring retraining.

Experiments and Results

The model was trained on a massive dataset of 10 million samples per platform, covering seven diverse robotic systems including the Franka Research 3, Baxter, NASA Robonaut, and the Leap Hand.

The Synergy of Generation and Optimization

A key finding is the "Generate-then-Optimize" synergy. IKDiffuser acts as a global search tool to identify the optimal "basin of attraction," while traditional solvers like cuRobo provide local refinement for sub-millimeter precision. On the 29-DoF Unitree G1 humanoid, seeding cuRobo with IKDiffuser increased the success rate from 21.01% to 96.96%.

IKDiffuser generates diverse, collision-free configurations for complex end-effectors like the Leap Hand.

Performance Metrics

IKDiffuser consistently outperformed state-of-the-art baselines like IKFlow. For instance, it reduced collision rates on the Leap Hand from 31.46% to 2.85%. Furthermore, the system is highly efficient, delivering solutions in the millisecond range. For humanoid robots, the time required to find 128 feasible solutions was reduced from 1830ms to 280ms when using IKDiffuser as a seed.

Conclusion

IKDiffuser represents a significant step forward in IK solving for high-DoF robots. By combining the diversity of generative diffusion models with the precision of traditional optimization, it provides a robust, structure-agnostic framework for complex kinematic trees. Future work will focus on integrating IKDiffuser into high-level Task and Motion Planning (TAMP) frameworks to accelerate complex maneuvers in cluttered environments.

Summary updated

BibTeX
@misc{zhang2025ikdiffuser,
  author = {Zeyu Zhang and Ziyuan Jiao},
  title = {{IKDiffuser: A Generative Inverse Kinematics Solver for Multi-arm Robots via Diffusion Model}},
  year = {2025},
  eprint = {2506.13087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.13087},
}
Figure