Papers
Topics
Authors
Recent
Search
2000 character limit reached

MillGNN: Multi-Scale Lead-Lag Forecasting

Updated 10 July 2026
  • The paper introduces MillGNN, a graph neural network that models multivariate time series by explicitly capturing fine- and coarse-scale lead-lag dependencies via FFT-based cross-correlation.
  • It employs a structured pipeline combining statistical initialization, decay-aware attention, and hierarchical message passing to efficiently propagate messages across multiple grouping scales.
  • Empirical evaluations on diverse benchmarks demonstrate that MillGNN outperforms state-of-the-art models in both long-term and short-term forecasting tasks.

Searching arXiv for MillGNN and closely related forecasting papers. MillGNN is a graph neural network-based method for multivariate time series forecasting that learns multiple grouping scale lead-lag dependencies. It is designed for settings in which hierarchical propagation produces delayed effects across variables and groups of variables, and it combines statistically grounded lead-lag detection with structured multi-scale message passing. Formally, given historical observations XRN×L\boldsymbol{X}\in\mathbb{R}^{N\times L} for NN variables over input length LL, MillGNN learns a forecasting function X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta}) with X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H} for prediction horizon HH (Wu et al., 4 Sep 2025).

1. Problem setting and conceptual basis

MillGNN addresses multivariate time series forecasting under explicit lead-lag structure. In this setting, a directed dependency means that segments of a leading variate affect a lagging variate after a time delay τ\tau; for a pair (i,j)(i,j), the effect from xi(t)x_i(t) to xj(t+τ)x_j(t+\tau) means that NN0 leads NN1 at lag NN2. The method is motivated by the observation that existing methods often overlook lead-lag dependencies at multiple grouping scales, and therefore fail to capture hierarchical lead-lag effects in complex systems (Wu et al., 4 Sep 2025).

The central modeling assumption is that complex systems can exhibit both fine-scale and coarse-scale propagation. At fine scales, individual variate interactions are sensitive and dynamic; at coarse scales, fluctuations are smoothed and lead-lag relations become more stable. MillGNN therefore models both variate-wise and group-wise lead-lag dependencies. This suggests a division of labor across scales: fine scales capture localized and rapidly changing dependencies, whereas coarser scales summarize longer-range and more stable propagation patterns.

The underlying graph view is time-resolved and causal. Nodes are defined as NN3, where time steps are nodes, and a directed edge NN4 encodes influence from NN5 to NN6 with lag NN7, subject to causality. The weighted adjacency NN8 is upper triangular per pair NN9 because

LL0

This causal structure is retained after scale-specific aggregation and patchification (Wu et al., 4 Sep 2025).

2. Multi-scale grouping and scale-specific lead-lag graph learning

A defining feature of MillGNN is its multi-scale grouping mechanism. Variates are grouped into LL1 scales based on a binarized Dynamic Time Warping similarity graph. If LL2 denotes the initial binary similarity graph from the training set, then the assignment matrix at scale LL3 is

LL4

The similarity structure and signals at scale LL5 are then

LL6

Patchification is scale-dependent:

LL7

Larger patch lengths LL8 are used at coarser scales to capture longer delays (Wu et al., 4 Sep 2025).

The scale-specific lead-lag graph learning module, SiLL-GL, begins with FFT-based cross-correlation. Using Wiener–Khinchin, MillGNN computes

LL9

where X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})0 is FFT, X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})1 is inverse FFT, X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})2 is element-wise product, and the overline denotes complex conjugation. In practice, cross-correlations are computed on patch-averaged signals per scale, and the Top-X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})3 lag values are selected for each candidate pair (Wu et al., 4 Sep 2025).

Candidate pairs at scale X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})4 are restricted to groups that share the same parent at scale X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})5. For each such pair X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})6, the lag set is

X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})7

The initial binary adjacency X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})8 over patches X^=f(X;Θ)\hat{\boldsymbol{X}}=f(\boldsymbol{X};\boldsymbol{\Theta})9 is defined by

X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}0

Because of causality, X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}1 is upper triangular (Wu et al., 4 Sep 2025).

MillGNN then augments this statistically initialized graph with a decay-aware attention mechanism. Group embeddings for excitatory and inhibitory characteristics are introduced as X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}2, together with time embeddings X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}3. Broadcasting addition yields

