Skip to main content
QUICK REVIEW

[Paper Review] From virtual demonstration to real-world manipulation using LSTM and MDN

Rouhollah Rahmatizadeh, Pooya Abolghasemi|arXiv (Cornell University)|Mar 12, 2016
Robot Manipulation and LearningEngineering18 citations
TL;DR

This paper proposes a method to transfer manipulation skills from virtual demonstrations to a physical robot using an LSTM-based controller trained with a Mixture Density Network (MDN) to handle multimodal, imperfect human demonstrations. The approach enables the robot to learn self-correction from errors, achieving successful task execution on a Rethink Robotics Baxter robot despite simulation-to-reality domain gaps, with LSTM+MDN outperforming feedforward networks and MSE-based training.

ABSTRACT

Robots assisting the disabled or elderly must perform complex manipulation tasks and must adapt to the home environment and preferences of their user. Learning from demonstration is a promising choice, that would allow the non-technical user to teach the robot different tasks. However, collecting demonstrations in the home environment of a disabled user is time consuming, disruptive to the comfort of the user, and presents safety challenges. It would be desirable to perform the demonstrations in a virtual environment. In this paper we describe a solution to the challenging problem of behavior transfer from virtual demonstration to a physical robot. The virtual demonstrations are used to train a deep neural network based controller, which is using a Long Short Term Memory (LSTM) recurrent neural network to generate trajectories. The training process uses a Mixture Density Network (MDN) to calculate an error signal suitable for the multimodal nature of demonstrations. The controller learned in the virtual environment is transferred to a physical robot (a Rethink Robotics Baxter). An off-the-shelf vision component is used to substitute for geometric knowledge available in the simulation and an inverse kinematics module is used to allow the Baxter to enact the trajectory. Our experimental studies validate the three contributions of the paper: (1) the controller learned from virtual demonstrations can be used to successfully perform the manipulation tasks on a physical robot, (2) the LSTM+MDN architectural choice outperforms other choices, such as the use of feedforward networks and mean-squared error based training signals and (3) allowing imperfect demonstrations in the training set also allows the controller to learn how to correct its manipulation mistakes.

Motivation & Objective

  • To enable assistive robots to learn complex manipulation tasks from non-technical users without requiring physical demonstrations in real-world settings.
  • To address the challenges of safety, time, and discomfort associated with collecting physical demonstrations from disabled or elderly users.
  • To develop a method that transfers policies trained in simulation to real-world robots despite domain shift and imperfect demonstrations.
  • To investigate whether imperfect, error-prone human demonstrations can improve the robot's ability to self-correct in physical execution.

Proposed method

  • Virtual demonstrations of pick-and-place and push-to-pose tasks are collected from human users in a simulated environment.
  • A deep neural network controller is trained using Long Short-Term Memory (LSTM) recurrent networks to model temporal dependencies in trajectories.
  • A Mixture Density Network (MDN) is used as the output head to model multimodal action distributions, enabling the network to learn diverse and complex behaviors.
  • The training uses a loss function based on MDN likelihood to better capture the distribution of demonstrated actions, especially in cases with multiple valid strategies.
  • The trained controller is transferred to a physical Rethink Robotics Baxter robot using an off-the-shelf Kinect-based vision system for object tracking and an inverse kinematics module for trajectory execution.
  • Imperfect demonstrations—including failed grasps, object drops, and over/under-pushes—are included in the training data to teach error recovery and self-correction.

Experimental results

Research questions

  • RQ1Can a controller trained on virtual demonstrations successfully perform manipulation tasks on a physical robot?
  • RQ2Does the use of LSTM and MDN in the controller architecture lead to better performance than feedforward networks with mean-squared error loss?
  • RQ3Can imperfect human demonstrations that include errors and corrections improve the robot's ability to self-correct in the real world?
  • RQ4How does the performance of the controller degrade when transferring from simulation to reality, and can it compensate for domain shift?
  • RQ5Can the controller generalize to real-world noise and inaccuracies such as sensor occlusion and object property mismatches?

Key findings

  • The controller trained on virtual demonstrations successfully performed both pick-and-place and push-to-pose tasks on the physical Baxter robot, demonstrating effective transfer from simulation to reality.
  • The LSTM+MDN architecture significantly outperformed feedforward networks trained with mean-squared error, particularly in handling multimodal and complex trajectories.
  • Including imperfect demonstrations—such as failed grasps and corrective actions—enabled the robot to learn self-correction, improving robustness in the physical world.
  • The success rate was lower in the physical world than in simulation, primarily due to sensor noise, object tracking loss during occlusion, and discrepancies in physical properties like friction and object size.
  • The push-to-pose task showed a larger performance drop than pick-and-place, due to higher sensitivity to physics differences between simulation and reality.
  • The robot's ability to recover from errors, learned from imperfect demonstrations, was critical for task completion in the real world, where failures are inevitable.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.