Papers › RobustTSF: Towards Theory and Design of Robust Time Series Forecasting with Anomalies

RobustTSF: Towards Theory and Design of Robust Time Series Forecasting with Anomalies

3 Feb 2024arXiv:2402.02032archive 2025-07-28

Hao Cheng, Qingsong Wen, Yang Liu, Liang Sun

Time series forecasting is an important and forefront task in many real-world applications. However, most of time series forecasting techniques assume that the training data is clean without anomalies. This assumption is unrealistic since the collected time series data can be contaminated in practice. The forecasting model will be inferior if it is directly trained by time series with anomalies. Thus it is essential to develop methods to automatically learn a robust forecasting model from the contaminated data. In this paper, we first statistically define three types of anomalies, then theoretically and experimentally analyze the loss robustness and sample robustness when these anomalies exist. Based on our analyses, we propose a simple and efficient algorithm to learn a robust forecasting model. Extensive experiments show that our method is highly robust and outperforms all existing approaches. The code is available at https://github.com/haochenglouis/RobustTSF.

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

Code

Syntology Ran 10 of 12 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 5 ran · our draft was wrong; 1 ran · fixture could not drive it; 4 ran with no contract checked.

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

haochenglouis/robusttsf 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

12 samples harvested; 10 ran; 0 honoured the contract we drafted; 2 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 · our draft was wrong
1ran · fixture could not drive it
4ran
2unverified

Licence: 12 of the 12 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 haochenglouis/robusttsf. “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.

complete_linear_deviation haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran no licence file found · pointer only · 7cf73bba97ce763f · report
complete_linear_deviations haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran · fixture could not drive it no licence file found · pointer only · b0b8b5530ee8ee3d · report
first_derivative_matrix haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran · our draft was wrong no licence file found · pointer only · 3900bd8aa76b04dd · report
first_derv_nes_cvxpy haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran · our draft was wrong no licence file found · pointer only · 1e6625ac4c098f26 · report
get_interp_extrapolate_functions haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran no licence file found · pointer only · adf520c57cf10d0e · report
get_model_deviation_matrix haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran · our draft was wrong no licence file found · pointer only · f56222d1f555e2b5 · report
get_obj_func_model haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran no licence file found · pointer only · 70f16e450f281be0 · report
get_reg haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran no licence file found · pointer only · 9dce9ac21ed99398 · report
second_derivative_matrix_nes haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran · our draft was wrong no licence file found · pointer only · 50d31d9fb26957b0 · report
vectorize haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository ran · our draft was wrong no licence file found · pointer only · ac866917dc1cd68b · report
trend_filter haochenglouis/robusttsf/RobustTSF_SOTA_Methods/Robust_Exp_Transformer/data_provider/trendfilter_modify/trendfilter.py official repository unverified no licence file found · pointer only · f4e5810a809e441a · report
validate haochenglouis/RobustTSF/train_noisy.py official repository unverified no licence file found · pointer only · ff7b5d86575472f9 · report

Tasks

Time 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