Papers › N-BEATS: Neural basis expansion analysis for interpretable time series forecasting

N-BEATS: Neural basis expansion analysis for interpretable time series forecasting

24 May 2019ICLR 2020 1arXiv:1905.10437archive 2025-07-28

Boris N. Oreshkin, Dmitri Carpov, Nicolas Chapados, Yoshua Bengio

We focus on solving the univariate times series point forecasting problem using deep learning. We propose a deep neural architecture based on backward and forward residual links and a very deep stack of fully-connected layers. The architecture has a number of desirable properties, being interpretable, applicable without modification to a wide array of target domains, and fast to train. We test the proposed architecture on several well-known datasets, including M3, M4 and TOURISM competition datasets containing time series from diverse domains. We demonstrate state-of-the-art performance for two configurations of N-BEATS for all the datasets, improving forecast accuracy by 11% over a statistical benchmark and by 3% over last year's winner of the M4 competition, a domain-adjusted hand-crafted hybrid between neural network and statistical time series models. The first configuration of our model does not employ any time-series-specific components and its performance on heterogeneous datasets strongly suggests that, contrarily to received wisdom, deep learning primitives such as residual blocks are by themselves sufficient to solve a wide range of forecasting problems. Finally, we demonstrate how the proposed architecture can be augmented to provide outputs that are interpretable without considerable loss in accuracy.

PaperPDFConference PDFCodeCode 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="1905.10437")

Code

Syntology Ran 10 of 39 code samples harvested from 6 repositories linked to this paper; 29 have no recorded run. Of those that ran: 5 ran · honoured contract; 5 ran · our draft was wrong.

By repository: community (archive-listed): 39 samples from 6 repositories, 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.

18 repositories listed; official and paper-mentioned ones first.

Chasm4359/ProTS mentioned on GitHubpytorchBSD-3-Clause report
DFrolova/ml-sk-project mentioned on GitHubpytorch report
ElementAI/N-BEATS mentioned on GitHubpytorchNOASSERTION report
Nixtla/neuralforecast mentioned on GitHubpytorch report
Nixtla/nixtlats mentioned on GitHub report
Y9008/NBEATS mentioned on GitHubpytorchMIT report
amitesh863/nbeats_forecast mentioned on GitHubpytorchMIT report
flaviagiammarino/nbeats-tensorflow mentioned on GitHubtfMIT report
jdb78/pytorch-forecasting mentioned on GitHubpytorchMIT report
philipperemy/n-beats mentioned on GitHubpytorch report
potosnakw/neuralforecast mentioned on GitHubpytorchApache-2.0 report
realdanielbyrne/N-BEATS-Lightning mentioned on GitHubpytorchMIT report
servicenow/n-beats mentioned on GitHubpytorchNOASSERTION report
unit8co/darts mentioned on GitHubpytorchApache-2.0 report
weifantt/depts mentioned 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

39 samples harvested; 10 ran; 5 honoured the contract we drafted; 29 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 · honoured contract
5ran · our draft was wrong
29unverified

Licence: 3 of the 39 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 6 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.

