Multilevel Wavelet Decomposition Network for Interpretable Time Series Analysis

Jingyuan Wang, Ze Wang, Jianfeng Li, Junjie Wu

Abstract

Time series analysis often requires capturing features across multiple frequency scales. While deep learning excels in the time domain, it frequently overlooks explicit spectral information. This paper presents the Multilevel Wavelet Decomposition Network (mWDN), a framework that integrates a trainable wavelet transform directly into neural network architectures. By "tightly coupling" wavelet decomposition with backpropagation, mWDN allows models to learn task-specific frequency filters. Our results on 40 UCR classification datasets and real-world forecasting tasks demonstrate that mWDN achieves state-of-the-art performance while providing unique insights into the frequency components driving model decisions.

Introduction

Traditional time series analysis typically relies on either time-domain methods (e.g., LSTMs) or frequency-domain methods (e.g., Fourier transforms). Wavelet transforms offer a middle ground, capturing features in both time and frequency. However, they are usually applied as a fixed preprocessing step, meaning their parameters are not optimized for the downstream task. The mWDN addresses this by embedding the Multilevel Discrete Wavelet Decomposition (MDWD) as a fundamental building block of the network, enabling the optimization of wavelet coefficients alongside other network weights.

The mWDN Architecture

The core of mWDN is a hierarchical decomposition layer that splits an input signal into low-frequency ($l$) and high-frequency ($h$) sub-series across multiple levels.

As shown in the figure above, the network approximates MDWD using a structured matrix multiplication followed by average pooling.

  • Trainable Wavelets: Weights are initialized with standard wavelet filters (e.g., Daubechies 4) but remain flexible during training. A regularization term ensures these weights stay close to their physical wavelet priors, maintaining the interpretability of the frequency bands.
  • Hierarchical Structure: The input $\mathbf{x}$ is recursively decomposed. At each level $i$, the low-frequency component $\mathbf{x}^l(i-1)$ is further split into $\mathbf{x}^l(i)$ and $\mathbf{x}^h(i)$.

Specialized Flow Designs

The authors propose two specialized architectures leveraging mWDN:

  1. Residual Classification Flow (RCF): For classification tasks, decomposed results from all levels are fed into a stack of classifiers. Residual learning is employed to capture incremental knowledge across different frequency resolutions.
  2. Multi-frequency LSTM (mLSTM): For forecasting, different frequency sub-series are processed by independent LSTM sub-networks before being fused for the final prediction.

Experimental Evaluation

The mWDN was evaluated on two major benchmarks:

  • UCR Time Series Archive: On 40 diverse classification datasets, the FCN-RCF model outperformed standard ResNets and LSTMs, winning on 19 benchmarks and achieving the lowest Mean Per-Class Error (MPCE).
  • WuxiCellPhone Dataset: In forecasting user-volume traffic for cell-phone base stations, the mLSTM consistently surpassed standard LSTMs and Stacked Auto-Encoders across multiple prediction horizons.

Crucially, experiments showed that "trainable" wavelets consistently outperform "fixed" ones, validating the benefit of fine-tuning frequency filters to specific data distributions.

Interpretability and Importance Analysis

A key advantage of mWDN is its inherent interpretability. By performing Importance Analysis—calculating partial derivatives of the output with respect to different frequency components—the researchers identified task-specific patterns:

  • Forecasting: Low-frequency components are most critical, as they represent stable, long-term trends in human activity.
  • Medical Classification: High-frequency components are often more vital, as they capture the "abnormal fluctuations" characteristic of diseases in signals like ECGs.

Conclusion

The Multilevel Wavelet Decomposition Network successfully bridges the gap between classical signal processing and modern deep learning. By making wavelet decomposition a first-class, trainable citizen of the neural network, mWDN provides a powerful tool for time series analysis that is both high-performing and interpretable. Future work includes extending the framework to multivariate and multidimensional data.

Summary updated

BibTeX
@inproceedings{wang2018multilevel,
  author = {Jingyuan Wang and Ze Wang and Jianfeng Li and Junjie Wu},
  title = {{Multilevel Wavelet Decomposition Network for Interpretable Time Series Analysis}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2018},
  doi = {10.1145/3219819.3220060},
}
Figure