AutoCTS: Automated Correlated Time Series Forecasting

Xinle Wu, Dalin Zhang, Chenjuan Guo, Chaoyang He, Bin Yang, Christian S. Jensen

TL;DR

This paper introduces AutoCTS, a novel framework that automates the design of neural network architectures for correlated time series forecasting. By employing a two-stage search strategy for both individual time series blocks (ST-blocks) and their interconnections (ST-backbones), AutoCTS discovers superior forecasting models compared to human-designed ones, addressing the limitations of manual design and rigid model structures.

What Problem Does This Paper Address?

Correlated time series forecasting is crucial for many cyber-physical systems, where multiple sensors generate interconnected data (e.g., traffic flow from different road sensors). Existing deep learning models excel at this by using spatio-temporal (ST) blocks to capture temporal dependencies and spatial correlations. However, two major challenges persist:

  1. Manual ST-block Design: Designing effective ST-blocks is a time-consuming and costly process that relies on human expertise. The vast number of potential operators makes it difficult to discover optimal combinations, and new operators require a complete redesign.
  2. Homogeneous ST-backbones: Current models typically stack identical ST-blocks sequentially. This limits their potential, as heterogeneous ST-blocks connected with flexible topologies could offer richer representations and better accuracy.

AutoCTS aims to automate both of these challenges, enabling the discovery of highly competitive ST-blocks and ST-backbones with flexible, heterogeneous structures.

Methods

AutoCTS employs a two-stage Neural Architecture Search (NAS) approach:

  1. Micro Search Space (ST-block Design): This stage focuses on automatically designing individual ST-blocks.
  2. Operator Selection: Instead of using all available operators, AutoCTS carefully selects a compact set of effective temporal (T-operators like CNNs, Attention) and spatial (S-operators like GCNs, Attention) operators based on their performance and efficiency. This includes GDCC (CNN), INF-T (Temporal Attention), DGCN (GCN), and INF-S (Spatial Attention).
  3. Micro-DAG: A directed acyclic graph (DAG) represents the search space for ST-blocks, allowing for flexible connections between latent representations within a block.
  4. Temperature Parameter: A temperature parameter is introduced in the SoftMax function during training to bridge the gap between the micro-DAG and the derived ST-block, ensuring that the learned architecture translates effectively to a practical ST-block.
  5. Macro Search Space (ST-backbone Design): This stage focuses on discovering optimal topologies for connecting heterogeneous ST-blocks.
  6. Macro-DAG: Another DAG represents the ST-backbone, where nodes are ST-blocks and edges represent information flow. This allows for flexible connections between different ST-blocks.
  7. Joint Search: AutoCTS jointly searches for both the micro (ST-block) and macro (ST-backbone) architectures using a bi-level optimization algorithm. This allows for the discovery of models with heterogeneous ST-blocks and complex, non-sequential topologies.

Datasets

AutoCTS was evaluated on eight commonly used benchmark datasets for correlated time series forecasting:

  • Multi-step forecasting:
    • METR-LA and PEMS-BAY (traffic speed)
    • PEMS03, PEMS04, PEMS07, and PEMS08 (traffic flow)
  • Single-step forecasting:
    • Solar-Energy (solar power production)
    • Electricity (electricity consumption)

These datasets cover various domains and are standard benchmarks in the field.

Key Insights and Ideas

  • Automated Design is Crucial: The paper strongly advocates for automated design (NAS) in correlated time series forecasting, highlighting the inefficiency and limitations of manual design.
  • Heterogeneous ST-backbones are Powerful: The hypothesis that flexible topologies connecting diverse ST-blocks can outperform simple sequential stacking of identical blocks is validated.
  • Compact Operator Set is Key: Carefully selecting a limited set of high-performing and complementary S/T operators (GDCC, INF-T, DGCN, INF-S) is more effective and efficient than using a vast, uncurated collection.
  • Bridging the Architecture Gap: The temperature parameter in the micro-DAG is a clever technique to ensure that the learned abstract architecture translates well into a performant, concrete ST-block.
  • Transferability of Learned Models: Models discovered by AutoCTS on one dataset show competitive performance when transferred to other datasets, suggesting a degree of generalization.

Key Results

  • Superior Accuracy: AutoCTS consistently outperforms state-of-the-art human-designed models across all eight datasets for both multi-step and single-step forecasting. For example, on PEMS03, AutoCTS achieved a MAPE of 14.39%, outperforming the best baseline (MTGNN) at 15.67%.
  • Efficient Search: Despite its comprehensive search space, AutoCTS demonstrates efficient architecture search, with search times ranging from 12.34 to 163.21 GPU hours, fitting within a single modern GPU's memory.
  • Fewer Parameters: In many cases, AutoCTS identified models with fewer parameters than some strong baselines (e.g., MTGNN, AGCRN), suggesting better parameter efficiency.
  • Effective Operator Selection: Ablation studies showed that AutoCTS with its curated operator set significantly outperformed a variant using all available operators, demonstrating the effectiveness of the design principles.
  • Transferability: A model trained on PEMS03 achieved competitive results on METR-LA and PEMS-BAY, outperforming several baselines.

Limitations and Future Work

  • Model Efficiency: While AutoCTS prioritizes accuracy, the authors suggest that future work could incorporate model efficiency (e.g., FLOPs, latency) as an additional criterion in the search strategy.
  • Broader Applications: The framework could be extended to other analytics tasks beyond forecasting, such as outlier detection and trajectory analytics.
  • Hyperparameter Sensitivity: While the paper analyzes sensitivity to key hyperparameters (M, B, Edge), further exploration might be beneficial.
  • Operator Set Expansion: The current operator set is compact. Future work could explore incorporating new or more advanced operators as they emerge.

Summary updated

BibTeX
@article{wu2021autocts,
  author = {Xinle Wu and Dalin Zhang and Chenjuan Guo and Chaoyang He and Bin Yang and Christian S. Jensen},
  title = {{AutoCTS: Automated Correlated Time Series Forecasting}},
  journal = {Proc. VLDB Endow.},
  year = {2021},
  url = {https://openreview.net/forum?id=PnPiNWCd6p},
}
Figure