SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.11990 · 2022

Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2206.11990.json · badge: /api/ran/2206.11990.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
atomicarchitects/equiformer canonical (classifier label)
classifier basis: classifier_2025
1 ran · 1 no recorded run
lucidrains/equiformer-pytorch reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
get_mul_0 Ran
ran, honoured the contract we drafted
atomicarchitects/equiformer/nets/graph_attention_transformer.py
code served (permissive licence) · get_code("fd4284f5532a264d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

# The function expects an iterable of (mul, ir) tuples
# where ir has attributes .l and .p
# mul is an integer (multiplicity)
# ir.l is an integer (angular momentum quantum number)
# ir.p is an integer (parity, typically +1 or -1)

class Irrep:
    def __init__(self, l, p):
        self.l = l
        self.p = p

# Create a list of (mul, ir) tuples
# Include some with l=0 and p=1 to test the function
irreps = [
    (2, Irrep(l=0, p=1)),   # Should contribute 2
    (3, Irrep(l=1, p=1)),   # Should not contribute (l != 0)
    (5, Irrep(l=0, p=-1)),  # Should not contribute (p != 1)
    (4, Irrep(l=0, p=1)),   # Should contribute 4
    (1, Irrep(l=2, p=1)),   # Should not contribute (l != 0)
]

ARGS = {'irreps': irreps}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pack_one Ran
ran; our contract draft was wrong, not the code
lucidrains/equiformer-pytorch/equiformer_pytorch/equiformer_pytorch.py
code served (permissive licence) · get_code("122e87ee0b05894f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from einops import pack

torch.manual_seed(0)

# Create a small tensor for the pack_one function
# pack_one wraps a single tensor in a list and calls pack
# pack takes a list of tensors and a pattern string
# The pattern describes how to pack the tensor(s)

# Create a simple 2D tensor
t = torch.randn(2, 4)

# Pattern for pack - typically something like "* d" where * means pack all leading dims
# and d is kept separate, or "h w c" -> "h w c" for identity, etc.
# A common pattern is to pack spatial dimensions: "b c h w -> b c (h w)"
# But since we have a 2D tensor, let's use a simple pattern like "* d"
pattern = "* d"

ARGS = {
    "t": t,
    "pattern": pattern
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
unpack_one Ran
ran; our contract draft was wrong, not the code
lucidrains/equiformer-pytorch/equiformer_pytorch/equiformer_pytorch.py
code served (permissive licence) · get_code("b8149022c0d28e97")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from einops import pack, unpack

torch.manual_seed(0)

# First, we need to understand what unpack expects:
# unpack(t, ps, pattern) unpacks a tensor that was previously packed
# t: the packed tensor
# ps: packed shapes (list of tuples/shapes returned by pack)
# pattern: the pattern string used for unpacking

# Let's create a scenario where we pack some tensors first, then unpack
# Pack example: pack([x, y], pattern) returns (packed_tensor, packed_shapes)

# Create some small tensors to pack
x = torch.randn(2, 4)  # shape (2, 4)
y = torch.randn(2, 3)  # shape (2, 3)

# Pack them along a dimension
packed_result, ps = pack([x, y], 'b *')

# Now we have:
# - packed_result: the packed tensor
# - ps: the packed shapes list that we need for unpacking

# For unpack_one, we need:
# t: the packed tensor
# ps: the packed shapes
# pattern: the unpacking pattern

t = packed_result
pattern = 'b *'

ARGS = {
    't': t,
    'ps': ps,
    'pattern': pattern
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_norm_layer Not yet run
unverified (harvested, no recorded run)
atomicarchitects/equiformer/nets/graph_attention_transformer.py
code served (permissive licence) · get_code("22ae6ca5b382e2d0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
pack_one 16 other papers
2 dated earlier, 14 later · 4 only as an assembly brick
2203.07852 (2022-03)
Block-Recurrent Transformers
2205.14135 (2022-05)
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
2302.01327 (2023-02)
Dual PatchNorm
and 13 more not named here
unpack_one 11 other papers
2 dated earlier, 9 later · 4 only as an assembly brick
2203.07852 (2022-03)
Block-Recurrent Transformers
2205.14135 (2022-05)
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
2302.03655 (2023-02)
Reducing SO(3) Convolutions to SO(2) for Efficient Equivariant GNNs
and 8 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2206.11990")
get_code_for_paper("2206.11990")
have("2206.11990")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2206.11990.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2206.11990.svg)](https://syntology.ai/paper/2206.11990)

Connect an agent — have() is free.