Bridging Time and Frequency: A Joint Modeling Framework for Irregular Multivariate Time Series Forecasting

Xiangfei Qiu, Kangjia Yan, Xvyuan Liu, Xingjian Wu, Jilin Hu

TL;DR

This paper introduces TFMixer, a novel framework that tackles the challenging problem of forecasting irregular multivariate time series (IMTS) by jointly modeling both time and frequency domain information. TFMixer achieves state-of-the-art performance by using a learnable Non-Uniform Discrete Fourier Transform (NUDFT) for global patterns and a query-based attention mechanism for local dynamics, effectively handling non-uniform sampling and data sparsity.

What Problem Does This Paper Address?

Forecasting time series data is crucial across many domains, but real-world data often doesn't follow a neat, regular schedule. This is especially true for Irregular Multivariate Time Series (IMTS), where observations from different variables are recorded at different, non-uniform times. This irregularity breaks the assumptions of many standard forecasting models, which expect data points to be evenly spaced. Consequently, traditional methods struggle to capture both the long-term, periodic patterns (like seasonality) and the fine-grained, short-term dynamics within the data. Existing frequency-domain methods, which are great for periodic patterns, fail because they assume regular sampling. Similarly, time-domain methods that try to capture local patterns can be misled by the uneven density of observations, leading to noisy or inaccurate predictions. This paper aims to bridge this gap by developing a unified framework that can effectively handle these irregularities and capture both global and local temporal dependencies.

Methods

TFMixer is built upon a dual-branch architecture that processes time and frequency information in parallel:

  • Global Frequency Module: This module tackles long-range, periodic patterns. Its core innovation is a learnable Non-Uniform Discrete Fourier Transform (NUDFT). Unlike standard Fourier Transforms that require evenly spaced data, NUDFT can directly process irregular timestamps, extracting spectral representations without needing interpolation. This is followed by a spectrum encoder to capture global frequency features.
  • Local Time Module: This module focuses on capturing fine-grained temporal dynamics within specific intervals. It uses a query-based patch mixing mechanism. First, the time series is divided into "patches" (segments of data). To address the issue of uneven information density across these patches (some might be sparse, others dense), learnable "query tokens" attend to the most informative patches. This allows for adaptive aggregation of local temporal information, mitigating noise from sparse data.
  • Output Module: This module fuses the representations from both the time and frequency branches. It generates initial predictions and then uses the refined spectral coefficients from the Global Frequency Module to create a "seasonal bias," which is added to the initial prediction for the final forecast. This also allows for explicit seasonal extrapolation.

Datasets

The authors evaluated TFMixer on four widely used benchmark datasets for irregular multivariate forecasting:

  • PhysioNet: Clinical signals from ICU patients.
  • MIMIC-III: Clinical variables from ICU patients.
  • HumanActivity: 3D positional sensor data from subjects.
  • USHCN: Climate data from U.S. stations.

These datasets represent diverse domains, including healthcare, biomechanics, and climate science, demonstrating the generalizability of TFMixer.

Key Insights and Ideas

  • NUDFT is Key for Irregular Frequencies: The core insight is that traditional frequency-domain analysis is fundamentally limited by the assumption of uniform sampling. By introducing a learnable NUDFT, the authors enable direct spectral analysis on irregular data, unlocking the power of frequency domain for IMTS.
  • Patching Alone Isn't Enough for Irregularity: While patching is a common technique for time series, the paper highlights that uneven information density in irregular data can make simple patch-based aggregation problematic. The query-based attention mechanism is crucial for adaptively selecting and combining information from patches.
  • Time and Frequency are Complementary: The success of TFMixer hinges on the parallel processing and subsequent fusion of time and frequency domain information. This dual-branch approach effectively captures both the global periodic structure and the local, fine-grained dynamics, which are often missed by single-domain models.
  • Reconstruction Loss as a Regularizer: The use of a reconstruction loss in addition to the forecasting loss acts as a crucial regularizer for the Global Frequency Module, ensuring it learns meaningful periodic patterns rather than spurious noise.

Key Results

TFMixer demonstrated state-of-the-art performance across all four benchmark datasets. Specifically, it achieved a 3.0% reduction in MSE and an 8.1% reduction in MAE compared to the second-best baseline (APN). The model also showed exceptional cross-domain generalization and robustness, performing well on datasets with distinct characteristics. Ablation studies confirmed the importance of each component: removing either the Global Frequency Module or the Local Time Module led to significant performance degradation, highlighting their complementary nature.

Limitations and Future Work

  • Parameter Sensitivity: While TFMixer shows good performance, the optimal values for certain parameters (like model dimension D and the number of query patches W) vary depending on the dataset scale and complexity. The paper provides sensitivity analyses, suggesting that careful tuning is needed.
  • Longer Forecast Horizons: While TFMixer performs well, the paper notes that for very intensive care scenarios (like MIMIC), excessively long lookback windows (e.g., 36 hours) might introduce distribution shifts or irrelevant temporal dependencies, slightly impacting performance. This suggests potential avenues for future research in handling extremely long-term dependencies or adaptive windowing.
  • Computational Complexity: While not explicitly detailed as a limitation, the dual-branch architecture and attention mechanisms imply a certain computational cost, which might be a consideration for extremely large-scale or real-time applications.

The authors suggest that the framework's ability to capture global periodic skeletons makes it robust for long-term forecasting, hinting at its potential for applications requiring extended prediction horizons.

Summary updated

BibTeX
@inproceedings{qiu2026bridging,
  author = {Xiangfei Qiu and Kangjia Yan and Xvyuan Liu and Xingjian Wu and Jilin Hu},
  title = {{Bridging Time and Frequency: A Joint Modeling Framework for Irregular Multivariate Time Series Forecasting}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=GLPTyKiiYZ},
}
Figure