SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2508.16067 · NeurIPS · 2025

Training a Foundation Model for Materials on a Budget

Tess Smidt, Teddy Koker, Mit Kotak

arXiv · PDF · Open in the Atlas

Code that ran

8 of 16 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 2 have no contract verdict; 4 failures of our instrument; 8 no recorded run), measured 2026-11-24; 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/2508.16067.json · badge: /api/ran/2508.16067.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/nequix community
Papers with Code archive
8 ran · 8 no recorded run
FunctionStatusWhere it lives
Linear Ran
ran on a synthesized input
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("7af2eee1ef2a2c25")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 3) 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 math
import torch

class Linear(torch.nn.Module):

    def __init__(self, in_size: int, out_size: int, use_bias: bool=False, init_scale: float=1.0):
        super().__init__()
        self.use_bias = use_bias
        scale = math.sqrt(init_scale / in_size)
        self.weights = torch.nn.Parameter(torch.randn(in_size, out_size) * scale)
        if use_bias:
            self.bias = torch.nn.Parameter(torch.zeros(out_size))
        else:
            self.register_parameter('bias', None)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        x = x @ self.weights
        if self.use_bias and self.bias is not None:
            x = x + self.bias
        return x


INIT_ARGS = {
    'in_size': 4,
    'out_size': 3,
    'use_bias': True,
    'init_scale': 1.0,
}

ARGS = {
    'x': torch.randn(2, 4),
}

if __name__ == '__main__':
    layer = Linear(**INIT_ARGS)
    output = layer(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output:\n{output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 2, dtype family float, shape (2, 3) — shape (2, 3) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
MLP Ran
ran on a synthesized input
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("82eea3aa8df4fb78")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float, shape (2, 3) 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 math
import torch

class Linear(torch.nn.Module):

    def __init__(self, in_size: int, out_size: int, use_bias: bool=False, init_scale: float=1.0):
        super().__init__()
        self.use_bias = use_bias
        scale = math.sqrt(init_scale / in_size)
        self.weights = torch.nn.Parameter(torch.randn(in_size, out_size) * scale)
        if use_bias:
            self.bias = torch.nn.Parameter(torch.zeros(out_size))
        else:
            self.register_parameter('bias', None)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        x = x @ self.weights
        if self.use_bias and self.bias is not None:
            x = x + self.bias
        return x

class MLP(torch.nn.Module):

    def __init__(self, sizes, activation=torch.nn.SiLU, *, init_scale: float=1.0, use_bias: bool=True):
        super().__init__()
        self.activation = activation()
        self.layers = torch.nn.ModuleList([Linear(sizes[i], sizes[i + 1], use_bias=use_bias, init_scale=init_scale if i < len(sizes) - 2 else 1.0) for i in range(len(sizes) - 1)])

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        for i, layer in enumerate(self.layers):
            x = layer(x)
            if i < len(self.layers) - 1:
                x = self.activation(x)
        return x


INIT_ARGS = {
    'sizes': [4, 8, 3],
    'activation': torch.nn.SiLU,
    'init_scale': 1.0,
    'use_bias': True,
}

ARGS = {
    'x': torch.randn(2, 4),
}

if __name__ == '__main__':
    model = MLP(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {output}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 2, dtype family float, shape (2, 3) — shape (2, 3) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
bessel_basis Ran
ran; our contract draft was wrong, not the code
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("3e1aa2b14830f97c")
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 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

torch.manual_seed(0)

# Construct arguments for bessel_basis function
x = torch.linspace(0.0, 5.0, 2)  # Small batch of 2 values
num_basis = 4  # Number of basis functions
r_max = 10.0  # Maximum radius

ARGS = {
    "x": x,
    "num_basis": num_basis,
    "r_max": r_max,
}
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 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
normalspace Ran
ran, honoured the contract we drafted
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("19f7c40f2d58cc37")
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) and returned ndarray, ndim 1, dtype family float, shape (5,) 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 numpy as np
import scipy
import torch

torch.manual_seed(0)

ARGS = {
    "n": 5,
    "device": None,
    "dtype": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, scipy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (5,) — shape (5,) 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
parity_function Ran
ran, honoured the contract we drafted
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("5c453afe26499dc7")
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) 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 numpy as np

def even_function(x):
    """A function where phi(x) == phi(-x)"""
    return np.cos(x)

def odd_function(x):
    """A function where phi(x) == -phi(-x)"""
    return np.sin(x)

def neither_function(x):
    """A function that is neither even nor odd"""
    return x + np.sin(x)

ARGS = {
    "phi": even_function
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — 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
polynomial_cutoff Ran
ran; our contract draft was wrong, not the code
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("111afdf1920ead9a")
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) 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

torch.manual_seed(0)

# Create a small tensor with values between 0 and 2 (some < 1.0, some >= 1.0)
x = torch.tensor([[0.3, 0.7, 1.2, 1.5],
                   [0.1, 0.9, 0.5, 2.0]], dtype=torch.float32)

r_max = 2.5
p = 2.0

ARGS = {
    "x": x,
    "r_max": r_max,
    "p": p,
}
Setup block drafted by
a language model, Claude Haiku 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 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
scatter Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("59afa7c7a5321462")
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) and returned Tensor, ndim 2, dtype family float, shape (2, 3) 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)

