Avoid Everything: Model-Free Collision Avoidance with Expert-Guided Fine-Tuning

Adam Fishman, Aaron Walsman, Mohak Bhardwaj, Wentao Yuan, Balakumar Sundaralingam, Byron Boots, Dieter FoxSAFE-ROL @ CoRL 2024

TL;DR

This paper introduces "Avoid Everything," an end-to-end system for robotic manipulators to navigate cluttered environments safely, even near obstacles. It combines a novel transformer architecture (M$\pi$Former) for motion prediction with a unique fine-tuning method (ROPE) that leverages optimization to generate collision-free expert demonstrations, achieving over 91% success in challenging scenarios.

What Problem Does This Paper Address?

Robotic manipulators struggle to navigate complex, cluttered real-world environments safely, especially when dealing with partial observability (where the robot doesn't have a complete view of its surroundings). Traditional motion planning methods often fail in these scenarios because they rely on accurate world models, which are difficult to build in cluttered spaces. While learned end-to-end motion policies can learn from expert demonstrations, they often struggle to produce reliably safe movements when close to obstacles. This paper aims to bridge this gap by developing a system that can generate collision-free motion towards a target, even in challenging, partially observed, and cluttered environments.

Methods

The "Avoid Everything" system has two main components:

  1. Motion Policy Transformer (M$\pi$Former): This is a novel transformer-based neural network architecture. It takes a point cloud representation of the scene (including obstacles and the robot's current state) and a target end-effector pose as input. It then predicts a single-step change in the robot's joint configuration. The architecture leverages PointNet++ for initial point cloud encoding and then uses transformer layers to fuse this information with the robot's current joint state. This approach is trained end-to-end on a large dataset of expert trajectories.
  2. Refining on Optimized Policy Experts (ROPE): This is a novel fine-tuning procedure designed to improve collision avoidance. After initial pretraining, ROPE identifies states where the current policy tends to collide. It then uses optimization to generate "corrected" demonstrations of safe behavior from these problematic states. These corrected demonstrations are then used to fine-tune the policy, effectively teaching it to avoid collisions in challenging situations. This method is inspired by hard negative mining techniques.

Datasets

  • Training Data: The system is trained on over 1,000,000 expert trajectories. These trajectories are generated in procedurally generated environments, categorized into two types: "2x2 cubbies" with randomized dimensions and positions, and "tabletops" with randomly placed obstacles. Expert demonstrations are generated using the AIT* planner with a spline-based shortcutting procedure.
  • Evaluation Data: Experiments are conducted in both simulated and real-world settings. Simulated evaluations use environments drawn from the same distribution as the training data, as well as environments with increasingly wider distributions of parameters to test generalization. Real-world experiments are performed on a Franka Emika Panda robot.

Key Insights and Ideas

  • Transformer for Motion Prediction: Using a transformer architecture for end-to-end joint space control from point clouds proves effective for learning complex motion policies.
  • ROPE for Targeted Collision Avoidance: The ROPE fine-tuning strategy is crucial for improving collision avoidance. By actively seeking out and correcting failure cases through optimization, it significantly reduces collisions without sacrificing the ability to reach targets.
  • Balancing Safety and Performance: The ROPE method highlights a trade-off between collision rate and reaching error. Increasing the proportion of hard negative examples (corrections) reduces collisions but can increase reaching error, suggesting a need to tune this parameter based on application requirements.
  • Robustness to Partial Observability: The system demonstrates robustness to partially observed scenes, a property attributed to the underlying PointNet++ architecture.
  • Generalization Challenges: While the system performs well on in-distribution data, performance degrades on environments with significantly different parameter distributions, indicating a need for further work on generalization.

Key Results

  • Overall Success Rate: Avoid Everything achieves an overall success rate of over 91% in challenging manipulation settings.
  • Improved Performance over State-of-the-Art: It successfully solves over 63% of reaching problems that caused the previous state-of-the-art method [13] to fail.
  • Collision Rate Reduction: The collision rate is reduced by over 77% compared to the previous state-of-the-art.
  • ROPE Efficacy: Fine-tuning with ROPE significantly improves performance, reducing collision rates by more than half for both M$\pi$Former and M$\pi$Nets.
  • Real-World Performance: The system demonstrates good performance on a real robot, reacting to moving obstacles, though limited by camera frame rate.
  • Computation Time: While not as fast as M$\pi$Nets for reactive control, Avoid Everything is significantly faster than other baseline methods in dynamic settings.

Limitations and Future Work

  • Generalization: The system's performance degrades in environments that lie outside the training distribution. The authors hypothesize that co-training on multiple environment classes could improve generalization.
  • Optimization Limitations: Simple gradient-based optimization for fine-tuning might be insufficient for highly complex scenarios.
  • Lack of Guarantees: As a black-box system, Avoid Everything lacks formal safety guarantees. Future work could explore combining it with traditional planners for guaranteed safety in fully observed scenarios.
  • Data and Compute Requirements: Training requires substantial data and computational resources, which are costly and environmentally impactful.
  • Real-World Reactivity: The system's reactivity on the real robot is limited by camera frame rate. Improving this would require faster cameras, GPUs, or both.
  • Target Pose Variation: The system's performance can be affected by symmetric gripper poses that are out of the training distribution. Increasing the variation of target poses in the training set or adding orientation embeddings could address this.

Summary updated

BibTeX
@inproceedings{fishman2024avoid,
  author = {Adam Fishman and Aaron Walsman and Mohak Bhardwaj and Wentao Yuan and Balakumar Sundaralingam and Byron Boots and Dieter Fox},
  title = {{Avoid Everything: Model-Free Collision Avoidance with Expert-Guided Fine-Tuning}},
  booktitle = {SAFE-ROL @ CoRL},
  year = {2024},
  url = {https://openreview.net/forum?id=ccxDydaAs1},
}
Figure