Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs

Yi-Lun Liao, Tess Smidt
6/23/2022
471 citations
cs.LGcs.AIphysics.comp-ph
transformer-attention

Official code: atomicarchitects/equiformer (292 stars, Python, MIT, PyTorch, last commit 2025-02-11).

Abstract

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).

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

[ICLR 2023 Spotlight] Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs

29256Python, ShellFeb 28, 20231 years agoMIT
ai-for-sciencecatalyst-designcomputational-chemistrydeep-learningdrug-discovery+12 more

Similar Papers

Cite this paper

@article{liao2022equiformer,
  title  = {Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs},
  author = {Yi-Lun Liao and Tess Smidt},
  year   = {2022},
  eprint = {2206.11990},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.11990}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.11990.svg)](https://codeofpaper.com/paper/2206.11990)

Discussion