SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2203.17003 · ICML · 2022

Equivariant Diffusion for Molecule Generation in 3D

Max Welling, Emiel Hoogeboom, Victor Satorras, Clément Vignac

arXiv · PDF · Open in the Atlas

Code that ran

9 of 13 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2203.17003.json · badge: /api/ran/2203.17003.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
ehoogeboom/e3_diffusion_for_molecules canonical (classifier label)
classifier basis not recorded on the link
9 ran · 2 no recorded run
yuanzhi-zhu/mini_edm reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 2 no recorded run
FunctionStatusWhere it lives
compute_loss_and_nll Ran
ran; our contract draft was wrong, not the code
ehoogeboom/e3_diffusion_for_molecules/qm9/losses.py
code served (permissive licence) · get_code("4ed06d5114046b7e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) 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
import torch.nn as nn
from torch.distributions import Poisson

torch.manual_seed(0)

# Create a minimal args object
class Args:
    def __init__(self):
        self.probabilistic_model = 'diffusion'

args = Args()

# Create a minimal generative model that accepts the expected inputs
class GenerativeModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 1)
    
    def forward(self, x, h, node_mask, edge_mask, context):
        # x: (bs, n_nodes, n_dims)
        # Returns nll of shape (bs,)
        bs = x.size(0)
        return torch.randn(bs)

generative_model = GenerativeModel()

# Create nodes_dist with log_prob method
class NodesDist:
    def log_prob(self, N):
        # N is a long tensor of shape (bs,)
        return torch.randn(N.size(0))

nodes_dist = NodesDist()

# Create tensors with distinct sizes
bs = 2
n_nodes = 3
n_dims = 4

x = torch.randn(bs, n_nodes, n_dims)
h = torch.randn(bs, n_nodes, 5)
node_mask = torch.ones(bs, n_nodes, 1)
edge_mask = torch.ones(bs, n_nodes, n_nodes)
context = torch.randn(bs, 6)

