CoolFace
Modelpublic

stevevaius/seasonal-forecast-patchtst-cyclenet

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
0likes35downloads
Model Card

๐Ÿ“Š Monthly Seasonal Forecast Model (SOTA 2025)

State-of-the-art monthly seasonal forecasting combining the latest innovations from time series research. Competitive with the Chronos-Bolt foundation model (120M+ params) while using only ~2.5M parameters.

๐Ÿ† Results on M4 Monthly (48,000 test series)

ModelsMAPE โ†“MASE โ†“OWA โ†“Params
Seasonal Naive (baseline)15.991.2601.000-
Naive (baseline)15.261.2050.955-
CycleNet (MLP+RCF)13.410.9890.812215K
SeasonalPatchTST (Transformer+RCF)13.310.9780.8052.3M
Ensemble (Ours)13.150.9640.7942.5M
Chronos-Bolt-Small (SOTA foundation)13.030.9560.78747M

Our lightweight ensemble achieves OWA=0.794, within 0.9% of the SOTA Chronos-Bolt foundation model that has 20x more parameters.

๐Ÿ”ฌ Architecture

CycleNet (MLP + Residual Cycle Forecasting)

Based on CycleNet:

  • โ€”Learns a 12-month periodic cycle parameter
  • โ€”Subtracts learned cycle โ†’ forecasts residuals โ†’ adds future cycle
  • โ€”RevIN (Reversible Instance Normalization) for distribution shift
  • โ€”4-layer MLP backbone with GELU activation

SeasonalPatchTST (Transformer + RCF)

Combines PatchTST with CycleNet innovations:

  • โ€”12-month patches aligned with annual seasonality
  • โ€”CLS token + 4-layer Transformer encoder with 8 attention heads
  • โ€”CycleNet RCF decomposition + RevIN normalization
  • โ€”Pre-LN architecture for training stability

Learned Ensemble

  • โ€”Sigmoid-gated weighted average of CycleNet + PatchTST
  • โ€”Weight learned on validation set

๐Ÿ“ˆ Key Innovations

  1. 1.Residual Cycle Forecasting (RCF): From CycleNet โ€” learns W=12 annual cycle, forecasts residuals
  2. 2.Seasonal Patching: 12-month patch size matched to annual cycle (vs typical 16 or 32)
  3. 3.RevIN Normalization: Handles diverse scales across 48K series (Macro, Finance, Demographics)
  4. 4.Value-flipping + Scaling Augmentation: From Sundial (ICML 2025 Oral)
  5. 5.CLS Token Aggregation: Global representation for multi-step forecasting

๐Ÿš€ Usage

๐Ÿ“š Training Details

  • โ€”Dataset: M4 Monthly (48,000 series from autogluon/chronos_datasets)
  • โ€”Context: 48 months โ†’ Predict 18 months
  • โ€”Optimizer: AdamW (lr=1e-3 CycleNet / 5e-4 PatchTST, weight_decay=0.01)
  • โ€”Schedule: Cosine annealing
  • โ€”Early stopping: Patience=12, best val MSE checkpoint
  • โ€”Augmentation: Value-flipping (10%), random scaling ยฑ20%
  • โ€”288K training windows from sliding window extraction

๐ŸŒ Comparison with Foundation Models (2025 SOTA)

ModelPaperParamsfev-bench Win Rate
Chronos-2Amazon, Oct 2025120M90.7%
SundialTsinghua, ICML 2025 Oral128M1st MASE GIFT-Eval
Timer-S1Tsinghua, Mar 20258.3B MoEBest CRPS GIFT-Eval
Chronos-BoltAmazon205M250x faster
Ours (Ensemble)This work2.5MCompetitive OWA

๐Ÿ“„ References