SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.09742 · 2026

TIDES: Implicit Time-Awareness in Selective State Space Models

Miguel Bessa, Taylan Soydan, Dirk Mohr, Rui Barreira

arXiv · PDF · Open in the Atlas

Code that ran

16 of 19 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 5 have no contract verdict; 9 failures of our instrument; 3 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/2605.09742.json · badge: /api/ran/2605.09742.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
TaylanSoydan/TIDES community
Papers with Code archive
16 ran · 3 no recorded run
FunctionStatusWhere it lives
ComplexRMSNorm Ran
ran on a synthesized input
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("fdb5549f6f12c137")
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 3, dtype family float, shape (2, 3, 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 torch.nn as nn

class ComplexRMSNorm(nn.Module):
    """RMSNorm for complex-valued tensors. Normalizes by RMS of moduli."""

    def __init__(self, dim: int, eps: float=1e-06):
        super().__init__()
        self.weight = nn.Parameter(torch.ones(dim))
        self.eps = eps

    def forward(self, z: torch.Tensor) -> torch.Tensor:
        rms = torch.sqrt(torch.mean(z.abs() ** 2, dim=-1, keepdim=True) + self.eps)
        return z / rms * self.weight


INIT_ARGS = {
    "dim": 4,
    "eps": 1e-06,
}

ARGS = {
    "z": torch.randn(2, 3, 4, dtype=torch.complex64),
}

if __name__ == "__main__":
    model = ComplexRMSNorm(**INIT_ARGS)
    output = model(**ARGS)
    print("Output shape:", output.shape)
    print("Output dtype:", output.dtype)
    print("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 3, dtype family float, shape (2, 3, 4) — shape (2, 3, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
GLU Ran
ran on a synthesized input
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("bc872c49688e5003")
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, 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 torch.nn as nn

class GLU(nn.Module):
    """Gated Linear Unit: GLU(x) = w1(x) ⊙ sigmoid(w2(x))."""

    def __init__(self, d: int):
        super().__init__()
        self.w1 = nn.Linear(d, d)
        self.w2 = nn.Linear(d, d)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.w1(x) * torch.sigmoid(self.w2(x))


INIT_ARGS = {
    "d": 4,
}

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

if __name__ == "__main__":
    glu = GLU(**INIT_ARGS)
    output = glu(**ARGS)
    print("Output shape:", output.shape)
    print("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, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
GluEncoder Ran
ran on a synthesized input
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("2e555eced1370057")
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 torch
import torch.nn as nn

class GLU(nn.Module):
    """Gated Linear Unit: GLU(x) = w1(x) ⊙ sigmoid(w2(x))."""

    def __init__(self, d: int):
        super().__init__()
        self.w1 = nn.Linear(d, d)
        self.w2 = nn.Linear(d, d)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        return self.w1(x) * torch.sigmoid(self.w2(x))

class GluEncoder(nn.Module):
    """Encoder: depth GLU residual layers (at d_in), then Linear(d_in → d_out).

    Matches JAX TIDES Encoder:
        for glu in hidden_layers: x = x + glu(x)
        return linear(x)
    GLU residuals operate at d_in dimension, then project to d_out.
    """

    def __init__(self, d_in: int, d_out: int, depth: int=0, init_method: str='default'):
        super().__init__()
        self.glu_layers = nn.ModuleList([GLU(d_in) for _ in range(depth)])
        self.linear = nn.Linear(d_in, d_out)
        if init_method == 'zeros':
            nn.init.zeros_(self.linear.weight)
        elif init_method == 'random':
            nn.init.normal_(self.linear.weight, std=0.01)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        for glu in self.glu_layers:
            x = x + glu(x)
        return self.linear(x)


INIT_ARGS = {
    'd_in': 4,
    'd_out': 3,
    'depth': 2,
    'init_method': 'default'
}

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

if __name__ == '__main__':
    model = GluEncoder(**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)
LowRankHead Ran
ran on a synthesized input
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("b3fd329846233412")
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 torch
import torch.nn as nn

class LowRankHead(nn.Module):
    """Projection head. rank>0: factored Linear(in,r)->Linear(r,out). rank<=0: full Linear(in,out)."""

    def __init__(self, d_in: int, d_out: int, rank: int, init_method: str='zeros'):
        super().__init__()
        if rank > 0:
            self.down = nn.Linear(d_in, rank)
            self.up = nn.Linear(rank, d_out)
        else:
            self.down = None
            self.up = nn.Linear(d_in, d_out)
        if init_method == 'zeros':
            nn.init.zeros_(self.up.weight)
        elif init_method == 'random':
            nn.init.normal_(self.up.weight, std=0.01)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        if self.down is not None:
            return self.up(self.down(x))
        return self.up(x)


INIT_ARGS = {
    'd_in': 4,
    'd_out': 3,
    'rank': 2,
    'init_method': 'zeros'
}

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

if __name__ == '__main__':
    head = LowRankHead(**INIT_ARGS)
    output = head(**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)
RMSNorm Ran
ran on a synthesized input
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("ae412fb79bbc7983")
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, 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 torch.nn as nn

class RMSNorm(nn.Module):
    """Root Mean Square Layer Normalization."""

    def __init__(self, dim: int, eps: float=1e-06):
        super().__init__()
        self.weight = nn.Parameter(torch.ones(dim))
        self.eps = eps

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        rms = torch.sqrt(torch.mean(x ** 2, dim=-1, keepdim=True) + self.eps)
        return x / rms * self.weight


INIT_ARGS = {
    "dim": 4,
    "eps": 1e-06,
}

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

if __name__ == "__main__":
    model = RMSNorm(**INIT_ARGS)
    output = model(**ARGS)
    print("Output shape:", output.shape)
    print("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, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
_binary_operator Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("21407881265492b2")
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 3, 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)

# Construct arguments for _binary_operator
# The function takes two tuples, each containing (A_tensor, Bu_tensor)
# It performs element-wise operations: A_j * A_i and addcmul(Bu_j, A_j, Bu_i)

# Create small tensors for q_i
A_i = torch.randn(2, 4)
Bu_i = torch.randn(2, 4)
q_i = (A_i, Bu_i)

# Create small tensors for q_j
A_j = torch.randn(2, 4)
Bu_j = torch.randn(2, 4)
q_j = (A_j, Bu_j)

ARGS = {
    "q_i": q_i,
    "q_j": q_j,
}
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 3, 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
_init_B Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("10e630a73f606591")
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 3, dtype family float, shape (5, 4, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import math
import numpy as np
import torch

torch.manual_seed(0)

# Define parameters for _init_B
local_P = 3
H = 4
P = 5

# Create a complex eigenvector inverse matrix (P, local_P)
# This should be a complex numpy array
Vinv = np.random.randn(P, local_P) + 1j * np.random.randn(P, local_P)

ARGS = {
    "local_P": local_P,
    "H": H,
    "Vinv": Vinv,
}
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 Tensor, ndim 3, dtype family float, shape (5, 4, 2) — shape (5, 4, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
_init_C Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("dae8f59ad552e10c")
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 (4, 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 math
import numpy as np
import torch

torch.manual_seed(0)
np.random.seed(0)

# Construct arguments for _init_C
H = 4  # Hidden dimension
local_P = 3  # Pre-transform size
P = 5  # Output dimension (P > local_P)

# Create V: (local_P, P) complex eigenvectors
V_re = np.random.normal(0, 0.1, (local_P, P))
V_im = np.random.normal(0, 0.1, (local_P, P))
V = V_re + 1j * V_im

ARGS = {
    "H": H,
    "local_P": local_P,
    "V": V,
}
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 Tensor, ndim 2, dtype family float, shape (4, 5) — shape (4, 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
_init_log_steps Ran
ran, honoured the contract we drafted
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("78a11ec171045ad7")
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 1, dtype family float, shape (8,) 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

torch.manual_seed(0)

ARGS = {
    "H": 8,
    "dt_min": 0.001,
    "dt_max": 1.0,
}
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 1, dtype family float, shape (8,) — shape (8,) 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
_interleave Ran
ran; our contract draft was wrong, not the code
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("43246cf3af0e0fb4")
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 3, dtype family float, shape (2, 8, 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
import torch.nn.functional as F

torch.manual_seed(0)

# Create two tensors with compatible shapes for interleaving
# a has shape (2, 4, 3) and b has shape (2, 4, 3)
a = torch.randn(2, 4, 3)
b = torch.randn(2, 4, 3)

# Test with axis=1
axis = 1

ARGS = {
    "a": a,
    "b": b,
    "axis": axis,
}
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 3, dtype family float, shape (2, 8, 3) — shape (2, 8, 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
_make_DPLR_HiPPO Ran
ran; our contract draft was wrong, not the code
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("ea7a5707b6a44d22")
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 numpy as np

# The function _make_DPLR_HiPPO takes a single parameter N (int)
# Looking at the function body:
# - N is used to create arrays of size N
# - It's passed to _make_HiPPO(N)
# - It's used in np.arange(N) calls
# - No other parameters are needed

# Choose a small value for N to keep computation minimal
N = 4

ARGS = {
    "N": N
}
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 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
_make_HiPPO Ran
ran, honoured the contract we drafted
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("7c0de64bba557907")
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 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 numpy as np

def _make_HiPPO(N: int) -> np.ndarray:
    P = np.sqrt(1 + 2 * np.arange(N))
    A = P[:, None] * P[None, :]
    A = np.tril(A) - np.diag(np.arange(N))
    return -A

ARGS = {
    "N": 4
}
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 ndarray, 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
apply_ssm Ran
ran; our contract draft was wrong, not the code
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("54e13153307e1838")
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; 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

torch.manual_seed(0)

# Define dimensions
L = 2  # sequence length
H = 3  # hidden dimension
P = 4  # state dimension

# Lambda_bar: (P,) complex
Lambda_bar = torch.randn(P, dtype=torch.complex64)

# B_bar: (P, H) complex
B_bar = torch.randn(P, H, dtype=torch.complex64)

# C_tilde: (H, P) complex
C_tilde = torch.randn(H, P, dtype=torch.complex64)

# D: (H,) real
D = torch.randn(H, dtype=torch.float32)

# input_sequence: (L, H) real
input_sequence = torch.randn(L, H, dtype=torch.float32)

# conj_sym: bool
conj_sym = True

# liquid: bool
liquid = False

# bidir: bool
bidir = False

ARGS = {
    "Lambda_bar": Lambda_bar,
    "B_bar": B_bar,
    "C_tilde": C_tilde,
    "D": D,
    "input_sequence": input_sequence,
    "conj_sym": conj_sym,
    "liquid": liquid,
    "bidir": bidir,
}
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 — no output shape is stated: observe_signature.py could not observe it (import:OSError)
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
associative_scan Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("c78d99e1eebdea68")
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 list, ndim 4, 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.functional as F
from functools import partial

torch.manual_seed(0)

# The function takes:
# - operator: a Callable that combines two pytree structures
# - elems: a pytree of tensors (can be nested dict, list, tuple, or single tensor)
# - axis: int for which axis to scan along
# - reverse: bool for whether to reverse the scan

# Create a simple operator that adds two tensors element-wise
def add_operator(a, b):
    """Operator that adds two pytrees of tensors."""
    if isinstance(a, torch.Tensor) and isinstance(b, torch.Tensor):
        return a + b
    elif isinstance(a, (list, tuple)):
        return type(a)(add_operator(x, y) for x, y in zip(a, b))
    elif isinstance(a, dict):
        return {k: add_operator(a[k], b[k]) for k in a}
    else:
        return a + b

# Create test tensors with distinct dimensions
# Using shape (2, 4, 3) where:
# - 2 is the scan axis (axis=0)
# - 4 is batch dimension
# - 3 is feature dimension
tensor1 = torch.randn(2, 4, 3)
tensor2 = torch.randn(2, 4, 3)

# Test with a simple list of tensors
elems_list = [tensor1, tensor2]

# Test with nested structure (dict of tensors)
elems_dict = {
    'a': torch.randn(2, 4, 3),
    'b': torch.randn(2, 4, 3)
}

# Test with single tensor
elems_single = torch.randn(2, 4, 3)

ARGS = {
    'operator': add_operator,
    'elems': elems_list,
    'axis': 0,
    'reverse': False
}
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 list, ndim 4, 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
discretize_bilinear Ran
ran; our contract draft was wrong, not the code
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("8652e29133091d11")
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

torch.manual_seed(0)

# Lambda: (P,) complex diagonal state matrix
# P = 4 (number of state dimensions)
P = 4
Lambda = torch.randn(P, dtype=torch.complex64)

# B_tilde: (P, H) complex input matrix
# H = 3 (number of input features)
H = 3
B_tilde = torch.randn(P, H, dtype=torch.complex64)

# Delta: (P,) float step sizes
Delta = torch.randn(P, dtype=torch.float32).abs() + 0.1  # ensure positive values

ARGS = {
    "Lambda": Lambda,
    "B_tilde": B_tilde,
    "Delta": Delta,
}
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 — 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
discretize_zoh Ran
ran; our contract draft was wrong, not the code
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("073538adbd4de683")
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

torch.manual_seed(0)

# Lambda: (P,) complex diagonal state matrix
# P = 4 (state dimension)
P = 4
Lambda = torch.randn(P, dtype=torch.complex64)

# B_tilde: (P, H) complex input matrix
# H = 3 (input/hidden dimension, distinct from P)
H = 3
B_tilde = torch.randn(P, H, dtype=torch.complex64)

# Delta: (P,) float step sizes
Delta = torch.randn(P, dtype=torch.float32).abs() + 0.1  # ensure positive

ARGS = {
    "Lambda": Lambda,
    "B_tilde": B_tilde,
    "Delta": Delta,
}
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 — 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
TIDESSSM Not yet run
unverified (harvested, no recorded run)
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("00b97271e0c00f49")
How it ran

no invocation recorded.

_combine Not yet run
unverified (harvested, no recorded run)
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("f764c65598e4bf72")
How it ran

no invocation recorded.

_scan Not yet run
unverified (harvested, no recorded run)
TaylanSoydan/TIDES/tides/tides.py
code served (permissive licence) · get_code("a774f8a49e88f957")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 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 19 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-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

Selective state space models (SSMs), such as Mamba, achieve strong per-token expressivity by making the time discretization step ∆ a learned function of the input. However, in doing so, ∆ ceases to represent a physical sampling interval, limiting its irregular time series modeling capability. Continuous-time SSMs, such as S5, preserve the physical meaning of ∆ and handle irregular timestamps natively ( ∆ ≡ ∆), but their dynamics remain linear time-invariant (LTI), limiting per-token expressivity. We propose TIDES, a selective SSM variant that reconciles selective and continuous architectures by moving input-dependence off the step size and onto the diagonal state matrix. As a result, ∆ retains its physical meaning, tied to the state discretization, allowing the model to handle irregular timestamps natively without sacrificing the per-token expressivity that makes selective SSMs effective. We show this on a novel Fading Flash experimental benchmark, a compact controlled diagnostic for sequence models that jointly tests input-dependence and extrapolation to out-of-distribution ∆ values, and isolates the distinct failure modes of current state-of-the-art architectures that TIDES avoids by construction. On large-scale benchmarks, TIDES sets the new state-of-the-art average rank on UEA time-series classification and the Physiome-ODE regression benchmark. Code available at: https://github.com/TaylanSoydan/TIDES.

For agents

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

get_harvested_code_for_paper("2605.09742")
get_code_for_paper("2605.09742")
have("2605.09742")

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

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

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

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

Connect an agent — have() is free.