Skip to main content
QUICK REVIEW

[Paper Review] Spatial Attention Kinetic Networks with E(n)-Equivariance

Yuanqing Wang, John D. Chodera|arXiv (Cornell University)|Jan 21, 2023
Machine Learning in Materials ScienceMaterials Science11 citations
TL;DR

SAKE introduces a simple spatial attention form that is E(n)-invariant/equivariant and uses it to build a fast, accurate SAKE model for invariant and equivariant tasks in many-body systems, outperforming several baselines while being significantly faster.

ABSTRACT

Neural networks that are equivariant to rotations, translations, reflections, and permutations on n-dimensional geometric space have shown promise in physical modeling for tasks such as accurately but inexpensively modeling complex potential energy surfaces to guiding the sampling of complex dynamical systems or forecasting their time evolution. Current state-of-the-art methods employ spherical harmonics to encode higher-order interactions among particles, which are computationally expensive. In this paper, we propose a simple alternative functional form that uses neurally parametrized linear combinations of edge vectors to achieve equivariance while still universally approximating node environments. Incorporating this insight, we design spatial attention kinetic networks with E(n)-equivariance, or SAKE, which are competitive in many-body system modeling tasks while being significantly faster.

Motivation & Objective

  • Motivate the need for incorporating geometry-aware inductive biases in neural models for physical systems.
  • Propose a simple, neurally parameterized spatial attention mechanism that achieves E(n)-invariance/equivariance.
  • Develop the SAKE architecture that leverages spatial attention for velocity and position updates in n-body dynamics.
  • Demonstrate competitive performance and improved speed on invariant (potential energy) and equivariant (dynamics) tasks across standard benchmarks.

Proposed method

  • Define spatial attention as a function that aggregates neurally parameterized linear combinations of edge vectors and takes their norms to form invariant descriptors.
  • Use a multi-head-like setup with functions lambda_i on edge embeddings and an equivariant f on edge vectors, followed by a mu that processes concatenated norms.
  • Encode pairwise interactions with a SchNet-style edge embedding that combines node embeddings and distance information via radial basis functions.
  • Incorporate a fictitious velocity update and Euler-like position update to create an almost Hamiltonian integrator, ensuring E(n)-equivariance of the dynamics.
  • Include semantic and distance cutoff-based attention to promote anisotropy in interactions.
  • Provide an ablation-anchored justification showing spatial attention as the principal contributor to performance.

Experimental results

Research questions

  • RQ1Can a simple neurally parameterized spatial attention mechanism achieve E(n)-invariance/equivariance for local node environments?
  • RQ2How does SAKE perform on invariant tasks (e.g., potential energy prediction) and equivariant tasks (e.g., dynamical forecasting) compared to state-of-the-art models in terms of accuracy and speed?
  • RQ3What is the impact of spatial attention, semantic attention, and velocity/position updates on model performance?

Key findings

  • SAKE achieves competitive or superior performance on invariant and equivariant tasks across MD17, ISO17, QM9, and synthetic N-body dynamical benchmarks.
  • SAKE generally requires significantly less training and inference time than several state-of-the-art equivariant models.
  • Ablation studies show spatial attention contributes to improved energy and force predictions, with additional components providing further gains.
  • SAKE demonstrates strong extrapolation to unseen chemical spaces (ISO17 unknown molecules) and favorable trajectory forecasting results.
  • Compared to methods using spherical harmonics, SAKE offers a faster alternative with competitive accuracy for a range of tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.