HN-MVTS: HyperNetwork-based Multivariate Time Series Forecasting

Andrey V. Savchenko, Oleg KachanarXiv 2025 · DOI

Abstract

Multivariate time series (MVTS) forecasting involves a fundamental trade-off between robust channel-independent (CI) models and expressive channel-dependent (CD) models. HN-MVTS introduces a "plug-and-play" hypernetwork module that generates channel-specific parameters for the final layer of any forecasting model. By using learnable embeddings to capture inter-channel relationships, it bridges the gap between these two paradigms—improving accuracy across diverse architectures with zero overhead during inference.

Introduction: The CI vs. CD Trade-off

In multivariate time series forecasting—predicting variables like traffic flow, energy demand, or weather across multiple sensors—researchers face a critical choice in model design.

  1. Channel-Independent (CI) models: These treat each variable (channel) separately. They are robust, scale well, and are less prone to overfitting, but they ignore potentially vital correlations between variables.
  2. Channel-Dependent (CD) models: These model all variables jointly. While they can capture complex relationships, they are often prone to overfitting, require massive datasets, and can be computationally expensive.

Surprisingly, simple CI models often outperform complex CD models in real-world scenarios. HN-MVTS addresses this by creating a framework that retains the efficiency and robustness of CI approaches while gaining the ability to exploit inter-channel relationships.

Methods: The HN-MVTS Framework

The core of the proposed framework is a Hypernetwork—a small neural network designed to generate the weights for another network.

Architecture and Weight Generation

For every channel in the dataset, the system maintains a learnable embedding vector. These embeddings are fed into a small MLP-based hypernetwork. Instead of training the final prediction layer of a forecasting model normally, the hypernetwork generates the weights for that final layer based on the specific channel's embedding.

Information Sharing and Efficiency

Because the hypernetwork is shared across all channels, similar channels (with similar embeddings) will receive similar weights. This allows the model to "transfer" knowledge between related variables, acting as a form of adaptive interpolation. Crucially, the hypernetwork is only used during training. Once training is complete, the generated weights are fixed and "baked into" the base model, ensuring zero inference overhead.

Evaluation and Results

The researchers evaluated HN-MVTS on eight benchmark datasets, including Energy (ECL), Electricity Transformers (ETTm1, ETTm2), Traffic Flow (PEMS series), and Weather indicators. These datasets range from 7 to 883 channels, testing both scalability and generalization.

Key Findings

  • Consistent Performance Gains: HN-MVTS improved forecasting accuracy (MSE and MAE) across nearly every dataset and model architecture tested, including DLinear, TSMixer, ModernTCN, PatchTST, and iTransformer.
  • The Weather Breakthrough: On the Weather dataset, adding HN-MVTS to a simple DLinear model reduced the Mean Squared Error (MSE) by 18%, transforming a weak baseline into a top-performing solution.
  • Scalability: Even on high-dimensional datasets like PEMS07 (883 channels), the added parameter cost was modest, and training time per epoch increased by only 5% to 25%.

Discussion and Future Work

HN-MVTS acts as a data-adaptive regularizer. By forcing weights to be generated from low-dimensional embeddings, it prevents overfitting to noise in individual channels. While currently focused on the final linear layer, future iterations could explore generating weights for deeper layers or applying similar logic to non-neural models. Additionally, incorporating prior domain knowledge into the initial channel embeddings remains a promising avenue for further improvement.

Summary updated

BibTeX
@misc{savchenko2025hn,
  author = {Andrey V. Savchenko and Oleg Kachan},
  title = {{HN-MVTS: HyperNetwork-based Multivariate Time Series Forecasting}},
  year = {2025},
  eprint = {2511.08340},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.08340},
}
Figure