Deconstructing equivariant representations in molecular systems

Kin Long Kelvin Lee, Mikhail Galkin, Santiago Miret · DOI

Introduction

Equivariant Neural Networks (ENNs) are the current state-of-the-art for predicting molecular properties and simulating materials. They are powerful because they respect the laws of physics: if you rotate a molecule, the model’s internal representation rotates accordingly (equivariance), while its predicted energy remains the same (invariance). To achieve this, ENNs use a mathematical framework involving spherical harmonics and tensor products, organized by "orders" ($l$). Traditionally, researchers use a contiguous set of orders (e.g., $l=0, 1, 2, 3$). However, this study asks whether we are wasting computation on "junk" representations and if the model actually utilizes the high-order geometric information provided.

Methodology

The authors developed a simplified equivariant graph convolution model and introduced novel analysis tools to probe these representations. Key among these are EquiTriton Kernels, which allow for the decoupled selection of specific spherical harmonic orders without requiring a contiguous range. To visualize the high-dimensional molecular embeddings, they utilized PHATE (Potential of Heat-diffusion for Affinity-based Trajectory Embedding) and the NSPS Metric (Normalized Spacial Score) to color-code visualizations based on chemical complexity.

Key Results and Performance

The study's most striking finding is that for scalar tasks like energy prediction, models often treat intermediate orders ($l=1, 2, 3$) as noise. By "pruning" these unused intermediate representations and focusing on specific higher-order symmetries, the researchers achieved a significant accuracy boost.

Extracted table from page 3 of Deconstructing equivariant representations in molecular systems

As shown in the table above, the canonical model using $L=[0, 1, 2]$ achieved a test error of 0.12 eV. By skipping the intermediate noise and utilizing $L=[0, 3, 4, 5, 6]$, the error dropped to 0.01 eV—a 10x improvement. This suggests a "Matched Filter" hypothesis, where certain higher-order symmetries act like filters that resonate with specific molecular motifs, such as aromatic rings or branched chains.

Visualizing the Latent Map

PHATE projections revealed that when $l=1$ and $l=2$ were omitted, the higher-order representations ($l=4, 5$) gained significant structure. In the contiguous model, these channels appeared amorphous; however, in the pruned model, they showed clear branches corresponding to specific chemical features like oxygen-bearing species or fluorination.

Figure 1: PHATE embeddings for different order sets. (a) shows the embeddings for a contiguous set, while (b) shows the structured embeddings produced by the pruned set.

Conclusion

This research demonstrates that the choice of which symmetries to include in an ENN should be treated as a hyperparameter to be tuned rather than a fixed physical requirement. By removing the "noise" from unused intermediate orders, models can achieve better performance and more meaningful latent representations of chemical space. Future work will explore if these findings generalize to vector-prediction tasks (like forces) where intermediate orders may be more essential.

Summary updated

BibTeX
@misc{lee2024deconstructing,
  author = {Kin Long Kelvin Lee and Mikhail Galkin and Santiago Miret},
  title = {{Deconstructing equivariant representations in molecular systems}},
  year = {2024},
  eprint = {2410.08131},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.08131},
}
Figure