Causal and Local Correlations Based Network for Multivariate Time Series Classification

Mingsen Du, Yanxuan Wei, Xiangwei Zheng, Cun Ji · DOI

Introduction

In the era of ubiquitous sensing—ranging from wearable health monitors to complex industrial IoT arrays—Multivariate Time Series (MTS) data has become a cornerstone of modern analytics. The primary challenge in this domain is classification: accurately labeling a sequence of data generated by multiple, often interacting, sources.

Existing deep learning approaches typically encounter two significant hurdles. Transformers excel at capturing global temporal patterns but suffer from quadratic computational complexity ($O(L^2)$) and often fail to explicitly model the underlying "topology" of sensor interactions. Conversely, Graph Neural Networks (GNNs) are designed for structured data but usually require a pre-defined adjacency matrix. In most real-world scenarios, this graph is unknown, and learning it from scratch can be computationally unstable and lack physical meaning.

This paper introduces CaLoNet (Causal and Local correlations based Network), a framework designed to bridge this gap by automatically constructing interpretable causal graphs and efficiently extracting local temporal features.

Methods: The CaLoNet Framework

CaLoNet addresses the dual nature of MTS data by decoupling the learning of spatial (inter-sensor) and temporal (intra-sensor) dependencies.

Conceptual overview of spatial and local correlations in multivariate time series.

The framework operates in three distinct stages:

1. Causal Correlation Matrix Construction

Rather than relying on abstract learned weights, CaLoNet utilizes Transfer Entropy to build a directed, weighted adjacency matrix. Unlike linear methods like Granger causality, Transfer Entropy is an information-theoretic measure that captures nonlinear relationships. It quantifies how much information the past of one sensor provides about the future of another, effectively mapping the physical or logical influence between variables. This results in a "principled" graph structure that serves as the foundation for spatial modeling.

2. Local Correlation Extraction

To process the timeline of individual sensors, the model employs a dual-attention strategy. First, a Convolutional Block Attention Module (CBAM) refines features across both channel and spatial dimensions. Second, a Sparse Self-Attention (SSA) mechanism is introduced to capture local temporal patterns. By restricting attention to exponential steps (a log-sparse mask), the SSA reduces memory and time complexity from $O(L^2)$ to $O(L \log L)$. This allows the model to handle long sequences efficiently without losing the ability to identify critical local features.

3. Node Embedding and Fusion

The final stage involves fusing the causal graph with the extracted local features using a Graph Isomorphism Network (GIN). The GIN treats each sensor as a node, updating its representation based on the influence of its neighbors as defined by the causal matrix. A Multi-Layer Perceptron (MLP) then performs the final classification based on these enriched embeddings.

Experimental Evaluation

The model was rigorously evaluated on 21 multivariate datasets from the UEA archive, covering domains such as motion recognition (e.g., ArticularyWordRecognition), healthcare (e.g., Heartbeat), and sensor-based audio (e.g., SpokenArabicDigits).

CaLoNet was compared against 16 baseline methods, including state-of-the-art models like MLSTM-FCN and TapNet. The results demonstrated that CaLoNet achieved the highest average accuracy (0.770) across the entire benchmark suite. Furthermore, statistical analysis using the Wilcoxon rank-sum test confirmed that while CaLoNet performs competitively with top-tier models like SMATE, it provides a distinct advantage in interpretability.

Interpretability and Insights

A key strength of CaLoNet is its transparency. Because the model generates an explicit causal graph, researchers can visualize the relationships it discovers. For instance, in character trajectory datasets, the model's heatmaps revealed how pen-tip force directly influences coordinate movements—a physically intuitive relationship that "black-box" models often obscure. This capability allows domain experts to validate the model's logic and gain new insights into the underlying systems being monitored.

Conclusion and Future Work

CaLoNet represents a significant step forward in MTS classification by combining the rigor of information theory with the efficiency of sparse attention. While the current model utilizes static graphs—assuming relationships between sensors remain constant—the authors acknowledge that real-world systems are often non-stationary. Future research will focus on developing Dynamic GNNs capable of updating the causal structure in real-time, potentially further improving performance in volatile environments like financial markets or changing weather patterns.

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