Leveraging Scene Embeddings for Gradient-Based Motion Planning in Latent Space

Jun Yamada, Chia-Man Hung, Jack Collins, Ioannis Havoutis, Ingmar Posner

Abstract

Motion planning in complex, dynamic environments remains a significant challenge for robotics, often requiring a trade-off between computational speed and geometric accuracy. This paper introduces AMP-LS (Activation Maximisation Planning in Latent Space), a novel framework that enables real-time, closed-loop motion planning by operating within a learned, low-dimensional latent space. By integrating scene embeddings derived from raw point clouds with a generative model of robot kinematics, AMP-LS achieves planning speeds an order of magnitude faster than traditional sampling-based methods while maintaining high success rates in cluttered, real-world scenes.

Introduction

Finding a collision-free path for a high-degree-of-freedom (DoF) robot arm is a fundamental requirement for autonomous manipulation. Traditional sampling-based algorithms, such as Rapidly-exploring Random Trees (RRT), are robust but computationally intensive, particularly as environment complexity increases. This latency often precludes "closed-loop" planning, where a robot must react instantaneously to moving obstacles or shifting targets.

While recent learning-based approaches have attempted to accelerate this process by planning in compressed latent spaces, they have historically struggled to process complex, arbitrary geometries, often limited to simple primitives like cylinders or spheres. AMP-LS addresses this limitation by combining the efficiency of latent space optimization with the representational power of scene embeddings, allowing robots to "see" and navigate messy, real-world environments in real-time.

Methodology

1. Structured Latent Space

The foundation of AMP-LS is a Variational Autoencoder (VAE) trained to represent the robot's 7-DoF joint configurations. Crucially, this 7-dimensional latent space ($z$) encodes not just joint positions but also the end-effector's 6D orientation. This inclusion is vital for practical tasks, such as grasping tools or navigating constrained spaces, where the hand's alignment is as important as its position.

2. Scene Embeddings and Collision Prediction

To handle complex obstacles, the framework utilizes an adapted SceneCollisionNet. This model processes raw point cloud data from depth cameras into "voxel features"—a grid-based summary of the environment's geometry. A neural network-based collision predictor then takes the robot's current latent state and these scene embeddings to estimate the probability of a collision. This allows the system to evaluate potential states against raw sensor data without the need for manual geometric modeling.

3. Optimization via Activation Maximisation

Rather than searching for a path through discrete steps, AMP-LS frames planning as a gradient-based optimization problem. Using a technique called Activation Maximisation, the system iteratively updates the latent variable $z$ to minimize a multi-objective loss function. This function balances three priorities:

  • Goal Reaching: Minimizing the distance to the target pose.
  • Prior Adherence: Staying within the distribution of valid, kinematically feasible robot states learned by the VAE.
  • Collision Avoidance: Moving away from areas with high predicted collision probability.

To ensure safety, the system incorporates an explicit collision-checking mechanism. If the predictor identifies a high-risk state, the optimization step is rescaled to prioritize obstacle avoidance over goal progression.

Experimental Setup and Results

Training and Evaluation

The VAE was trained on a massive dataset of 500 million kinematically feasible configurations for a Franka Panda arm. The collision predictor was trained using synthetic environments featuring 8,828 3D meshes from the ShapeNet dataset, simulating a wide variety of tabletop scenarios. The model's performance was then evaluated "zero-shot"—without additional training—on real-world tasks, including furniture assembly and tracking targets on a moving conveyor belt.

Performance Metrics

AMP-LS demonstrated significant improvements in speed and reliability compared to established baselines:

  • Computational Speed: AMP-LS generated plans in approximately 0.16 seconds, roughly 10x faster than the RRT-Connect baseline (1.60s).
  • Success Rate: In complex simulated environments, AMP-LS achieved an 88% success rate, outperforming RRT-Connect (86%) and vastly exceeding other optimization-based planners like CHOMP (39%).
  • Reactivity: The system's 10Hz update rate enabled it to successfully track moving targets while simultaneously dodging dynamic obstacles in real-time.

Discussion and Limitations

The primary advantage of AMP-LS is its ability to generalize the concept of an "obstacle" from diverse training data, allowing it to avoid previously unseen objects like human limbs or specific furniture parts using only raw point clouds.

However, the speed of the system comes with a trade-off in path efficiency. AMP-LS tends to produce more circuitous routes, with a normalized path length of 3.61 compared to 2.17 for RRT-Connect. This occurs because the current optimization objective prioritizes finding any valid path quickly over finding the shortest path. Future work will focus on refining the loss function to penalize path length and improving the system's robustness to sensor occlusions in the point cloud.

Conclusion

AMP-LS represents a significant step toward reactive, intelligent robot motion. By performing gradient-descent in a smooth, learned latent space informed by real-time scene embeddings, the framework bridges the gap between high-level planning and low-level reactive control, providing a scalable solution for robots operating in unpredictable human environments.

Summary updated

BibTeX
@inproceedings{yamada2023leveraging,
  author = {Jun Yamada and Chia-Man Hung and Jack Collins and Ioannis Havoutis and Ingmar Posner},
  title = {{Leveraging Scene Embeddings for Gradient-Based Motion Planning in Latent Space}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10161427},
}
Figure