Papers › T-Rep: Representation Learning for Time Series using Time-Embeddings

T-Rep: Representation Learning for Time Series using Time-Embeddings

6 Oct 2023arXiv:2310.04486archive 2025-07-28

Archibald Fraikin, Adrien Bennetot, Stéphanie Allassonnière

Multivariate time series present challenges to standard machine learning techniques, as they are often unlabeled, high dimensional, noisy, and contain missing data. To address this, we propose T-Rep, a self-supervised method to learn time series representations at a timestep granularity. T-Rep learns vector embeddings of time alongside its feature extractor, to extract temporal features such as trend, periodicity, or distribution shifts from the signal. These time-embeddings are leveraged in pretext tasks, to incorporate smooth and fine-grained temporal dependencies in the representations, as well as reinforce robustness to missing data. We evaluate T-Rep on downstream classification, forecasting, and anomaly detection tasks. It is compared to existing self-supervised algorithms for time series, which it outperforms in all three tasks. We test T-Rep in missing data regimes, where it proves more resilient than its counterparts. Finally, we provide latent space visualisation experiments, highlighting the interpretability of the learned representations.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.04486")

Code

Syntology Ran 19 of 25 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong; 4 ran · fixture could not drive it; 11 ran with no contract checked.

By repository: official repository: 24 samples from 1 repository, 18 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

let-it-care/t-rep officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

25 samples harvested; 19 ran; 1 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
3ran · our draft was wrong
4ran · fixture could not drive it
11ran
6unverified

Licence: 25 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from let-it-care/t-rep. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ConvBlock let-it-care/t-rep/trep.py official repository ran · metamorphic tier: invariant fingerprinted licence not identified · pointer only · e4d4c00eca81ac32 · report
DilatedConvEncoder let-it-care/t-rep/trep.py official repository ran · metamorphic tier: invariant fingerprinted licence not identified · pointer only · d00747ac84a3997a · report
GaussianPositionalEncoding let-it-care/t-rep/trep.py official repository ran · metamorphic tier: invariant licence not identified · pointer only · 8ec4af15819bfd4f · report
LearnablePositionalEncodingBig let-it-care/t-rep/trep.py official repository ran · metamorphic tier: invariant licence not identified · pointer only · a18a1732e1ca752f · report
LearnablePositionalEncodingSmall let-it-care/t-rep/trep.py official repository ran · metamorphic tier: invariant licence not identified · pointer only · 9f1774b017ada5c2 · report
T2vCos let-it-care/t-rep/trep.py official repository ran licence not identified · pointer only · f5ca3b07f6e82c2c · report
T2vSin let-it-care/t-rep/trep.py official repository ran licence not identified · pointer only · 059554668ba6727f · report
TembedCondPredHead let-it-care/t-rep/trep.py official repository ran · metamorphic tier: invariant licence not identified · pointer only · 070c5941256f46c5 · report
get_tembed_jsd_pairs let-it-care/t-rep/trep.py official repository ran · honoured contract licence not identified · pointer only · 93fd24844f87fff4 · report
get_tembed_pred_pairs let-it-care/t-rep/trep.py official repository ran · our draft was wrong licence not identified · pointer only · 34f54041ac94d24e · report
instance_contrastive_loss let-it-care/t-rep/trep.py official repository ran · our draft was wrong fingerprinted licence not identified · pointer only · 9f8750cded333a83 · report
take_per_row let-it-care/t-rep/trep.py official repository ran · fixture could not drive it licence not identified · pointer only · 629a2d0ddc05f4b5 · report
tembed_cond_pred_loss let-it-care/t-rep/trep.py official repository ran licence not identified · pointer only · b9dc3c835ad04449 · report
tembed_jsd_pred_loss let-it-care/t-rep/trep.py official repository ran licence not identified · pointer only · 132e68ed0b48e01b · report
temporal_contrastive_loss let-it-care/t-rep/trep.py official repository ran · our draft was wrong fingerprinted licence not identified · pointer only · 37fd464b5f0a503b · report
torch_kl let-it-care/t-rep/trep.py official repository ran fingerprinted licence not identified · pointer only · d63c90fd727c9544 · report
torch_pad_nan let-it-care/t-rep/trep.py official repository ran · fixture could not drive it fingerprinted licence not identified · pointer only · 98da2c25852e8ec3 · report
torch_pad_with let-it-care/t-rep/trep.py official repository ran · fixture could not drive it fingerprinted licence not identified · pointer only · c7b091c653c77e75 · report
LearnablePositionalEncodingHybrid let-it-care/t-rep/trep.py official repository unverified licence not identified · pointer only · 4f9901e390aa2913 · report
TRep let-it-care/t-rep/trep.py official repository unverified licence not identified · pointer only · daa518cc4409de18 · report
TSEncoder let-it-care/t-rep/trep.py official repository unverified licence not identified · pointer only · d0c784be860ebbec · report
TembedDivPredHead let-it-care/t-rep/trep.py official repository unverified licence not identified · pointer only · 99766445d665fe0f · report
hierarchical_contrastive_loss let-it-care/t-rep/trep.py official repository unverified licence not identified · pointer only · 7b7612a2384a5baf · report
save_checkpoint_callback Let-it-Care/T-Rep/train_eval.py official repository unverified licence not identified · pointer only · d56075a227c8e82b · report
t2v identical code first harvested elsewhere ran · fixture could not drive it licence of this copy not recorded · e4bdfc21bb19cabb · report

Tasks

Anomaly DetectionRepresentation LearningTime Series

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections