Introduction
Long-term time series forecasting (LTSF) is a cornerstone of modern predictive analytics, with applications ranging from energy demand estimation to macroeconomic planning. Recent trends in the field have shifted from complex, attention-based Transformer architectures back toward simpler linear models. While Transformers often struggle with temporal order due to their inherent permutation invariance, simple linear models frequently lack the capacity to capture the non-linear, continuous-time dynamics of real-world systems.
This paper introduces LTSF-DNODE, a framework that integrates classical time-series decomposition with Neural Ordinary Differential Equations (NODEs). By treating discrete linear layers as continuous-time flows, LTSF-DNODE achieves state-of-the-art performance while maintaining the efficiency and low parameter count of linear architectures.
Methodology
The LTSF-DNODE architecture is built on a modular pipeline designed to isolate and model distinct temporal patterns through three primary stages.
1. Adaptive Decomposition (DCMP)
The model begins by decomposing the input series into three primary components: Trend, Seasonality, and Residual. Unlike static decomposition methods, LTSF-DNODE employs exploratory data analysis—specifically Augmented Dickey-Fuller (ADF) and Autocorrelation Function (ACF) tests—to determine the statistical relevance of seasonality. If a dataset lacks significant seasonal patterns (e.g., Exchange Rate data), the seasonality component is bypassed to prevent the introduction of noise.
2. Normalization and Denormalization
To mitigate the effects of distribution shift—where the mean and variance of data change over time—the framework applies instance normalization to the trend and residual components. This ensures that the model learns stationary dynamics, which are then mapped back to the original scale during the denormalization phase for final prediction.
3. The Neural ODE Block
The core innovation lies in the transition from discrete linear mappings to continuous-time dynamics. Instead of a standard layer $Y = WX$, the model formulates the prediction as an initial value problem:
$$\frac{dx(t)}{dt} = f(x(t), t; \theta)$$
By interpreting the weight matrix as a time-derivative, the model simulates the "flow" of data from the observation window into the future. This continuous formulation allows the model to capture more complex temporal dependencies than a single matrix multiplication. Numerical solvers, such as Euler or Runge-Kutta (RK4), are used to compute the state transitions.
4. Regularization for Stability
To ensure the ODEs remain computationally efficient and stable, the authors incorporate Jacobian and kinetic regularization. These terms penalize high-frequency oscillations in the learned dynamics, encouraging the solver to find "smoother" paths. This not only prevents overfitting but also significantly accelerates training and inference by simplifying the solver's task.
Experimental Evaluation
The authors evaluated LTSF-DNODE against a suite of competitive baselines, including FEDformer, Autoformer, and DLinear, across several standard benchmarks: Electricity, Weather, Exchange Rate, ILI (Influenza-like illness), and the ETT (Electricity Transformer Temperature) datasets.
Key Results
LTSF-DNODE demonstrated superior performance in long-term forecasting tasks:
- Accuracy Gains: The model achieved significant reductions in Mean Squared Error (MSE) and Mean Absolute Error (MAE), notably showing up to a 15.08% improvement in MSE on the Exchange Rate and ILI benchmarks.
- Ablation Insights: Comparisons between standard linear models and the "Linear with NODE" variant confirmed that the ODE formulation provides a distinct mathematical advantage in capturing temporal evolution over discrete layers.
- Efficiency: Despite its performance gains, LTSF-DNODE maintains a parameter footprint comparable to simple linear models, making it significantly more memory-efficient than Transformer-based alternatives.
Conclusion and Future Directions
LTSF-DNODE successfully bridges the gap between simplicity and sophistication. By leveraging the continuous-time perspective of Neural ODEs, it enhances the expressive power of linear models without the computational burden of attention mechanisms.
Future research directions include the integration of Stochastic Differential Equations (SDEs) to better handle the residual component, which is often dominated by stochastic noise. Additionally, optimizing the selection of ODE solvers and step sizes remains an area for further refinement to balance precision and inference speed.
Summary updated