- Introduced by
- Challu, C. et al.
- Year
- 2023
- Type
- Deep neural forecasting (hierarchical interpolation)
What does it do?
N-HiTS (Neural Hierarchical Interpolation for Time Series Forecasting), introduced by Challu and colleagues in 2023, is a deep neural forecasting architecture.
It combines the forecasts of several stacks that operate at different sampling rates and merges them through hierarchical interpolation. The authors report an average accuracy improvement of almost 20% over recent Transformer architectures on long-horizon benchmarks, with computation time reduced by about a factor of 50.
The intuition behind the method
Long-horizon forecasting is hard because a model must capture both slow, low-frequency trends and fast, high-frequency fluctuations across many future steps. N-HiTS handles this by assigning different parts of the network to different time scales: some stacks look at the series sampled coarsely to capture broad movements, others look at finer detail. Each stack produces a smooth forecast at its own resolution, and these are interpolated back to full resolution and added together, so the final prediction blends long-range structure with short-range detail.
History
N-HiTS was introduced by Challu and colleagues in 2023 (AAAI; DOI 10.1609/aaai.v37i6.25854). Its authors identify two challenges in long-horizon forecasting, the volatility of the predictions and their computational complexity, and address them with two techniques: multi-rate data sampling and hierarchical interpolation.
When to use it
Choose N-HiTS to forecast a continuous univariate time series over a long horizon, when the history is long enough to train a deep model and GPU compute is available. It is most worthwhile when the forecast horizon is long and your question concerns accuracy relative to other deep long-horizon models. Do not choose it when the series is short: a deep model needs enough data to train without overfitting, and a classical model such as ARIMA is usually a safer starting point. The same caution applies whenever the available history is too limited to train a deep model without overfitting; in that case, compare it against a classical or simple baseline before drawing conclusions.
Limitations and considerations
- It needs ample history to train without overfitting. The cited abstract does not establish a minimum sample size, and deep models generally need considerably more history than classical ones, so validate the model on held-out future windows before relying on it.
- On modest-sized datasets, the multi-stack hierarchical structure is at risk of overfitting, so a simpler baseline should be compared against it.
- The efficiency argument for hierarchical interpolation rests on a smoothness condition, so it is weaker when the target is highly irregular.
- The reported gains come from the authors' benchmark experiments and may not transfer to a particular series.
- A GPU is recommended, which raises setup and compute cost relative to classical models, and like other deep models it offers little direct interpretability of its learned parameters.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Multi-rate sampling lets different stacks specialise in slow trends and fast fluctuations of the same series.
- Hierarchical interpolation produces each stack's forecast at reduced resolution, which the authors report reduces computation time by about a factor of 50 relative to recent Transformer architectures.
- On the authors' large-scale long-horizon experiments, it reports an average accuracy improvement of almost 20% over the latest Transformer architectures.
- The authors prove that the interpolation technique can approximate long horizons efficiently under a smoothness condition, which gives the efficiency claim a stated theoretical basis.
Applications
- Long-horizon forecasting of continuous univariate time series.
- Forecasting problems where predictions must cover many future steps and the volatility of forecasts is a concern.
- Settings with long histories for each series and access to GPU compute, where a deep model is practical.
- Comparing deep long-horizon forecasters, including Transformer models, on datasets similar to those used in the cited work.
How it works
How it works
The input history is sampled at different rates across the stacks. Coarser sampling lets a stack respond to slow, broad movements, while finer sampling keeps the rapid variation visible to other stacks. The authors describe this as multi-rate data sampling, which allows components with different frequencies and scales to be emphasised separately.
Each stack produces its forecast at a reduced resolution and then interpolates it up to the full forecast horizon. The authors prove that this technique can efficiently approximate arbitrarily long horizons when the signal is smooth, and this is the basis of the method's computational advantage on long horizons.
The interpolated forecasts from all stacks are summed, ŷ = Σ_s ŷ_s, so the final long-horizon forecast combines the contribution of each time scale. Because each stack's forecast is interpolated to the full horizon before summation, all terms have the same length and can be added directly.
Formula
\hat{y} = \sum_{s} \hat{y}_sCommon pitfalls
- Applying it to short series where a classical model such as ARIMA would be more reliable.
- Choosing the pooling or sampling rates without checking that the coarse stacks actually capture the slow structure in your data.
- Assuming the efficiency argument applies to series that are not smooth over the forecast horizon. The authors' proof assumes smoothness; before relying on it, plot the series and its forecast and check for abrupt jumps or high-frequency noise across the horizon.
- Treating the benchmark gains over Transformer models as a guarantee for your own dataset instead of evaluating against a simple baseline on your series.
Frequently asked questions
What are the main design ideas behind N-HiTS?
According to its authors, N-HiTS combines multi-rate input sampling with hierarchical interpolation across stacks. These techniques target the volatility of long-horizon predictions and their computational cost.
How much data do I need?
The cited abstract does not establish a minimum sample size for N-HiTS. Deep models generally need considerably more history than classical models, and longer histories are preferable. With modest-sized datasets the model risks overfitting, so compare it with a simpler baseline on held-out future windows.
Do I need a GPU?
A GPU is recommended. Like other deep forecasting models, N-HiTS is considerably more practical to train with GPU acceleration, especially for long horizons.
What should I use on a short time series instead?
A classical model such as ARIMA is a common choice for short series. Whatever model you choose, compare it against a simple baseline on held-out future windows.
Related methods
Sources
Challu, C. et al. (2023). NHITS: Neural Hierarchical Interpolation for Time Series Forecasting. AAAI.
Open DOI referenceOreshkin, B.N. et al. (2020). N-BEATS: Neural Basis Expansion Analysis for Interpretable Time Series Forecasting. ICLR. arXiv: 1905.10437
Open publication reference