AutoCTS+: Joint Neural Architecture and Hyperparameter Search for Correlated Time Series Forecasting

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

TL;DR

The authors introduce SEARCH, a framework that jointly optimizes both neural architectures and hyperparameters for correlated time series (CTS) forecasting. By replacing memory-intensive "supernets" with a lightweight, transferable Graph Neural Network (GNN) comparator, SEARCH achieves state-of-the-art accuracy with significantly better scalability and faster search times than previous automated methods.

What Problem Does This Paper Address?

Forecasting correlated time series—such as traffic flow across a city or power consumption across a grid—requires capturing both temporal dynamics (how a single sensor changes over time) and spatial correlations (how sensors affect one another).

While deep learning has excelled here, designing these models is a "black art." Existing automated solutions (Neural Architecture Search or NAS) suffer from three major gaps:

  1. Disconnected Search: They usually search for architectures while keeping hyperparameters (like hidden dimensions or dropout) fixed, leading to suboptimal results.
  2. Poor Scalability: Most use "supernets" that must hold all possible model components in memory. As the number of sensors ($N$) or historical lookback ($P$) grows, these supernets quickly crash due to memory overflow.
  3. One-Time Use: They start the search from scratch for every new dataset, wasting massive amounts of computation.

Methods

The authors propose SEARCH (Scalable and Efficient joint ARChitecture and Hyperparameter search), which shifts the paradigm from "training a supernet" to "learning to compare models."

  • Joint Search Space: They represent a model's architecture (as a Directed Acyclic Graph) and its hyperparameters (as a vector) in a single unified arch-hyper graph. In this graph, nodes represent operators (like GCNs or Transformers) and a special "Hyper" node encodes structural settings.
  • Architecture-Hyperparameter Comparator (AHC): Instead of predicting the exact accuracy of a model (which is hard), they train a lightweight GNN to perform pairwise comparisons. Given two model designs, the AHC predicts which one will perform better.
  • Training with Noisy Proxies: To avoid the "expensive" task of fully training thousands of models to train the AHC, they use an early-validation proxy. They train candidate models for just a few epochs (e.g., $k=5$) to get "noisy" performance labels, then use a denoising fine-tuning strategy to sharpen the AHC’s judgment.
  • Transfer Learning: A key innovation is that an AHC trained on one dataset (e.g., California traffic) can be transferred to another dataset with minimal fine-tuning, drastically reducing search time.

Datasets

The framework was evaluated on six widely used benchmark datasets:

  • Multi-step Traffic Forecasting: PEMS03, PEMS04, PEMS07, and PEMS08 (traffic flow data from California).
  • Single-step Forecasting: Solar-Energy (PV plant production) and Electricity (client consumption). These datasets vary in the number of time series (from 137 to 883) and total timestamps, providing a rigorous test for scalability.

Key Insights and Ideas

  • Ranking > Regression: Predicting the absolute error of a neural network is notoriously difficult. However, predicting which of two networks is better is a much simpler task that a small GNN can learn effectively.
  • Hyperparameters Change the "Best" Architecture: The paper demonstrates that the optimal architecture shifts depending on the hyperparameters. By searching them jointly, SEARCH finds configurations that manual experts or traditional NAS would likely miss.
  • Constant Memory Complexity: Because the AHC operates on the graph representation of the model rather than the raw time-series data, its memory usage remains constant regardless of how many sensors or timestamps are in the actual dataset. This solves the "memory explosion" problem of supernets.

Key Results

  • Superior Accuracy: SEARCH consistently outperformed state-of-the-art manual models (like MTGNN and AGCRN) and automated frameworks (AutoSTG and AutoCTS) across all datasets.
  • Efficiency: SEARCH reduced search time by 3x to 10x compared to existing automated methods. For example, on the PEMS07 dataset, it finished in ~430 GPU hours compared to AutoCTS's ~2,382 hours.
  • Scalability: While competing methods saw memory usage spike linearly or quadratically with the number of sensors, SEARCH maintained a flat, low memory profile (see Figure 5 in the paper).
  • Transferability: An AHC pre-trained on one dataset and fine-tuned with just 5 "clean" samples on a new dataset performed significantly better than a random search or an AHC trained from scratch with limited data.

Limitations and Future Work

  • Single Objective: Currently, the framework only optimizes for forecasting accuracy. The authors note that future versions could include a multi-objective search to balance accuracy with hardware constraints like latency and energy consumption.
  • Proxy Limitations: While the "early-validation" proxy works well, the authors suggest that even more sophisticated, zero-cost proxies (which don't require any training) could further accelerate the process.
  • Domain Expansion: The "arch-hyper graph" concept is generalizable; the authors suggest it could be applied to other domains like Computer Vision or Natural Language Processing.

Summary updated

BibTeX
@inproceedings{wu2023autocts,
  author = {Xinle Wu and Dalin Zhang and Miao Zhang and Chenjuan Guo and Bin Yang and Christian S. Jensen},
  title = {{AutoCTS+: Joint Neural Architecture and Hyperparameter Search for Correlated Time Series Forecasting}},
  booktitle = {Proc. ACM Manag. Data},
  year = {2023},
  url = {https://openreview.net/forum?id=wjnVnXirzu},
}
Figure