Local object crop collision network for efficient simulation of non-convex objects in GPU-based simulators

Dongwon Son, Beomjoon Kim

Abstract

Simulating thousands of robots in parallel is a cornerstone of modern reinforcement learning, yet the inclusion of non-convex objects—such as bowls, chairs, and complex tools—remains a significant computational bottleneck. Traditional methods like GJK require expensive convex decomposition, while approximations often sacrifice physical fidelity. This paper introduces LOCC (Local Object Crop Collision Network), a data-driven contact detection algorithm designed for massive GPU parallelization. By focusing on "local crops" of colliding shapes, LOCC achieves 5–10x speedups over state-of-the-art methods, maintains high accuracy across novel objects, and ensures uniform computational flow for hardware optimization.

Introduction

Modern robotics research increasingly relies on GPU-accelerated simulators to train agents in parallel. However, simulating non-convex geometry forces a trade-off between speed, fidelity, and generality. Standard algorithms like Gilbert–Johnson–Keerthi (GJK) handle convex shapes efficiently but struggle with non-convexity, requiring complex decompositions that hinder performance. Conversely, convex hull approximations are fast but fail to capture internal cavities (e.g., the inside of a bowl). Furthermore, the branching logic inherent in traditional collision detection prevents compilers like XLA from fully optimizing GPU execution.

Methods: The LOCC Architecture

The proposed LOCC framework addresses these challenges by replacing branching logic with a neural-network-based contact detector that ensures Uniform Computational Flow (UCF).

Architecture of the LOCC framework, featuring a Shape Encoder for voxel-based feature extraction and a Collision Predictor for local crop analysis.

The system consists of two primary components:

  1. Shape Encoder: This module processes an object's point cloud into a voxel grid of features using a 3D CNN (U-Net architecture). This approach captures both local geometric details and global context.
  2. Local Crop Strategy: To maximize efficiency, LOCC identifies specific voxel cells where the bounding boxes of two objects overlap. Only these "local crops" are passed to the collision predictor, allowing the model to generalize based on repetitive local patterns (e.g., edges meeting surfaces) rather than unique global shapes.
  3. Collision Predictor: An MLP evaluates these local features to predict collisions. The network's gradients are then used to calculate contact forces and resolution within the Brax physics engine.

Datasets and Evaluation

The model was trained on the Google Scanned Objects (GSO) dataset, using 230 million synthetic data points representing various "near-miss" and "overlap" scenarios. Evaluation was conducted across three categories:

  • Known Objects: New poses for objects seen during training.
  • Unknown Objects: 30 novel objects from the YCB dataset.
  • Generalization: The EGAD dataset, featuring complex, unusually-shaped objects designed for challenging robotic tasks.

Key Results

LOCC demonstrates significant improvements in both speed and scalability.

Performance comparison showing simulation time vs. batch size, demonstrating LOCC's superior scalability compared to traditional non-convex simulation methods.
  • Efficiency: LOCC is 5–10x faster than GPU-optimized GJK for non-convex objects. Unlike traditional methods where computation time scales with object complexity, LOCC's inference time remains constant.
  • Scalability: In tests simulating 30,000 parallel environments, the LOCC-based simulator (BRAX-LOCC) maintained consistent performance, whereas competing methods like IsaacGym’s non-convex simulation (IG-CVXD) exhibited significant slowdowns.
  • Accuracy: The system achieved ~98% accuracy on known objects and ~96% on novel objects from the YCB and EGAD sets, with significantly lower penetration depth than convex hull approximations.

Discussion and Limitations

The "locality" of the LOCC approach is its primary strength; by learning local collision patterns, the network generalizes effectively to unseen geometries. Moreover, the predictable mathematical operations of neural networks allow compilers to optimize the simulation pipeline far more effectively than branching-heavy traditional algorithms.

However, limitations remain. Performance is sensitive to voxel resolution ($M$); a grid that is too coarse loses detail, while one that is too fine increases memory overhead. Additionally, the current implementation is restricted to rigid bodies. Future work will explore extending LOCC to deformable objects and more complex articulated systems.

Summary updated

BibTeX
@inproceedings{son2023local,
  author = {Dongwon Son and Beomjoon Kim},
  title = {{Local object crop collision network for efficient simulation of non-convex objects in GPU-based simulators}},
  booktitle = {Robotics: Science and Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=Ah9N7sfTOR},
}
Figure