SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.15495 · NeurIPS · 2024

SEA: State-Exchange Attention for High-Fidelity Physics Based Transformers

Parsa Esmati, Amirhossein Dadashzadeh, Vahid Goodarzi, Nicolas Larrosa, Nicolò Grilli

arXiv · PDF · Open in the Atlas

Code that ran

11 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 8 have no contract verdict; 2 failures of our instrument; 2 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/2410.15495.json · badge: /api/ran/2410.15495.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
parsaesmati/sea canonical (classifier label)
classifier basis: classifier_2025
11 ran · 2 no recorded run
FunctionStatusWhere it lives
AdaLN Ran
ran on a synthesized input
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("7d6282f4af9934f4")
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; 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 torch
import torch.nn as nn

class AdaLN(nn.Module):

    def __init__(self, embed_dim, cond_dim):
        super().__init__()
        self.embed_dim = embed_dim
        self.cond_dim = cond_dim
        self.weight = nn.Parameter(torch.ones(embed_dim))
        self.bias = nn.Parameter(torch.zeros(embed_dim))
        self.cond_mlp = nn.Sequential(nn.Linear(cond_dim, 2 * embed_dim), nn.SiLU(), nn.Linear(2 * embed_dim, 2 * embed_dim))

    def forward(self, x, cond):
        cond = self.cond_mlp(cond)
        weight, bias = cond.chunk(2, dim=-1)
        weight = weight + 1
        mean = x.mean(dim=-1, keepdim=True)
        var = x.var(dim=-1, keepdim=True, unbiased=False)
        normalized = (x - mean) / (var + 1e-05).sqrt()
        return normalized * (self.weight + weight) + (self.bias + bias)


INIT_ARGS = {
    'embed_dim': 4,
    'cond_dim': 3,
}

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

if __name__ == '__main__':
    model = AdaLN(**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 — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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)
GaussianFourierProjection Ran
ran on a synthesized input · constructed an object; no result was computed
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("944e9f9eb07f86a8")
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 an instance of its own class, GaussianFourierProjection: the run constructed the object and did not call it, so no result was computed. 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
import numpy as np

torch.manual_seed(0)

# The function constructs a GaussianFourierProjection module
# Constructor parameters are: input_dim, half_dim, scale

# Read the forward method to understand usage:
# - x is expected to be a tensor with shape (..., input_dim)
# - It's multiplied with self.W which has shape (input_dim, half_dim)
# - The result is projected, then sin and cos are applied
# - Output has shape (..., 2*half_dim)

# Create an instance with reasonable parameters
input_dim = 5
half_dim = 16
scale = 1.0

# Create a sample input tensor for forward pass
# Shape: (batch_size, input_dim) = (2, 5)
x = torch.randn(2, input_dim)

