SE(3)-Transformers

The paper builds self-attention for 3D point clouds and graphs while preserving equivariance to rotations and translations.

Metadata

FieldValue
PaperSE(3)-Transformers: 3D Roto-Translation Equivariant Attention Networks
AuthorsFabian B. Fuchs, Daniel E. Worrall, Volker Fischer, Max Welling
Year2020
VenueNeurIPS 2020
arXiv2006.10503
ProceedingsNeurIPS 2020 paper
Official implementationFabianFuchsML/se3-transformer-public
Statusfull note started

One-Line Takeaway

SE(3)-Transformer adapts self-attention to 3D point clouds and graphs by making attention weights invariant and value features equivariant, so the layer respects rotations and translations by construction.

Question

Self-attention is flexible:

But ordinary attention does not know that a 3D structure can be rotated or translated without changing its physical identity.

For points:

a global rigid transform is:

where:

For scalar outputs such as class labels or molecular properties, the prediction should be invariant:

For vector or geometric features, the output should rotate with the input:

The paper asks:

Can self-attention operate on 3D points and graphs while guaranteeing SE(3) equivariance?

Main Claim

SE(3)-Transformer decomposes attention into:

  1. invariant attention weights;
  2. equivariant value features.

If attention weights are invariant:

and values are equivariant:

then the weighted sum is equivariant:

Here is the representation that describes how a feature type transforms under rotation.

The architecture therefore keeps the useful data-dependent weighting of attention while respecting the geometry of 3D inputs.

Architecture Contract

ComponentRoleSymmetry Requirement
node coordinates 3D positionstransform as vectors under
node featuresscalar/vector/tensor featurestransform by representation type
attention logitspairwise relevanceinvariant to global pose
attention weightsnormalized relevanceinvariant
value featuresmessage contentequivariant
output featuresupdated node representationequivariant
pooling/readoutgraph-level predictioninvariant when needed

The layer maps a geometric graph to another geometric graph:

where coordinates define geometry and features transform according to their representation type.

SE(3) Equivariance

is the group of 3D rotations and translations:

Translation equivariance is handled by using relative coordinates:

Under translation:

Under rotation:

So relative geometry is the correct object for local message passing.

Feature Types

Equivariant models often organize features by type. A type- feature transforms according to an irreducible representation of :

Examples:

TypeInformal MeaningTransform Behavior
scalarunchanged by rotation
vectorrotates like a 3D vector
higher-order tensor-like featuretransforms by higher-order representation

Scalar features can represent:

  • atom type;
  • residue type;
  • charge category;
  • invariant learned hidden channels.

Vector or higher-order features can represent directional information:

  • orientation;
  • force-like signals;
  • geometric gradients;
  • local frames.

This is more expressive than scalar-only hidden features, but it is also more complex than models such as EGNN.

Invariant Attention Weights

Attention weights should not change if the whole structure is rotated or translated.

For node pair , the attention logit can depend on invariant quantities such as:

and scalar node features:

Then:

The attention weight:

is also invariant:

The key idea is that attention decides “how much” using invariant scores.

Equivariant Values

The values must carry geometric information in a way that transforms correctly.

A value feature for edge can be constructed using equivariant kernels:

The kernel must satisfy an equivariance constraint:

Then:

The output message:

is equivariant because invariant weights multiply equivariant values.

Tensor Field Network Backbone

SE(3)-Transformer builds on Tensor Field Networks. The core idea is to construct filters using spherical harmonics and radial functions:

where:

  • is a learnable radial profile;
  • is a spherical harmonic component;
  • is direction.

This gives filters that transform correctly under rotations.

The SE(3)-Transformer contribution is to combine this equivariant filtering with self-attention-style data-dependent weighting.

Attention Layer Sketch

For each node :

  1. compute invariant attention logits over neighbors;
  2. normalize them with softmax;
  3. compute equivariant value messages;
  4. sum weighted value messages;
  5. apply equivariant nonlinearities or normalization.

In compact form:

where:

and is designed to be invariant.

This resembles graph attention:

but the message is equivariant rather than an unconstrained vector.

