Our goal is to develop an efficient contact detection algorithm for large-scale GPU-based simulation of non-convex objects. Current GPU-based simulators such as IsaacGym and Brax must trade-off speed with fidelity, generality, or both when simulating non-convex objects. Their main issue lies in contact detection (CD): existing CD algorithms, such as Gilbert-Johnson-Keerthi (GJK), must trade off their computational speed with accuracy which becomes expensive as the number of collisions among non-convex objects increases. We propose a data-driven approach for CD, whose accuracy depends only on the quality and quantity of offline dataset rather than online computation time. Unlike GJK, our method inherently has a uniform computational flow, which facilitates efficient GPU usage based on advanced compilers such as XLA (Accelerated Linear Algebra). Further, we offer a data-efficient solution by learning the patterns of colliding local crop object shapes, rather than global object shapes which are harder to learn. We demonstrate our approach improves the efficiency of existing CD methods by a factor of 5-10 for non-convex objects with comparable accuracy. Using the previous work on contact resolution for a neural-network-based contact detector, we integrate our CD algorithm into the open-source GPU-based simulator, Brax, and show that we can improve the efficiency over IsaacGym and generality over standard Brax. We highly recommend the videos of our simulator included in the supplementary materials.
翻译:我们的目标是开发一种高效的接触检测算法,以便在大规模GPU-Based仿真中模拟非凸物体。目前的GPU-Based模拟器(如IsaacGym和Brax)在模拟非凸物体时,必须在速度和保真度、广泛性之间做出权衡。他们的主要问题在于接触检测(CD):现有的CD算法(如Gilbert-Johnson-Keerthi(GJK))必须在计算速度与准确性之间做出权衡,这在非凸物体间的碰撞数量增加时会变得昂贵。我们提出了一种基于数据驱动的CD方法,其准确性仅取决于离线数据集的质量和数量,而不是在线计算时间。与GJK不同,我们的方法天然具有均匀的计算流,这有助于基于高级编译器(如XLA(加速线性代数))实现高效的GPU使用。此外,我们提供了一种数据有效的解决方案,通过学习碰撞局部裁剪对象形状的模式,而不是更难学习的全局对象形状。我们演示了我们的方法提高了现有CD方法的非凸物体的效率,准确性相当。通过将接触检测器的前一个工作整合到基于神经网络的接触检测器中,我们将我们的CD算法集成到开源GPU-Based模拟器Brax中,并展示我们可以提高IsaacGym的效率和Brax的广泛适用性。我们强烈推荐查看附加资料中的模拟器视频。