# Package arguments for the __init__ method
ARGS = {
    'input_dim': input_dim,
    'half_dim': half_dim,
    'scale': scale
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GaussianFourierProjection — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GaussianFourierProjection 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
LayerNorm Ran
ran on a synthesized input · constructed an object; no result was computed
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("69052bc6e30546ab")
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 an instance of its own class, LayerNorm: the run constructed the object and did not call it, so no result was computed. 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

torch.manual_seed(0)

class LayerNorm(nn.Module):

    def __init__(self, ndim, bias=False):
        super().__init__()
        self.weight = nn.Parameter(torch.ones(ndim))
        self.bias = nn.Parameter(torch.zeros(ndim)) if bias else None

    def forward(self, input, cond=None):
        import torch.nn.functional as FF
        return FF.layer_norm(input, self.weight.shape, self.weight, self.bias, 1e-05)


# Create instances for ARGS
ndim = 4
bias = False

layer_norm_instance = LayerNorm(ndim=ndim, bias=bias)

ARGS = {
    'ndim': ndim,
    'bias': bias
}
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 LayerNorm — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LayerNorm 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
MLP Ran
ran on a synthesized input · constructed an object; no result was computed
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("feac008723761cd0")
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 an instance of its own class, MLP: the run constructed the object and did not call it, so no result was computed. 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

torch.manual_seed(0)

ARGS = {
    "dim_in": 8,
    "dropout": 0.1,
    "scale_ratio": 4,
    "dim_out": 6,
    "num_layers": 2,
}
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 MLP — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MLP 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
MaskedMultiHeadAttention Ran
ran on a synthesized input · constructed an object; no result was computed
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("8a7b71e050983999")
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 an instance of its own class, MaskedMultiHeadAttention: the run constructed the object and did not call it, so no result was computed. 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

torch.manual_seed(0)

ARGS = {
    'n_heads': 2,
    'embed_dim': 4,
    'max_len': 8,
    'src_len': -1,
    'dropout': 0.1,
}
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 MaskedMultiHeadAttention — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MaskedMultiHeadAttention 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
MaskedMultiHeadCrossAttention Ran
ran on a synthesized input · constructed an object; no result was computed
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("ca93b4c2d02df885")
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 an instance of its own class, MaskedMultiHeadCrossAttention: the run constructed the object and did not call it, so no result was computed. 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

torch.manual_seed(0)

ARGS = {
    'n_heads': 2,
    'embed_dim': 8,
    'max_len': 4,
    'src_len': 0,
    'dropout': 0.1,
}
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 MaskedMultiHeadCrossAttention — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MaskedMultiHeadCrossAttention 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
MultiHeadCrossAttention Ran
ran on a synthesized input · constructed an object; no result was computed
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("cfe2061393c3ed76")
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 an instance of its own class, MultiHeadCrossAttention: the run constructed the object and did not call it, so no result was computed. 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
import torch.nn.functional as FF

class MultiHeadCrossAttention(nn.Module):

    def __init__(self, n_heads, embed_dim, max_len, src_len, dropout):
        super().__init__()
        self.n_heads = n_heads
        self.max_len = max_len
        self.head_dim = embed_dim // n_heads
        self.dropout = nn.Dropout(dropout)
        self.embed_dim = embed_dim
        self.k = nn.Linear(embed_dim, self.head_dim * n_heads)
        self.q = nn.Linear(embed_dim, self.head_dim * n_heads)
        self.v = nn.Linear(embed_dim, self.head_dim * n_heads)
        self.projection = nn.Linear(embed_dim, embed_dim, bias=False)
        self.register_buffer('tril', torch.tril(torch.ones(max_len, max_len), diagonal=src_len).view(1, 1, max_len, max_len))

    def forward(self, x_1, x_2):
        """X1 And X2 have different shapes restructure q, k, v according to their own shapes"""
        B_tgt, T_tgt, C_tgt = x_1.shape
        B_src, T_src, C_src = x_2.shape
        q = self.q(x_1).view(B_tgt, T_tgt, self.n_heads, self.head_dim).transpose(1, 2)
        v = self.v(x_2).view(B_src, T_src, self.n_heads, self.head_dim).transpose(1, 2)
        k = self.k(x_2).view(B_src, T_src, self.n_heads, self.head_dim).transpose(1, 2)
        attn = q @ k.transpose(-2, -1) * self.head_dim ** (-0.5)
        attn = FF.softmax(attn, dim=-1)
        attn = self.dropout(attn)
        out = attn @ v
        out = out.transpose(1, 2).contiguous().view(B_tgt, T_tgt, C_tgt)
        out = self.projection(out)
        return out

torch.manual_seed(0)

ARGS = {
    "n_heads": 2,
    "embed_dim": 8,
    "max_len": 5,
    "src_len": 2,
    "dropout": 0.1
}
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 MultiHeadCrossAttention — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MultiHeadCrossAttention 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
PositionalEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("087f1d638aeab30c")
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 an instance of its own class, PositionalEncoding: the run constructed the object and did not call it, so no result was computed. 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
import math

class PositionalEncoding(nn.Module):

    def __init__(self, d_model, dropout=0.1, max_len=5000):
        super(PositionalEncoding, self).__init__()
        self.dropout = nn.Dropout(p=dropout)
        pe = torch.zeros(max_len, d_model)
        position = torch.arange(0, max_len, dtype=torch.float).unsqueeze(1)
        div_term = torch.exp(torch.arange(0, d_model, 2).float() * (-math.log(10000.0) / d_model))
        pe[:, 0::2] = torch.sin(position * div_term)
        pe[:, 1::2] = torch.cos(position * div_term[:d_model // 2])
        pe = pe.unsqueeze(0)
        self.register_buffer('pe', pe)

    def forward(self, x):
        x = x + self.pe[:, :x.size(1), :]
        return self.dropout(x)

torch.manual_seed(0)

ARGS = {
    'd_model': 4,
    'dropout': 0.1,
    'max_len': 5000
}
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 PositionalEncoding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PositionalEncoding 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
apply_rotary_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("397ac9f96a533830")
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 tuple, ndim 5, 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 torch

torch.manual_seed(0)

# Analyze the function:
# - xq: torch.Tensor - query tensor, reshaped to (*shape[:-1], -1, 2) then viewed as complex
# - xk: torch.Tensor - key tensor, same shape as xq
# - freqs_cis: torch.Tensor - frequency tensor with shape (x.shape[1], x.shape[-1])
#
# The function expects:
# - xq and xk to have ndim >= 2
# - freqs_cis.shape == (xq.shape[1], xq.shape[-1])
# - xq.shape[:-1] can be reshaped to (*shape[:-1], -1, 2) where last dim is 2
#   This means xq.shape[-1] must be even

# Let's construct valid tensors:
# batch_size = 2, seq_len = 3, head_dim = 4 (must be even for complex view)
batch_size = 2
seq_len = 3
head_dim = 4

# xq and xk: shape (batch_size, seq_len, head_dim)
# When reshaped to (*shape[:-1], -1, 2), the last dimension becomes 2
# So head_dim must be even: head_dim = 4 works (becomes 2 complex numbers)
xq = torch.randn(batch_size, seq_len, head_dim)
xk = torch.randn(batch_size, seq_len, head_dim)

# freqs_cis: shape (seq_len, head_dim // 2) since it will be multiplied with
# xq_ which has shape (batch_size, seq_len, head_dim // 2) after complex view
freqs_cis = torch.randn(seq_len, head_dim // 2, dtype=torch.complex64)

ARGS = {
    "xq": xq,
    "xk": xk,
    "freqs_cis": freqs_cis,
}
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 tuple, ndim 5, dtype family float — a tuple 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
load_and_convert Ran
ran; our contract draft was wrong, not the code
parsaesmati/sea/train/train_encoder.py
code served (permissive licence) · get_code("67047903c6c8a8a5")
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 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 numpy as np
import tempfile
import os

torch.manual_seed(0)

# Create temporary directory for test files
temp_dir = tempfile.mkdtemp()

# Create test .npy files
field_data_np = np.random.randn(2, 4).astype(np.float32)
field_data_path = os.path.join(temp_dir, 'field_data.npy')
np.save(field_data_path, field_data_np)

coordinates_np = np.random.randn(3, 4).astype(np.float32)
coordinates_path = os.path.join(temp_dir, 'coordinates.npy')
np.save(coordinates_path, coordinates_np)

input_data_np = np.random.randn(5, 4).astype(np.float32)
input_data_path = os.path.join(temp_dir, 'input_data.npy')
np.save(input_data_path, input_data_np)

# Create config dictionary
config = {
    'field_data_path': field_data_path,
    'coordinates_path': coordinates_path,
    'input_path': input_data_path,
    'device': 'cpu',
    'convert_to_torch': True
}

ARGS = {
    'config': config
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, 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
precompute_freqs_cis Ran
ran, violated the contract we drafted
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("e93cc5b705c2eb3b")
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 (4, 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)

ARGS = {
    "dim": 8,
    "end": 4,
    "theta": 10000.0,
}
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 (4, 4) — shape (4, 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
BaseBlockTemporal Not yet run
unverified (harvested, no recorded run)
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("ad2ed8f5476af122")
How it ran

no invocation recorded.

SEABlockTemporal Not yet run
unverified (harvested, no recorded run)
parsaesmati/sea/models/temporal.py
code served (permissive licence) · get_code("751944cbcb2f94ac")
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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 2 later) and 11 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
apply_rotary_emb
brick of this paper's assembly: helper
55 other papers
37 dated earlier, 3 the same month, 15 later · 1 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 52 more not named here
precompute_freqs_cis
brick of this paper's assembly: helper
10 other papers
3 dated earlier, 7 later · 1 only as an assembly brick
2308.12950 (2023-08)
Code Llama: Open Foundation Models for Code
2402.06700 (2024-02)
Entropy-Regularized Token-Level Policy Optimization for Language Agent Reinforcement
2408.01933 (2024-08)
DiReCT: Diagnostic Reasoning for Clinical Notes via Large Language Models
and 7 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

Current approaches using sequential networks have shown promise in estimating field variables for dynamical systems, but they are often limited by high rollout errors. The unresolved issue of rollout error accumulation results in unreliable estimations as the network predicts further into the future, with each step's error compounding and leading to an increase in inaccuracy. Here, we introduce the State-Exchange Attention (SEA) module, a novel transformer-based module enabling information exchange between encoded fields through multi-head crossattention. The cross-field multidirectional information exchange design enables all state variables in the system to exchange information with one another, capturing physical relationships and symmetries between fields. Additionally, we introduce an efficient ViT-like mesh autoencoder to generate spatially coherent mesh embeddings for a large number of meshing cells. The SEA integrated transformer demonstrates the state-of-the-art rollout error compared to other competitive baselines. Specifically, we outperform PbGMR-GMUS Transformer-RealNVP and GMR-GMUS Transformer, with a reduction in error of 88% and 91%, respectively. Furthermore, we demonstrate that the SEA module alone can reduce errors by 97% for state variables that are highly dependent on other states of the system.

For agents

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

get_harvested_code_for_paper("2410.15495")
get_code_for_paper("2410.15495")
have("2410.15495")

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

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

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

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

Connect an agent — have() is free.