Learning and Inference Movement with Deep Generative Model

Mingxuan Jing, Xiaojian Ma, Fuchun Sun, Huaping LiuarXiv 2018

Researchers at Tsinghua University have introduced Contextual Movement Primitives (CMP), a framework designed to enable robots to learn and execute fundamental movements—such as reaching or grasping—by observing demonstrations. By synthesizing deep generative models with classical dynamic control theory, CMP bridges the gap between high-level visual perception and low-level robotic execution.

Introduction

Motion planning remains a significant challenge in robotics. Traditional approaches often rely on precise, hard-to-build mathematical models of the environment. Conversely, Reinforcement Learning (RL) typically requires millions of simulated trials, as real-world exploration is slow and potentially hazardous to hardware. The CMP framework addresses this by learning "basic movements" (primitives) that are flexible enough to adapt to diverse contexts and tasks using limited demonstration data.

The CMP Framework

The CMP architecture is designed to be both probabilistic, to handle real-world uncertainty, and dynamically stable, ensuring safe goal reaching. It consists of three primary components:

  1. CMP Generator (CMPG): Modeled as a Conditional Variational Autoencoder (CVAE), this component acts as the system's "brain." It processes an RGB image of the scene (context $c$) and a task description (task $t$) to infer a latent representation $z$. This latent variable is then used to generate a trajectory weight vector $w$.
  2. Localization Network (LN): To improve precision, the framework includes an explicit network to predict target coordinates ($g$). This provides a "hard constraint" for the movement, rather than relying solely on the generative model to infer the goal.
  3. Motion Control System (MCS): The "muscles" of the system, the MCS executes the generated trajectory.
The overall architecture of the Contextual Movement Primitives (CMP) framework, illustrating the flow from visual context and task input to trajectory generation and execution.

A critical technical innovation in the architecture is the use of Spatial Arg-Softmax. This operation converts CNN feature maps into precise coordinate representations, allowing the model to focus on object positions more effectively than standard flattened layers.

Key Insights: Force Space and Stability

A major contribution of this work is the exploration of "force space" versus "position space." Instead of simply predicting a sequence of coordinates, CMP can operate by predicting the "forces" required for a second-order dynamic system. This approach ensures that the robot inherits the stability and goal-convergence properties of classical control theory. If the robot is perturbed during execution, the underlying physics of the controller naturally pulls it back toward the intended goal.

Furthermore, the authors found that explicit localization is significantly more effective than implicit localization. By having a dedicated sub-network predict goal coordinates, the system achieves much higher reliability in translating pixels into successful motor actions.

Experimental Evaluation

The researchers evaluated CMP using synthesized trajectories in the Gazebo simulator and real-world tests on a 7-DOF Baxter manipulator using the YCB Object and Model Set.

The real-world experimental setup featuring a Baxter robot tasked with approaching and picking various YCB objects on a table.

Key Results:

  • Performance: CMP consistently outperformed standard supervised Neural Network (NN) baselines in terms of Conditional Log-Likelihood (CLL), especially as environment complexity increased.
  • Real-World Success: On the physical Baxter robot, the full CMP framework achieved a 75.7% success rate in approaching and picking novel objects.
  • Ablation Studies: Removing the Spatial Arg-Softmax or the Localization Network caused success rates to drop sharply (to 24.3% and 56.7%, respectively), highlighting their necessity.
  • Data Efficiency: The model demonstrated high efficiency, reaching competitive performance levels with as few as 1,000 demonstration samples.

Conclusion and Future Work

While CMP excels at basic primitives like reaching, it currently does not handle complex, multi-stage reasoning (e.g., opening a drawer before picking an object). The authors suggest that future work could involve combining CMP with sequential models like LSTMs or Transformers to chain these basic primitives into more sophisticated, long-term behaviors. By grounding generative models in the stability of dynamic control, CMP provides a robust path forward for learning complex robotic skills from visual observation.

Summary updated

BibTeX
@misc{jing2018learning,
  author = {Mingxuan Jing and Xiaojian Ma and Fuchun Sun and Huaping Liu},
  title = {{Learning and Inference Movement with Deep Generative Model}},
  year = {2018},
  eprint = {1805.07252},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.07252},
}
Figure