SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2209.11807 · NeurIPS · 2022

Periodic Graph Transformers for Crystal Material Property Prediction

Shuiwang Ji, Keqiang Yan, Yi Liu, Yuchao Lin

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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; 2 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 3 failures of our instrument; 3 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/2209.11807.json · badge: /api/ran/2209.11807.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
YKQ98/Matformer canonical (classifier label)
classifier basis not recorded on the link
6 ran · 3 no recorded run
FunctionStatusWhere it lives
Jn Ran
ran, honoured the contract we drafted
YKQ98/Matformer/matformer/features.py
pointer only (licence: MIT); the stored copy get_code serves, from divelab/graphbp, is pointer only (licence: GPL-3.0) · get_code("4390133ddddf910d")
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 divelab/graphbp, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

Jn_zeros Ran
ran, honoured the contract we drafted
YKQ98/Matformer/matformer/features.py
pointer only (licence: MIT); the stored copy get_code serves, from divelab/graphbp, is pointer only (licence: GPL-3.0) · get_code("5a3e9439dc4d5004")
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 divelab/graphbp, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

batch_norm Ran
ran on a synthesized input
YKQ98/Matformer/matformer/models/bn_utils.py
code served (permissive licence) · get_code("0c77118a38ced667")
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

torch.manual_seed(0)

# Create small tensors with distinct dimensions
batch_size = 2
feature_dim = 4

X = torch.randn(batch_size, feature_dim)
weight = torch.ones(feature_dim)
bias = torch.zeros(feature_dim)
running_mean = torch.zeros(1, feature_dim)
running_var = torch.ones(1, feature_dim)
training = True
momentum = 0.9
eps = 1e-5
mask = torch.ones(batch_size, feature_dim)

ARGS = {
    "X": X,
    "weight": weight,
    "bias": bias,
    "running_mean": running_mean,
    "running_var": running_var,
    "training": training,
    "momentum": momentum,
    "eps": eps,
    "mask": mask,
}
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
canonize_edge Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
YKQ98/Matformer/matformer/graphs.py
code served (permissive licence) · get_code("d1b2a74a34974ac6")
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 numpy as np

ARGS = {
    "src_id": 1,
    "dst_id": 3,
    "src_image": (0, 0, 0),
    "dst_image": (1, 2, 3),
}
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 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
mean_absolute_deviation Ran
ran; our contract draft was wrong, not the code
YKQ98/Matformer/matformer/data.py
code served (permissive licence) · get_code("e6eadb1b107cf34d")
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 float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 sample data for the mean_absolute_deviation function
data = np.array([[1.0, 2.0, 3.0, 4.0],
                 [5.0, 6.0, 7.0, 8.0]])

ARGS = {
    "data": data,
    "axis": None
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
spherical_bessel_formulas Ran
ran; our contract draft was wrong, not the code
YKQ98/Matformer/matformer/features.py
code served (permissive licence) · get_code("57df77fb25e58be3")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 sympy as sym

def spherical_bessel_formulas(n):
    x = sym.symbols('x')
    f = [sym.sin(x) / x]
    a = sym.sin(x) / x
    for i in range(1, n):
        b = sym.diff(a, x) / x
        f += [sym.simplify(b * (-x) ** i)]
        a = sym.simplify(b)
    return f

ARGS = {
    'n': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sympy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
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
nearest_neighbor_edges_submit Not yet run
unverified (harvested, no recorded run)
YKQ98/Matformer/matformer/graphs.py
code served (permissive licence) · get_code("953608cf2f2b8f8a")
How it ran

no invocation recorded.

pair_nearest_neighbor_edges Not yet run
unverified (harvested, no recorded run)
YKQ98/Matformer/matformer/graphs.py
code served (permissive licence) · get_code("97978a877ea59281")
How it ran

no invocation recorded.

plot_learning_curve Not yet run
unverified (harvested, no recorded run)
YKQ98/Matformer/matformer/utils.py
code served (permissive licence) · get_code("a9939ef4d5714e20")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 6 later) and 3 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
Jn_zeros 8 other papers
3 dated earlier, 5 later
2003.03123 (2020-03)
Directional Message Passing for Molecular Graphs
2204.09410 (2022-04)
Generating 3D Molecules for Target Protein Binding
2208.10330 (2022-08)
Deep Coarse-grained Potentials via Relative Entropy Minimization
and 5 more not named here
Jn 7 other papers
3 dated earlier, 4 later
2003.03123 (2020-03)
Directional Message Passing for Molecular Graphs
2204.09410 (2022-04)
Generating 3D Molecules for Target Protein Binding
2208.10330 (2022-08)
Deep Coarse-grained Potentials via Relative Entropy Minimization
and 4 more not named here
spherical_bessel_formulas 5 other papers
3 dated earlier, 2 later
2003.03123 (2020-03)
Directional Message Passing for Molecular Graphs
2204.09410 (2022-04)
Generating 3D Molecules for Target Protein Binding
2208.10330 (2022-08)
Deep Coarse-grained Potentials via Relative Entropy Minimization
and 2 more not named here
canonize_edge 1 other paper
1 later
2307.05390 (2023-07)
CrysMMNet: Multimodal Representation for Crystal Property Prediction
mean_absolute_deviation 1 other paper
1 later
2307.05390 (2023-07)
CrysMMNet: Multimodal Representation for Crystal Property Prediction
plot_learning_curve 1 other paper
1 later
2307.05390 (2023-07)
CrysMMNet: Multimodal Representation for Crystal Property Prediction

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

We consider representation learning on periodic graphs encoding crystal materials. Different from regular graphs, periodic graphs consist of a minimum unit cell repeating itself on a regular lattice in 3D space. How to effectively encode these periodic structures poses unique challenges not present in regular graph representation learning. In addition to being E(3) invariant, periodic graph representations need to be periodic invariant. That is, the learned representations should be invariant to shifts of cell boundaries as they are artificially imposed. Furthermore, the periodic repeating patterns need to be captured explicitly as lattices of different sizes and orientations may correspond to different materials. In this work, we propose a transformer architecture, known as Matformer, for periodic graph representation learning. Our Matformer is designed to be invariant to periodicity and can capture repeating patterns explicitly. In particular, Matformer encodes periodic patterns by efficient use of geometric distances between the same atoms in neighboring cells. Experimental results on multiple common benchmark datasets show that our Matformer outperforms baseline methods consistently. In addition, our results demonstrate the importance of periodic invariance and explicit repeating pattern encoding for crystal representation learning.

For agents

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

get_harvested_code_for_paper("2209.11807")
get_code_for_paper("2209.11807")
have("2209.11807")

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

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

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

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

Connect an agent — have() is free.