NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fi$^2$VTS: Time Series Forecasting Via Capturing Intra- and Inter-Variable Variations in the Frequency Domain

Rujia Shen, Liangliang Liu, Boran Wang, Yi Guan, Yang Yang, Jingchi Jiang, Jiang, JingchiarXiv 2024 · DOI

TL;DR

This paper introduces Fi$^2$VTS, a novel time series forecasting model that leverages the frequency domain to capture both intra-variable (how a single series changes over time) and inter-variable (how different series influence each other) dynamics. By employing a Frequency Transform Module and Frequency Cross Attention, Fi$^2$VTS achieves state-of-the-art performance while significantly reducing computational complexity.

What Problem Does This Paper Address?

Time series forecasting (TSF) is crucial for many applications, but existing deep learning models struggle with long-term predictions. A key limitation is their inability to effectively capture both the internal dynamics of individual time series (intra-variable variations) and the complex interplay between different series (inter-variable variations) simultaneously. While some models focus on one aspect, a unified approach that addresses both, especially in a way that scales well for long sequences, remains a challenge.

Methods

The core of Fi$^2$VTS is the Fi$^2$VBlock, a modular component designed to operate in the frequency domain.

  1. Frequency Transform Module (FTM): Instead of the standard Fast Fourier Transform (FFT), Fi$^2$VTS uses the Short-Time Fourier Transform (STFT) with multiple window sizes. This helps to decouple overlapping periodic signals and provides a richer, multi-scale frequency representation. The STFT decomposes the time series into its real and imaginary components.
  2. Frequency Cross Attention (FCA): Inspired by the Kramers-Kronig relations (KKRs), which link the real and imaginary parts of causal systems, the FCA mechanism is introduced. It allows the model to learn how the real and imaginary components of a time series interact, effectively capturing intra-variable variations in the frequency domain. This is achieved by using multiple attention heads to allow the real part to attend to the imaginary part and vice-versa.
  3. Inception Blocks: To capture inter-variable variations, parameter-efficient Inception blocks are used. These blocks mix information from different frequency components and windows, allowing the model to learn correlations across different time series.
  4. Residual Architecture: Fi$^2$VTS stacks multiple Fi$^2$VBlocks in a residual manner, which helps to prevent degradation issues and allows for deeper networks, improving the model's capacity to learn complex patterns.

The paper also theoretically demonstrates a significant reduction in time and memory complexity for each Fi$^2$VBlock from $\mathcal{O}(L^2)$ to $\mathcal{O}(L)$, where $L$ is the sequence length.

Datasets

The paper evaluates Fi$^2$VTS on two widely acknowledged time series simulators:

  • Type 1 Diabetes Mellitus Simulator (T1DMs): Simulates temporal evolution of patient states in response to insulin interventions, used for medical monitoring applications.
  • Lintul3: A classic crop growth model simulating the growth process of spring wheat, used for agricultural applications.

The datasets are split using a standard 7:1:2 ratio for training, validation, and testing.

Key Insights and Ideas

  • Frequency Domain Advantage: Shifting the focus from the time domain to the frequency domain offers a powerful new perspective for TSF, enabling simultaneous capture of intra- and inter-variable dynamics.
  • STFT for Multi-Periodicity: Using STFT with varying window sizes is more effective than FFT for decoupling complex, overlapping periodic signals often found in real-world time series.
  • Kramers-Kronig Inspired Attention: The novel Frequency Cross Attention, inspired by the relationship between real and imaginary parts in the frequency domain, is a key innovation for capturing intra-variable variations.
  • Computational Efficiency: The theoretical reduction in complexity from $\mathcal{O}(L^2)$ to $\mathcal{O}(L)$ per block is a significant practical advantage, especially for long time series.

Key Results

  • State-of-the-Art Performance: Fi$^2$VTS consistently outperforms 12 baseline models across both the T1DMs and Lintul3 datasets, achieving state-of-the-art performance in 75% of the evaluated cases.
  • T1DMs Dataset: Fi$^2$VTS achieved the lowest average MSE and the second-lowest average MAE, demonstrating strong performance even on datasets where other models performed relatively well.
  • Lintul3 Dataset: Fi$^2$VTS demonstrated superior accuracy and consistent performance across different forecasting lengths, highlighting its robustness.
  • Efficiency: Fi$^2$VTS achieves this superior performance with comparable parameter sizes and GPU memory usage to models like TimesNet, while offering significantly reduced computational complexity per block.

Limitations and Future Work

  • Limitations: The authors acknowledge that Fi$^2$VTS might incorrectly categorize certain time-series mutations as noise, potentially overlooking simple periodic curves.
  • Future Work: To address these limitations, the authors plan to:
  • Integrate both time- and frequency-domain information more deeply.
  • Explore large-scale pre-training methods tailored for time series applications, using Fi$^2$VTS as the base architecture. This could lead to broader applicability across various downstream tasks.

Summary updated

BibTeX
@misc{shen2024fi,
  author = {Rujia Shen and Liangliang Liu and Boran Wang and Yi Guan and Yang Yang and Jingchi Jiang and Jiang, Jingchi},
  title = {{Fi$^2$VTS: Time Series Forecasting Via Capturing Intra- and Inter-Variable Variations in the Frequency Domain}},
  year = {2024},
  eprint = {2407.21275},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.21275},
}
Figure