Abstract
Multivariate time series (MTS) forecasting is a critical task in domains ranging from energy management to traffic planning. Traditional approaches often rely on fixed moving-average decomposition to separate trend and seasonal components, a method that lacks the flexibility to adapt to complex, non-linear data. This paper introduces Leddam (LEarnable Decomposition and Dual Attention Module), a framework that replaces static decomposition with a learnable convolutional kernel and utilizes a dual attention mechanism to simultaneously capture inter-series dependencies and intra-series variations. Experimental results demonstrate that Leddam achieves state-of-the-art performance across multiple benchmarks and provides a modular "plug-and-play" enhancement for existing architectures, reducing forecasting error by up to 48%.
Introduction
Predicting the future values of multiple correlated variables—such as temperature, humidity, and pressure in meteorology—requires modeling two distinct types of patterns: inter-series dependencies (how variables influence one another) and intra-series variations (how a single variable evolves over time).
Standard forecasting models typically employ "Trend-Seasonal Decomposition" to isolate long-term trends from short-term fluctuations. However, the industry standard for this decomposition is the Moving Average (MOV) kernel. Despite its ubiquity, MOV is inherently limited: it is untrainable, uses uniform weights that cannot adapt to specific data characteristics, and struggles to capture non-linear trends. Furthermore, many attention-based models struggle to balance inter- and intra-series modeling, often sacrificing one for the other or losing information through "patching" techniques.
The Leddam Framework
Leddam addresses these limitations through two primary architectural innovations: Learnable 1D Convolutional Decomposition and a Dual Attention Module.
1. Learnable 1D Convolutional Decomposition
Instead of a fixed moving average, Leddam utilizes a 1D convolutional kernel initialized with a Gaussian distribution. Because this kernel is integrated into the model's training process, it can learn the optimal weights for trend extraction. This allows the model to prioritize recent data points or adapt to complex, non-linear structures that a standard MOV kernel would miss. By making decomposition part of the gradient descent process, the model dynamically adjusts its "view" of the underlying trend based on the specific dataset.
2. Dual Attention Module
To handle the dual complexities of MTS data, Leddam employs two concurrent attention mechanisms:
- Inter-series Modeling: This uses channel-wise self-attention, treating the entire timeline of a single variable as a unique token. This allows the model to explicitly map correlations between different variables.
- Intra-series Modeling: To capture variations within a single variable without the information loss associated with discrete patching, Leddam introduces "Auto-regressive self-attention." This process generates tokens through an auto-regressive embedding that preserves the full temporal context, maintaining the continuity of the original sequence.
Experimental Evaluation
Leddam was evaluated on eight widely recognized open-source benchmarks, including the Electricity Transformer Temperature (ETT) subsets, Electricity consumption data, San Francisco traffic occupancy, and meteorological indicators (Weather).
Performance and Generalization
The framework consistently outperformed top-tier models such as iTransformer, PatchTST, and TimesNet across nearly all datasets and prediction horizons. Beyond its performance as a standalone model, the Learnable Decomposition (LD) module proved to be model-agnostic. When integrated into existing architectures, the LD module provided significant performance boosts:
- LSTM: Achieved an average Mean Squared Error (MSE) reduction of 48.56%.
- Informer: Achieved an average MSE reduction of 31.72%.
- LightTS: Achieved an average MSE reduction of 11.87%.
Discussion and Conclusion
The success of Leddam highlights that trainability in the decomposition phase is a critical missing link in modern forecasting. By moving away from "dumb" tools like the static moving average, models can better navigate the nuances of non-linear trends. Additionally, the auto-regressive approach to intra-series modeling demonstrates that temporal continuity is vital for capturing dynamic variations.
While the learnable kernel is highly effective, future research may focus on optimizing kernel initialization and exploring more sophisticated integration methods within the initial layers of deep networks. Despite these successes, extreme non-stationarity remains a challenge for Leddam, as it does for all current forecasting methodologies. Nevertheless, Leddam represents a significant step forward in making MTS forecasting more adaptive, efficient, and accurate.
Summary updated