DiffCo: Auto-Differentiable Proxy Collision Detection with Multi-class Labels for Safety-Aware Trajectory Optimization

Yuheng Zhi, Nikhil Das, Michael Yip
2/15/2021
cs.ROcs.LG

Official code: ucsdarclab/diffco (53 stars, Jupyter Notebook, BSD-3-Clause, last commit 2025-03-18).

Abstract

The objective of trajectory optimization algorithms is to achieve an optimal collision-free path between a start and goal state. In real-world scenarios where environments can be complex and non-homogeneous, a robot needs to be able to gauge whether a state will be in collision with various objects in order to meet some safety metrics.

Show full abstract

The collision detector should be computationally efficient and, ideally, analytically differentiable to facilitate stable and rapid gradient descent during optimization. However, methods today lack an elegant approach to detect collision differentiably, relying rather on numerical gradients that can be unstable. We present DiffCo, the first, fully auto-differentiable, non-parametric model for collision detection. Its non-parametric behavior allows one to compute collision boundaries on-the-fly and update them, requiring no pre-training and allowing it to update continuously in dynamic environments. It provides robust gradients for trajectory optimization via backpropagation and is often 10-100x faster to compute than its geometric counterparts. DiffCo also extends trivially to modeling different object collision classes for semantically informed trajectory optimization.

View on arXivView PDF

Code Implementations(1)

ucsdarclab/diffcoOfficial100%
BSD-3-Clause

differentiable proxy collision checking for robot trajectory optimization.

537Jupyter Notebook, PythonFeb 15, 20211 years agoBSD-3-Clause
collision-detectionmachine-learningmanipulationtrajectory-optimization

Similar Papers

Cite this paper

@article{zhi2021diffco,
  title  = {DiffCo: Auto-Differentiable Proxy Collision Detection with Multi-class Labels for Safety-Aware Trajectory Optimization},
  author = {Yuheng Zhi and Nikhil Das and Michael Yip},
  year   = {2021},
  eprint = {2102.07413},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.07413}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.07413.svg)](https://codeofpaper.com/paper/2102.07413)

Discussion