Causal and Local Correlations Based Network for Multivariate Time Series Classification

Mingsen Du, Yanxuan Wei, Xiangwei Zheng, Cun Ji

TL;DR

CaLoNet is a new framework for multivariate time series classification that jointly models causal relationships between different sensors and local patterns within each sensor's data. By combining Transfer Entropy-based graph construction with sparse self-attention, it achieves state-of-the-art performance while providing an interpretable look at how different variables influence one another.

What Problem Does This Paper Address?

Multivariate Time Series (MTS) data—data collected from multiple sensors over time—is ubiquitous in fields like healthcare, finance, and the Internet of Things (IoT). The challenge in classifying this data lies in capturing two distinct types of relationships:

  1. Local Correlations: How a single sensor's current value depends on its own past (e.g., current traffic flow is influenced by traffic five minutes ago).
  2. Spatial Correlations: How different sensors influence each other (e.g., traffic on one street affecting a neighboring street).

Existing methods often struggle to balance these. Transformers are great at capturing long-range temporal patterns but are computationally expensive ($O(L^2)$ complexity) and lack explicit structural modeling. Graph Neural Networks (GNNs) excel at modeling relationships but require a predefined graph structure, which isn't always available for MTS data. The authors propose CaLoNet to bridge this gap.

Figure 1: Examples of spatial correlations (inter-variable) and local correlations (intra-variable) in MTSs.

Methods

CaLoNet operates in four main stages:

  1. Causal Correlation Matrix Construction: To build a graph without a predefined map, the authors use Transfer Entropy (TE). Unlike linear methods like Granger causality, TE can quantify non-linear causal influences between dimensions. This results in a directed graph where nodes are sensors and edges represent the strength of causal influence.
  2. Local Correlation Extraction: This stage processes each time series dimension individually. It uses a Convolutional Block Attention Module (CBAM) to refine features and a Sparse Self-Attention (SSA) layer. The SSA is a critical optimization; by using a log-sparse mask, it reduces the computational complexity from $O(L^2)$ to $O(L \log L)$, making it much more efficient for long sequences.
  3. Node Embedding: The local features (nodes) and the causal matrix (edges) are fed into a Graph Isomorphism Network (GIN). This step fuses the temporal patterns with the spatial structure, allowing the model to learn how local events propagate through the causal network.
  4. Prediction: A standard Multi-Layer Perceptron (MLP) performs the final classification based on the integrated features.

Datasets

The authors evaluated CaLoNet on 21 multivariate datasets from the UEA archive, a standard benchmark in the field. These datasets cover a wide range of domains, including:

  • Motion Recognition: ArticularyWordRecognition, PenDigits.
  • Human Activity Recognition (HAR): BasicMotions, Cricket, NATOPS.
  • Healthcare (ECG/EEG): AtrialFibrillation, SelfRegulationSCP1/2.
  • Audio/Spectrograms: JapaneseVowels, SpokenArabicDigits.

Key Insights and Ideas

  • Causality as a Graph Blueprint: One of the most elegant ideas is using Transfer Entropy to "discover" the graph. Instead of assuming all sensors are related, CaLoNet builds a sparse, directed map based on actual information flow, which improves both accuracy and interpretability.
  • Efficiency via Sparsity: The transition to $O(L \log L)$ complexity via SSA addresses a major bottleneck in time-series Transformers, allowing the model to scale to longer sequences without a quadratic explosion in memory usage.
  • Hybrid Synergy: The paper demonstrates that spatial and local correlations are complementary. Ablation studies showed that removing either the causal graph component or the local attention component significantly degraded performance.

Key Results

CaLoNet was compared against 16 baseline methods, including popular models like SMATE, MLSTM-FCN, and WEASEL+MUSE.

  • Superior Accuracy: CaLoNet achieved the highest average accuracy (0.770) across all 21 datasets.
  • Competitive Ranking: In a critical difference analysis, it ranked second overall, showing performance statistically similar to the top-tier SMATE but with the added benefit of explicit, interpretable graph structures.
  • Winning Performance: It achieved the best individual accuracy on 5 out of the 21 datasets.

Limitations and Future Work

The primary limitation acknowledged by the authors is the use of a static graph structure. In many real-world scenarios, the relationship between variables is dynamic and evolves over time (e.g., sensor correlations in a power grid might change during a failure).

The authors suggest that future work should explore Dynamic GNNs that can update the causal graph in real-time as the data stream evolves, potentially capturing even more nuanced interactions in complex systems.

Summary updated

BibTeX
@article{du2025causal,
  author = {Mingsen Du and Yanxuan Wei and Xiangwei Zheng and Cun Ji},
  title = {{Causal and Local Correlations Based Network for Multivariate Time Series Classification}},
  journal = {Neurocomputing},
  year = {2025},
  doi = {10.1016/j.neucom.2025.129884},
}
Figure