paper-with-me

홈 › Papers

An Efficient Sparse Kernel Generator for O(3)-Equivariant Deep Networks

2025-01-23 · Vivek Bharadwaj, Austin Glover, Aydin Buluc, James Demmel

Rotation equivariant graph neural networks, i.e. networks designed to guarantee certain geometric relations between their inputs and outputs, yield state of the art performance on spatial deep learning tasks. They exhibit high data efficiency during training and significantly reduced inference time for interatomic potential calculations compared to classical approaches. Key to these models is the Clebsch-Gordon (CG) tensor product, a kernel that contracts two dense feature vectors with a highly-structured sparse tensor to produce a dense output vector. The operation, which may be repeated millions of times for typical equivariant models, is a costly and inefficient bottleneck. We introduce a GPU sparse kernel generator for the CG tensor product that provides significant speedups over the best existing open and closed-source implementations. Our implementation achieves high performance by carefully managing the limited GPU shared memory through static analysis at model compile-time, minimizing reads and writes to global memory. We break the tensor product into a series of smaller kernels with operands that fit entirely into registers, enabling us to emit long arithmetic instruction streams that maximize instruction-level parallelism. By fusing the CG tensor product with a subsequent graph convolution, we reduce both intermediate storage and global memory traffic over naive approaches that duplicate input data. We also provide optimized kernels for the gradient of the CG tensor product and a novel identity for the higher partial derivatives required to predict interatomic forces. Our kernels offer up to 1.3x speedup over NVIDIA's closed-source cuEquivariance package, as well as 10x speedup over the widely-used e3nn package. In FP64 precision, we offer up to 6.2x inference-time speedup for the MACE chemistry foundation model over the original unoptimized version.

📄 PDF Abstract BibTeX arXiv:2501.13986

Code (2)

passionlab/openequivariance 공식 구현 pytorch
vbharadwaj-bk/OpenEquivariance 공식 구현 pytorch

Tasks

GPU

Similar Papers 제목 키워드 기반

Inducing Sparse Coding and And-Or Grammar from Generator Network

2019-01-20 · Xianglei Xing, Song-Chun Zhu, Ying Nian Wu

We introduce an explainable generative model by applying sparse operation on the feature maps of the generator network. Meaningful hierarchical representations are obtained using the proposed generative model with sparse…

Equivariant Neural Tangent Kernels

2024-06-10 · Philipp Misof, Pan Kessel, Jan E. Gerken

Little is known about the training dynamics of equivariant neural networks, in particular how it compares to data augmented training of their non-equivariant counterparts. Recently, neural tangent kernels (NTKs) have eme…

Data Augmentationimage-classificationImage ClassificationMedical Image Analysis+1

Efficient Equivariant Network

2021-12-01 · NeurIPS 2021 12 · Lingshen He, Yuxuan Chen, Zhengyang Shen, Yiming Dong 외

Convolutional neural networks (CNNs) have dominated the field of Computer Vision and achieved great success due to their built-in translation equivariance. Group equivariant CNNs (G-CNNs) that incorporate more equivarian…

E2Former-V2: On-the-Fly Equivariant Attention with Linear Activation Memory

2026-01-23 · Lin Huang, Chengxiang Huang, Ziang Wang, Yiyue Du 외 arxiv

Equivariant Graph Neural Networks (EGNNs) have become a widely used approach for modeling 3D atomistic systems. However, mainstream architectures face critical scalability bottlenecks due to the explicit construction of …

3D Steerable CNNs: Learning Rotationally Equivariant Features in Volumetric Data

2018-07-06 · NeurIPS 2018 12 · Maurice Weiler, Mario Geiger, Max Welling, Wouter Boomsma 외

We present a convolutional network that is equivariant to rigid body motions. The model uses scalar-, vector-, and tensor fields over 3D Euclidean space to represent data, and equivariant convolutions to map between such…

General Classification