X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}4

with X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}5. Rate matrices are computed through SoftMax over patch interactions:

X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}6

Real-time input attention is derived from patchwise features:

X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}7

A lag tensor X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}8 stores absolute patch differences. The dynamic decaying weight tensor is then

X^RN×H\hat{\boldsymbol{X}}\in\mathbb{R}^{N\times H}9

and the scale-specific lead-lag adjacency becomes

HH0

The intended interpretation is explicit: larger HH1 strengthen decay, while larger HH2 and HH3 counteract decay, modeling periodic revival (Wu et al., 4 Sep 2025).

3. Hierarchical lead-lag message passing

MillGNN’s second core module is hierarchical lead-lag message passing, HiLL-MP. At each scale, patchified signals are embedded as

HH4

Hierarchical aggregation is then performed back to the variate level. The aggregate message is

HH5

Here, HH6 is an activation function; HH7 are linear maps; HH8 maps scale-HH9 groups to variates; τ\tau0 is the number of variates under each scale-τ\tau1 group; and τ\tau2 is a duplication operator that efficiently broadcasts group messages to assigned variates (Wu et al., 4 Sep 2025).

This structure separates two propagation modes. Intra-scale propagation acts among similar variates or groups within the same scale. Inter-scale propagation moves information progressively from coarser groups down to finer ones through duplication along the learned hierarchy. The paper characterizes this design as balancing comprehensiveness and efficiency, since it transmits lead-lag effects across multiple grouping scales without exhaustive pairwise multiplication (Wu et al., 4 Sep 2025).

After aggregation, variate-level and group-level features are updated. For the variate level,

τ\tau3

For groups,

τ\tau4

Multiple HiLL-MP layers are stacked with skip connections, producing the final variate-level output τ\tau5 (Wu et al., 4 Sep 2025).

The forecasting head follows PatchTST. MillGNN flattens patches and hidden channels and linearly projects to the forecast horizon:

τ\tau6

Training uses Mean Squared Error. Evaluation uses MSE and MAE for long-term tasks and MAE/MAPE/RMSE for short-term traffic and air-quality tasks (Wu et al., 4 Sep 2025).

4. Computational properties and algorithmic pipeline

MillGNN is designed to preserve tractability despite explicit lag modeling. FFT-based cross-correlation reduces per-pair complexity at scale τ\tau7 from τ\tau8 to τ\tau9 after patch pooling, and cross-correlation is computed only for candidate pairs. The total message passing complexity per forward pass is stated as (i,j)(i,j)0, based on the facts that total nodes satisfy (i,j)(i,j)1, edges per scale are linear in (i,j)(i,j)2 given bounded lag window and group size (i,j)(i,j)3, graph message passing scales as (i,j)(i,j)4, and inter-scale duplication is (i,j)(i,j)5 per group-to-variates broadcast. Adjacency tensors per scale require (i,j)(i,j)6 space; practical memory is controlled by candidate-pair filtering, patch sizes (i,j)(i,j)7, and small (i,j)(i,j)8, typically (i,j)(i,j)9–xi(t)x_i(t)0 in practice (Wu et al., 4 Sep 2025).

The training and inference workflow has four main stages. First, data preprocessing normalizes series, computes DTW similarities on the training set, binarizes them to form xi(t)x_i(t)1, clusters to build the assignment matrices xi(t)x_i(t)2, aggregates signals per scale, and patchifies with scale-specific patch length xi(t)x_i(t)3. Second, SiLL-GL identifies candidate group pairs, computes FFT-based cross-correlation, selects Top-xi(t)x_i(t)4 lags, builds xi(t)x_i(t)5, computes the excitatory and inhibitory embeddings and real-time attention, forms the lag tensor, and constructs xi(t)x_i(t)6. Third, HiLL-MP computes xi(t)x_i(t)7, aggregates intra-scale and inter-scale messages, updates variate-level and group-level features, stacks layers with skip connections, and retains xi(t)x_i(t)8. Fourth, the forecast head computes xi(t)x_i(t)9 and optimizes MSE with Adam, using early stopping via validation; inference repeats the same stages and outputs xj(t+τ)x_j(t+\tau)0 (Wu et al., 4 Sep 2025).

