SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.19710 · NeurIPS · 2025

SEMPO: Lightweight Foundation Models for Time Series Forecasting

Qi Zhang, Kun Yi, Guansong Pang, Hui He, Yuanchi Ma, Zhendong Niu, Chronoss Chronosb, Chronosl Moirais, Moiraib Moirail Time-Moeb

arXiv · PDF · Open in the Atlas

Code that ran

16 of 23 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; 4 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 4 failures of our instrument; 7 no recorded run), measured 2026-11-23; 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/2510.19710.json · badge: /api/ran/2510.19710.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
DAMO-DI-ML/One_Fits_All canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
mala-lab/SEMPO community
Papers with Code archive
9 ran · 6 no recorded run
MAZiqing/FEDformer community
Papers with Code archive
2 ran · 0 no recorded run
panzijie825/S2IP-LLM community
Papers with Code archive
1 ran · 1 no recorded run
FunctionStatusWhere it lives
FourierCrossAttention Ran
ran on a synthesized input · constructed an object; no result was computed
MAZiqing/FEDformer/layers/FourierCorrelation.py
code served (permissive licence) · get_code("ce5d61ecb4d56571")
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, FourierCrossAttention: 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)
np.random.seed(0)

# Define the forward input tensors
# Shape: (batch, seq_len, num_heads, head_dim)
batch_size = 2
seq_len_q = 16
seq_len_kv = 16
num_heads = 8
head_dim = 4

q = torch.randn(batch_size, seq_len_q, num_heads, head_dim)
k = torch.randn(batch_size, seq_len_kv, num_heads, head_dim)
v = torch.randn(batch_size, seq_len_kv, num_heads, head_dim)
mask = None

# Define the arguments for FourierCrossAttention.__init__
ARGS = {
    'in_channels': head_dim,
    'out_channels': head_dim,
    'seq_len_q': seq_len_q,
    'seq_len_kv': seq_len_kv,
    'modes': 8,
    'mode_select_method': 'random',
    'activation': 'tanh',
    'policy': 0
}
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 FourierCrossAttention — 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 FourierCrossAttention 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
MixtrueExpertsLayer Ran
ran on a synthesized input · constructed an object; no result was computed
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("8db678aa4bdcf1dd")
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, MixtrueExpertsLayer: 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
from torch import nn
import torch.nn.functional as F

torch.manual_seed(0)

class MixtrueExpertsLayer(torch.nn.Module):
    """
    The torch.nn model to encode the prefix
    input: tensor [bs x seq_len x d_model] [bs x prefix_len]
    output: tensor [bs x prefix_len x n_layers * 2 * d_model]
    """

    def __init__(self, prefix_projection, num_virtual_tokens, token_dim, encoder_hidden_size, n_layers):
        super().__init__()
        self.prefix_projection = prefix_projection
        self.gate = nn.Linear(token_dim, num_virtual_tokens)
        if self.prefix_projection:
            self.embedding = nn.Embedding(num_virtual_tokens, token_dim)
            self.transform = nn.Sequential(nn.Linear(token_dim, encoder_hidden_size), nn.Tanh(), nn.Linear(encoder_hidden_size, n_layers * 2 * token_dim))
        else:
            self.embedding = nn.Embedding(num_virtual_tokens, n_layers * 2 * token_dim)

    def forward(self, x: torch.Tensor, prefix: torch.Tensor):
        router_logits = self.gate(x)
        routing_weights = F.softmax(router_logits, dim=2, dtype=torch.float)
        if self.prefix_projection:
            prefix_tokens = self.embedding(prefix)
            prefix_tokens = torch.einsum('...e,ed->...d', routing_weights, prefix_tokens)
            past_key_values = self.transform(prefix_tokens)
        else:
            prefix_tokens = self.embedding(prefix)
            past_key_values = torch.einsum('...e,ed->...d', routing_weights, prefix_tokens)
        return past_key_values


prefix_projection = True
num_virtual_tokens = 8
token_dim = 4
encoder_hidden_size = 6
n_layers = 2

ARGS = {
    "prefix_projection": prefix_projection,
    "num_virtual_tokens": num_virtual_tokens,
    "token_dim": token_dim,
    "encoder_hidden_size": encoder_hidden_size,
    "n_layers": n_layers,
}
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 MixtrueExpertsLayer — 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 MixtrueExpertsLayer 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
MultiheadAttention Ran
ran on a synthesized input
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("716e24f597b6f1ff")
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 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
import numpy as np

