SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.16412 · 2024

TOTEM: TOkenized Time Series EMbeddings for General Time Series Analysis

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 (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; 10 failures of our instrument; 2 no recorded run), measured 2026-11-22; 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/2402.16412.json · badge: /api/ran/2402.16412.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
saberatalukder/totem canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
FunctionStatusWhere it lives
codes2time Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
saberatalukder/totem/forecasting/extract_forecasting_data.py
pointer only (licence: NONE) · get_code("55dfde0d12235653")
How it ran

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

codes2timerevin Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
saberatalukder/totem/anomaly_detection/detect_anomaly.py
pointer only (licence: NONE) · get_code("cb77fdb4a1e324c7")
How it ran

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

create_datloaders Ran
ran; our contract draft was wrong, not the code
saberatalukder/totem/anomaly_detection/detect_anomaly.py
pointer only (licence: NONE) · get_code("762b2be39fdadf5a")
How it ran

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

create_datloaders Ran
ran; our contract draft was wrong, not the code
saberatalukder/totem/anomaly_detection/train_vqvae.py
pointer only (licence: NONE) · get_code("b5c7d28a17f662a4")
How it ran

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

create_time_series_dataloader Ran
ran; our contract draft was wrong, not the code
saberatalukder/totem/forecasting/generalist_eval.py
pointer only (licence: NONE) · get_code("1a119a859ec7ea04")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, saberatalukder/totem 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_params Ran
ran; our contract draft was wrong, not the code
saberatalukder/totem/forecasting/generalist_eval.py
pointer only (licence: NONE) · get_code("96092138a8882ebc")
How it ran

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

load_and_flatten Ran
ran; our contract draft was wrong, not the code
saberatalukder/totem/anomaly_detection/combine_datasets.py
pointer only (licence: NONE) · get_code("af1552f9da41a7cc")
How it ran

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

load_and_flatten Ran
ran, honoured the contract we drafted
saberatalukder/totem/anomaly_detection/combine_labels.py
pointer only (licence: NONE) · get_code("7302b9f7263f76d0")
How it ran

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

revintime2codes Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
saberatalukder/totem/anomaly_detection/detect_anomaly.py
pointer only (licence: NONE) · get_code("67b566e76ba373ba")
How it ran

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

save_data Ran
ran; our contract draft was wrong, not the code
saberatalukder/totem/anomaly_detection/save_chunked_data.py
pointer only (licence: NONE) · get_code("92447a783743bb61")
How it ran

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

time2codes Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
saberatalukder/totem/forecasting/extract_forecasting_data.py
pointer only (licence: NONE) · get_code("99487b1b03cba02c")
How it ran

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

inference Not yet run
unverified (harvested, no recorded run)
saberatalukder/totem/forecasting/generalist_eval.py
pointer only (licence: NONE) · get_code("7b15d87455a71d97")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, saberatalukder/totem 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. No invocation recorded.

train_model Not yet run
unverified (harvested, no recorded run)
saberatalukder/totem/anomaly_detection/train_vqvae.py
pointer only (licence: NONE) · get_code("b299340c6f48dc63")
How it ran

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

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

Repositories linked to this paper

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

Abstract

This work studies the problem of time series analysis with generalist (or foundation) models, which are models trained across many data domains. Drawing inspiration from the widespread success of large language models, we consider the simple strategy of discretely tokenizing time series data drawn from a myriad of datasets via self-supervision, then using the fixed tokenization to solve a variety of tasks across many data domains. Canonically, time series models are either trained on a single dataset or built in a task-specific manner (e.g., a forecasting-only model), where many use patches of time as inputs to the model. As such, performant generalist, discrete representation time series models explored across many tasks are of value. Our method, TOkenized Time Series EMbeddings (TOTEM), produces such generalist time series models with minimal or no fine-tuning while exhibiting strong zero-shot performance. We evaluate TOTEM extensively over nearly 500 experiments on three commonly-studied time series tasks with real-world data: imputation (17 baselines, 12 datasets), anomaly detection (19 baselines, 25 datasets), and forecasting (14 baselines, 12 datasets). We conclude that TOTEM matches or outperforms existing state-of-the-art models in both the canonical specialist setting (i.e., training one model on one domain) as well as the generalist setting (i.e., training a single model on many domains), which demonstrates the efficacy of tokenization for general time series analysis. The open-source implementation is available here: https://github.com/SaberaTalukder/TOTEM; a video summary is available here: https://www.youtube.com/watch?v=OqrCpdb6MJk.

For agents

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

get_harvested_code_for_paper("2402.16412")
get_code_for_paper("2402.16412")
have("2402.16412")

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

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

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

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

Connect an agent — have() is free.