Vision-Based Uncertainty-Aware Motion Planning Based on Probabilistic Semantic Segmentation

Ralf Römer, Armin Lederer, Samuel Tesfazgi, Sandra Hirche

This paper, recently accepted for the IEEE Robotics and Automation Letters, presents a robust framework for robot motion planning that bridges the gap between high-level visual perception and safe, real-time execution. By combining deep learning ensembles with scenario-based optimization, the authors demonstrate how robots can navigate safely around complex obstacles—like human hands—even when trained on very limited data.

TL;DR

The authors propose a motion planning framework that uses deep ensembles and massive data augmentation to generate reliable, probabilistic occupancy maps from vision. These maps feed into a scenario-based RRT* algorithm and a velocity scheduling scheme, ensuring safe navigation around complex obstacles without the excessive conservatism of traditional geometric approximations.

What Problem Does This Paper Address?

Safe robot motion planning in uncertain environments typically relies on two things: a good map and a way to handle errors. Traditionally, researchers have used simple geometric shapes (like ellipsoids) to represent obstacles and assumed Gaussian noise for their positions. However, real-world obstacles are rarely simple, and Gaussian assumptions often fail to capture the true complexity of visual perception errors.

While Deep Learning (DL) offers powerful semantic segmentation (identifying exactly which pixels belong to an obstacle), it has two major flaws for safety-critical robotics:

  1. Miscalibration: Neural networks are notoriously overconfident, often predicting "100% certain" even when they are wrong.
  2. Data Scarcity: Training these models requires massive, diverse datasets, which are rarely available for specific, niche robotic tasks.

Methods

The authors tackle these issues through a three-pronged approach:

  1. Probabilistic Perception via Deep Ensembles: Instead of one network, they use an ensemble of $M$ DeepLabv3 models. By averaging the outputs, they obtain a pixel-wise occupancy probability that is far better calibrated than a single model's output.
  2. Massive Data Augmentation: To solve the small-dataset problem, they employ eight different augmentation techniques (see Figure 2), including "New background" and "Random erase," to inflate a tiny dataset of 50 images by a factor of 20. Data augmentation methods used to increase dataset diversity
  3. Scenario-Based Planning (SCC-RRT*): Rather than simplifying obstacles into boxes or spheres, they treat the probabilistic map as a "scenario." Their modified RRT* algorithm samples points from the workspace and checks if the probability of collision exceeds a safety threshold $\delta$.
  4. Velocity Scheduling: Safety isn't just about the path; it's about speed. The framework includes a scheduling step that slows the robot down when it is near uncertain obstacles, effectively shrinking its "tracking error bound" to maintain a $\delta$-safe motion. The concept of $\delta$-safe motion, accounting for planned vs. executed trajectories
Data augmentation methods used to increase dataset diversity
The concept of $\delta$-safe motion, accounting for planned vs. executed trajectories

Datasets

The authors created a custom hand dataset to test their approach in a "low data regime." * Training Set: Only 50 images of hands against a monotonous, similar background. * Test Set: 50 images featuring different people, diverse backgrounds, and varying lighting conditions. This setup specifically mimics the challenge of training a robot for a specific task where large-scale public datasets (like COCO or Cityscapes) might not be applicable.

Key Insights and Ideas

  • Augmentation is for Calibration, not just Accuracy: The "aha moment" here is that massive augmentation doesn't just help the model recognize hands better; it significantly improves the reliability of the uncertainty estimates. It forces the ensemble to be "honest" about what it doesn't know.
  • Sampling Beats Parametric Modeling: By using a scenario-based approach, the planning cost doesn't explode as the environment gets more cluttered. In traditional methods, every new obstacle adds a new constraint to check. Here, the complexity depends on the number of samples ($N_x$), not the number of objects.
  • Ensembling for Safety: In real-world tests, the authors noted that sometimes only a subset of the ensemble detected parts of a hand. A single model might have missed the obstacle entirely, but the ensemble maintained a non-zero collision probability, keeping the robot safe.

Key Results

  • Superior Calibration: As shown in the reliability curves (Figure 4), the ensemble ($M=5$ or $10$) stays much closer to the "Ideal" diagonal than individual members, meaning its predicted probabilities actually match real-world accuracy. Reliability curves showing improved calibration with larger ensemble sizes
  • Performance Boost: Their augmentation scheme achieved a Mean Intersection-over-Union (mIoU) of 89.1% on the small dataset, compared to just ~76-79% for standard augmentation methods like Cutout or Mixup.
  • Computational Efficiency: In cluttered environments, the SCC-RRT* algorithm maintained near-constant computation time, while parametric methods saw exponential increases as the number of obstacles grew (see Figure 6). Computation time comparison showing the efficiency of the sampling-based approach in cluttered scenes
Reliability curves showing improved calibration with larger ensemble sizes
Computation time comparison showing the efficiency of the sampling-based approach in cluttered scenes

Limitations and Future Work

While impressive, the current framework has a few areas for growth:

  • Static Assumption: The current model assumes obstacles are static during the planning phase. The authors suggest moving toward a Scenario MPC (Model Predictive Control) approach to handle dynamic obstacles in real-time.
  • Computational Overhead: Deep ensembles are memory-intensive. Future work could explore "distilling" these ensembles into smaller, faster models that retain the same uncertainty characteristics.
  • 3D Geometry: The transition from 2D image pixels to 3D workspace occupancy currently relies on simplifying assumptions (like fixed obstacle height). Integrating direct 3D vision or LiDAR data would make the system more versatile.

Summary updated

BibTeX
@article{romer2023vision,
  author = {Ralf Römer and Armin Lederer and Samuel Tesfazgi and Sandra Hirche},
  title = {{Vision-Based Uncertainty-Aware Motion Planning Based on Probabilistic Semantic Segmentation}},
  journal = {IEEE Robotics and Automation Letters},
  year = {2023},
  url = {https://openreview.net/forum?id=0lGKh5mLoW},
}
Figure