[Paper Review] Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs
Equiformer is an SE(3)/E(3)-equivariant graph transformer that integrates irreducible representations and an equivariant graph attention mechanism to predict quantum properties on 3D atomistic graphs with competitive accuracy and improved efficiency.
Despite their widespread success in various domains, Transformer networks have yet to perform well across datasets in the domain of 3D atomistic graphs such as molecules even when 3D-related inductive biases like translational invariance and rotational equivariance are considered. In this paper, we demonstrate that Transformers can generalize well to 3D atomistic graphs and present Equiformer, a graph neural network leveraging the strength of Transformer architectures and incorporating SE(3)/E(3)-equivariant features based on irreducible representations (irreps). First, we propose a simple and effective architecture by only replacing original operations in Transformers with their equivariant counterparts and including tensor products. Using equivariant operations enables encoding equivariant information in channels of irreps features without complicating graph structures. With minimal modifications to Transformers, this architecture has already achieved strong empirical results. Second, we propose a novel attention mechanism called equivariant graph attention, which improves upon typical attention in Transformers through replacing dot product attention with multi-layer perceptron attention and including non-linear message passing. With these two innovations, Equiformer achieves competitive results to previous models on QM9, MD17 and OC20 datasets.
Motivation & Objective
- Motivate and enable Transformers to generalize to 3D atomistic graphs by incorporating 3D geometric inductive biases.
- Develop Equiformer by replacing Transformer operations with equivariant counterparts and adding tensor products.
- Introduce an equivariant graph attention mechanism to combine content and geometric information.
- Evaluate on QM9, MD17, and OC20 to demonstrate competitive performance against state-of-the-art models.
Proposed method
- Replace Transformer components with SE(3)/E(3)-equivariant operations including tensor products on irreps features.
- Use depth-wise tensor products to efficiently couple type-L vectors and control parameter growth.
- Adopt a novel equivariant graph attention that uses MLPL attention on scalar (type-0) features and non-linear message passing on higher-order features.
- Embed inputs with atom and edge-degree embeddings and incorporate radial basis and radial function for distance-conditioned weights.
- Apply a gate-based nonlinear activation to non-scalar irreps to preserve equivariance, and use a depth-wise approach to manage computational complexity.
Experimental results
Research questions
- RQ1Can Transformers generalize effectively to 3D atomistic graphs when equipped with SE(3)/E(3)-equivariant features?
- RQ2Is the proposed equivariant graph attention more effective than standard dot-product attention for 3D graphs?
- RQ3Do minimal modifications to Transformers with equivariant operations match or surpass prior SE(3)/E(3)-equivariant architectures on QM9, MD17, and OC20?
- RQ4What are the trade-offs in training time and scalability when using higher-order irreps (Lmax) in Equiformer?
Key findings
- Equiformer with Lmax=2-3 achieves competitive results across QM9, MD17, and OC20 datasets compared to prior models.
- On QM9, Equiformer shows overall better results across 12 regression tasks than several baselines including NequIP and TorchMD-NET.
- On MD17, Equiformer with higher Lmax achieves improved energy and force MAEs across multiple molecules versus alternatives like TorchMD-NET and NequIP.
- On OC20, Equiformer improves IS2RE performance over state-of-the-art SEGNN and Graphormer when trained with IS2RE data, and can reduce training time by 2.3x to 15.5x compared to prior models.
- Equiformer’s equivariant graph attention (MLP-based attention with non-linear messages) is more expressive than dot-product attention and enhances performance of equivariant Transformers.
- Increasing Lmax generally improves results on OC20 and MD17 but may cause overfitting on some cases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.