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.
McGill University(麦吉尔大学);Mila Quebec AI Institute(米拉魁北克人工智能研究所);RWTH Aachen University(亚琛工业大学);Max Planck Institute for Software Systems(马克斯·普朗克软件系统研究所)
Surrogate Modeling of 3D Rayleigh-Benard Convection with Equivariant Autoencoders
Lamarr Institute for Machine Learning and Artifical Intelligence(拉玛尔机器学习与人工智能研究所);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Department of Computer Science at Paderborn University(帕德博恩大学计算机科学系);Department of Mechanical and Aerospace Engineering Center for Statistics and Machine Learning(机械与航空航天工程系统计与机器学习中心);Princeton University(普林斯顿大学);Department of Computer Science at TU Dortmund University(杜伊斯堡-艾瑟恩理工大学计算机科学系)
FlashCart: Fast Cartesian Tensor Products for Equivariant Interatomic Potentials
INM – Leibniz Institute for New Materials(莱布尼茨新材料研究所);Saarland University(萨尔兰大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);University of Stuttgart(斯图加特大学);NEC Laboratories Europe(NEC欧洲实验室)
Enhancing Solutions for Complex PDEs: Introducing Complementary Convolution and Equivariant Attention in Fourier Neural Operators
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
On the universality of $S_n$-equivariant $k$-body gates
Courant Institute of Mathematical Sciences, New York University(纽约大学柯朗数学科学研究所);Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室);Center for Nonlinear Studies, Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室非线性研究中心);Information Sciences, Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室信息科学部)
Scale-Equivariant Generative Forecasting: Weight-Tied Dilated Convolutions, Wavelet Scattering Inputs, and Spectral-Consistency Training for Self-Similar Time Series