Unlocking the Potential of Deep Learning in Peak-Hour Series Forecasting

Zhenwei Zhang, Xin Wang, Jingyuan Xie, Heling Zhang, Yuantao Gu · DOI

TL;DR

Researchers from Tsinghua University have introduced Seq2Peak, a novel framework designed to solve the specific challenges of Peak-Hour Series Forecasting (PHSF). By combining a specialized "Cyclic Normalization" pipeline with a hybrid loss function that optimizes for both full sequences and their peaks, Seq2Peak achieves a massive 37.7% average performance boost over state-of-the-art time series models.

What Problem Does This Paper Address?

In industries like telecommunications, energy, and transportation, knowing the average value isn't enough—you need to know the peak. Engineers use peak traffic to size base stations, and utilities use peak demand to manage power production.

However, standard Time Series Forecasting (TSF) models like Transformers struggle with peaks for two main reasons:

  1. Non-Stationarity: Peak-hour series (the sequence of daily maximums) are often highly non-stationary and exhibit much lower autocorrelation than the original full series, making them harder to predict directly.
  2. The "Mean Deficit" Problem: Standard loss functions like Mean Squared Error (MSE) encourage models to minimize average error. This leads to "conservative" predictions that consistently underestimate extreme values (peaks).
Figure 1: The peak-hour series forecasting task and its paradigms

Methods

The authors propose Seq2Peak, a plug-and-play framework that can be integrated into existing TSF models (like Informer or DLinear). It consists of two primary components:

  • Cyclic Normalization (CyclicNorm): Instead of standard global normalization, this module models the correlation of distributions across different hours within a cyclical interval (e.g., 24 hours). It normalizes 24 individual sub-sequences to handle daily periodicity and includes a "non-stationary shifting module" to account for distribution shifts over time.
  • Seq2Peak Decoder & Hybrid Loss: The framework adds a parameter-free max-pooling layer to the end of the forecasting model. Crucially, it uses a hybrid loss function: $$l_{hy} = \alpha l_{seq} + (1 - \alpha) l_{peak}$$ This forces the model to learn the underlying dynamics of the full sequence ($l_{seq}$) while simultaneously prioritizing the accuracy of the extracted peaks ($l_{peak}$).
The proposed Seq2Peak framework

Datasets

The framework was evaluated on four large-scale, real-world hourly datasets commonly used in TSF research:

  • ETTh1 & ETTh2: Electricity Transformer Temperature data.
  • Electricity: Power load consumption records.
  • Traffic: Road occupancy rates from California sensors.

These datasets were chosen because they exhibit clear daily periodicity, making peak forecasting both meaningful and challenging.

Key Insights and Ideas

  • The Autocorrelation Gap: The authors show that peak-hour series have significantly lower autocorrelation than original series. This explains why models that try to predict peaks directly (ignoring the rest of the data) often fail—they are trying to learn from a "noisier" signal.
  • Back-propagating through Max-Pooling: By using a max-pooling layer within the architecture rather than as a post-processing step, the model can back-propagate errors specifically related to the peaks.
  • Synergy of Modules: Ablation studies revealed that while CyclicNorm and the hybrid decoder both help, they are most effective when used together. CyclicNorm stabilizes the input features, while the decoder focuses the optimization on the target extremes.
Figure 2: ACF for "OT" variable of ETTh1 (5% significance limits)

Key Results

Seq2Peak was tested against several baselines, including Transformer, Informer, Autoformer, and DLinear.

  • Significant Gains: It achieved an average relative improvement of 37.7% across all datasets and models.
  • Robustness to Horizon: While standard models saw their error rates skyrocket as the prediction window increased (e.g., forecasting 30 days ahead vs. 5 days), Seq2Peak remained remarkably stable.
  • Optimal Weighting: Through hyper-parameter tuning, the authors found that a weighting factor ($\alpha$) of approximately 0.5—balancing the full sequence and peak losses equally—yielded the best results.

Limitations and Future Work

The current framework is optimized for series with a single dominant cycle (like the 24-hour daily cycle). The authors do not explicitly discuss how the model handles multi-seasonal data (e.g., overlapping daily and weekly cycles). Future work could involve extending the CyclicNorm pipeline to handle multiple periodicities or exploring how this approach fares in domains with less predictable "spiky" data, such as financial markets or rare event detection.

Summary updated

Abstract

Unlocking the potential of deep learning in Peak-Hour Series Forecasting (PHSF) remains a critical yet underexplored task in various domains. While state-of-the-art deep learning models excel in regular Time Series Forecasting (TSF), they struggle to achieve comparable results in PHSF. This can be attributed to the challenges posed by the high degree of non-stationarity in peak-hour series, which makes direct forecasting more difficult than standard TSF. Additionally, manually extracting the maximum value from regular forecasting results leads to suboptimal performance due to models minimizing the mean deficit. To address these issues, this paper presents Seq2Peak, a novel framework designed specifically for PHSF tasks, bridging the performance gap observed in TSF models. Seq2Peak offers two key components: the CyclicNorm pipeline to mitigate the non-stationarity issue and a simple yet effective trainable-parameter-free peak-hour decoder with a hybrid loss function that utilizes both the original series and peak-hour series as supervised signals. Extensive experimentation on publicly available time series datasets demonstrates the effectiveness of the proposed framework, yielding a remarkable average relative improvement of 37.7% across four real-world datasets for both transformer- and non-transformer-based TSF models.
BibTeX
@inproceedings{zhang2023unlocking,
  author = {Zhenwei Zhang and Xin Wang and Jingyuan Xie and Heling Zhang and Yuantao Gu},
  title = {{Unlocking the Potential of Deep Learning in Peak-Hour Series Forecasting}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2023},
  doi = {10.1145/3583780.3615159},
}
Figure