Papers › TSLANet: Rethinking Transformers for Time Series Representation Learning

TSLANet: Rethinking Transformers for Time Series Representation Learning

12 Apr 2024arXiv:2404.08472archive 2025-07-28

Emadeldeen Eldele, Mohamed Ragab, Zhenghua Chen, Min Wu, XiaoLi Li

Time series data, characterized by its intrinsic long and short-range dependencies, poses a unique challenge across analytical applications. While Transformer-based models excel at capturing long-range dependencies, they face limitations in noise sensitivity, computational efficiency, and overfitting with smaller datasets. In response, we introduce a novel Time Series Lightweight Adaptive Network (TSLANet), as a universal convolutional model for diverse time series tasks. Specifically, we propose an Adaptive Spectral Block, harnessing Fourier analysis to enhance feature representation and to capture both long-term and short-term interactions while mitigating noise via adaptive thresholding. Additionally, we introduce an Interactive Convolution Block and leverage self-supervised learning to refine the capacity of TSLANet for decoding complex temporal patterns and improve its robustness on different datasets. Our comprehensive experiments demonstrate that TSLANet outperforms state-of-the-art models in various tasks spanning classification, forecasting, and anomaly detection, showcasing its resilience and adaptability across a spectrum of noise levels and data sizes. The code is available at https://github.com/emadeldeen24/TSLANet.

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="2404.08472")

Code

Syntology Ran 13 of 16 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 5 ran · fixture could not drive it; 8 ran with no contract checked.

By repository: official repository: 6 samples from 1 repository, 5 ran; community (archive-listed): 10 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

emadeldeen24/tslanet 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

16 samples harvested; 13 ran; 0 honoured the contract we drafted; 3 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.

5ran · fixture could not drive it
8ran
3unverified

Licence: 0 of the 16 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

Adaptive_Spectral_Block emadeldeen24/tslanet/Classification/TSLANet_classification.py official repository ran MIT (permissive) · 0bd45a9410192ee6 · report
ICB emadeldeen24/tslanet/Classification/TSLANet_classification.py official repository ran MIT (permissive) · b6aa4c925d9d63a1 · report
PatchEmbed emadeldeen24/tslanet/Classification/TSLANet_classification.py official repository ran MIT (permissive) · 490e12e5991e02bc · report
TSLANet_layer emadeldeen24/tslanet/Classification/TSLANet_classification.py official repository ran MIT (permissive) · 971f0f502ec7859e · report
random_masking_3D emadeldeen24/tslanet/Classification/TSLANet_classification.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · aa497c84b9b2b2f6 · report
TSLANet emadeldeen24/tslanet/Classification/TSLANet_classification.py official repository unverified MIT (permissive) · 3ab5e61f13a9e280 · report
Adaptive_Spectral_Block WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) ran · metamorphic tier: deterministic BSD-3-Clause (permissive) · 2e44cb3aed48ca48 · report
DropPath WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted BSD-3-Clause (permissive) · 43c44182d498a36d · report
ICB WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) ran · metamorphic tier: deterministic BSD-3-Clause (permissive) · 50cca414093bc5f4 · report
PatchEmbed WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) ran · metamorphic tier: deterministic BSD-3-Clause (permissive) · 39dcb76a380a0b70 · report
_trunc_normal_ WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) ran · fixture could not drive it BSD-3-Clause (permissive) · b39eb711a782b579 · report
drop_path WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) ran · fixture could not drive it BSD-3-Clause (permissive) · 87577b3ff9d32712 · report
random_masking_3D WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) ran · fixture could not drive it fingerprinted BSD-3-Clause (permissive) · 48b96f362caa9ad1 · report
trunc_normal_ WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) ran · fixture could not drive it BSD-3-Clause (permissive) · d347dc5f198621fd · report
BackboneTSLANet WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) unverified BSD-3-Clause (permissive) · b5ba0c5dffc1d40a · report
TSLANet_layer WenjieDu/PyPOTS/pypots/nn/modules/tslanet/backbone.py community (archive-listed) unverified BSD-3-Clause (permissive) · 699fbbad8beb6f92 · report

Tasks

Anomaly DetectionComputational EfficiencyRepresentation LearningSelf-Supervised LearningTime SeriesTime Series Classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Convolution

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