TL;DR
TimeGS reimagines time series forecasting as a 2D generative rendering problem, adapting the popular computer vision technique of 2D Gaussian Splatting to temporal data. By treating future sequences as continuous 2D temporal surfaces, it resolves the boundary artifacts of previous 2D methods and adaptively models complex temporal variations, achieving state-of-the-art results across standard benchmarks.
What Problem Does This Paper Address?
Real-world time series data (like weather patterns or electricity usage) are shaped by an intricate mix of short-term fluctuations and long-term trends. To capture these recurring cycles, recent advanced models reshape 1D time series into 2D grids (period vs. phase).
However, treating these reshaped tensors like standard static images introduces two major flaws:
- Topological Mismatch: In a time series grid, the end of one row is chronologically adjacent to the start of the next row. Standard 2D convolutions treat them as spatially distant, severing chronological continuity and introducing artificial boundary discontinuities.
- Rigid Resolution: Fixed-size grid representations allocate modeling capacity uniformly. They cannot adaptively change resolution to focus on critical change points, anomalous spikes, or non-stationary shifts.
Methods
The authors introduce TimeGS, a framework that shifts the forecasting paradigm from traditional 1D pointwise regression to 2D generative rendering using anisotropic Gaussian kernels.
The architecture consists of four main components:
- 2D Variation Feature Extraction (2D-VFE): Folds the 1D historical sequence into a 2D temporal tensor based on known period lengths (e.g., 24 hours for daily cycles) and extracts multi-scale features using a UNet-based encoder.
- Multi-Basis Gaussian Kernel Generation (MB-GKG): Optimizing raw, free-floating Gaussian parameters directly on noisy time series data is highly unstable. To fix this, the authors reformulate shape regression as a stable dictionary learning task. The model selects and combines shapes from a frozen Gaussian Basis Bank (pre-defined Gaussian profiles) by predicting mixing weights and intensities.
- Multi-Period Chronologically Continuous Rasterization (MP-CCR): Instead of standard spatial image overlay, this block treats Gaussian kernels as continuous signal segments that naturally wrap around the 2D grid boundaries, ensuring strict chronological continuity when mapped back to a 1D timeline.
- Channel-Adaptive Aggregation (CAA): Fuses the rendered outputs from multiple periodic branches using learnable, channel-specific weights to handle multivariate datasets.
Datasets
The model was evaluated on 7 standard real-world benchmarks commonly used in long-term time series forecasting:
- Weather
- Electricity
- Traffic
- 4 Electricity Transformer Temperature datasets (ETTh1, ETTh2, ETTm1, ETTm2)
Key Insights and Ideas
- Forecasting as Rendering: By treating the future sequence as a latent 2D surface to be reconstructed, the model can exploit the inherent mathematical properties of Gaussian kernels—specifically their anisotropy (stretching and rotating)—to flexibly align with complex temporal variations.
- Dictionary Learning for Stability: The "aha moment" for training stability was freezing the geometric templates. Predicting combinations of a fixed basis bank prevents the geometric optimization from collapsing when faced with noisy real-world data.
- Topological Awareness: TimeGS acknowledges that time series grids are periodic and continuous, unlike static images. The continuous rasterization mechanism bridges the gap between 2D spatial modeling and 1D sequential reality.
Key Results
TimeGS demonstrates state-of-the-art or highly competitive performance against strong baselines, including Transformer-based (iTransformer, PatchTST), MLP-based (TimeMixer), and CNN-based (TimesNet) models.
- Consistent Improvements: On datasets like Weather, ETTh1, and ETTm1, TimeGS consistently reduces Mean Squared Error (MSE) and Mean Absolute Error (MAE) compared to traditional 1D and 2D models.
- Ablation Criticality: Removing the Multi-Basis component caused a catastrophic performance drop. For instance, on the Electricity dataset, the MSE surged from 0.181 to 0.877, proving that direct geometric regression is too unstable for time series.
Limitations and Future Work
The primary limitation of TimeGS is its reliance on predefined period lengths ($\psi$) as structural hyperparameters derived from domain knowledge (e.g., setting $\psi=24$ for hourly data). If a dataset contains hidden or shifting periodicities that aren't manually specified, the model's performance could be bottlenecked. The authors suggest that integrating automated or dynamic period detection within the continuous rendering pipeline is a promising direction for future work.
Summary updated