Implementation details reported for the experiments include PyTorch, a single NVIDIA A100 80GB GPU, Adam optimization, initial learning rates in xj(t+τ)x_j(t+\tau)1, batch size xj(t+τ)x_j(t+\tau)2, xj(t+τ)x_j(t+\tau)3 epochs, and early stopping tolerance xj(t+τ)x_j(t+\tau)4. Hyperparameters are searched with NNI using a Bayesian tuner with xj(t+τ)x_j(t+\tau)5 trials and a curve fitting assessor for early termination. Search spaces are dataset dependent: for small-xj(t+τ)x_j(t+\tau)6 datasets, scales in xj(t+τ)x_j(t+\tau)7 and groups at scale xj(t+τ)x_j(t+\tau)8 in xj(t+τ)x_j(t+\tau)9; for large-NN00 datasets, scales in NN01, groups at scale NN02 in NN03, and groups at scale NN04 in NN05. Patch length satisfies NN06 and Top-NN07 lags satisfy NN08 (Wu et al., 4 Sep 2025).

5. Empirical performance and ablation results

MillGNN is evaluated on 11 datasets. The long-term forecasting benchmarks are ETTh1, ETTh2, ETTm1, ETTm2, Weather, Electricity, Exchange, and Traffic, with input length NN09 unless noted and horizons NN10. The short-term benchmarks are PEMS04, PEMS08, and China-AQI, with NN11 for PEMS and NN12 for China-AQI. The baselines comprise 16 state-of-the-art methods: Autoformer, FEDformer, PatchTST, Stationary, DLinear, SCINet, TimesNet, TimeMixer, MTGNN, Crossformer, CrossGNN, MSGNet, iTransformer, FilterTS, LightMTS/LIFT, and VCformer (Wu et al., 4 Sep 2025).

Across the long-term benchmarks, MillGNN reports the following average results: ETTm1, MSE NN13 and MAE NN14; ETTm2, MSE NN15 and MAE NN16; ETTh1, MSE NN17 and MAE NN18; ETTh2, MSE NN19, described as close to best while TimeMixer attains NN20; Electricity, MSE NN21 and MAE NN22; Exchange, MSE NN23 and MAE NN24; Traffic, MSE NN25 and MAE NN26; and Weather, MSE NN27 with MAE approximately NN28 near best. On ETTm1 at horizon NN29, MillGNN attains MSE NN30 and MAE NN31; at NN32, MSE NN33 and MAE NN34. The reported “Count” line assigns MillGNN NN35 best scores for both MSE and MAE (Wu et al., 4 Sep 2025).

On short-term forecasting, MillGNN reports the best performance across all three metrics on all three datasets: PEMS04 with MAE NN36, MAPE NN37, RMSE NN38; PEMS08 with MAE NN39, MAPE NN40, RMSE NN41; and China-AQI with MAE NN42, MAPE NN43, RMSE NN44 (Wu et al., 4 Sep 2025).

The ablation results isolate the contribution of the major components. Removing multi-scale modeling yields ETTm1 MSE NN45 instead of NN46, Electricity MSE NN47 instead of NN48, and China-AQI MAE NN49 instead of NN50. Removing the initial graphs based on cross-correlation yields ETTm1 NN51, Electricity NN52, and China-AQI NN53. Removing decay-aware weights yields ETTm1 NN54, Electricity NN55, and China-AQI NN56. Replacing HiLL-MP with a vanilla GNN yields ETTm1 NN57, Electricity NN58, and China-AQI NN59. The full design consistently yields the lowest errors, and the decay-aware weights are reported as particularly impactful on China-AQI (Wu et al., 4 Sep 2025).

Robustness analyses further qualify the performance claims. On ETTh1 and ETTh2, MillGNN excels when train-test lag distributions are stable, as on ETTh1, but performance degrades when lag distributions drift, as observed on ETTh2. Hyperparameter analysis on China-AQI identifies an optimal number of scales around NN60, Top-NN61 lags around NN62, and decay embedding dimension around NN63; too small NN64 or NN65 underfit, while too large NN66 or NN67 risk overfitting. Among inter-scale strategies, duplication is reported as both accurate and efficient relative to learnable assignment or bi-directional passing, the latter being described as overmixing and slowing training (Wu et al., 4 Sep 2025).

6. Interpretability, limitations, and relation to adjacent literature

