FV-MgNet: Fully Connected V-cycle MgNet for Interpretable Time Series Forecasting

Jianqing Zhu, Juncai He, Lian Zhang, Jinchao Xu

TL;DR

FV-MgNet adapts multigrid-inspired neural networks for long-term time series forecasting by replacing traditional convolutions with fully connected layers in a hierarchical V-cycle structure. The result is a model that achieves state-of-the-art accuracy while using significantly fewer parameters, less memory, and offering faster inference speeds than dominant Transformer-based architectures.

What Problem Does This Paper Address?

Long-term time series forecasting—predicting values far into the future—is a cornerstone of industries ranging from energy management to healthcare. While Recurrent Neural Networks (RNNs) were the early standard, the field has recently been dominated by Transformer-based models due to their ability to capture long-range dependencies.

However, Transformers come with baggage: they are computationally expensive (often quadratic complexity) and, surprisingly, their performance can actually degrade as the input sequence length increases. There is a pressing need for models that are not only accurate but also computationally efficient, robust to long inputs, and built on interpretable mathematical foundations.

Methods

The authors introduce FV-MgNet (Fully Connected V-cycle MgNet). This architecture is a significant departure from the attention-heavy trend, drawing instead from the world of numerical analysis.

  1. MgNet Heritage: The model is based on MgNet, a framework that links Convolutional Neural Networks (CNNs) to Multigrid (MG) methods used for solving partial differential equations (PDEs).
  2. Fully Connected (FC) Layers: While the original MgNet used convolutions for image tasks, the authors found that fully connected layers are better suited for the complex, varying frequencies of time series data.
  3. The V-cycle Structure: The core of the model is a "V-cycle" hierarchical feature extractor. It starts at a fine resolution, restricts (down-samples) the data to coarser "grids" to capture low-frequency patterns, and then prolongs (up-samples) it back to the fine resolution. At each level, it performs "smoothing" iterations to refine the feature extraction.
  4. Interpretable Feature Extraction: The process is framed as solving a constrained linear model ($Au=f$), where $f$ is the input and $u$ is the feature. This provides a clear mathematical interpretation of what the network layers are doing: they are iteratively solving an optimization problem to extract intrinsic features.
  5. Interpolation: Finally, a simple one-hidden-layer ReLU network maps these hierarchical features to the predicted output horizon.

Datasets

The model was evaluated on six popular real-world multivariate benchmarks:

  • ETT (Electricity Transformer Temperature): Four subsets (ETTh1, ETTh2, ETTm1, ETTm2) at different resolutions.
  • Electricity: Consumption data for 321 clients.
  • Exchange: International currency exchange rates.
  • Traffic: Road occupancy rates in California.
  • Weather: 21 meteorological indicators.
  • ILI: Influenza-like illness clinical cases.

Key Insights and Ideas

  • Efficiency through Hierarchy: By using the multigrid V-cycle, the model captures multi-resolution features without the massive overhead of self-attention mechanisms.
  • Breaking the "Input Length Curse": Unlike Transformers, which often see error rates climb as they are given more historical data, FV-MgNet remains stable or even improves with longer input sequences. This suggests it is more effective at filtering noise from long-term signals.
  • Dense is Better than Sparse for Time Series: The authors' ablation studies showed that fully connected operators significantly outperformed convolutional ones in this specific multigrid framework, likely because time series dependencies are often global rather than strictly local.

Key Results

FV-MgNet consistently outperformed state-of-the-art models like FEDformer, Autoformer, and N-HiTS across almost all datasets.

  • Accuracy: On the Electricity dataset, FV-MgNet achieved the lowest Mean Squared Error (MSE) across all tested output lengths (see Figure 1, left).
  • Efficiency: The model is incredibly lean. It uses only 15% of the parameters of typical Transformers and 25% of the parameters of the FiLM model (see Figure 1, right).
  • Speed and Memory: In benchmarks, FV-MgNet was 10x faster than Autoformer and used 5x less memory. Crucially, its memory and time usage remain almost constant even as the output length increases (see Figure 2).
Figure 1: MSE on the Electricity multivariate data set. Left: MSE as output length. Right: MSE as parameters, output length is fixed to 720. A lower MSE indicates a better prediction.
Figure 2: Computational efficiency benchmark on the Electricity multivariate data set, batch size is 16. Time usage is measured for one epoch training time. Left: Memory usage as output length, input length is fixed to 96. Right: Epoch time usage as output length, input length is fixed to 96.

Limitations and Future Work

While the paper demonstrates excellent performance on long-term forecasting, it does not extensively discuss performance on very short-term horizons where local patterns might dominate. Additionally, while the model is "interpretable" in a mathematical sense (relating to iterative solvers), it doesn't yet provide the kind of "feature importance" or "saliency maps" that some practitioners might require for explainable AI.

Future work could involve exploring different nonlinear constraints beyond ReLU or adapting the architecture for specific domain-knowledge-driven PDEs in physical time series.

Summary updated

BibTeX
@article{zhu2023fv,
  author = {Jianqing Zhu and Juncai He and Lian Zhang and Jinchao Xu},
  title = {{FV-MgNet: Fully Connected V-cycle MgNet for Interpretable Time Series Forecasting}},
  journal = {J. Comput. Sci.},
  year = {2023},
  url = {https://openreview.net/forum?id=i-zDuMssJv3},
}
Figure