TL;DR
CAMP (Cycle-Aware Multi-Scale Patch Mixer) is a novel time series forecasting framework that dynamically extracts cyclic patterns on a per-sample basis without requiring predefined cycle lengths. By combining this adaptive cycle learning with a multi-resolution patch mixer that prioritizes recent data near the forecast horizon, CAMP achieves state-of-the-art performance across both long- and short-term forecasting benchmarks.
What Problem Does This Paper Address?
Real-world time series data (like electricity consumption or traffic flow) is a complex mix of long-term trends, recurring cycles, and irregular fluctuations. While capturing cyclic behavior is crucial for accurate forecasting, existing models suffer from two major limitations:
- Rigid Cycle Assumptions: Most cycle-aware models rely on a single, fixed period calculated at the dataset level (e.g., assuming a strict 24-hour cycle). However, as the authors demonstrate, the dominant period can shift dramatically depending on the lookback window and the specific sample window being analyzed.
- Uniform Patch Processing: Modern forecasting models often break time series into local segments called "patches." Standard architectures treat all patches uniformly. In reality, patches far in the past require broad contextual smoothing, whereas recent patches right next to the forecast boundary contain fresh, critical information that shouldn't be diluted by older data.
Methods
CAMP tackles these challenges by splitting the forecasting task into two distinct pipelines: a cyclic component and a multi-scale residual component.
- Adaptive Cycle Learning (ACL): Instead of hardcoding a cycle length, CAMP applies a Fast Fourier Transform (FFT) to each individual input window to identify the top-$K$ dominant frequencies. These frequencies are mapped to sinusoidal features, and a shared MLP with separate gating mechanisms synthesizes both historical and future cyclic components.
- Multi-Resolution Residual Decomposition: After subtracting the historical cycle, the remaining "de-cycled" residual is decomposed using a Stationary Wavelet Transform (SWT). This breaks the signal into multiple temporally aligned streams representing different frequencies (coarse to fine details).
- Horizon-Guided Patch Mixer (HGPM): To process the coarsest detail stream, the authors introduce a progressive mixing schedule. Instead of mixing all patches equally, HGPM applies fewer cross-patch updates to tokens closer to the forecasting horizon. This ensures that the most recent, informative data remains pristine while older patches incorporate broader context.
Datasets
The authors evaluated CAMP across several standard, diverse time series benchmarks:
- Long-Term Forecasting: ETT datasets (ETTh1, ETTh2, ETTm1, ETTm2), Weather, Electricity, and Traffic.
- Short-Term Forecasting: Four California Department of Transportation traffic benchmarks (PEMS03, PEMS04, PEMS07, and PEMS08).
No new datasets were introduced, ensuring direct comparability with existing baselines.
Key Insights and Ideas
- Cycles are Moving Targets: Predefining cycle lengths via dataset-level analysis (like autocorrelation) creates a performance bottleneck. Frequency dynamics change over time, making sample-adaptive frequency selection a necessity.
- Asymmetric Patch Importance: Information density is highest near the forecast boundary. Treating past and present patches symmetrically washes out vital immediate context.
- De-cycling Empowers Wavelets: Wavelet transforms are far more effective at capturing multi-scale residual fluctuations once the overpowering dominant cyclic patterns are stripped away first.
Key Results
CAMP consistently outperformed strong baselines, including PatchTST, iTransformer, and CycleNet.
- Long-Term Benchmarks: CAMP achieved the best average Mean Squared Error (MSE) on 6 out of 7 datasets and either the best or tied-best Mean Absolute Error (MAE) on 6 out of 7 datasets.
- Short-Term Benchmarks (PEMS): CAMP dominated the traffic datasets, securing the highest win count across 16 different settings. It proved particularly effective at short horizons ($H=12$), achieving the best MSE and MAE across all four PEMS datasets.
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- Computational Cost: Processing multiple multi-resolution streams simultaneously increases the model's computational overhead compared to simpler architectures.
- FFT Reliability: For very short or weakly periodic inputs, FFT-based cycle estimation can become less reliable.
- High-Dimensional Scaling: CAMP uses dense channel mixing, which caused it to slightly underperform on the highly multivariate Traffic dataset, where independent channel modeling or more selective channel interaction might prevent oversmoothing.
Future directions include developing more efficient patch-mixing mechanisms, improving the robustness of the cycle estimation module, and implementing selective, channel-aware modeling.
Summary updated