Generative Adversarial Network to Learn Valid Distributions of Robot Configurations for Inverse Kinematics and Constrained Motion Planning

Teguh Santoso Lembono, Emmanuel Pignat, Julius Jankowski, Sylvain CalinonarXiv 2020

Abstract

This paper introduces a Generative Adversarial Network (GAN) framework designed to learn the complex, constrained distributions of valid robot configurations. By utilizing an ensemble of generators to capture multimodal solutions and incorporating physics-informed training, the authors demonstrate a 2-5x speedup in Inverse Kinematics (IK) and constrained motion planning for high-degree-of-freedom robots, such as the 28-DoF Talos humanoid.

Introduction: The Challenge of High-Dimensional Constraints

In robotics, a "configuration" represents a complete snapshot of all joint positions. For high-dimensional robots like humanoids, the space of all possible configurations is massive, yet the "valid" space is restricted by strict physical constraints: maintaining balance, keeping feet on the floor, and staying within joint limits. These constraints define a manifold—a lower-dimensional surface within the larger configuration space.

Finding points on this manifold is computationally expensive. Standard rejection sampling fails because the probability of randomly hitting an infinitely thin manifold is zero. Consequently, engineers rely on "projection" methods, which use iterative optimization to pull a random guess onto the manifold. In complex motion planning, these projection steps can consume over 95% of the total computation time. This paper proposes a generative approach to bypass these bottlenecks by learning the distribution of the manifold itself.

Proposed Method: Conditional GAN Architecture

The authors propose a Conditional GAN approach to learn the distribution of valid configurations. The architecture is designed to map random noise and a specific target (such as a desired end-effector pose) directly to a valid configuration on the manifold.

The GAN architecture features a generator conditioned on a target pose and an augmented discriminator that evaluates both joint angles and forward kinematics.

Key Architectural Innovations

  1. Augmented Discriminator: To help the discriminator distinguish "real" from "fake" configurations more effectively, the authors feed it both the joint angles ($q$) and the resulting end-effector poses calculated via forward kinematics ($f(q)$).
  2. Physics-Informed Training: During training, auxiliary cost functions are added to the generator's loss, including joint limits, static stability (center of mass), and end-effector error. This guides the GAN to stay close to the physical manifold even before the discriminator's feedback.
  3. Ensemble of Generators: A common failure in GANs is "mode collapse," where the model only learns one way to solve a problem. Since a robot can reach a target in many ways (e.g., elbow up vs. elbow down), the authors use an ensemble of $N_{net}$ neural networks as the generator to ensure they capture all possible "modes" of reaching a target.

Handling Multimodality and Diversity

The ensemble approach is critical for practical robotics. Without it, a planner might only learn one rigid way to move, potentially leading to failures when obstacles are present. By using multiple networks, the system captures the full diversity of the valid configuration space.

Comparison of configuration space coverage between a single generator (N_net=1) and an ensemble (N_net=5), demonstrating the ensemble's ability to capture multimodal distributions.

As shown in the 2D robot experiments, increasing the number of networks in the ensemble significantly improves the coverage of the valid configuration space ($\theta_1, \theta_2$), allowing the robot to find alternative paths around obstacles that a single-mode generator would miss.

Experimental Results

The models were evaluated on a 7-DoF Panda Manipulator and a 28-DoF Talos Humanoid. Training was remarkably efficient, requiring only 25,000 samples and taking less than 15 minutes on a standard laptop CPU.

  • Inverse Kinematics (IK): For the Talos humanoid, GAN-initialized IK was roughly 10x faster than uniform initialization (2.8ms vs 28.7ms) and achieved a 100% success rate compared to 82.6% for the baseline.
  • Motion Planning: In constrained RRT (Rapidly-exploring Random Tree) tasks, the GAN approach reduced total planning time by a factor of 2 to 4.
  • Robustness: Even when a target was physically unreachable, the GAN produced a "best effort" configuration that remained stable and within joint limits, whereas standard solvers often diverged.

Conclusion and Future Work

The GAN framework provides a high-quality starting point for numerical solvers, allowing them to converge in just 2-4 iterations instead of dozens. While currently environment-agnostic, future work aims to condition the GAN on environment maps (like voxels) to account for external obstacles and extend the model to dynamic stability constraints for tasks like walking or running.

Summary updated

BibTeX
@misc{lembono2020generative,
  author = {Teguh Santoso Lembono and Emmanuel Pignat and Julius Jankowski and Sylvain Calinon},
  title = {{Generative Adversarial Network to Learn Valid Distributions of Robot Configurations for Inverse Kinematics and Constrained Motion Planning}},
  year = {2020},
  eprint = {2011.05717},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.05717},
}
Figure