TL;DR
WaveTS introduces a novel Multi-Order Wavelet Derivative Transform (WDT) that allows deep learning models to capture both sweeping macro trends and sharp, localized regime shifts in time series data. By operating on the derivatives of the wavelet basis rather than the raw signal, it achieves state-of-the-art forecasting accuracy while maintaining an incredibly light computational and memory footprint.
What Problem Does This Paper Address?
Frequency-domain Representation Learning (FRL) has become a dominant paradigm in deep time series forecasting. Most existing FRL models rely heavily on the Fourier Transform (FT). However, the FT suffers from spectral ambiguity—it tells you what frequencies exist, but not when they occur, making it poorly suited for non-stationary data with sudden shifts.
While the standard Wavelet Transform (WT) provides time-frequency localization, its coefficients tend to smooth out signals, making them insensitive to abrupt changes or "regime shifts" (like a sudden stock market crash or a power grid spike). Taking derivatives in the time domain to catch these spikes is a classic solution, but it amplifies high-frequency noise and complicates boundary handling.
The authors set out to design a transform that captures multi-scale, time-sensitive patterns and sharp discontinuities without the noise penalty of time-domain differentiation.
Methods
The core innovation is the Wavelet Derivative Transform (WDT). Instead of differentiating the raw time series, WDT differentiates the wavelet basis function itself. Mathematically, this is implemented cleanly as a standard Discrete Wavelet Transform (DWT) followed by a scale-wise rescaling factor. This spectral trick ensures the transform is perfectly invertible, suppresses numerical noise, and preserves scale alignment.
As shown in the architecture diagram below, the authors embed this into WaveTS:
- Multi-Branch Decomposition: The normalized input series enters $N$ parallel branches, each computing a specific order ($n=1$ to $N$) of the WDT. This decomposes the signal into low-frequency macro trends (LL) and high-frequency details (LH) across multiple dyadic scales.
- Frequency Refinement Units (FRUs): Real-valued linear layers perform "super-resolution" on these coefficients, mapping them from length $L$ (lookback window) to $L+F$ (lookback + forecast horizon).
- Inverse WDT (iWDT): The refined coefficients are mapped back into the time domain exactly, avoiding information loss.
- Backcasting-While-Forecasting Loss: The model is trained to predict both the future and reconstruct the past. Because linear frequency mappings inherently preserve historical information, forcing the model to "backcast" anchors the learned spectrum and prevents distribution drift.
Datasets
WaveTS was evaluated across 10 popular benchmark datasets spanning two primary tasks:
- Long-Term Time Series Forecasting (LTSF): Weather, Exchange, Traffic, Electricity (ECL), and the Electricity Transformer Temperature (ETT) datasets (subsets ETTh1, ETTh2, ETTm1, ETTm2).
- Short-Term Time Series Forecasting (STSF): The PEMS traffic datasets (PEMS03, PEMS04, PEMS07, PEMS08) and the massive M4 competition dataset.
Key Insights and Ideas
- Sharper Localization of Shifts: Standard wavelets smooth out transitions, but by encoding the series' derivative into the transform, WDT coefficients pinpoint abrupt regime shifts with much sharper clarity (see Figure 1(i) in the paper).
- Hardware-Friendly Efficiency: Unlike Fourier-based methods that require complex-valued neural networks (which are notoriously hardware-unfriendly), the DWT using a Haar or Daubechies basis uses purely real-valued computations. This makes it highly compatible with standard linear layers.
- The State-Space Model (SSM) Connection: The authors provide a neat theoretical proof showing that Linear Time-Invariant State Space Models (like Mamba) are mathematically equivalent to frequency-domain linear filters. This justifies why the "backcasting-while-forecasting" loss trick yields massive performance gains when applied to SSMs as well.
Key Results
WaveTS consistently outperforms top-tier Transformer, MLP, and FRL baselines (including iTransformer, PatchTST, and FITS):
- Accuracy: Achieved a 5.1% overall MSE reduction in long-term forecasting tasks, performing exceptionally well on highly intricate datasets like Electricity and Traffic.
- Ablation Proof: Replacing WDT with standard Fourier or Wavelet transforms caused a significant drop in performance, proving the necessity of the derivative-aware architecture.
- Efficiency: WaveTS strikes an incredible balance between accuracy and resource usage. On the ETTm1 dataset, it required only 380 MB of GPU memory, took just 2.61 seconds per training epoch, and clocked a lightning-fast inference speed of 0.015 seconds per batch—outperforming models that use up to 45x more memory.
Limitations and Future Work
The primary limitation acknowledged by the authors is that their empirical study is strictly confined to regularly sampled, fixed-interval datasets. Real-world monitoring scenarios often feature irregularly sampled or event-driven data. The authors note that extending WaveTS to handle irregular time series is a crucial next step to fully prove its robustness in the wild.
Summary updated