Abstract
Learning complex robotic manipulation skills remains a challenge due to the high dimensionality of movement parameters and the need for contextual adaptation. We present Contextual Latent-Movements Off-Policy Optimization (LAMPO), a sample-efficient framework that combines imitation learning with off-policy reinforcement learning. By utilizing a Mixture of Probabilistic Principal Component Analyzers (MPPCA), LAMPO projects high-dimensional movement parameters into a low-dimensional latent space. This allows robots to refine multi-modal skills using significantly fewer real-world interactions compared to standard deep reinforcement learning methods.
Introduction
Teaching robots tasks like pouring liquids or closing drawers often relies on Movement Primitives (MPs), which parameterize trajectories into high-dimensional spaces. While effective for imitation learning from human demonstrations, these high-dimensional spaces pose a "curse of dimensionality" for Reinforcement Learning (RL). Standard RL algorithms typically require an impractical number of trials to optimize these parameters, which is costly and potentially damaging for physical hardware. Furthermore, skills must be contextual—adjusting to varying object positions—adding further complexity. Existing dimensionality reduction techniques often struggle with non-linear dependencies or multi-modal demonstrations where multiple valid solutions exist.
Methodology: The LAMPO Framework
LAMPO addresses these challenges through three core innovations:
- Non-linear Latent Dynamics via MPPCA: Instead of simple linear projections, LAMPO uses a Mixture of Probabilistic Principal Component Analyzers. This captures non-linearities and multiple behavioral "modes" by mapping high-dimensional movement parameters ($\omega$) and task contexts ($c$) into a shared, low-dimensional latent space ($z$).
- Off-Policy Gradient Estimation: To maximize sample efficiency, LAMPO utilizes Self-Normalized Importance Sampling (SNIS). This allows the framework to reuse data from previous policy iterations to estimate gradients for current updates, significantly reducing the need for new interactions.
- Trust-Region Regularization: Stable learning is maintained via a Kullback-Leibler (KL) divergence constraint, preventing drastic policy shifts and ensuring the context distribution remains close to the initial demonstrations to avoid numerical instabilities.
Experimental Evaluation
The framework was evaluated across several benchmarks, ranging from toy simulations to complex real-world tasks:
- Simulation: The RLBench suite was used for high-dimensional tasks such as
reach-targetandclose-drawer(featuring a 94-dimensional context vector). - Real-World: A 7-DOF robotic arm performed reaching and pouring tasks. The pouring task specifically tested the algorithm's ability to handle stochastic material dynamics and sensor noise from a digital scale.
Key Results and Discussion
LAMPO demonstrates superior sample efficiency across all tested domains. In the reach-target task, LAMPO reached a 0.7 success rate in just 1,600 episodes, whereas Soft Actor-Critic (SAC) required 13,326 episodes. Similar gains were observed in the high-dimensional close-drawer task, where LAMPO outperformed SAC and PPO by a wide margin.
The use of a probabilistic MPPCA allows the model to perform conditioning, mathematically inferring the most likely latent movement parameters based on a given context. This naturally handles multi-modal tasks where multiple valid solutions exist (e.g., reaching around an obstacle from different sides). By "warm-starting" RL within a safe latent manifold derived from demonstrations, LAMPO ensures efficient and stable exploration.
Conclusion
LAMPO provides a robust path for transitioning from imitation learning to reinforcement learning in robotics. While currently treating movements as single primitives, future work may explore decomposing tasks into sequences of sub-policies to improve modularity. The framework's flexibility allows for the potential integration of even more expressive generative models like Variational Autoencoders or Normalizing Flows to further expand the reachable solution space.
Summary updated