---
title: "MSGNet — paper by Cai et al. (2024) — summary and ideas"
description: "MSGNet learns relationships between time series at different periodic scales, improving forecasts through adaptive graphs and attention."
canonical: "https://research.elamur.ai/free/en/papers/cai-2024-msgnet-learning-multi-scale-inter/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/cai-2024-msgnet-learning-multi-scale-inter/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / MSGNet: Learning Multi-Scale Inter-series Correlations for Multivariate Time Series Forecasting

# MSGNet: Learning Multi-Scale Inter-series Correlations for Multivariate Time Series Forecasting

Paper · 2024 · Wanlin Cai, Yuxuan Liang, Xianggen Liu et al.

**Authors:** Wanlin Cai, [Yuxuan Liang](https://md.research.elamur.ai/free/en/authors/yuxuan-liang/), Xianggen Liu, Jianshuai Feng and [Yuankai Wu](https://md.research.elamur.ai/free/en/authors/yuankai-wu/) · **Year:** 2024 · **Venue:** Proceedings of the AAAI Conference on Artificial Intelligence · **Licence:** [CC BY 4.0 (arXiv)](https://creativecommons.org/licenses/by/4.0/)

[**239** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4393147362|W6891621278) · [Proceedings of the AAAI Conference on Artificial Intelligence](https://openalex.org/S4210191458) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2401.00423)
- [DOI 10.1609/aaai.v38i10.28991](https://doi.org/10.1609/aaai.v38i10.28991)
- [arXiv 2401.00423](https://arxiv.org/abs/2401.00423)
- [OpenAlex](https://openalex.org/W4393147362)

Citations: OpenAlex, 2026-10-14.

## Deep dive: MSGNet: Learning Multi-Scale Inter-series Correlations for Multivariate Time Series Forecasting

MSGNet learns relationships between time series at different periodic scales, improving forecasts through adaptive graphs and attention. · about 35 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Forecasting several related quantities requires more than finding a pattern in each quantity separately. The relationships between them can also matter, and those relationships may depend on the time scale being examined. Activity at different airports, for example, can be connected differently over a day than over a shorter interval. MSGNet investigates whether forecasting improves when a system learns these scale-dependent connections explicitly, rather than relying on a single account of how the variables interact.

The paper separates two kinds of dependence. Intra-series dependence concerns how a variable’s past relates to its own future. Inter-series dependence concerns how different variables relate to one another. MSGNet combines mechanisms for both: attention learns temporal patterns within a scale, while graph convolution exchanges information between variables. Its distinctive choice is to give different periodic scales their own learned graphs. A graph represents variables as nodes and their learned connections as weighted edges.

The architecture first identifies prominent frequencies through a Fast Fourier Transform, or FFT. It uses the associated periods to reorganize the observations into several scale-specific representations. Each representation passes through adaptive graph convolution and temporal attention. The resulting representations are combined using weights derived from their Fourier amplitudes. Several residual processing blocks repeat this sequence before linear projections produce the forecast. The authors also describe this arrangement as a mixture of experts: different scale branches contribute different kinds of relational information.

Experiments cover 8 datasets, including established forecasting benchmarks and a Flight dataset assembled from OpenSky records. With an input window of 96 timesteps, MSGNet obtains the lowest average mean squared error across forecast lengths on 5 datasets and the next-lowest on 2. On Flight, its average mean squared error is 0.208, compared with 0.265 for TimesNet; the authors report a reduction of 21.5%. Average mean absolute error is 0.321 against 0.372, with a reported reduction of 13.7%. These are averages across the tested forecast lengths, rather than measurements for an individual horizon.

The paper’s strongest contribution is the combined architectural and experimental case for learning relationships at several periodic scales. Component removals support the importance of graph learning and separate graphs for different scales. A Flight experiment that excludes pandemic-era observations from training also supports greater resilience to a substantial distribution change. The evidence has clear boundaries: learned graph weights are predictive associations rather than established causal connections, the explanation for robustness remains a hypothesis, and the longer-window experiments acknowledge a setting in which a linear forecasting system performs better.

### Ideas worth borrowing

Separate relationships by scale. A relationship can look weak or inconsistent when observations with different temporal structures are mixed together. MSGNet addresses this by learning a separate graph for each selected periodic scale. The reusable idea is to ask whether the context defining a relationship should be part of its representation. In another forecasting problem, a useful connection between variables may belong to a recurring daily pattern while another belongs to a shorter cycle. Keeping those connections separate gives the predictor a way to use both without forcing them into the same adjacency matrix.

Use a measured signal to organize specialization. MSGNet does not ask an unconstrained routing mechanism to invent every division of responsibility. Fourier amplitudes identify prominent periods and later influence the weight assigned to each branch. This creates a connection between how branches are formed and how their outputs are combined. The broader design idea is to organize specialized processing around a property that can be measured from the input. Such a property should be relevant to the task; in this paper, recurring temporal structure supplies that relevance.

Give temporal and relational processing different jobs. MSGNet assigns graph convolution to exchanges between variables and attention to dependencies along a periodic time dimension. This division makes the architecture easier to reason about because each component has an intended role. It also creates useful experimental questions: does performance change when relational processing is removed, when temporal processing is removed, or when all scales share the same graph? Elsewhere, separating kinds of dependence can make a complicated predictor more interpretable and make component comparisons more informative.

Reorganize the problem before applying attention. A long sequence need not always be processed as an undivided temporal axis. MSGNet reshapes observations around detected periods, so attention operates over the length of a period. The paper’s example takes an input of length 720 and a period of 24, producing a representation shaped around 24 × 30. Attention then works along the dimension of length 24. The useful principle is that an appropriate representation can change the burden placed on a general-purpose mechanism.

Preserve information from different graph distances. Mixhop convolution retains features produced through different powers of the adjacency matrix and joins them before further processing. This makes neighborhood distance part of the representation instead of hiding it inside repeated aggregation. The appendix motivates this choice through a feature that compares information received through different graph distances. The idea is useful when immediate neighbors and more distant neighbors may convey different signals, particularly when combining them too early would erase a useful distinction.

Test a disruption without changing the test set. The Flight robustness experiment changes which historical observations are available for training while preserving the evaluation period. This helps focus the comparison on access to the disrupted regime. The procedure does not remove every complication, since the amount of training data and the validation period also change. Nonetheless, the design is worth borrowing: when testing generalization, make the source of the challenge explicit and preserve the final evaluation target wherever possible.

### How Mova uses it

For Mova, the small transparent language system written in Rust, MSGNet offers architectural ideas rather than a demonstrated language-processing component. There is no documented MSGNet integration or Mova experiment establishing a benefit. Its reported results concern numerical time series, so applying its mechanisms to language would require a new task definition and new evidence.

The most relevant possibility is to make the scale of a relationship explicit. A transparent language system could investigate whether associations observed in a short context should be represented separately from associations that persist across longer stretches of text. This would borrow the paper’s organizing question: does a relationship change when the observational scale changes? It would not justify treating textual distance as equivalent to a periodic time scale. MSGNet selects scales from recurring numerical patterns, and that assumption would need examination before transferring the procedure.

A second possibility concerns inspectable intermediate structures. MSGNet exposes scale selections, adjacency matrices, and aggregation weights. A Mova experiment inspired by that design could preserve separate records of which contextual scale contributed to a decision and which relationships were used within it. Those records could support inspection of the computation. They would still need careful interpretation: an internal weight shows how a particular mechanism combines information, not whether the corresponding relationship is linguistically correct.

The separation between within-series and between-series processing also suggests a useful research discipline. Before combining several mechanisms, define what each is supposed to capture and identify an experiment that can challenge that assignment. For Mova, the corresponding components would have to be defined in terms of its own representations and tasks. The transferable contribution is the way MSGNet makes those assignments testable through removals and replacements.

A concrete exploratory direction would therefore begin with a small, inspectable task that offers a reason to distinguish contextual scales. Separate relationship structures could be compared with a shared structure, and any proposed aggregation rule could be inspected alongside its output. This remains an experiment to design. The paper supplies neither a Rust implementation for Mova nor evidence that FFT-selected periodic branches improve language understanding.

The most defensible use is consequently methodological: preserve scale distinctions when there is evidence that they matter, expose the learned relationships, and test whether separate structures earn their complexity. MSGNet makes that approach concrete for forecasting. Its value for Mova would depend on whether an equally concrete language task supports the same distinction.

### The problem and its context

#### Forecasting a variable and forecasting a relationship

A multivariate time series contains several measurements observed over time. Forecasting it means predicting future values for all the variables from a historical window. The difficulty is that useful information can occur along different directions. A variable may repeat its own past behavior, while the recent behavior of another variable may also help predict it.

The paper calls the first direction intra-series correlation. It concerns temporal structure within a series: recurring patterns, changing levels, and other dependencies across observations. Inter-series correlation concerns connections among variables. In the graph perspective used by MSGNet, each variable becomes a node, and a weighted edge controls how information from another variable contributes during graph processing.

These directions interact. A connection between variables may be useful only when examined within a particular temporal pattern. If a single graph is expected to summarize every relevant relationship, it can obscure that dependence on scale. Conversely, temporal processing that treats the variables mainly as an undifferentiated feature vector may fail to represent their relationships explicitly.

MSGNet’s motivating illustration makes the issue easy to see. Two series can move together over a longer scale while showing an opposing relationship over a shorter scale. The illustration is conceptual instead of a measured forecasting result. Its purpose is to show why a single description of their association may be inadequate.

The proposed solution is therefore more specific than adding graph processing to a temporal predictor. The architecture needs several relational structures, and those structures need to be connected to meaningful temporal scales. The paper chooses periodicity as the basis for that connection.

#### Why the authors emphasize periodic scales

The introduction discusses finance and ecology as settings in which relationships depend on temporal conditions. It describes asset associations changing with market circumstances and ecological relationships operating across different scales. These examples motivate the problem; the experimental evaluation does not establish MSGNet’s performance on either application.

A more direct architectural example involves energy consumption and solar output. Their relationship during sunlight hours can differ from the relationship seen over another temporal interval. This suggests that the relevant context is not simply the most recent observation. A recurring pattern can define when and how an association becomes useful.

Periodicity offers an operational way to find such contexts. Instead of assigning all scales by hand, MSGNet examines the frequency content of the input and selects prominent periods. Those periods determine how the observations are reorganized for subsequent processing.

This choice narrows the claim. The paper is concerned with relationships associated with recurring scales. It does not propose an unrestricted account of every way relationships can change. A sudden disruption, an irregular event, and a stable daily cycle are different phenomena, even when they appear in the same dataset.

The authors’ hypothesis is that some useful relationships remain stable within a recurring scale, even while the scales expressed by the current input can vary. That distinction allows a system to change its effective mixture of relational information without requiring every component to be rebuilt for every observation.

#### What earlier forecasting approaches contributed

The related-work discussion begins with classical approaches such as Prophet and vector autoregression. The authors describe these methods as relying on assumptions about the patterns governing variation within individual series. They argue that complicated real observations can exceed those assumptions.

The paper then places MSGNet among neural approaches using recurrent processing, temporal convolution, and multilayer perceptrons. These families offer different ways to learn temporal structure. The discussion also covers [Transformer and attention](https://md.research.elamur.ai/free/en/concepts/transformer/) methods, which became an important part of the forecasting landscape considered by the authors.

The paper does not present the choice of temporal architecture as settled. It points to debate about the relative merits of attention-based and multilayer-perceptron approaches. [A Time Series is Worth 64 Words](https://md.research.elamur.ai/free/en/papers/nie-2022-time-series-worth-64-words/) appears in that context. MSGNet’s contribution addresses a different question: regardless of the temporal mechanism, how should relationships among variables be represented when they differ by scale?

Earlier periodic approaches are especially relevant. DEPTS represents recurring structure through cosine functions. TimesNet reorganizes sequences using periodic dimensions. MSGNet builds on the idea that periodicity can determine a useful representation, while adding separate graph-based processing for relationships within those scales.

This distinction matters when interpreting comparisons with TimesNet. Both approaches use multiple scales, so a performance difference cannot simply establish that multiple scales are useful. MSGNet also changes how temporal and inter-series information are processed. Its internal ablations provide a more focused test of the separate-graph choice.

#### What graph forecasting approaches left open

The paper describes graph neural networks as an established way to learn dependencies among time series. It cites work including [Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering](https://md.research.elamur.ai/free/en/papers/defferrard-2016-convolutional-neural-networks-graphs-fast/) and [Semi-Supervised Classification with Graph Convolutional Networks](https://md.research.elamur.ai/free/en/papers/kipf-2016-semi-supervised-classification-graph-convolutional/).

A supplied graph can be natural in some applications. For traffic prediction, distances among sensors can help define which measurements are related. General multivariate forecasting is less straightforward: variables do not always come with an obvious physical network, and prior knowledge may not specify the connections needed for prediction.

Learnable adjacency matrices address part of that difficulty. The paper discusses earlier approaches that infer graph structures rather than requiring them to be supplied. Its criticism is that a limited collection of learned graphs can still miss the link between relationships and temporal scale.

Dynamic graphs offer another response by allowing connections to change with time. MSGNet’s authors argue that time variation alone does not capture the full organizing principle. Some relationships may recur with relatively stable periodic contexts. A graph that changes at every moment and a graph associated with a recurring scale answer different questions.

MSGNet combines these lines of thought. It uses data-dependent scale identification, learned graph structures associated with the selected branches, and temporal attention inside the reorganized representations. The paper’s central research question is whether this combination provides a better predictive description of multivariate observations.

### The method, step by step

MSGNet takes a historical window containing all variables and produces a future window for those variables. Between input and output, it repeatedly creates scale-specific representations, exchanges information through learned graphs, applies temporal attention, and combines the branches.

How MSGNet turns history into forecasts The steps in order.

#### Define the forecasting task

The input contains N variables observed over a lookback window of length L. The forecast begins at time t and extends for T future steps. The paper writes the input and output dimensions as follows.

```
Xₜ₋L:ₜ ∈ ℝᴺˣᴸ
```

Xₜ₋L:ₜ is the historical observation matrix. N is the number of variables, L is the number of historical timesteps, and ℝ indicates real-valued entries. The time interval ends before t, which is the beginning of the forecast period.

```
X̂ₜ:ₜ₊T ∈ ℝᴺˣᵀ
```

X̂ₜ:ₜ₊T is the predicted future matrix. T is the forecast horizon, while N again denotes the number of variables. The hat marks predicted values here; the paper also uses a hat for normalized historical observations in its embedding equation, so its meaning depends on the expression.

At a conceptual level, each temporal scale has a graph over the same collection of variables. An adjacency matrix stores the weights of the connections between nodes. With several scales, the architecture can maintain several such matrices instead of requiring a shared relational description.

The graph formulation is predictive. An edge indicates a learned route for combining information during forecasting. It does not, by definition, establish a physical interaction or a causal relationship between the corresponding variables.

#### Normalize and embed the observations

MSGNet first normalizes the historical observations. The paper connects this step to handling nonstationarity, meaning changes in the statistical behavior of the sequence. It then maps the variables observed at each time into a learned feature representation.

```
X_emb = α Conv1D(X̂ₜ₋L:ₜ) + PE + ∑ₚ₌₁ᴾ SEₚ
```

X_emb is the embedded input. X̂ₜ₋L:ₜ denotes normalized historical observations in this expression. Conv1D is a convolution along time, α balances its contribution against the additional embeddings, PE supplies positional information, and SEₚ is a learned timestamp embedding. P indexes the timestamp components being added.

The convolution uses a kernel width of 3 and a stride of 1. Its output has a feature dimension called d_model, while preserving the temporal length L. The timestamp vocabulary depends on the finest time granularity; the paper gives 60 as the vocabulary size when that granularity is minutes.

These additions supply different information. The convolution transforms numerical observations using nearby temporal context. Positional information distinguishes locations within the sequence. Timestamp embeddings represent time-related categories that are not conveyed by the observed values alone.

The resulting matrix has dimensions d_model × L. This feature space is where the stacked processing blocks receive their inputs. The original variables reappear explicitly during the graph-processing stage through a learned projection.

#### Repeat the computation with residual blocks

MSGNet uses residual connections following the approach associated with [Deep Residual Learning for Image Recognition](https://md.research.elamur.ai/free/en/papers/he-2015-deep-residual-learning-image-recognition/). Each processing block contributes an update to its input representation.

```
Xˡ = ScaleGraphBlock(Xˡ⁻¹) + Xˡ⁻¹
```

Xˡ is the representation after layer l. Xˡ⁻¹ is the representation entering that layer, and ScaleGraphBlock denotes the scale identification, graph processing, attention, and aggregation operations. The initial representation X⁰ is X_emb.

The addition means that a block’s output is combined with the representation it received. Architecturally, the network can refine existing features rather than requiring every block to recreate the full representation.

The paper does not isolate residual connections in its reported component-removal analysis. Their role is part of the complete design, instead of a separately measured source of improvement.

#### Identify prominent frequencies

Scale selection begins with frequency analysis. FFT expresses the sequence through frequency components, allowing the architecture to identify prominent recurring patterns. MSGNet takes their amplitudes and averages across the embedded feature dimension.

```
F = Avg(Amp(FFT(X_emb)))
```

F is the vector of frequency amplitudes. FFT performs the frequency transformation, Amp extracts amplitude, and Avg averages over the d_model feature dimensions. X_emb is the embedded input used in the paper’s expression.

The architecture then selects the frequencies with the largest amplitudes from the specified candidate range.

```
f₁, …, fₖ = argTopk(f ∈ {1, …, L/2}; F)
```

The symbols f₁ through fₖ denote the selected frequency indices. k is the number of scale branches. argTopk returns the indices associated with the largest values in F, and L is the historical sequence length.

Each selected frequency determines a period.

```
sᵢ = L / fᵢ
```

sᵢ is the period associated with selected frequency fᵢ. It becomes the temporal scale used by branch i. This connects a frequency-domain observation to the shape of the representation processed by that branch.

Selection depends on the input’s frequency content. Different windows can therefore emphasize different periods. This provides an input-dependent aspect of the architecture before graph convolution or attention is applied.

There is an important distinction between this adaptive selection and the graph parameters described later. The periods and their amplitudes are computed from observations. The adjacency matrices are constructed from trainable parameters. The published equations do not show the current observation matrix directly generating each adjacency matrix.

#### Reshape the sequence around each period

For every selected scale, MSGNet reorganizes the temporal axis into a tensor.

```
𝒳ⁱ = Reshapeₛᵢ,բᵢ(Padding(X_in))
```

𝒳ⁱ is the tensor for branch i. X_in is the representation entering the ScaleGraph block, Padding adds zeros along time when required, and Reshape reorganizes the temporal dimension using period sᵢ and frequency fᵢ. The subscript fᵢ denotes the selected frequency index associated with the branch.

The resulting dimensions are d_model × sᵢ × fᵢ. The feature dimension remains intact, while time is represented through positions within a period and repetitions of that period.

Reshaping does not create additional observations. It changes how the available observations are arranged so that later operations can exploit recurring structure. The zero padding is a compatibility operation for the reshape, rather than evidence about the future.

The long-sequence example in the appendix illustrates the purpose. A sequence of length 720 with a detected period of 24 is organized as 24 × 30 along its temporal dimensions. This makes the period itself an explicit axis available to attention.

#### Project back to the variable dimension

Before graph convolution, the branch representation is mapped from embedded features into a tensor indexed by the original variables.

```
ℋⁱ = Wⁱ 𝒳ⁱ
```

ℋⁱ is the scale-specific tensor on which graph processing operates. Wⁱ is a learned matrix with dimensions N × d_model, and 𝒳ⁱ is the embedded scale tensor. The result has dimensions N × sᵢ × fᵢ.

This stage matters because the graph nodes correspond to variables. The architecture first mixes observations in an embedding space and then projects into a variable-indexed space for relational processing.

The authors acknowledge a possible concern: projecting away from the original variable dimension and later returning to it could obscure relationships. They argue that their experimental results support the effectiveness of the approach. That is empirical support for the complete procedure, instead of a mathematical guarantee that every original relationship is preserved.

#### Learn an adjacency matrix for each branch

Each scale branch has trainable node representations. Multiplying them produces scores for connections, and nonlinear transformations turn those scores into adjacency weights.

```
Aⁱ = SoftMax(ReLU(E₁ⁱ(E₂ⁱ)ᵀ))
```

Aⁱ is the adjacency matrix for branch i. E₁ⁱ and E₂ⁱ are trainable matrices, each with dimensions N × h. N is the variable count, h is the node-representation dimension, and the superscript T indicates transpose. ReLU transforms the pairwise scores, and SoftMax normalizes the resulting weights.

Using separate parameter matrices allows the graph to represent different roles for the ends of a connection. The formula does not impose symmetry, so the weight connecting one variable to another need not match the reverse connection.

The formula also helps delimit the interpretation of a learned graph. The normalized weights are not ordinary signed correlation coefficients. Though the introductory illustration discusses positive and negative relationships, the adjacency construction uses ReLU and SoftMax. A large edge weight therefore indicates a strong learned contribution within this mechanism, rather than a directly measured positive correlation.

The word adaptive refers to learning the relational structure rather than supplying a fixed external graph. Input-dependent scale selection and weighting further change how the learned branches contribute. These mechanisms should be distinguished when discussing how the architecture responds to new observations.

#### Combine neighborhoods through Mixhop convolution

MSGNet uses Mixhop processing to retain information obtained through different graph distances.

```
ℋ_outⁱ = σ(∥ⱼ∈𝒫 (Aⁱ)ʲ ℋⁱ)
```

ℋ_outⁱ is the graph-processed branch representation. Aⁱ is the learned adjacency matrix, j is an adjacency power selected from the set 𝒫, and ℋⁱ contains the branch’s variable-indexed features. The concatenation symbol ∥ joins the intermediate representations, and σ is an activation function.

An adjacency power represents repeated propagation through the graph. Different powers therefore expose different neighborhoods. Concatenating their outputs preserves their distinction before further processing.

The paper motivates this choice through the ability to represent combinations of neighborhood information that simpler aggregation can miss. Its appendix focuses on a feature comparing information from different hop distances.

After graph processing, a multilayer perceptron returns the representation to dimensions d_model × sᵢ × fᵢ. This prepares it for temporal attention while retaining information exchanged through the branch’s graph.

#### Apply attention along the periodic dimension

The temporal component uses multi-head attention, following [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/). Here the attention operation is applied along the within-period dimension.

```
𝒳̂_outⁱ = MHAₛ(𝒳̂ⁱ)
```

𝒳̂ⁱ is the branch representation after graph processing and the return projection. MHAₛ is multi-head attention applied along the dimension of length sᵢ. 𝒳̂_outⁱ is the resulting temporally processed tensor.

For implementation, the paper begins with a batch tensor shaped B × d_model × sᵢ × fᵢ and reorganizes it as Bfᵢ × d_model × sᵢ. B is the batch size. Repeated periods can consequently be processed using the same attention operation along their within-period positions.

This is the architectural reason attention does not always operate over the full historical length. The sequence has already been reorganized into periodic pieces. The intended temporal task is to capture dependencies inside those pieces.

Calling this intra-series processing describes its assigned role. Because earlier graph operations have already exchanged information, the representation entering attention contains relationally processed features. The architecture separates computational stages without making their information entirely independent.

#### Weight and combine the branches

Each processed branch is reshaped back into a matrix with temporal length L. MSGNet then obtains aggregation weights from the selected Fourier amplitudes.

```
â₁, …, âₖ = SoftMax(Fբ₁, …, Fբₖ)
```

âᵢ is the weight assigned to branch i. Fբᵢ denotes the amplitude at selected frequency fᵢ, and SoftMax normalizes the selected amplitudes into branch weights.

```
X̂_out = ∑ᵢ₌₁ᵏ âᵢ X̂_outⁱ
```

X̂_out is the aggregated representation. X̂_outⁱ is the processed matrix from branch i, âᵢ is its weight, and k is the number of branches. The sum combines the branch outputs before the residual update and subsequent processing.

The branches do not contribute equally by construction. A prominent periodic component receives greater emphasis through the amplitude-based weighting mechanism. This links aggregation to the same signal that motivated the scale transformation.

The paper interprets the procedure through a mixture-of-experts perspective. The general expression is:

```
MoE(x) = ∑ᵢ₌₁ᵏ gᵢ(x) · fᵢ(x)
```

x is the input, fᵢ is expert i, and gᵢ is the gating function controlling that expert’s contribution. MoE(x) is the combined output. For MSGNet, a scale branch plays the expert role and its amplitude-derived weight plays the gating role.

The appendix also gives a simplified expression for a graph expert.

```
Ĥᵢ = Âⁱ X Wᵢ
```

Ĥᵢ is expert i’s transformed feature matrix. Âⁱ is its adjacency matrix, X is an input with dimensions N × c, and Wᵢ maps c input features into d output features. The resulting Ĥᵢ has dimensions N × d.

```
Z ≔ ScaleGraphBlock(X) = ∑ᵢ₌₁ᵏ âᵢ Ĥᵢ
```

Z is the simplified block output. âᵢ is the amplitude-dependent gate, Ĥᵢ is the corresponding expert output, and k is the scale count. This expression deliberately omits other operations in the full block.

The mixture interpretation explains how specialized branches are coordinated. It does not on its own prove that every branch specializes successfully or that amplitude is always the best routing signal. Those are questions for the empirical evaluation.

#### Project into the forecast window

The final prediction uses learned mappings along the feature and temporal dimensions.

```
X̂ₜ:ₜ₊T = Wₛ X̂_out Wₜ + b
```

Wₛ maps d_model features back to N variables. Wₜ maps the historical temporal length L into the forecast length T. The bias b has dimension T, and X̂ₜ:ₜ₊T is the predicted future matrix.

The architecture thus produces the future window through linear projections of the learned representation. The published output equation does not describe a procedure that feeds each generated future value back as an input to generate the next.

Training minimizes mean squared error. The reported setup specifies a learning rate of 0.0001, batches of 32, and 10 epochs, with early termination where applicable. These settings belong to the experimental procedure; the scale count, node-representation dimension, and Mixhop propagation order provide further architectural choices.

### Experiments and results

#### Data and comparison design

The evaluation uses 8 datasets. Flight is the authors’ distinctive addition, while Weather, Electricity, and Exchange-Rate are established forecasting datasets in the comparison. The remaining datasets are the ETT variants h1, h2, m1, and m2.

Flight is assembled from OpenSky records. The source records contain information such as flight identifiers, airports, departure times, and landing times. The authors focus on activity at major European airports, including EDDF and EHAM, during January 2019 through December 2021.

That interval gives the dataset a special role. Pandemic-related disruption creates a substantial change in flight activity, followed by recovery. The authors use it both for ordinary forecasting comparisons and for a more demanding generalization experiment.

The comparison systems cover different architectural choices. Informer and Autoformer represent attention-based forecasting approaches. MTGnn supplies a graph-convolution comparison, while DLinear and NLinear test simpler linear forecasting. TimesNet is the periodic-transformation comparison and is described by the authors as the leading reference at the time of their study.

This range is informative because MSGNet combines ingredients that appear separately elsewhere. Its performance against a graph approach tests more than whether graph processing is possible, and its performance against a periodic approach tests more than whether periodic representations are useful.

#### Shared settings and error measures

The main comparison fixes the historical window at L=96. Forecast horizons are 96, 192, 336, and 720. The shared historical length is intended to support a fair comparison, although the appendix later shows that changing it can alter the relative performance.

Mean squared error, abbreviated MSE, is both the training objective and a reported evaluation measure. It penalizes larger prediction discrepancies more strongly through squaring. Mean absolute error, abbreviated MAE, measures the magnitude of discrepancies without that squaring. Lower values indicate better forecasts for both measures.

Training uses an NVIDIA GeForce RTX 3090 24GB GPU. The stated learning rate is 0.0001, the batch size is 32, and training lasts up to 10 epochs under the early-termination procedure.

The paper gives training, validation, and test proportions of (0.7, 0.1, 0.2) or (0.6, 0.2, 0.2). It also states that baseline values come from earlier reported results or official code, depending on the comparison.

These details help define the scope of the findings. A common lookback length and common forecast horizons provide useful alignment. They do not imply that every architecture has been exhaustively optimized for every possible historical window.

#### Aggregate results across datasets

Averaging MSE across the tested forecast horizons, MSGNet ranks first on 5 datasets and second on 2. The paper also reports that its average rank across datasets is better than the comparison systems’ average ranks.

This is a claim about broad competitiveness over the chosen evaluation collection. It does not mean MSGNet wins at every horizon or on every dataset. The distinction matters because aggregation can summarize a useful overall pattern while concealing individual settings with different outcomes.

Flight provides the clearest numerical comparison stated in the results discussion. The following chart compares average MSE across the tested forecast lengths.

Flight average forecast error, MSE MSGNet has lower average squared prediction error than TimesNet.

**The numbers**

| System or setting | MSE |
| --- | --- |
| TimesNet | 0.265 |
| MSGNet (this paper) | 0.208 |

The authors report this MSE improvement as 21.5%. That percentage belongs to their stated comparison; it should not be generalized to a different dataset, a different historical window, or an individual forecast horizon.

The corresponding MAE comparison points in the same direction.

Flight average forecast error, MAE MSGNet also improves average absolute prediction error on Flight.

**The numbers**

| System or setting | MAE |
| --- | --- |
| TimesNet | 0.372 |
| MSGNet (this paper) | 0.321 |

For MAE, the reported reduction is 13.7%. Agreement between these measures makes the result more informative than a change in only one error criterion. It still remains a comparison under the paper’s specific evaluation procedure.

#### What the comparison suggests

The authors interpret the TimesNet comparison as evidence that the way scale-specific information is processed matters. TimesNet already uses multiple periodic scales. MSGNet adds explicit graph processing for relationships between variables and attention along the periodic dimension.

That explanation is plausible within the architecture, but the full-system comparison changes several components together. It cannot isolate the contribution of separate graphs as cleanly as the internal ablation that replaces them with a shared graph.

MTGnn provides another useful reference. Its weaker reported performance suggests that graph processing without the same scale-specific organization is insufficient to match MSGNet in these experiments. This does not establish that every graph architecture lacking this organization will fail.

The authors also single out Autoformer’s strong Flight performance and suggest its autocorrelation mechanism as a possible explanation. That attribution is interpretive. The experiment measures forecast errors; it does not directly identify the internal mechanism responsible for every difference between systems.

Forecast visualizations complement the aggregate errors. The authors show examples in which MSGNet follows changes and periodic behavior more closely than comparison systems. Such examples make the behavior easier to inspect, but selected trajectories are supporting illustrations rather than a substitute for evaluation over the full test set.

#### A controlled distribution change on Flight

The Flight experiment uses a 7:1:2 partition and a more restrictive 4:4:2 partition while keeping the test set fixed. Under the latter partition, training contains observations from before the pandemic outbreak, while the subsequent period supplies validation and test observations.

All partitions are normalized using statistics from their training data. This avoids deriving normalization statistics from the held-out observations. It also means that the normalization procedure reflects the historical regime available to each training configuration.

The authors report that MSGNet gives the strongest results under both partitions and undergoes the least performance deterioration after the partition change. TimesNet has the next-smallest deterioration in their discussion.

The proposed explanation is that different scales contain different relationships, and some may remain useful after an external disturbance. A predictor with several relational structures may retain useful information when a subset becomes less reliable.

The experiment supports robustness to this particular historical disruption. It does not establish resilience to every form of distribution change. Additionally, pandemic-era observations remain available for validation in the restrictive partition, which limits any claim of complete separation from the changed regime during development.

#### Efficiency and longer inputs

The efficiency analysis uses Electricity and compares memory use, runtime, and MSE ranking. Batch size is fixed at 32. The authors report that MSGNet trains faster than TimesNet, while acknowledging greater computational demands than DLinear and Autoformer in the evaluated setting.

Their architectural explanation emphasizes where computation occurs. Attention operates along periodic lengths, and the graph module is governed by the number of selected scales. TimesNet’s convolution operates across the reorganized temporal dimensions, producing a different cost profile.

The paper does not establish that total computation is independent of historical length. Its efficiency argument concerns the behavior of particular modules and the measured comparisons. Input preparation, embedding, frequency analysis, and output projection remain parts of the complete system.

Longer-window experiments add an important qualification. On Flight, MSGNet’s error generally decreases as the historical window grows and avoids the pronounced instability described for some comparison systems. However, the authors acknowledge that a linear system performs slightly better in that longer-window setting.

### What the ablations show

#### Removing adaptive graph processing

The w/o-AdapG variant removes the adaptive graph-convolution layer. This challenges the need for explicit relational learning while retaining the surrounding architectural framework.

The authors report a substantial loss in predictive performance. Their interpretation is that exchanges among variables provide information that the remaining temporal machinery does not recover adequately.

This is stronger evidence for the value of graph processing than simply comparing MSGNet with a wholly different forecasting architecture. Much of the surrounding design is held in common. Nonetheless, removing a component also changes the computational capacity and path through the network, so the result should be read as evidence about this architecture.

The ablation does not establish that its learned graph is uniquely correct. Different graph parameterizations could potentially support similar forecasts. What the experiment supports is that the adaptive relational component contributes usefully to the evaluated system.

#### Sharing a graph across scales

The w/o-MG variant replaces separate scale-specific graph processing with a shared graph-convolution layer. It therefore retains relational computation while reducing the distinction among the branches.

This is the most direct controlled comparison for the central idea. If graph learning alone explained the benefit, a shared graph might retain most of it. The authors report that the separate-graph design performs better.

Their interpretation is that the variables do not have a single useful relational structure across all selected scales. The architecture benefits from allowing a connection to play different roles in different periodic representations.

The result supports that interpretation under the tested tasks. It does not establish a universal rule that every dataset requires several graphs. The sensitivity analysis and limitations of periodic scale selection remain relevant when transferring the idea.

#### Removing attention

The w/o-A variant removes multi-head attention. The paper describes the resulting benefit from attention as marginal.

This finding helps calibrate the architectural story. Attention contributes, but the authors’ own analysis gives greater emphasis to graph learning and its scale-specific organization. The evidence does not support describing MSGNet’s advantage as primarily an attention breakthrough.

Removing attention also does not eliminate every source of temporal structure. Input convolution, periodic reshaping, and the final temporal projection remain temporal operations. The controlled comparison concerns the additional contribution of the designated attention stage.

This distinction is useful whenever an architecture assigns a conceptual role to a component. A component may be responsible for explicit temporal processing without being the only place where temporal information enters the computation.

#### Replacing Mixhop convolution

The w/o-Mix variant substitutes conventional graph convolution for Mixhop processing. It retains graph learning while changing how information from graph neighborhoods is combined.

The authors report slightly worse performance than the complete architecture. This supports the usefulness of preserving information from different adjacency powers. The size of the effect is described more modestly than the effect of removing relational learning altogether.

The appendix provides a representational motivation through a feature called the two-hop Delta Operator.

```
f(σ(ÂX) − σ(Â²X))
```

Â is an adjacency matrix, X is a feature matrix, σ is an activation function, and f is an injective mapping. Injectivity means that distinct inputs to f remain distinguishable in its outputs. The expression compares transformed information obtained through different graph distances.

The point is not that every successful forecast must contain this exact feature. It is that a mechanism retaining different neighborhoods can express distinctions that a more restricted variable-mixing operation may fail to represent.

#### Understanding the representation argument

The appendix considers a stack of learned feature transformations without explicit graph input. In a simplified special case, its effective transformation is a fixed matrix.

```
W* = W⁽⁰⁾W⁽¹⁾ ··· W⁽ˡ⁻¹⁾
```

W* is the resulting transformation, W⁽ⁱ⁾ is the learned matrix at layer i, and l is the layer count. This reduction uses the special assumptions specified in the appendix, including a linear activation and identity input features.

The proof asks whether that same transformation could represent the graph-dependent Delta feature for arbitrary adjacency matrices. With an identity adjacency, the relevant difference vanishes. With a different adjacency, it need not vanish.

```
D = C − C²
```

C is the alternative normalized adjacency matrix, and D is the difference between its direct and repeated propagation operators. The appendix supplies a concrete example where D is non-zero.

If the same fixed transformation had to equal both f applied to the zero matrix and f applied to D, injectivity would fail. That contradiction establishes the stated limitation for the restricted architecture and quantification considered.

The scope is important. This is a representational argument about a defined operator, not a proof that every forecasting architecture without graph convolution must have worse test error. Nor does it prove robustness to distribution change. Its role is to motivate a capability that Mixhop processing makes available.

#### Scale count and propagation depth

The sensitivity study varies k, the number of selected scales, and the Mixhop order from 1 to 5. It evaluates Flight, Weather, ETTh1, and ETTh2 using MSE over the tested forecast horizons.

The authors describe performance as reasonably consistent across the explored settings. They generally favor a relatively small Mixhop order, such as 2, suggesting that local graph neighborhoods provide useful information without requiring extensive propagation.

For Flight, the propagation-order choice has a relatively small effect in their discussion. Increasing k tends to improve forecasting within the examined range, particularly when the observations contain several prominent periodic patterns.

This does not justify adding branches indefinitely. The result concerns the range actually evaluated. More selected frequencies can also introduce weaker or redundant patterns, and the paper does not establish the behavior outside its tested settings.

#### Inspecting scales and learned connections

The learned Flight graphs provide a qualitative check on what the branches represent. The authors inspect adjacency matrices associated with 24, 6, and 4 hours.

Airport 6 is described as farther from Airports 0, 1, and 3. Its learned connections to them are stronger at the longer inspected scale and weaker at the shorter scales. Airports 0, 3, and 5 are described as geographically closer and show stronger mutual connections over shorter intervals.

This is consistent with the claim that a single graph can miss useful distinctions. It also gives a concrete meaning to the architecture’s [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/): the learned structures can be inspected alongside known properties of the variables.

The interpretation remains qualitative. Geography and graph weights appear meaningfully related in the example, but the paper does not establish that the edges recover a verified causal network.

The detected-scale analysis supplies another check. During Flight prediction, selected periods include daily and shorter recurring patterns. These resemble expected flight rhythms. Such agreement makes the scale decomposition understandable, while leaving open how reliably the same interpretation would hold across all datasets and windows.

### Limitations

#### Limits acknowledged by the authors

The authors explicitly acknowledge a longer-window setting in which a linear forecasting system performs slightly better than MSGNet on Flight. This matters because the main comparisons use a common historical window of 96. A system that wins under that convention need not win when every competitor receives a different amount of historical information.

The longer-window analysis is still favorable to MSGNet in another respect: its error tends to improve without the strong fluctuations described for some attention-based comparisons. The accurate conclusion is that periodic reshaping supports useful longer-context behavior in those experiments, alongside a remaining competitive advantage for the linear approach in the stated case.

The efficiency discussion also acknowledges a cost. MSGNet requires more computation than DLinear and Autoformer in the evaluated setting. Its speed advantage over TimesNet therefore does not make it the simplest or cheapest available choice.

The authors further acknowledge a representational concern around projection. Observations are embedded, projected into a variable-indexed graph space, and projected back. They argue that experiments support the procedure’s ability to retain useful relationships. The paper does not provide a general preservation theorem for those transformations.

Finally, the robustness mechanism is presented as a hypothesis. The authors propose that some scale-specific relationships survive a disturbance while others change. The distribution-shift experiment is consistent with that explanation, but it does not directly track which connections remain valid and how they cause the improved forecast.

#### Limits imposed by periodic scale selection

A careful reading identifies a boundary in the choice of scale. MSGNet selects prominent Fourier components and treats their periods as organizing structures. This is well aligned with recurring patterns, but the evaluation does not show that every important dependency will be prominent in that representation.

A predictive relationship can be intermittent or weak in amplitude. Selecting the largest amplitudes need not guarantee selection of every useful relational context. This is a limitation of the inference that can be drawn from the architecture, rather than a reported failure on a particular dataset.

Averaging amplitudes across embedded features introduces another choice. It creates a common set of periods for branch construction, even if a recurring pattern is especially important for only part of the variable collection. The paper does not isolate the consequences of that averaging decision.

The scale mechanism also assumes that a useful period can be extracted from the available window. Very short windows and complicated mixtures of patterns may make that task harder. The sensitivity study examines several settings, but it does not establish success under every possible periodic or nonperiodic regime.

These considerations do not contradict the reported results. They define the assumptions under which borrowing the method is most plausible: there should be useful recurring structure, and relationships should differ meaningfully across that structure.

#### Learned edges do not establish causation

The adjacency matrices provide inspectable intermediate quantities, but interpretability must be stated precisely. The graphs show how the trained computation distributes relational influence within a branch. They do not automatically identify the real-world causes of an observation.

The airport example makes this distinction important. Stronger learned connections between nearby airports are compatible with a meaningful spatial pattern. They do not demonstrate that activity at one airport causes the predicted change at another.

The matrices also differ from conventional signed correlation measurements. Their construction uses trainable embeddings followed by ReLU and SoftMax. A low weight can reflect the relative allocation of attention across neighbors, rather than proving the absence of a relationship.

As a consequence, the introductory example of positive and negative correlations should be understood as motivation for multiple relational structures. It should not be read as a claim that every adjacency entry directly encodes a signed statistical correlation.

A stronger interpretability evaluation would require external criteria for what the edges should mean and a procedure for assessing agreement. The reported visualizations provide suggestive examples instead of that form of validation.

#### The scope of adaptation needs care

The paper describes its architecture as learning dynamic relationships. Several parts of the computation do respond to the input: detected frequencies can change, periods can change, and amplitude-derived aggregation weights can change.

The adjacency equation itself, however, multiplies trainable node-representation matrices. It does not include the current observations as an explicit argument generating the edge scores.

That distinction limits a particular interpretation of the method. The effective relational computation can vary because different branches are selected and weighted. The equations do not establish that every edge is freshly estimated from each incoming window.

Similarly, separate branches are associated with selected scales, but the paper does not fully resolve every question about how branch identity should be interpreted when the detected periods vary across windows. The empirical results support the operational architecture without answering all semantic questions about its internal structures.

#### The distribution-shift claim is specific

The Flight experiment is valuable because it uses a real disruption and preserves the test set across partitions. It provides evidence beyond an ordinary evaluation where training and testing share a relatively similar distribution.

Nevertheless, it tests a particular historical change in a particular domain. The result cannot establish robustness to arbitrary disturbances in weather, financial measurements, or other multivariate systems.

The restrictive partition also changes training-set size while moving the validation period. Performance differences can therefore reflect several changes in the available development data, not solely whether training contains the disrupted regime.

Pandemic-era validation observations are especially relevant. They allow the development procedure to observe behavior from the changed distribution, even when gradient-based training excludes it. The setup is a meaningful challenge, but it is not complete developmental isolation from the disturbance.

The authors’ hypothesis about surviving relationships would benefit from a more direct analysis of branch behavior across the disruption. Their experiment measures the overall outcome; it does not separately establish the stability of each learned relation.

#### Experimental evidence and theoretical scope

The main results establish competitive forecasting under the selected datasets, horizons, and training settings. They do not establish a universal ranking across all possible data, historical lengths, or tuning procedures.

The aggregate rankings are useful, but averages conceal variation. A first-place average across horizons does not imply first place at every horizon. Likewise, average rank across datasets summarizes this collection rather than measuring generalization to an unlimited population of forecasting tasks.

The ablations strengthen the causal interpretation of architectural choices within MSGNet, especially the comparison between shared and separate graphs. They are still component interventions inside a particular design. Removing a stage can alter parameter count, optimization, and information flow together.

The representation theorem has a narrower scope again. It establishes a limitation for the restricted transformation family and graph-dependent operator used in the proof. It is not a theorem that Mixhop must reduce forecasting error or that multiple graphs guarantee distribution-shift robustness.

The efficiency explanation should also remain tied to measured conditions. Operating attention over periodic lengths helps explain the observed cost profile, but the complete network still processes the input and constructs its representations. The paper does not establish unrestricted constant-cost behavior as historical length grows.

Finally, no reported experiment evaluates language understanding or a transparent Rust language system. The Mova connections are research proposals inspired by the architecture. They should remain separate from the forecasting results that MSGNet actually establishes.

### What came after

No later citing studies are identified for a documented follow-up discussion. There is therefore no basis for attributing a subsequent architecture, benchmark improvement, or application to MSGNet’s influence.

The paper itself makes implementation available through its official MSGNet code repository and ends with an empirical argument for scale-specific relational learning. Its lasting research question is concrete: when several variables interact through recurring patterns, does representing their connections separately at those scales improve prediction?

The most informative continuation would test the boundaries already visible in the paper: whether the learned graphs remain meaningful when detected periods change, whether branch behavior explains resilience during a disruption, and when a shared graph is sufficient. Those are open questions suggested by the method and evidence, rather than established results from later work.

## Cite

Cite as Wanlin Cai, Yuxuan Liang, Xianggen Liu, Jianshuai Feng and Yuankai Wu. 2024. MSGNet: Learning Multi-Scale Inter-series Correlations for Multivariate Time Series Forecasting. Proceedings of the AAAI Conference on Artificial Intelligence.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1609/aaai.v38i10.28991](https://doi.org/10.1609/aaai.v38i10.28991) · [arXiv 2401.00423](https://arxiv.org/abs/2401.00423)

```bibtex
@inproceedings{cai2024msgnet,
  title = {{MSGNet: Learning Multi-Scale Inter-series Correlations for Multivariate Time Series Forecasting}},
  author = {Wanlin Cai, Yuxuan Liang, Xianggen Liu, Jianshuai Feng and Yuankai Wu},
  booktitle = {Proceedings of the AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i10.28991},
  eprint = {2401.00423},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1609/aaai.v38i10.28991}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