MillGNN is presented as combining statistical interpretability with learned dynamic weighting. Interpretability begins with the initial edges, which arise from FFT-based cross-correlation, a well-understood statistic for time-lagged co-movements. It continues through the decay-aware weights, whose explicit lag-dependent form

NN68

encodes decay over longer lags, revival under strong attention, and suppression under high inhibitory rates. Case studies on China-AQI report learned variate-to-group assignments, including cities grouped by similar AQI dynamics, and lead-lag edges matching observed delays; one example states that wind direction over Shanghai explains lagged AQI peaks in Ningbo, and that MillGNN detects these lags purely from AQI without exogenous wind inputs while outperforming the listed state-of-the-art methods (Wu et al., 4 Sep 2025).

The reported limitations are correspondingly specific. MillGNN depends on the presence of meaningful lead-lag structure; if lead-lag relations are weak or dominated by synchronous interactions, gains may be limited. Performance can degrade under regime shifts and lag distribution drift. Multi-scale graphs and FFT-based cross-correlation add overhead relative to purely channel-independent models, although HiLL-MP is intended to mitigate this. Grouping quality also matters: spectral clustering is described as accurate but costly, whereas K-means offers better efficiency with a modest accuracy trade-off (Wu et al., 4 Sep 2025).

In relation to other forecasting architectures, MillGNN is distinguished from graph-based models such as MTGNN, CrossGNN, and MSGNet by explicitly modeling lead-lag edges across patches and scales, using decay-aware dynamic weights informed by real-time inputs and lag magnitude, and employing structured hierarchical message passing through coarse-to-fine duplication. Relative to Transformer-based patching models such as PatchTST, iTransformer, and Crossformer, it retains patching but adds multi-scale lead-lag graphs with explicit lag-aware decay and hierarchical propagation. Relative to decomposition-based approaches such as DLinear, Autoformer, FEDformer, and TimesNet, it is characterized by explicit lag modeling rather than predominantly synchronous trend, seasonal, or frequency decomposition. Relative to single-scale lead-lag methods such as LightMTS/LIFT and VCformer, it advances by discovering and using lead-lag dependencies at multiple grouping scales and by learning dynamic decay-aware weights (Wu et al., 4 Sep 2025).

The name “MillGNN” also has a narrower terminological boundary than might be assumed from secondary discussions around graph neural networks for mixed-integer linear programs. The paper "On Representing Mixed-Integer Linear Programs by Graph Neural Networks" studies MILP graph encodings, WL-bounded expressivity, foldable versus unfoldable instances, and random-feature symmetry breaking, but it does not introduce a single named model called “MillGNN” (Chen et al., 2022). A plausible implication is that the established use of “MillGNN” in the arXiv literature refers to the multivariate time series forecasting model rather than to the MILP-representation theory framework.

7. Practical use cases and methodological significance

The practical guidance reported for MillGNN centers on systems with hierarchical propagation and evident delays, including transportation networks, power grids, and environmental diffusion, especially when datasets contain many variables and known group structures such as spatial regions or functional subsystems. Recommended starting values from the hyperparameter study are NN69 and NN70, with larger NN71 suggested for large NN72 when clear group hierarchies are present. Patch lengths NN73 should reflect sampling rates and expected lag ranges, with longer patches at coarser scales for longer delays. Spectral clustering is preferred when compute permits, while K-means is suggested for efficiency. Domain priors, such as geography or network topology, may be incorporated into NN74 to guide grouping. Efficiency recommendations include restricting candidate pairs to siblings under the same parent at scale NN75, keeping NN76 and NN77 modest, and avoiding bi-directional inter-scale passing (Wu et al., 4 Sep 2025).

Methodologically, MillGNN occupies a specific position in the forecasting literature. Its distinctive claim is not simply that graph neural networks improve multivariate time series prediction, but that lead-lag structure should be represented as a causal, multi-scale, lag-aware graph whose edges are initialized by cross-correlation and refined by dynamic, decay-aware weights. The empirical results indicate that this combination is especially effective on datasets with spatially structured propagation, including Traffic, PEMS, and China-AQI. This suggests that the method is particularly well matched to domains in which delayed transmission across related subsystems is an organizing feature of the data-generating process rather than a minor deviation from synchronous dependence (Wu et al., 4 Sep 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to MillGNN.