GCGNet: Graph-Consistent Generative Network for Time Series Forecasting with Exogenous Variables

Zhengyu Li, Xiangfei Qiu, Yuhan Zhu, Xingjian Wu, Jilin Hu, Chenjuan Guo, Bin Yang

TL;DR

GCGNet is a novel forecasting framework that jointly models temporal and channel correlations by enforcing structural consistency between generated and real-world data. By using a graph-consistent generative approach, it achieves state-of-the-art performance across 12 datasets and remains remarkably robust to noise and missing exogenous variables.

What Problem Does This Paper Address?

In time series forecasting, we often have access to endogenous variables (the targets we want to predict, like electricity price) and exogenous variables (covariates that influence the target, like temperature or wind speed).

The challenge lies in modeling two types of relationships simultaneously:

  1. Temporal Correlations: How a variable changes over time (past-to-future).
  2. Channel Correlations: How exogenous variables influence endogenous ones (e.g., high heat driving up power demand).

Most existing models use a "two-step" strategy—modeling time first, then channels, or vice versa. The authors argue this leads to "interference," where the second step can override or distort the patterns learned in the first. Furthermore, real-world data is notoriously noisy due to sensor failures or transmission errors. Traditional models often overfit this noise, failing to capture the true underlying signal.

Methods: The GCGNet Architecture

The authors propose GCGNet (Graph-Consistent Generative Network), which moves away from sequential modeling in favor of a joint, generative approach. The architecture consists of three main modules:

GCGNet Architecture
  • Variational Generator: Instead of a simple regressor, GCGNet uses a Variational Autoencoder (VAE) to produce "coarse" predictions. This allows the model to capture the underlying data distribution and handle uncertainty rather than just chasing point-wise values.
  • Graph Structure Aligner: This is the core innovation. The model breaks the time series into "patches" and builds a graph representing the correlations between them. It then calculates an aligner loss that forces the graph structure of the generated sequence to match the graph structure of the ground truth sequence. By aligning these "relational skeletons," the model learns robust joint correlations that are less sensitive to point-wise noise.
  • Graph Refiner: To prevent the generative process from "degenerating" (producing the same output regardless of input), a Graph Convolutional Network (GCN) refines the coarse predictions. It uses the learned adjacency matrix to propagate information across time and channels, polishing the final forecast.

Datasets

The model was evaluated on 12 real-world datasets spanning various energy and environmental domains:

  • Electricity Price Forecasting (EPF): Five datasets (NP, PJM, BE, FR, DE) representing different regional power markets.
  • Hydropower: Two datasets (Colbun, Rapel) focusing on water levels and inflow.
  • Wind Power: Four datasets (Sdwpfh1, Sdwpfh2, Sdwpfm1, Sdwpfm2) from the Longyuan wind farm.
  • General Energy: One dataset providing hourly power generation data from Chile.

These datasets vary in sampling frequency (from 30 minutes to daily) and include complex exogenous factors like precipitation, wind direction, and grid load.

Key Insights and Ideas

  • Joint Modeling > Sequential Modeling: The paper demonstrates that modeling temporal and channel dependencies at the same time prevents the "forgetting" or interference seen in two-step models like TFT or TimeXer.
  • Structural Alignment for Robustness: Comparing graphs of correlations is inherently more robust than comparing raw values. Even if a specific data point is noisy, the overall relationship between patches of data remains stable.
  • Generative Flexibility: GCGNet can handle scenarios where future exogenous variables are unavailable. In such cases, the Variational Generator simply "imagines" the future covariates to guide the endogenous forecast, maintaining high accuracy where other models might fail.

Key Results

GCGNet consistently outperformed 10 state-of-the-art baselines (including TiDE, PatchTST, and TimeXer):

Main Results Table
  • Accuracy: It achieved the best results in 18 out of 24 MSE categories and 20 out of 24 MAE categories across the 12 datasets.
  • Robustness to Missing Data: In experiments where exogenous variables were partially masked (replaced with zeros or random noise), GCGNet showed significantly lower performance degradation compared to non-generative models.
  • Ablation Success: Removing the Graph Structure Aligner led to a significant drop in performance, confirming that structural consistency is the primary driver of the model's success.

Limitations and Future Work

While GCGNet is powerful, the authors note a few areas for further exploration:

  • Computational Complexity: The use of Graph VAEs and GCNs on patched data is more computationally intensive than simpler linear or MLP-based models. Future work could look into optimizing these graph operations for extremely large-scale multivariate series.
  • Extreme Scenarios: While the model handles missing exogenous variables well, its performance in "black swan" events or highly non-stationary environments remains an open question for future stress-testing.
  • Scalability: The current patching strategy works well, but finding the optimal patch size for different types of seasonalities (e.g., daily vs. yearly) still requires some manual tuning.

Summary updated

BibTeX
@inproceedings{li2026gcgnet,
  author = {Zhengyu Li and Xiangfei Qiu and Yuhan Zhu and Xingjian Wu and Jilin Hu and Chenjuan Guo and Bin Yang},
  title = {{GCGNet: Graph-Consistent Generative Network for Time Series Forecasting with Exogenous Variables}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=EO5jwQ5NCw},
}
Figure