A Multi-View Multi-Task Learning Framework for Multi-Variate Time Series Forecasting

Jinliang Deng, Xiusi Chen, Renhe Jiang, Xuan Song, Ivor W. Tsang · DOI

TL;DR

This paper introduces a novel "Multi-View Multi-Task Learning" (MVMT) framework to improve multi-variate time series forecasting. By explicitly considering spatial and temporal "views" of the data, and applying specialized normalization techniques, the framework helps models better capture complex, underlying dynamics, leading to more accurate predictions.

What Problem Does This Paper Address?

Forecasting multi-variate time series (MTS) data, which is common in many real-world applications like traffic, weather, or finance, is challenging. MTS data often arises from complex systems with unknown dynamics influenced by various factors like location (spatial) and time of day (temporal). Traditional forecasting methods struggle with this complexity and the inherent non-stationarity of such data. While deep learning models have advanced MTS forecasting, they often treat the data as a single, monolithic entity, potentially missing crucial relationships that can be inferred by looking at the data from different perspectives (views) and by recognizing that subsets of the data might represent distinct forecasting "tasks." The paper aims to bridge this gap by proposing a framework that explicitly leverages these multi-view and multi-task aspects.

Methods

The core of the proposed solution is the Multi-View Multi-Task Learning (MVMT) framework. This framework operates by:

  1. Multi-View Representation: It takes the input time series data and processes it through three "views": the original view, a spatial view, and a temporal view.
  2. Task Partitioning: Within the spatial and temporal views, the data is partitioned into distinct "tasks." For the spatial view, samples from the same variable (e.g., traffic in one sensor location) form a task. For the temporal view, samples from the same time step across different variables form a task.
  3. Task-Specific Operations: To extract meaningful information from these views and tasks, two novel operations are introduced:
  4. Task-wise Affine Transformation: This operation applies task-specific linear transformations (scaling and shifting) to the data representations. It's particularly useful for the spatial view where tasks are static over time.
  5. Task-wise Normalization: This operation normalizes representations within each task. It's more flexible and can be applied to both spatial and temporal views, addressing the "cold-start" problem (new tasks appearing during testing) better than affine transformation.
  6. Augmented Representation: The processed representations from the three views are concatenated to form an augmented representation, which is then used for forecasting.

The MVMT framework can be integrated into existing deep learning architectures, such as Wavenet, to enhance their performance.

Datasets

The authors evaluated their framework on three real-world datasets:

  • BikeNYC: Aggregated shared bike demand data for regions in New York City.
  • PeMSD7: Traffic speed data collected from sensor stations across California highways.
  • Electricity: Hourly electricity consumption data from various points.

These datasets represent diverse domains and complexities, allowing for a comprehensive evaluation of the MVMT framework.

Key Insights and Ideas

  • Data has inherent "views": The paper highlights that MTS data can be naturally understood through spatial and temporal lenses, and these views offer distinct but complementary information.
  • Tasks within views matter: By partitioning data into tasks based on these views, we can better isolate specific dynamics and patterns that might be obscured in a single, global model.
  • Normalization is key for disentanglement: Task-wise normalization and affine transformations are crucial for weakening inter-task correlations (making different tasks distinct) while strengthening intra-task correlations (keeping samples within the same task similar). This is visualized by showing how representations become more clustered for samples belonging to the same task.
  • MVMT enhances existing models: The framework doesn't replace existing architectures but acts as a powerful add-on, significantly boosting the performance of models like Wavenet.
  • Improved representation learning: Case studies demonstrate that MVMT leads to representations that are more spatially and temporally distinguishable, meaning the model can better differentiate between different locations and times.

Key Results

  • State-of-the-art performance: The MVMT framework, when integrated with Wavenet, achieved state-of-the-art results across all three datasets and various forecasting horizons (1, 2, and 3 hours) for metrics like RMSE, MAE, and MAPE.
  • Significant improvements: For example, Wavenet + MVMT showed improvements of up to 11% in MAPE on the BikeNYC dataset compared to other strong baselines.
  • Faster convergence: The MVMT module was shown to accelerate the loss convergence of the base models.
  • Robustness: The framework's performance remained stable across different hyper-parameter settings.
  • Qualitative validation: Visualizations of learned representations confirmed that MVMT effectively disentangles spatial and temporal information, leading to better-clustered data points in the learned feature space.

Limitations and Future Work

  • Long-term pattern shifts: The current MVMT framework assumes fixed long-term patterns for variables. The authors acknowledge that if these patterns shift over time, the framework might need further improvements. This is identified as a key direction for future work.
  • Cold-start for temporal view: While task-wise normalization helps with cold-start issues, the affine transformation is more limited in this regard, especially for the temporal view where new tasks (time steps) emerge.
  • Dataset-specific performance: While generally strong, the paper notes that the electricity dataset's long-tailed distribution led to a trade-off where fitting large errors might slightly degrade performance on normal samples.

The authors suggest exploring how to adapt the framework for scenarios with shifting long-term patterns and investigating optimal granularity for task partitioning.

Summary updated

BibTeX
@article{deng2021multi,
  author = {Jinliang Deng and Xiusi Chen and Renhe Jiang and Xuan Song and Ivor W. Tsang},
  title = {{A Multi-View Multi-Task Learning Framework for Multi-Variate Time Series Forecasting}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2021},
  doi = {10.1109/tkde.2022.3218803},
}
Figure