Why This Is Not Ordinary Graph Attention

GAT computes learned attention over graph neighborhoods:

This is permutation-aware, but not SE(3)-equivariant. If node features include coordinates, a vanilla GAT does not guarantee correct behavior under 3D rotation.

SE(3)-Transformer changes the message:

and constrains the attention weights:

The result is graph attention with a geometric contract.

Comparison to EGNN

| Property | EGNN | SE(3)-Transformer | | --- | --- | --- | | Symmetry group | | | | Reflection behavior | equivariant to reflections | rotation/translation equivariant | | Hidden features | mostly scalar features plus coordinates | scalar/vector/higher-order features | | Directional expressivity | through coordinate updates | through equivariant feature types and kernels | | Mathematical machinery | distances and relative vectors | spherical harmonics, tensor products, representations | | Implementation complexity | lower | higher | | Attention | not central | core mechanism | | Good baseline role | simple equivariant GNN | expressive equivariant attention model |

EGNN is easier to implement and often a strong first baseline. SE(3)-Transformer is a better reference when a paper claims equivariant attention, tensor features, or SE(3)-equivariant message passing.

Comparison to Tensor Field Networks

PropertyTensor Field NetworkSE(3)-Transformer
Equivariant kernelsyesyes
Data-dependent attentionnot centralcentral
Message weightingconvolution/filter styleself-attention style
Input typepoint clouds/geometric graphspoint clouds/geometric graphs
Main contributionequivariant tensor field layersattention under SE(3) equivariance

The paper can be read as bringing Transformer-style attention to the Tensor Field Network setting.

Comparison to Invariant Models

Invariant models may use only distances:

This is enough for scalar property prediction in some settings, but it can discard directional signals needed for:

  • vector fields;
  • coordinate updates;
  • force prediction;
  • local orientation;
  • geometric generation;
  • interaction geometry.

SE(3)-Transformer preserves directional information through equivariant feature channels.

Evidence Reading

The paper evaluates the model on synthetic dynamics, point cloud classification, and molecular property prediction. The key evidence is that imposing SE(3) equivariance improves robustness and performance relative to non-equivariant attention baselines and equivariant non-attention baselines in those settings.

ClaimEvidence TypeWhat It SupportsCaveat
Attention can be made SE(3)-equivariantarchitecture construction and proofsymmetry can be exact by designimplementation must preserve representation rules
Equivariance improves robustnessrotated-input experimentspredictions behave predictably under pose changestask must actually respect the symmetry
Attention improves equivariant modelscomparison to equivariant non-attention baselinesdata-dependent neighbor weighting helpscompute cost is higher
Model applies to moleculesQM9-style evaluation3D molecular graphs benefit from equivariant attentionbenchmark is limited and conformer assumptions matter

Benchmark Card

FieldValue
Main task family3D point cloud and graph learning
Input unitnodes with 3D coordinates and features
Output unitinvariant labels/properties or equivariant features
Symmetry equivariance
Core mechanisminvariant attention weights plus equivariant value embeddings
Mathematical toolsspherical harmonics, representation types, tensor field kernels
Main comparisonnon-equivariant attention and equivariant non-attention models
Key riskcomplexity, runtime, and implementation correctness

Molecular and Structural Modeling Reading

SE(3)-Transformer is highly relevant for molecular and protein structure modeling because it directly targets 3D geometric graphs.

Useful settings:

  • molecular property prediction from 3D conformers;
  • atomistic force or vector-field prediction;
  • protein residue or atom graphs;
  • protein-ligand interaction graphs;
  • geometric refinement;
  • equivariant generative models;
  • architectures that need orientation-sensitive hidden features.

However, the architecture is not a full biochemical model by itself. It still needs:

  • chemically meaningful graph construction;
  • atom/residue features;
  • bond and contact representation;
  • conformer quality control;
  • stereochemistry handling;
  • leakage-safe splits;
  • appropriate losses for scalar/vector/coordinate targets.

For this wiki, SE(3)-Transformer is the reference point for expressive equivariant attention.

Chirality and Reflection

SE(3) covers rotations and translations, not reflections. This differs from EGNN’s framing.

