FlashCart: Fast Cartesian Tensor Products for Equivariant Interatomic Potentials
Organizations: INM – Leibniz Institute for New Materials · Saarland University · German Research Center for Artificial Intelligence (DFKI) · University of Stuttgart · NEC Laboratories Europe
Abstract
Machine-learned interatomic potentials extend atomistic simulations beyond the length- and timescales accessible to electronic-structure methods. However, the computational cost of equivariant architectures limits the local correlations they can represent in practice and therefore their achievable accuracy. Here we introduce FlashCart, which makes higher-order correlations affordable by combining generated GPU kernels with an architecture that recursively builds equivariant features and compresses them to a fixed width at each step. We express tensor products in independent Cartesian components and symbolically simplify them and their derivatives, producing fused kernels that often outperform optimized spherical counterparts. We then show that increasing correlation order improves accuracy more efficiently than increasing width, depth, or tensor rank. On SPICE-MACE-OFF, FlashCart models advance the measured accuracy-efficiency frontier: a model with million parameters achieves lower energy and force errors and faster inference than a transformer with million parameters.
Figures & tables
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Cartesian | Spherical | |||
|---|---|---|---|---|
| Maximum rank | Couplings | Full | Independent | Sparse CG |
| 3 | 15 | 1,299 | 615 | 609 |
| 4 | 27 | 13,802 | 2,774 | 2,141 |
| 5 | 42 | 79,128 | 7,505 | 4,951 |
| Configuration | Product | |||||
| Models shown in Figures 4 and G1 | ||||||
| Default values | 2 | 2 | 64 | 1 | 3 | Ladder |
| Explored values | – | – | – | – | Ladder | |
| Models shown in Figure 1 and Table G1 | ||||||
| FlashCart-69k | 2 | 3 | 20 | 2 | 3 | Reduced |
| FlashCart-0.5M | 3 | 5 | 32 | 2 | 3 | Ladder |
| Hyperparameter | Figures 4 and G1 | Figure 1 and Table G1 | Tables 1 and G2 |
|---|---|---|---|
| Cutoff radius | 6.0 | 6.0 | 5.0 |
| Maximum epochs | 150 | 400 | 400 |
| Warmup epochs | 20 | 20 | 20 |
| Cosine-decay epochs | 130 | 380 | 380 |
| Target batch size | 128 | 128 | 192 |
| Number of random seeds | 3 | 3 | 3 |
| Model | Params. | PubChem | DES Mon. | DES Dim. | Dipept. | Solv. AA | Water | QMugs | Mean | NE | s/atom | MiB/atom | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MACE-OFF23-S [ 31 ] | E | 694k | 1.41 | 1.04 | 0.98 | 0.84 | 1.60 | 1.67 | 1.03 | 1.224 | 1.000 | 3.6 | 0.83 | ||||||||
| F | 35.68 | 17.63 | 16.31 | 25.07 | 38.56 | 28.53 | 41.45 | 29.03 | |||||||||||||
| MACE-OFF23-M [ 31 ] | E | 1.4M | 0.91 | 0.63 | 0.58 | 0.52 | 1.21 | 0.76 | 0.69 | 0.757 | 0.593 | 6.7 | 1.48 | ||||||||
| F | 20.57 | 9.36 | 9.02 | 14.27 | 23.26 | 15.27 | 23.58 | 16.48 | |||||||||||||
| MACE-OFF23-L [ 31 ] | E | 4.7M | 0.88 | 0.59 | 0.54 | 0.42 | 0.98 | 0.83 | 0.45 | 0.670 | 0.490 | 14.9 | 3.79 | ||||||||
| F | 14.75 | 6.58 | 6.62 | 10.19 | 19.43 | 13.57 | 16.93 | 12.58 | |||||||||||||
| Subset | FlashCart | PET-MAD | ||
|---|---|---|---|---|
| MC2D | 12.56 0.30 | 57.2 1.2 | 15.54 | 72.7 |
| MC3D | 7.02 0.07 | 35.1 0.4 | 9.74 | 46.3 |
| MC3D Clusters | 28.41 0.54 | 127.6 1.0 | 43.06 | 148.3 |
| MC3D Random | 68.09 0.71 | 316.2 2.0 | 63.87 | 249.6 |
| MC3D Rattled | 10.04 0.20 | 142.2 1.1 | 11.73 | 140.3 |
| MC3D Surfaces | 10.58 0.07 | 88.7 1.0 | 13.61 | 102.6 |