Learning the Dynamic Correlations and Mitigating Noise by Hierarchical Convolution for Long-term Sequence Forecasting

Zhihao Yu, Liantao Ma, Yasha Wang, Junfeng ZhaoarXiv 2023 · DOI

Abstract

Predicting future trends over long horizons, known as Long-term Sequence Forecasting (LTSF), is a critical yet challenging task due to the dynamic nature of variable correlations and the presence of evolutionary noise. We introduce the Hierarchical Memorizing Network (HMNet), a novel convolution-based framework designed to address these challenges. HMNet employs a "fine-to-coarse" hierarchy of Memorizing Convolution Blocks (MC-Blocks) to capture multi-scale dependencies. By integrating a dynamic variable interaction mechanism and an adaptive denoising module powered by a historical memory bank, HMNet achieves state-of-the-art performance, outperforming existing models by over 10% in accuracy across various benchmarks.

Introduction

Long-term forecasting is essential for applications ranging from energy management to traffic planning. However, real-world time series data often exhibit two complex characteristics that traditional models struggle to capture:

  1. Dynamic Correlations: The relationships between different variables (e.g., temperature and energy load) are not static and can shift based on external conditions.
  2. Evolutionary Noise: Unlike simple white noise, the noise in real-world systems evolves in intensity and pattern over time, making standard frequency-based filters inadequate.

While Transformer-based architectures have become the standard for LTSF, they often overlook the efficiency of hierarchical convolutions in processing multi-scale temporal data. HMNet re-evaluates this potential, offering a robust solution for modeling complex dependencies and mitigating noise.

Methodology: The HMNet Architecture

HMNet is structured around a stack of Memorizing Convolution Blocks (MC-Blocks), organized in a hierarchy that processes data from fine to coarse resolutions.

The architecture of HMNet (right) and the internal structure of the MC-Block (left).

Variable-Specific Embedding

To preserve the unique characteristics of different data streams, HMNet projects each variable into its own embedding space rather than using a single shared vector. This allows the model to maintain the distinct "personality" of variables like humidity versus price.

Dynamic Variable Interaction

Within each MC-Block, the model dynamically calculates how variables influence one another. An adaptive gating mechanism ($\alpha$) is employed to balance these learned interactions against the original signal, allowing the model to adjust its reliance on inter-variable correlations at each time step.

Adaptive Denoising via Memory

The "secret sauce" of HMNet is its adaptive denoising module. The model maintains a fixed-size, first-in-first-out (FIFO) memory bank that stores representations of previously encountered patterns. When processing new, potentially noisy data, the model retrieves the "Top-K" most similar historical patterns. These clean historical examples serve as a reference to smooth and denoise the current signal, effectively filtering out unpredictable disturbances.

Experimental Results

HMNet was evaluated on five multivariate time series benchmarks: ETTm2, Electricity, Exchange, Traffic, and Weather.

Performance and Accuracy

HMNet consistently outperformed the previous state-of-the-art model, FiLM, achieving an average improvement of 10.6% in Mean Squared Error (MSE) and 5.7% in Mean Absolute Error (MAE). The improvement was particularly pronounced on the high-dimensional Traffic dataset (862 variables), where HMNet showed a remarkable 16% reduction in MSE.

Noise Resilience

To test the effectiveness of the adaptive denoising module, the authors conducted stress tests by adding Gaussian noise to the datasets. HMNet demonstrated significantly higher resilience than competitors like DLinear or SCINet, with its performance decaying at a much slower rate as noise levels increased.

Comparison of MSE across different noise rates for various models, demonstrating HMNet's superior resilience.

Ablation Studies

Ablation experiments confirmed the necessity of both the interaction and denoising modules. Removing either component resulted in a performance drop of approximately 2.2–2.3%, validating the integrated approach of HMNet.

Conclusion and Future Work

HMNet represents a significant advancement in long-term sequence forecasting by effectively managing dynamic correlations and evolutionary noise through hierarchical convolutions and memory-based denoising. While the current memory retrieval process is effective, future research will focus on optimizing search overhead for massive datasets and developing real-time noise quantification methods to further enhance the model's cleaning capabilities.

Summary updated

BibTeX
@misc{yu2023learning,
  author = {Zhihao Yu and Liantao Ma and Yasha Wang and Junfeng Zhao},
  title = {{Learning the Dynamic Correlations and Mitigating Noise by Hierarchical Convolution for Long-term Sequence Forecasting}},
  year = {2023},
  eprint = {2312.16790},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.16790},
}
Figure