Papers › Battling the Non-stationarity in Time Series Forecasting via Test-time Adaptation

Battling the Non-stationarity in Time Series Forecasting via Test-time Adaptation

9 Jan 2025arXiv:2501.04970archive 2025-07-28

HyunGi Kim, Siwon Kim, Jisoo Mok, Sungroh Yoon

Deep Neural Networks have spearheaded remarkable advancements in time series forecasting (TSF), one of the major tasks in time series modeling. Nonetheless, the non-stationarity of time series undermines the reliability of pre-trained source time series forecasters in mission-critical deployment settings. In this study, we introduce a pioneering test-time adaptation framework tailored for TSF (TSF-TTA). TAFAS, the proposed approach to TSF-TTA, flexibly adapts source forecasters to continuously shifting test distributions while preserving the core semantic information learned during pre-training. The novel utilization of partially-observed ground truth and gated calibration module enables proactive, robust, and model-agnostic adaptation of source forecasters. Experiments on diverse benchmark datasets and cutting-edge architectures demonstrate the efficacy and generality of TAFAS, especially in long-term forecasting scenarios that suffer from significant distribution shifts. The code is available at https://github.com/kimanki/TAFAS.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

Code

Syntology Ran 12 of 31 code samples harvested from 1 repository linked to this paper; 19 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 9 ran with no contract checked.

By repository: official repository: 31 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

kimanki/tafas officialmentioned in paperpytorch 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

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

3ran · our draft was wrong
9ran
19unverified

Licence: 31 of the 31 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 kimanki/tafas. “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.

Calibration kimanki/tafas/tta/tafas.py official repository ran licence not identified · pointer only · 57a469abb0c62313 · report
DayOfMonth kimanki/tafas/tta/tafas.py official repository ran · metamorphic tier: well formed licence not identified · pointer only · 69102eee6ef834b4 · report
DayOfWeek kimanki/tafas/tta/tafas.py official repository ran · metamorphic tier: well formed licence not identified · pointer only · e7ad723765a63c28 · report
DayOfYear kimanki/tafas/tta/tafas.py official repository ran · metamorphic tier: well formed licence not identified · pointer only · 427d616ee2d1dd47 · report
GCM kimanki/tafas/tta/tafas.py official repository ran · metamorphic tier: invariant licence not identified · pointer only · 787bd760383538d3 · report
HourOfDay kimanki/tafas/tta/tafas.py official repository ran · metamorphic tier: well formed licence not identified · pointer only · cb12af2889099f69 · report
MonthOfYear kimanki/tafas/tta/tafas.py official repository ran · metamorphic tier: well formed licence not identified · pointer only · 77ad6f803f2a48b2 · report
TimeFeature kimanki/tafas/tta/tafas.py official repository ran licence not identified · pointer only · c4d279d29d9bc7d7 · report
WeekOfYear kimanki/tafas/tta/tafas.py official repository ran · metamorphic tier: well formed licence not identified · pointer only · c52069366688d0e0 · report
get_norm_method kimanki/tafas/tta/tafas.py official repository ran · our draft was wrong licence not identified · pointer only · 11e0c129a5a8179f · report
get_optimizer kimanki/tafas/tta/tafas.py official repository ran · our draft was wrong licence not identified · pointer only · 246502cc068a88c8 · report
prepare_inputs kimanki/tafas/tta/tafas.py official repository ran · our draft was wrong licence not identified · pointer only · 4bdfc4f9ecfaa4e7 · report
Adapter kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · dbfcf1e68493e38e · report
ETTh1 kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 2983007d48cc8e69 · report
ETTh2 kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 158706717d3566b6 · report
ETTm1 kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 84479f9476508439 · report
ETTm2 kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 4dffead69b6f1235 · report
Electricity kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 6194a967f6560545 · report
Exchange kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 34db45ed118c7333 · report
ForecastingDataset kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 04f5f10b98ac5a0b · report
Illness kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 2d7cb4bb8828db9c · report
MinuteOfHour kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · b0e6695c17e0a354 · report
SecondOfMinute kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 7587b3d7ae33f5f6 · report
Traffic kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 474221b2e3e6647c · report
Weather kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · aae3196666b43d9e · report
build_dataset kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · bdf4a9030fd490ad · report
construct_loader kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · af09d5277cb31c6e · report
forecast kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 9882e40688482a90 · report
get_test_dataloader kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · d8f02721ee5c52db · report
time_features kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 16f20c85e0637628 · report
time_features_from_frequency_str kimanki/tafas/tta/tafas.py official repository unverified licence not identified · pointer only · 7870a2c691d73fab · report

Tasks

Test-time AdaptationTime SeriesTime Series Forecasting

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