SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.03964 · ICML · 2025

Causality-Aware Contrastive Learning for Robust Multivariate Time-Series Anomaly Detection

Sungroh Yoon, Jisoo Mok, Dongjun Lee, Jaihyun Lew, Hyungi Kim, Sungjae Kim

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 1 failure of our instrument; 3 no recorded run), measured 2026-11-24; 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/2506.03964.json · badge: /api/ran/2506.03964.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
kimanki/CAROTS community
Papers with Code archive
9 ran · 3 no recorded run
FunctionStatusWhere it lives
DataEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("a57a3fdfd950fb4d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("87c49a1ee5e644cd")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

EncoderLayer Ran
ran on a synthesized input
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("3b5ee559dafc1e69")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

FFT_for_Period Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("968923b047f89239")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

GATV2_ENC Ran
ran on a synthesized input · constructed an object; no result was computed
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("bc2234ecaf7243be")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

GRU_ENC Ran
ran on a synthesized input · constructed an object; no result was computed
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("e565548cda0cf8a3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

Inception_Block_V1 Ran
ran on a synthesized input · constructed an object; no result was computed
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("d565f29c7e4a086b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

LSTM_ENC Ran
ran on a synthesized input · constructed an object; no result was computed
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("cff7bb48dd3644a5")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

TimesBlock Ran
ran on a synthesized input · constructed an object; no result was computed
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("465b5617023ee308")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

CAROTS Not yet run
unverified (harvested, no recorded run)
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("7e2b1f79dfb2c081")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

TimesNet_ENC Not yet run
unverified (harvested, no recorded run)
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("68135f72e57d5c37")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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.

iTransformer_ENC Not yet run
unverified (harvested, no recorded run)
kimanki/CAROTS/models/carots/modeling_carots.py
pointer only (licence: NOASSERTION) · get_code("9e417e303cf1c22f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, kimanki/CAROTS (NOASSERTION). 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 4 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 4 later) and 8 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
FFT_for_Period
brick of this paper's assembly: helper
7 other papers
6 dated earlier, 1 later
ijcai2024_0629 (2024 (year only))
SDformer: Transformer with Spectral Filter and Dynamic Attention for Multivariate Time Series Long-term Forecasting
2401.00423 (2024-01)
MSGNet: Learning Multi-Scale Inter-Series Correlations for Multivariate Time Series Forecasting
2404.01340 (2024-04)
From Similarity to Superiority: Channel Clustering for Time Series Forecasting
and 4 more not named here
DataEmbedding
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
2302.11939 (2023-02)
One Fits All: Power General Time Series Analysis by Pretrained LM
2605.21550 (2026-05)
PeakFocus: Bridging Peak Localization and Intensity Regression via a Unified Multi-Scale Framework for Electricity Load Forecasting
Encoder
brick of this paper's assembly: helper
2 other papers
2 later · 2 only as an assembly brick
2510.22655 (2025-10)
Learning Without Augmenting: Unsupervised Time Series Representation Learning via Frame Projections
2605.24523 (2026-05)
MindAlign: Bridging EEG, Vision, and Language for Zero-Shot Visual Decoding
EncoderLayer
brick of this paper's assembly: helper
2 other papers
2 later · 2 only as an assembly brick
2510.22655 (2025-10)
Learning Without Augmenting: Unsupervised Time Series Representation Learning via Frame Projections
2605.24523 (2026-05)
MindAlign: Bridging EEG, Vision, and Language for Zero-Shot Visual Decoding

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

Repositories linked to this paper

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

Abstract

Utilizing the complex inter-variable causal relationships within multivariate time-series provides a promising avenue toward more robust and reliable multivariate time-series anomaly detection (MTSAD) but remains an underexplored area of research. This paper proposes Causality-Aware contrastive learning for RObust multivariate Time-Series (CAROTS), a novel MT-SAD pipeline that incorporates the notion of causality into contrastive learning. CAROTS employs two data augmentors to obtain causalitypreserving and -disturbing samples that serve as a wide range of normal variations and synthetic anomalies, respectively. With causalitypreserving and -disturbing samples as positives and negatives, CAROTS performs contrastive learning to train an encoder whose latent space separates normal and abnormal samples based on causality. Moreover, CAROTS introduces a similarity-filtered one-class contrastive loss that encourages the contrastive learning process to gradually incorporate more semantically diverse samples with common causal relationships. Extensive experiments on five real-world and two synthetic datasets validate that the integration of causal relationships endows CAROTS with improved MTSAD capabilities. The code is available at https://github.com/kimanki/CAROTS.

For agents

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

get_harvested_code_for_paper("2506.03964")
get_code_for_paper("2506.03964")
have("2506.03964")

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

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

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

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

Connect an agent — have() is free.