# Create small tensors for scatter operation
# src: source tensor with values to scatter
src = torch.tensor([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]], dtype=torch.float32)

# index: indices specifying where to scatter src values
# Shape must be broadcastable to src shape
index = torch.tensor([[0, 1, 2], [1, 2, 0]], dtype=torch.long)

# dim: dimension along which to scatter (default -1 means last dimension)
dim = -1

# out: optional output tensor (None means create new)
out = None

# dim_size: optional size of output dimension (None means infer from index.max())
dim_size = None

# reduce: reduction operation (only 'sum' is supported)
reduce = 'sum'

ARGS = {
    'src': src,
    'index': index,
    'dim': dim,
    'out': out,
    'dim_size': dim_size,
    'reduce': reduce,
}
Setup block drafted by
a language model, Claude Haiku 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 Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) 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
soft_odd Ran
ran; our contract draft was wrong, not the code
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("d192c129251d9f28")
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) 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

torch.manual_seed(0)

# The function soft_odd takes a single parameter x and applies operations on it
# x should be a tensor since the function uses torch operations on it
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 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 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
Activation Not yet run
unverified (harvested, no recorded run)
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("b9f7bc58beb62463")
How it ran

no invocation recorded.

Gate Not yet run
unverified (harvested, no recorded run)
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("8dd99dcf4efa7e23")
How it ran

no invocation recorded.

NequixTorch Not yet run
unverified (harvested, no recorded run)
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("7dec89db938f9ab8")
How it ran

no invocation recorded.

NequixTorchConvolution Not yet run
unverified (harvested, no recorded run)
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("5dfa44c70d8e4a09")
How it ran

no invocation recorded.

RMSLayerNorm Not yet run
unverified (harvested, no recorded run)
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("b5ba876168156a6c")
How it ran

no invocation recorded.

Sort Not yet run
unverified (harvested, no recorded run)
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("b4a480eea704c9d1")
How it ran

no invocation recorded.

_broadcast Not yet run
unverified (harvested, no recorded run)
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("9d3678a0ddee0bd3")
How it ran

no invocation recorded.

normalize2mom Not yet run
unverified (harvested, no recorded run)
atomicarchitects/nequix/nequix/torch_impl/model.py
code served (permissive licence) · get_code("e22018ae552026bc")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 16 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.

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

Repositories linked to this paper

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

Abstract

Foundation models for materials modeling are advancing quickly, but their training remains expensive, often placing state-of-the-art methods out of reach for many research groups. We introduce Nequix, a compact E(3)-equivariant potential that pairs a simplified NequIP design with modern training practices, including equivariant root-mean-square layer normalization and the Muon optimizer, to retain accuracy while substantially reducing compute requirements. Nequix has 700K parameters and was trained in 100 A100 GPU-hours. On the Matbench-Discovery and MDR Phonon benchmarks, Nequix ranks third overall while requiring a 20 times lower training cost than most other methods, and it delivers two orders of magnitude faster inference speed than the current topranked model. We release model weights and fully reproducible codebase at https://github.com/atomicarchitects/nequix.

For agents

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

get_harvested_code_for_paper("2508.16067")
get_code_for_paper("2508.16067")
have("2508.16067")

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

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

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

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

Connect an agent — have() is free.