count_parameters realdanielbyrne/N-BEATS-Lightning/experiments/run_milk_sumloss_convergence.py community (archive-listed) ran · honoured contract MIT (permissive) · f6b944f50d3f15ae · report
generate_changepoint_basis Nixtla/neuralforecast/neuralforecast/models/nbeats.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · a12334ffc582c940 · report
generate_legendre_basis Nixtla/neuralforecast/neuralforecast/models/nbeats.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · 635c614da20b298a · report
generate_polynomial_basis Nixtla/neuralforecast/neuralforecast/models/nbeats.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · e6ae83dce808c9fb · report
mse MLD3/Deep-Residual-Time-Series-Forecasting/drtf.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · f0085a43c76debf6 · report
mse_one MLD3/Deep-Residual-Time-Series-Forecasting/drtf.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 5a4c78d16ecd7cf6 · report
msedoubs MLD3/Deep-Residual-Time-Series-Forecasting/drtf.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 32065b0b0a4d53b7 · report
seasonality_model philipperemy/n-beats/nbeats_pytorch/model.py community (archive-listed) ran · our draft was wrong MIT (permissive) · a80543442281cf38 · report
squeeze_last_dim philipperemy/n-beats/nbeats_pytorch/model.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 6b82ed8d296402a1 · report
trend_model philipperemy/n-beats/nbeats_pytorch/model.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 48c2e955f3036f30 · report
add_datetime_features Chasm4359/ProTS/feature/time_categorical.py community (archive-listed) unverified BSD-3-Clause (permissive) · 63a5cbe82b3db20f · report
add_datetime_features_with_lag Chasm4359/ProTS/feature/time_categorical.py community (archive-listed) unverified BSD-3-Clause (permissive) · 87a5512b788503ab · report
add_modified_external_features Chasm4359/ProTS/feature/feature_external_selection.py community (archive-listed) unverified BSD-3-Clause (permissive) · 146b2387bd3f249b · report
apply_protocol_training_fallbacks realdanielbyrne/N-BEATS-Lightning/experiments/run_from_yaml.py community (archive-listed) unverified MIT (permissive) · 5bb518a4df00ea2f · report
build_training_plan realdanielbyrne/N-BEATS-Lightning/experiments/run_ensemble_experiments.py community (archive-listed) unverified MIT (permissive) · fe6e935bdca93fca · report
cast_target_to_array flaviagiammarino/nbeats-tensorflow/nbeats_tensorflow/utils.py community (archive-listed) unverified MIT (permissive) · 8bbd336c54d6b7cd · report
center_quantile_weighting Chasm4359/ProTS/evaluation/weighting.py community (archive-listed) unverified BSD-3-Clause (permissive) · edba5939feafb629 · report
deep_merge realdanielbyrne/N-BEATS-Lightning/experiments/run_from_yaml.py community (archive-listed) unverified MIT (permissive) · e3a4e525486f1ca0 · report
find_existing_5h_prediction realdanielbyrne/N-BEATS-Lightning/experiments/run_ensemble_experiments.py community (archive-listed) unverified MIT (permissive) · 7cb61355d3f91b1a · report
generate_config realdanielbyrne/N-BEATS-Lightning/experiments/generate_basis_dim_sweep.py community (archive-listed) unverified MIT (permissive) · f056b22e9df589de · report
generate_lg_vae_configs realdanielbyrne/N-BEATS-Lightning/experiments/run_lg_vae_study.py community (archive-listed) unverified MIT (permissive) · f3b131fc93467b98 · report
get_ensemble_npz_name realdanielbyrne/N-BEATS-Lightning/experiments/run_ensemble_experiments.py community (archive-listed) unverified MIT (permissive) · cfb69e4e7f450e79 · report
get_time_indices flaviagiammarino/nbeats-tensorflow/nbeats_tensorflow/utils.py community (archive-listed) unverified MIT (permissive) · 1215fe3b290892b4 · report
get_training_sequences flaviagiammarino/nbeats-tensorflow/nbeats_tensorflow/utils.py community (archive-listed) unverified MIT (permissive) · 331a1c7dbefcc4b7 · report
lag_target Chasm4359/ProTS/feature/time_lag.py community (archive-listed) unverified BSD-3-Clause (permissive) · 75e380a62ebd9b70 · report
left_tail_quantile_weighting Chasm4359/ProTS/evaluation/weighting.py community (archive-listed) unverified BSD-3-Clause (permissive) · a8edd7770dc36a56 · report
load_yaml_config realdanielbyrne/N-BEATS-Lightning/experiments/run_from_yaml.py community (archive-listed) unverified MIT (permissive) · 1f8a0c5844dcb4e9 · report
parse_pool_freq realdanielbyrne/N-BEATS-Lightning/experiments/analyze_pooling_search.py community (archive-listed) unverified MIT (permissive) · 04f0884e55ae1f54 · report
rank_and_promote realdanielbyrne/N-BEATS-Lightning/experiments/run_ae_trend_study.py community (archive-listed) unverified MIT (permissive) · 486664f3dc245249 · report
rank_and_promote realdanielbyrne/N-BEATS-Lightning/experiments/run_lg_vae_study.py community (archive-listed) unverified MIT (permissive) · 5b546d8444f809bb · report
remove_lag_interval Chasm4359/ProTS/feature/time_lag.py community (archive-listed) unverified BSD-3-Clause (permissive) · 1728441ddecfd61c · report
remove_original_external_columns Chasm4359/ProTS/feature/feature_external_selection.py community (archive-listed) unverified BSD-3-Clause (permissive) · 8562140261c1d51a · report
rename_lag_series Chasm4359/ProTS/feature/time_lag.py community (archive-listed) unverified BSD-3-Clause (permissive) · 19f916807ae1c6d6 · report
result_exists realdanielbyrne/N-BEATS-Lightning/experiments/run_milk_sumloss_convergence.py community (archive-listed) unverified MIT (permissive) · cbfbf22ba63c7382 · report
seasonality_model flaviagiammarino/nbeats-tensorflow/nbeats_tensorflow/blocks.py community (archive-listed) unverified MIT (permissive) · cab77a83d7c17130 · report
trend_block flaviagiammarino/nbeats-tensorflow/nbeats_tensorflow/blocks.py community (archive-listed) unverified MIT (permissive) · 37f9452716df75df · report
trend_model flaviagiammarino/nbeats-tensorflow/nbeats_tensorflow/blocks.py community (archive-listed) unverified MIT (permissive) · 7f2c7f15af1134dc · report
uniform_quantile_weighting Chasm4359/ProTS/evaluation/weighting.py community (archive-listed) unverified BSD-3-Clause (permissive) · e1f3643c7325edfe · report
write_yaml realdanielbyrne/N-BEATS-Lightning/experiments/generate_comprehensive_sweep.py community (archive-listed) unverified MIT (permissive) · 01e92d90f57fa4f6 · report

Tasks

Time SeriesTime Series AnalysisTime Series ForecastingTime-Series Few-Shot Learning with Heterogeneous ChannelsUnivariate Time 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