N-HiTS: Neural Hierarchical Interpolation for Time Series Forecasting

Cristian Challu, Kin G. Olivares, Boris N. Oreshkin, Federico Garza, Max Mergenthaler, Artur Dubrawski

Abstract

N-HiTS (Neural Hierarchical Interpolation for Time Series) is a novel forecasting architecture designed to address the challenges of long-horizon prediction. By employing multi-rate signal sampling and hierarchical interpolation, N-HiTS achieves a significant ~20% improvement in accuracy and a 50x reduction in computation time compared to state-of-the-art Transformer models. This architecture effectively mitigates the computational complexity and volatility issues inherent in long-range forecasting.

Introduction

Long-horizon forecasting—predicting hundreds of time steps into the future—is critical for energy management, infrastructure planning, and healthcare. However, existing models face two primary hurdles: high computational complexity (often scaling quadratically with the horizon) and prediction volatility, where models fail to capture smooth underlying trends. N-HiTS addresses these by introducing inductive biases that prioritize hierarchical signal decomposition.

Methodology

N-HiTS builds upon the doubly residual stack architecture of N-BEATS, introducing two core innovations:

  1. Multi-Rate Signal Sampling: Each block utilizes a MaxPool layer with varying kernel sizes. Large kernels allow blocks to observe smoothed, downsampled versions of the input, focusing on low-frequency components, while smaller kernels capture high-frequency details.
  2. Hierarchical Interpolation: Rather than predicting every point in a long horizon, the model predicts a set of interpolation coefficients. These are used to reconstruct the full forecast via linear or cubic interpolation, enforcing smoothness and reducing parameter count.
The N-HiTS architecture featuring hierarchical stacks and multi-rate sampling.

By synchronizing the sampling rate of the input with the interpolation scale of the output, each block specializes in a specific frequency band of the time series.

Experimental Setup

The model was evaluated on six large-scale benchmark datasets: ETTm2 (Electricity Transformer Temperature), Exchange-Rate, Electricity (ECL), TrafficL, Weather, and ILI (Influenza-like illness). These datasets represent a diverse range of temporal resolutions and domains.

Key Results and Insights

N-HiTS demonstrates substantial improvements over leading Transformer architectures like Autoformer and Informer:

  • Accuracy: Average accuracy improvement of nearly 20%.
  • Speed: Training is approximately 50 times faster than Autoformer. For instance, on ETTm2, N-HiTS trains in 1.5 hours compared to Autoformer's 90+ hours.
  • Efficiency: Memory footprint scales linearly with input length, using less than 26% of the parameters required by the next best alternative.
Comparison of computational time and memory efficiency across different forecasting models.

Key Insights

  • Smoothness as a Regularizer: Hierarchical interpolation acts as a powerful inductive bias, preventing the volatility common in high-capacity models.
  • Top-Down Advantage: Modeling large-scale, low-frequency components before residuals mirrors human forecasting intuition and consistently yields better results.
  • Univariate Power: Despite being univariate, N-HiTS outperforms multivariate Transformers, suggesting that current multivariate models may overfit complex inter-variable relationships at the cost of temporal accuracy.

Limitations and Future Work

Currently, N-HiTS is a univariate model and cannot explicitly capture correlations between different variables. Future research may involve integrating hierarchical techniques into multivariate architectures, potentially combining them with attention mechanisms or exploring advanced interpolation functions like Wavelet spaces.

Summary updated

Abstract

Recent progress in neural forecasting accelerated improvements in the performance of large-scale forecasting systems. Yet, long-horizon forecasting remains a very difficult task. Two common challenges afflicting the task are the volatility of the predictions and their computational complexity. We introduce N-HiTS, a model which addresses both challenges by incorporating novel hierarchical interpolation and multi-rate data sampling techniques. These techniques enable the proposed method to assemble its predictions sequentially, emphasizing components with different frequencies and scales while decomposing the input signal and synthesizing the forecast. We prove that the hierarchical interpolation technique can efficiently approximate arbitrarily long horizons in the presence of smoothness. Additionally, we conduct extensive large-scale dataset experiments from the long-horizon forecasting literature, demonstrating the advantages of our method over the state-of-the-art methods, where N-HiTS provides an average accuracy improvement of almost 20% over the latest Transformer architectures while reducing the computation time by an order of magnitude (50 times). Our code is available at bit.ly/3VA5DoT
BibTeX
@inproceedings{challu2023n,
  author = {Cristian Challu and Kin G. Olivares and Boris N. Oreshkin and Federico Garza and Max Mergenthaler and Artur Dubrawski},
  title = {{N-HiTS: Neural Hierarchical Interpolation for Time Series Forecasting}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i6.25854},
}
Figure