For chiral molecules, reflection behavior matters. If a model is reflection-invariant or reflection-equivariant in the wrong way, it may fail to distinguish enantiomers.

SE(3)-equivariant architectures can preserve orientation-sensitive information more naturally than fully -equivariant scalar-only models, but the actual behavior depends on feature types and input representation.

Complexity and Engineering Cost

SE(3)-Transformer is mathematically elegant but heavier than scalar GNNs.

Costs include:

  • managing multiple feature types;
  • spherical harmonic computation;
  • tensor products or equivariant kernels;
  • neighborhood graph construction;
  • memory overhead for high-order channels;
  • specialized normalization/nonlinearity choices;
  • implementation correctness checks.

The architecture should be used when the task benefits from expressive equivariant features, not just because the input has coordinates.

Implementation Notes

Equivariance Tests

A minimal test should compare:

against:

for equivariant outputs, or:

against:

for invariant outputs.

The error:

should be small up to numerical tolerance.

Feature Type Bookkeeping

Every feature channel must have a type. Mixing scalar and vector channels as if they were ordinary hidden dimensions breaks equivariance.

Graph Construction

The layer usually operates on a local graph:

Graph choices include:

  • radius graph;
  • k-nearest neighbors;
  • molecular bond graph;
  • residue contact graph;
  • fully connected graph for small molecules.

Graph construction must be invariant to global rotation/translation.

Readout

For graph-level scalar prediction, the final readout must be invariant. A common pattern:

For vector outputs, the readout must preserve equivariance.

Failure Modes

Broken Equivariance Through Features

If non-equivariant positional features or coordinate-frame-specific features are added, the symmetry guarantee can break.

Incorrect Tensor Type Handling

Treating higher-order representation channels as ordinary scalar channels destroys the transformation contract.

Overkill for Scalar Tasks

Some scalar molecular property tasks may be solved well by simpler invariant or EGNN-style models. SE(3)-Transformer may add unnecessary cost.

Benchmark Leakage

Equivariance does not protect against split leakage, conformer leakage, scaffold leakage, or homolog leakage.

Chirality Misinterpretation

The symmetry group and feature design must match whether mirror structures should be considered equivalent.

Common Misreadings

”SE(3)-Transformer is just a Transformer on 3D points.”

No. The important part is not only attention; it is constrained attention where weights are invariant and values are equivariant.

”Equivariance means the model is physically correct.”

No. Equivariance encodes a symmetry. Physical correctness can also require conservation laws, force-field structure, energy consistency, and valid chemistry.

”All 3D tasks need SE(3)-Transformer.”

No. Many tasks can use simpler invariant models or EGNN-like layers. SE(3)-Transformer is most justified when directional equivariant features matter.

”SE(3) and E(3) are interchangeable.”

No. excludes reflections; includes them. This distinction matters for chirality and orientation-sensitive chemistry.

Later-Paper Checklist

When reading later equivariant attention or geometric Transformer papers, ask:

  • What symmetry group is guaranteed?
  • Are attention weights invariant?
  • Are value features equivariant?
  • Which feature types are used?
  • Are spherical harmonics, tensor products, or frames involved?
  • Is the graph construction symmetry-preserving?
  • Is equivariance tested numerically?
  • Does the task need vector/tensor features or only scalar invariance?
  • How does it compare to EGNN and simpler invariant baselines?
  • Are runtime and memory costs reported?
  • Are molecular splits and conformer pipelines leakage-safe?

Why It Matters

SE(3)-Transformer is a key architecture paper because it established attention as a viable operation for 3D equivariant graph learning.

Its lasting pattern is:

That idea appears in many later protein, molecule, point-cloud, and geometric generative models.

Limitations

  • More complex than scalar GNNs or EGNN.
  • Runtime and memory can be significant.
  • Correct implementation requires representation-aware operations.
  • It does not solve graph construction, conformer uncertainty, or chemical validity.
  • SE(3) symmetry excludes reflections, which can be either good or bad depending on the task.
  • Benchmark improvements must be separated from data, feature, and compute differences.

Connections