ARGS = {
    'args': args,
    'generative_model': generative_model,
    'nodes_dist': nodes_dist,
    'x': x,
    'h': h,
    'node_mask': node_mask,
    'edge_mask': edge_mask,
    'context': context
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
compute_n_nodes_dict Ran
ran; our contract draft was wrong, not the code
ehoogeboom/e3_diffusion_for_molecules/analyse_geom.py
code served (permissive licence) · get_code("1b43a8d3512fffdf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. 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 numpy as np

# Create a small synthetic .npy file data
# The function expects data where:
# - Column 0: molecule ID (int)
# - Column 1: atom type (float, where 1.0 is hydrogen)
# - Other columns: not used in this function

# Create synthetic molecular data
# Format: [mol_id, atom_type, ...]
synthetic_data = np.array([
    [0, 6.0, 0.1, 0.2],  # mol 0, carbon
    [0, 6.0, 0.3, 0.4],  # mol 0, carbon
    [0, 1.0, 0.5, 0.6],  # mol 0, hydrogen (will be removed)
    [1, 6.0, 0.7, 0.8],  # mol 1, carbon
    [1, 8.0, 0.9, 1.0],  # mol 1, oxygen
    [1, 1.0, 1.1, 1.2],  # mol 1, hydrogen (will be removed)
    [2, 6.0, 1.3, 1.4],  # mol 2, carbon
    [2, 6.0, 1.5, 1.6],  # mol 2, carbon
    [2, 6.0, 1.7, 1.8],  # mol 2, carbon
], dtype=np.float32)

# Save to a temporary location that the function can load
import tempfile
import os

temp_dir = tempfile.gettempdir()
temp_file = os.path.join(temp_dir, 'test_geom_data.npy')
np.save(temp_file, synthetic_data)

ARGS = {
    'file': temp_file,
    'remove_hydrogens': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
expm1 Ran
ran; our contract draft was wrong, not the code
ehoogeboom/e3_diffusion_for_molecules/equivariant_diffusion/en_diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from CMACH508/PAFlow, is pointer only (licence: NONE) · get_code("20f9e1ac0f841569")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from CMACH508/PAFlow, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_mean Ran
ran; our contract draft was wrong, not the code
ehoogeboom/e3_diffusion_for_molecules/equivariant_diffusion/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from HaokaiHong/GOAT, is pointer only (licence: NONE) · get_code("cfb922542fc1b6d0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from HaokaiHong/GOAT, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_mean_with_mask Ran
ran; our contract draft was wrong, not the code
ehoogeboom/e3_diffusion_for_molecules/equivariant_diffusion/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from HaokaiHong/GOAT, is pointer only (licence: NONE) · get_code("324f8277ebc8ccb8")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from HaokaiHong/GOAT, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

softplus Ran
ran; our contract draft was wrong, not the code
ehoogeboom/e3_diffusion_for_molecules/equivariant_diffusion/en_diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from CMACH508/PAFlow, is pointer only (licence: NONE) · get_code("e4040c4a1803207f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from CMACH508/PAFlow, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sum_except_batch Ran
ran; our contract draft was wrong, not the code
ehoogeboom/e3_diffusion_for_molecules/equivariant_diffusion/en_diffusion.py
pointer only (licence: MIT); the stored copy get_code serves, from HaokaiHong/GOAT, is pointer only (licence: NONE) · get_code("076381011e4298d5")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from HaokaiHong/GOAT, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sum_except_batch Ran
ran; our contract draft was wrong, not the code
ehoogeboom/e3_diffusion_for_molecules/equivariant_diffusion/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from danyalrehman/autobg, is pointer only (licence: NOASSERTION) · get_code("2cee3f8f2583fd9d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from danyalrehman/autobg, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sum_except_batch Ran
ran; our contract draft was wrong, not the code
ehoogeboom/e3_diffusion_for_molecules/qm9/losses.py
code served (permissive licence) · get_code("90c529ca8e85d3db")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (2,) 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

torch.manual_seed(0)

# The function takes a tensor x, reshapes it to (batch_size, -1),
# and sums across the flattened dimension. We need a multi-dimensional tensor.
x = torch.randn(2, 4, 3)  # batch=2, other dims flattened to 12

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) 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
create_model Not yet run
unverified (harvested, no recorded run)
yuanzhi-zhu/mini_edm/train_edm.py
pointer only (licence: NONE) · get_code("8a9916b362c6d6f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanzhi-zhu/mini_edm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

edm_sampler Not yet run
unverified (harvested, no recorded run)
yuanzhi-zhu/mini_edm/train_edm.py
pointer only (licence: NONE) · get_code("3e4b3a16b7841ced")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yuanzhi-zhu/mini_edm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_args_gen Not yet run
unverified (harvested, no recorded run)
ehoogeboom/e3_diffusion_for_molecules/eval_conditional_qm9.py
code served (permissive licence) · get_code("f576c0a0e0ae29c2")
How it ran

no invocation recorded.

load_split_data Not yet run
unverified (harvested, no recorded run)
ehoogeboom/e3_diffusion_for_molecules/build_geom_dataset.py
code served (permissive licence) · get_code("edf83b952680cf55")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 11 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 11 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
sum_except_batch 6 other papers
1 dated earlier, 5 later
2105.09016 (2021-05)
E(n) Equivariant Normalizing Flows
2306.16819 (2023-06)
Graph Denoising Diffusion for Inverse Protein Folding
2308.16212 (2023-08)
RetroBridge: Modeling Retrosynthesis with Markov Bridges
and 3 more not named here
sum_except_batch 6 other papers
1 dated earlier, 5 later
2105.09016 (2021-05)
E(n) Equivariant Normalizing Flows
2305.01140 (2023-05)
Geometric Latent Diffusion Models for 3D Molecule Generation
2407.16193 (2024-07)
Test-Time Adaptation for 3D Point Clouds via Diffusion-Guided Geometric Transformation
and 3 more not named here
compute_loss_and_nll 4 other papers
4 later
2305.01140 (2023-05)
Geometric Latent Diffusion Models for 3D Molecule Generation
2410.06262 (2024-10)
SymDiff: Equivariant Diffusion via Stochastic Symmetrisation
2410.06502 (2024-10)
Chemistry-Inspired Diffusion with Non-Differentiable Guidance
and 1 more not named here
get_args_gen 4 other papers
4 later
2305.01140 (2023-05)
Geometric Latent Diffusion Models for 3D Molecule Generation
2410.06262 (2024-10)
SymDiff: Equivariant Diffusion via Stochastic Symmetrisation
2410.06502 (2024-10)
Chemistry-Inspired Diffusion with Non-Differentiable Guidance
and 1 more not named here
remove_mean 4 other papers
1 dated earlier, 3 later
2105.09016 (2021-05)
E(n) Equivariant Normalizing Flows
2405.15252 (2024-05)
Accelerating 3D Molecule Generation via Jointly Geometric Optimal Transport
2509.01486 (2025-09)
Prior-Guided Flow Matching for Target-Aware Molecule Design with Learnable Atom Number
and 1 more not named here
load_split_data 3 other papers
3 later
aaai_25639 (2023 (year only))
MDM: Molecular Diffusion Model for 3D Molecule Generation
2305.01140 (2023-05)
Geometric Latent Diffusion Models for 3D Molecule Generation
2410.06502 (2024-10)
Chemistry-Inspired Diffusion with Non-Differentiable Guidance
remove_mean_with_mask 3 other papers
3 later · 1 only as an assembly brick
2312.07168 (2023-12)
Equivariant Flow Matching with Hybrid Probability Transport for 3D Molecule Generation
2405.15252 (2024-05)
Accelerating 3D Molecule Generation via Jointly Geometric Optimal Transport
2509.01486 (2025-09)
Prior-Guided Flow Matching for Target-Aware Molecule Design with Learnable Atom Number
sum_except_batch 3 other papers
1 dated earlier, 2 later
2105.09016 (2021-05)
E(n) Equivariant Normalizing Flows
2405.15252 (2024-05)
Accelerating 3D Molecule Generation via Jointly Geometric Optimal Transport
2509.01486 (2025-09)
Prior-Guided Flow Matching for Target-Aware Molecule Design with Learnable Atom Number
compute_n_nodes_dict 2 other papers
2 later
2410.06262 (2024-10)
SymDiff: Equivariant Diffusion via Stochastic Symmetrisation
2503.02918 (2025-03)
Straight-Line Diffusion Model for Efficient 3D Molecular Generation
expm1 1 other paper
1 later
2509.01486 (2025-09)
Prior-Guided Flow Matching for Target-Aware Molecule Design with Learnable Atom Number
softplus 1 other paper
1 later
2509.01486 (2025-09)
Prior-Guided Flow Matching for Target-Aware Molecule Design with Learnable Atom Number

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

Repositories linked to this paper

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

Abstract

This work introduces a diffusion model for molecule generation in 3D that is equivariant to Euclidean transformations. Our E(3) Equivariant Diffusion Model (EDM) learns to denoise a diffusion process with an equivariant network that jointly operates on both continuous (atom coordinates) and categorical features (atom types). In addition, we provide a probabilistic analysis which admits likelihood computation of molecules using our model. Experimentally, the proposed method significantly outperforms previous 3D molecular generative methods regarding the quality of generated samples and efficiency at training time.

For agents

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

get_harvested_code_for_paper("2203.17003")
get_code_for_paper("2203.17003")
have("2203.17003")

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

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

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

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

Connect an agent — have() is free.