SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.16516 · 2026

Rethinking Large Language Models For Irregular Time Series Classification In Critical Care

Yu Wu, Cecilia Mascolo, Ting Dang, Feixiang Zheng

arXiv · PDF · Open in the Atlas

Code that ran

2 of 2 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 0 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/2601.16516.json · badge: /api/ran/2601.16516.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
mHealthUnimelb/LLMTS canonical (classifier label)
classifier basis: census
2 ran · 0 no recorded run
FunctionStatusWhere it lives
get_data_min_max Ran
ran, honoured the contract we drafted
mHealthUnimelb/LLMTS/UniTS/physionet.py
code served (permissive licence) · get_code("581484c900e0ef72")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, 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

torch.manual_seed(0)

# Create sample records - each record is a tuple of (record_id, tt, vals, mask, labels)
# vals: (time_steps, n_features)
# mask: (time_steps, n_features) with 1 for non-missing, 0 for missing
# tt: time points
# record_id: identifier
# labels: target labels

record1 = (
    "record_1",  # record_id
    torch.tensor([0.0, 1.0, 2.0]),  # tt (time points)
    torch.tensor([[1.5, 2.3, 0.9, 1.1],
                  [2.1, 1.8, 1.2, 0.8],
                  [1.9, 2.5, 0.7, 1.3]]).float(),  # vals (3 timesteps, 4 features)
    torch.tensor([[1, 1, 0, 1],
                  [1, 0, 1, 1],
                  [1, 1, 1, 0]]).float(),  # mask (3 timesteps, 4 features)
    torch.tensor([0])  # labels
)

record2 = (
    "record_2",  # record_id
    torch.tensor([0.0, 1.0]),  # tt
    torch.tensor([[0.5, 3.2, 1.1, 2.5],
                  [1.2, 2.9, 0.6, 1.9]]).float(),  # vals (2 timesteps, 4 features)
    torch.tensor([[1, 1, 1, 1],
                  [0, 1, 1, 1]]).float(),  # mask (2 timesteps, 4 features)
    torch.tensor([1])  # labels
)

records = [record1, record2]
device = torch.device('cpu')

ARGS = {
    'records': records,
    'device': device
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, 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
get_data_min_max Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mHealthUnimelb/LLMTS/mTAND/physionet.py
code served (permissive licence) · get_code("392bd3de9be8c0fe")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
from torch import nn

torch.manual_seed(0)

# Create sample records - each record is a tuple of (record_id, tt, vals, mask, labels)
# vals: shape (time_steps, n_features)
# mask: shape (time_steps, n_features) with 1 for observed, 0 for missing
# tt: time values
# labels: labels for the record

record_1 = (
    1,  # record_id
    torch.tensor([0.0, 1.0, 2.0, 3.0]),  # tt (4 time steps)
    torch.randn(4, 3),  # vals (4 time steps, 3 features)
    torch.ones(4, 3),  # mask (all observed)
    torch.tensor([0])  # labels
)

record_2 = (
    2,  # record_id
    torch.tensor([0.0, 1.0, 2.0]),  # tt (3 time steps)
    torch.randn(3, 3),  # vals (3 time steps, 3 features)
    torch.ones(3, 3),  # mask (all observed)
    torch.tensor([1])  # labels
)

records = [record_1, record_2]

device = torch.device('cpu')

ARGS = {
    'records': records,
    'device': device
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, 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

Also present in other papers' code

Of 2 samples lifted from this paper's linked repositories, 2 carry a function identity and 0 do not. Of the 2 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 1 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_data_min_max 3 other papers
3 dated earlier
2402.14989 (2024-02)
Stable Neural Stochastic Differential Equations in Analyzing Irregular Time Series Data
2412.12886 (2024-12)
TimeCHEAT: A Channel Harmony Strategy for Irregularly Sampled Multivariate Time Series Analysis
aaai_34173 (2025 (year only))
DualDynamics: Synergizing Implicit and Explicit Methods for Robust Irregular Time Series Analysis

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

Time series data from the Intensive Care Unit (ICU) provides critical information for patient monitoring. While recent advancements in applying Large Language Models (LLMs) to time series modeling (TSM) have shown great promise, their effectiveness on the irregular ICU data, characterized by particularly high rates of missing values, remains largely unexplored. This work investigates two key components underlying the success of LLMs for TSM: the time series encoder and the multimodal alignment strategy. To this end, we establish a systematic testbed to evaluate their impact across various state-of-the-art LLM-based methods on benchmark ICU datasets against strong supervised and self-supervised baselines. Results reveal that the encoder design is more critical than the alignment strategy. Encoders that explicitly model irregularity achieve substantial performance gains, yielding an average AUPRC increase of 12.8% over the vanilla Transformer. While less impactful, the alignment strategy is also noteworthy, with the best-performing semantically rich, fusion-based strategy achieving a modest 2.9% improvement over cross-attention. However, LLM-based methods require at least 10× longer training than the best-performing irregular supervised models, while delivering only comparable performance. They also underperform in data-scarce few-shot learning settings. These findings highlight both the promise and current limitations of LLMs for irregular ICU time series. The code is available at https://github.com/mHealthUnimelb/LLMTS.

For agents

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

get_harvested_code_for_paper("2601.16516")
get_code_for_paper("2601.16516")
have("2601.16516")

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

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

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

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

Connect an agent — have() is free.