- Introduced by
- Oreshkin, B.N. et al.
- Year
- 2020
- Type
- Deep neural forecasting architecture (interpretable basis expansion)
What does it do?
N-BEATS is a deep neural architecture for univariate time series forecasting, introduced by Oreshkin and colleagues in 2020.
Its interpretable configuration arranges fully connected blocks into a trend stack and a seasonality stack, so the forecast can be read as a sum of components. The original paper reports strong results on the M4 competition for a purely neural model, without classical statistical components.
The intuition behind the method
Classical forecasting usually requires the analyst to specify trend and seasonal structure by hand. N-BEATS instead learns these components from the history. A stack of blocks each takes the part of the signal it can explain, subtracts it, and passes the remainder to the next block. Trend and seasonality are therefore separated step by step, and their forecasts are added back together to form the prediction.
History
Oreshkin and colleagues introduced N-BEATS at ICLR in 2020. The original paper evaluated it on the M4 competition and reported that the purely neural architecture performed strongly against competing methods there. M4 itself, a benchmark of 100,000 time series and 61 forecasting methods, is documented by Makridakis and colleagues.
When to use it
Choose N-BEATS for univariate, continuous time series forecasting when you have a long history of regularly observed values and need multi-step forecasts over a fixed horizon. Treat about 100 observations as a practical minimum; short series carry a high risk of overfitting for a neural model and require careful validation on held-out periods. The forecast horizon and input window must be fixed before training, and training is practical mainly with a GPU. For very short series, a classical method such as ARIMA is usually more reliable.
Limitations and considerations
- The stacked fully connected blocks have many parameters relative to a typical univariate history, so on short series they tend to overfit.
- The input window and forecast horizon are fixed before training; a model trained for one horizon must be retrained to forecast a different one.
- Training is compute-intensive and a GPU is recommended, which adds cost and setup effort.
- The trend and seasonality decomposition constrains what each stack can output. It describes the fitted components, not a causal account of the series.
- The base architecture produces point forecasts; prediction intervals require an extension or a separate procedure.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The original paper reports strong accuracy on the M4 benchmark while using no statistical components, which makes it a reference point for how far a purely neural forecaster can go.
- In the interpretable configuration the forecast is split into a trend stack and a seasonality stack, so each component can be inspected rather than read from a single output.
- Residual stacking lets later blocks model what earlier blocks did not explain, giving the architecture capacity for complex temporal patterns.
Applications
- Univariate forecasting of regularly sampled continuous series with long histories.
- Benchmarking neural forecasters against classical baselines such as ARIMA on M4-style data.
- Decomposing a forecast into trend and seasonality terms for inspection, using the interpretable configuration.
How it works
How it works
Each block is a fully connected network that takes a fixed-length window of past observations and produces two outputs: a backcast, its reconstruction of that input window, and a forecast of the future horizon. Many such blocks are stacked to give the network capacity to represent complex temporal patterns.
Formula
(\hat{x}_\ell, \hat{y}_\ell) = \text{Block}_\ell(x_\ell)In the interpretable configuration, blocks are grouped into a trend stack and a seasonality stack. Each stack's output is constrained to a basis suited to its component: in the original paper the trend stack uses a low-order polynomial basis and the seasonality stack uses a Fourier (periodic) basis. These bases restrict the form each component can take, so the forecast is the sum of a trend part and a seasonality part, and each part can be inspected separately instead of reading the forecast as one opaque output.
Formula
\hat{y} = \text{trend stack} + \text{seasonality stack}Blocks are chained with residual connections. Each block's backcast is subtracted from the input it receives, so the next block works only on the part of the signal that remains unexplained. The forecasts from all blocks are summed to give the multi-step prediction; in the interpretable configuration this equals the trend-stack output plus the seasonality-stack output.
Formula
x_{\ell+1} = x_\ell - \hat{x}_\ell, \qquad \hat{y} = \sum_\ell \hat{y}_\ellCommon pitfalls
- Training on a very short series and trusting the forecast, because the network can fit the history closely while generalising poorly.
- Choosing the input window or horizon without checking the forecasts on a held-out period.
- Interpreting the trend and seasonality stacks as verified drivers of the series rather than fitted components.
- Using N-BEATS on a short series where ARIMA would be more reliable.
Frequently asked questions
How much data does N-BEATS need?
About 100 observations is a practical minimum. Shorter series are likely to be overfitted, and even somewhat longer series call for careful validation on held-out periods.
Is N-BEATS interpretable?
In its interpretable configuration the blocks are grouped into a trend stack and a seasonality stack, so the final forecast is the sum of a trend part and a seasonality part. This decomposition makes the prediction readable rather than a black box, though it describes fitted components, not causes.
When should I use ARIMA instead?
On very short series a classical statistical method such as ARIMA is the safer choice, because a neural forecaster has too little signal to learn from and is likely to overfit.
What do I need to set before training?
You must fix the forecast horizon and the input (look-back) window in advance, and a GPU is recommended for training within practical time.
Related methods
Sources
Oreshkin, B.N. et al. (2020). N-BEATS: Neural Basis Expansion Analysis for Interpretable Time Series Forecasting. ICLR.
Open publication referenceMakridakis, S., Spiliotis, E. & Assimakopoulos, V. (2020). The M4 Competition: 100,000 Time Series and 61 Forecasting Methods. International Journal of Forecasting, 36(1), 54–74.
Open DOI reference