INIT_ARGS = {
    'd_model': 8,
    'n_heads': 2,
    'd_k': None,
    'd_v': None,
    'res_attention': False,
    'attn_dropout': 0.1,
    'proj_dropout': 0.1,
    'qkv_bias': True,
    'lsa': False,
}

ARGS = {
    'Q': torch.randn(2, 5, 8),
    'K': torch.randn(2, 5, 8),
    'V': torch.randn(2, 5, 8),
    'prev': None,
    'key_padding_mask': None,
    'attn_mask': None,
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
PositionalEncoding Ran
ran, honoured the contract we drafted
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("16b9b78d429636b7")
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 (8, 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
import math

torch.manual_seed(0)

ARGS = {
    'q_len': 8,
    'd_model': 4,
    'normalize': True
}
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 (8, 4) — shape (8, 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
PredictionHead Ran
ran on a synthesized input · constructed an object; no result was computed
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("8f7d9151481dae1e")
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, PredictionHead: 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
from torch import nn

torch.manual_seed(0)

# Define the arguments dictionary for PredictionHead
ARGS = {
    "individual": False,
    "n_vars": 3,
    "d_model": 4,
    "patch_num": 2,
    "forecast_len": 5,
    "head_dropout": 0.1,
    "flatten": False,
}
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 PredictionHead — 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 PredictionHead 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
PretrainHead Ran
ran on a synthesized input · constructed an object; no result was computed
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("737068a1673af8b0")
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, PretrainHead: 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
from torch import nn

torch.manual_seed(0)

# Parameters for PretrainHead
d_model = 8
patch_len = 6
dropout = 0.1

ARGS = {
    "d_model": d_model,
    "patch_len": patch_len,
    "dropout": dropout,
}
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 PretrainHead — 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 PretrainHead 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
Prompt Ran
ran on a synthesized input · constructed an object; no result was computed
panzijie825/S2IP-LLM/Long-term_Forecasting/models/S2IPLLM.py
code served (permissive licence) · get_code("6a757cf95a80d1c3")
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, Prompt: 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)

# Create a minimal wte (word token embedding) model
class MinimalWTE(nn.Module):
    def __init__(self, vocab_size=50257, embed_dim=768):
        super().__init__()
        self.weight = nn.Parameter(torch.randn(vocab_size, embed_dim))
    
    def transpose(self, dim0, dim1):
        return self.weight.transpose(dim0, dim1)

wte_model = MinimalWTE(vocab_size=50257, embed_dim=768)

ARGS = {
    'length': 2,
    'embed_dim': 768,
    'embedding_key': 'mean',
    'prompt_init': 'uniform',
    'prompt_pool': True,
    'prompt_key': True,
    'pool_size': 30,
    'top_k': 4,
    'batchwise_prompt': False,
    'prompt_key_init': 'uniform',
    'wte': wte_model,
}
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 Prompt — 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 Prompt 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
RMSNorm Ran
ran on a synthesized input · constructed an object; no result was computed
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("0a5b83bc7ce0cd66")
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, RMSNorm: 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
from torch import nn

torch.manual_seed(0)

# Create a small hidden_states tensor for testing
# Shape: (batch_size=2, sequence_length=3, hidden_size=4)
hidden_states = torch.randn(2, 3, 4, dtype=torch.float32)

# Define ARGS with all parameters for RMSNorm.__init__
ARGS = {
    'hidden_size': 4,
    'eps': 1e-06
}
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 RMSNorm — 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 RMSNorm 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
RevIN Ran
ran on a synthesized input · constructed an object; no result was computed
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("eeb362072b7924af")
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, RevIN: 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
from torch import nn

torch.manual_seed(0)

# RevIN expects:
# - num_features: int - number of features/channels
# - eps: float - numerical stability term (default 1e-05)
# - affine: bool - whether to use learnable affine parameters (default True)
# - subtract_last: bool - whether to subtract last value instead of mean (default False)
# - non_norm: bool - whether to skip normalization (default False)

ARGS = {
    'num_features': 4,
    'eps': 1e-05,
    'affine': True,
    'subtract_last': False,
    'non_norm': False,
}
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 RevIN — 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 RevIN 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
convert_metrics_per_batch_to_per_sample Ran
ran; our contract draft was wrong, not the code
DAMO-DI-ML/One_Fits_All/Classification/src/running.py
pointer only (licence: NONE) · get_code("f79cf1a40c083fee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DAMO-DI-ML/One_Fits_All 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.

divide_no_nan Ran
ran, honoured the contract we drafted
DAMO-DI-ML/One_Fits_All/Anomaly_Detection/utils/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from seungyoon-Choi/CoSPOT, is pointer only (licence: NONE) · get_code("bdc787c888ab83a2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DAMO-DI-ML/One_Fits_All 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.

get_activation_fn Ran
ran; our contract draft was wrong, not the code
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("cf01255b103815b4")
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 ReLU. 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 torch import nn

torch.manual_seed(0)

# Test case 1: string activation 'relu'
ARGS = {
    'activation': 'relu'
}
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 ReLU — a ReLU output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ReLU 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
get_frequency_modes Ran
ran, honoured the contract we drafted
MAZiqing/FEDformer/layers/FourierCorrelation.py
code served (permissive licence) · get_code("592ea8b254b006db")
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 int; 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

np.random.seed(0)

ARGS = {
    'seq_len': 128,
    'modes': 64,
    'mode_select_method': 'random'
}
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 list, ndim 1, dtype family int — 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
get_optimizer Ran
ran; our contract draft was wrong, not the code
DAMO-DI-ML/One_Fits_All/Classification/src/optimizers.py
pointer only (licence: NONE) · get_code("b8f656bc0425d825")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DAMO-DI-ML/One_Fits_All 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.

l2norm Ran
ran; our contract draft was wrong, not the code
DAMO-DI-ML/One_Fits_All/Few-shot_Learning/models/PatchTST.py
pointer only (licence: NONE); the stored copy get_code serves, from tmlresearchgroup-cas/clipure, is pointer only (licence: NONE) · get_code("3eb58dae620046d3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, DAMO-DI-ML/One_Fits_All 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.

positional_encoding Ran
ran, honoured the contract we drafted
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("2c8bf94a02b2089c")
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 Parameter, ndim 2, dtype family float, shape (8, 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 torch import nn
import math

torch.manual_seed(0)

ARGS = {
    'pe': 'sincos',
    'learn_pe': True,
    'q_len': 8,
    'd_model': 4,
}
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 Parameter, ndim 2, dtype family float, shape (8, 4) — shape (8, 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
Model Not yet run
unverified (harvested, no recorded run)
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("092b8bfebc540cb9")
How it ran

no invocation recorded.

Model Not yet run
unverified (harvested, no recorded run)
panzijie825/S2IP-LLM/Long-term_Forecasting/models/S2IPLLM.py
code served (permissive licence) · get_code("f0c40d374bf8d008")
How it ran

no invocation recorded.

ScaledDotProductAttention Not yet run
unverified (harvested, no recorded run)
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("c6fe4b37cc7ba9f8")
How it ran

no invocation recorded.

TSTEncoder Not yet run
unverified (harvested, no recorded run)
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("919028182b826688")
How it ran

no invocation recorded.

TSTEncoderLayer Not yet run
unverified (harvested, no recorded run)
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("d42b27e12e23b083")
How it ran

no invocation recorded.

TowerEncoder Not yet run
unverified (harvested, no recorded run)
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("b1673de4ce737103")
How it ran

no invocation recorded.

Transpose Not yet run
unverified (harvested, no recorded run)
mala-lab/SEMPO/models/SEMPO.py
code served (permissive licence) · get_code("499904dada1942cb")
How it ran

no invocation recorded.

Also present in other papers' code

Of 23 samples lifted from this paper's linked repositories, 23 carry a function identity and 0 do not. Of the 23 distinct functions with an identity, 10 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 2 the same month, 5 later) and 13 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
get_frequency_modes
brick of this paper's assembly: helper
27 other papers
22 dated earlier, 1 the same month, 4 later · 1 only as an assembly brick
2201.12740 (2022-01)
FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
2304.09184 (2023-04)
Frequency Enhanced Hybrid Attention Network for Sequential Recommendation
2305.13036 (2023-05)
Disentangling Structured Components: Towards Adaptive, Interpretable and Scalable Time Series Forecasting
and 24 more not named here
PositionalEncoding
brick of this paper's assembly: helper
16 other papers
11 dated earlier, 1 the same month, 4 later
2308.04791 (2023-08)
PETformer: Long-term Time Series Forecasting via Placeholder-enhanced Transformer
2310.00655 (2023-10)
PatchMixer: A Patch-Mixing Architecture for Long-Term Time Series Forecasting
2310.06625 (2023-10)
iTransformer: Inverted Transformers Are Effective for Time Series Forecasting
and 13 more not named here
l2norm 16 other papers
16 dated earlier · 4 only as an assembly brick
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2202.04200 (2022-02)
MaskGIT: Masked Generative Image Transformer
2203.07852 (2022-03)
Block-Recurrent Transformers
and 13 more not named here
divide_no_nan 14 other papers
12 dated earlier, 1 later, 1 same year, order not determinable
2401.09093 (2024-01)
RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks
2402.04852 (2024-02)
Multi-Patch Prediction: Adapting LLMs for Time Series Representation Learning
2403.01493 (2024-03)
ConvTimeNet: A Deep Hierarchical Fully Convolutional Model for Multivariate Time Series Analysis
and 11 more not named here
Transpose
brick of this paper's assembly: helper
6 other papers
5 dated earlier, 1 later · 5 only as an assembly brick
2205.13504 (2022-05)
Are Transformers Effective for Time Series Forecasting?
2302.11939 (2023-02)
One Fits All: Power General Time Series Analysis by Pretrained LM
2305.12095 (2023-05)
CARD: Channel Aligned Robust Blend Transformer for Time Series Forecasting
and 3 more not named here
convert_metrics_per_batch_to_per_sample 3 other papers
3 dated earlier
2010.02803 (2020-10)
A Transformer-based Framework for Multivariate Time Series Representation Learning
2308.08241 (2023-08)
TEST: Text Prototype Aligned Embedding to Activate LLM's Ability for Time Series
2409.17515 (2024-09)
From News to Forecast: Integrating Event Analysis in LLM-Based Time Series Forecasting with Reflection
get_optimizer 3 other papers
3 dated earlier
2308.08241 (2023-08)
TEST: Text Prototype Aligned Embedding to Activate LLM's Ability for Time Series
2401.09093 (2024-01)
RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks
2409.17515 (2024-09)
From News to Forecast: Integrating Event Analysis in LLM-Based Time Series Forecasting with Reflection
FourierCrossAttention
brick of this paper's assembly: entry
1 other paper
1 dated earlier
2201.12740 (2022-01)
FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
PretrainHead
brick of this paper's assembly: model
1 other paper
1 dated earlier
2312.16427 (2023-12)
Learning to Embed Time Series Patches Independently
positional_encoding
brick of this paper's assembly: helper
1 other paper
1 later
2605.19462 (2026-05)
Quantifying the Pre-training Dividend: Generative versus Latent Self-Supervised Learning for Time Series Foundation Models

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

The recent boom of large pre-trained models witnesses remarkable success in developing foundation models (FMs) for time series forecasting. Despite impressive performance across diverse downstream forecasting tasks, existing time series FMs possess massive network architectures and require substantial pre-training on large-scale datasets, which significantly hinders their deployment in resourceconstrained environments. In response to this growing tension between versatility and affordability, we propose SEMPO, a novel lightweight foundation model that requires pretraining on relatively small-scale data, yet exhibits strong general time series forecasting. Concretely, SEMPO comprises two key modules: 1) energyaware SpEctral decomposition module, that substantially improves the utilization of pre-training data by modeling not only the high-energy frequency signals but also the low-energy yet informative frequency signals that are ignored in current methods; and 2) Mixture-of-PrOmpts enabled Transformer, that learns heterogeneous temporal patterns through small dataset-specific prompts and adaptively routes time series tokens to prompt-based experts for parameter-efficient model adaptation across different datasets and domains. Equipped with these modules, SEMPO significantly reduces both pre-training data scale and model size, while achieving strong generalization. Extensive experiments on two large-scale benchmarks covering 16 datasets demonstrate the superior performance of SEMPO in both zero-shot and few-shot forecasting scenarios compared with state-of-the-art methods. Code and data are available at https://github.com/mala-lab/SEMPO.

For agents

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

get_harvested_code_for_paper("2510.19710")
get_code_for_paper("2510.19710")
have("2510.19710")

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

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

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

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

Connect an agent — have() is free.