Introduction
Deep learning has significantly advanced the classification of multivariate time series (MTS)—data where multiple variables are tracked simultaneously, such as sensor arrays in industrial IoT or physiological signals in healthcare. However, these models often function as "black boxes." While we can determine that a model classified a sequence correctly, understanding why remains a challenge. Existing explanation methods like Class Activation Maps (CAM) provide temporal localization but fail to identify which specific variables (dimensions) drove the decision. This paper introduces dCAM, a framework that provides both temporal and dimensional granularity for MTS classification.
The Challenge: Beyond Temporal Localization
Standard Convolutional Neural Networks (CNNs) applied to MTS typically treat dimensions as channels or squash them into a single representation early in the network. When generating explanations via CAM, the result is a univariate heatmap that highlights a time window across all variables simultaneously.
As illustrated in Figure 1, this lack of "dimensional granularity" is a major hurdle. In a "badminton smash" classification, a standard CAM might point to a 0.5-second interval but cannot distinguish whether the model relied on the wrist accelerometer or the shoulder gyroscope. In high-stakes domains like medicine or industrial maintenance, knowing which specific vital sign or sensor triggered an alarm is as critical as knowing when it happened.
The dCAM Framework: Permutations as a Diagnostic Tool
The researchers propose a novel architecture, the dCNN, and a corresponding explanation method, dCAM.
1. The dCNN Architecture
Instead of standard 1D convolutions, the dCNN reorganizes the input $T$ into a 2D circulant matrix $C(T)$. This structure ensures that every dimension is adjacent to every other dimension across different rows. By applying 2D kernels to this matrix, the model is forced to learn complex inter-dimensional dependencies that are often lost in traditional architectures.
2. The dCAM Algorithm
The core innovation of dCAM lies in using permutations to "probe" the model. To explain a classification, the system generates $k$ random permutations of the input dimensions.
As shown in Figure 5, by tracking the activation of a specific dimension (like $T^{(2)}$) as it moves through different positions in the circulant matrix, the algorithm can isolate its contribution. If a variable is truly discriminant, its activation will remain high or fluctuate predictably regardless of its surrounding context. This approach allows dCAM to produce a 2D heatmap (Dimensions $\times$ Time) that pinpoints exactly which feature at which moment influenced the model.
Experimental Validation and Results
The authors evaluated dCAM across synthetic and real-world datasets, comparing it against standard CAM and MTEX-CNN.
- Classification Accuracy: Surprisingly, the d-architectures (dResNet, dInceptionTime) often outperformed their standard counterparts. On the UCR/UEA benchmark, dResNet achieved an average rank of 2.65, significantly better than the standard ResNet's 4.13. The authors suggest that the permutation-based input acts as a powerful regularizer.
- Explanation Granularity: Using synthetic datasets where ground-truth features were known, dCAM achieved significantly higher Precision-Recall Area Under Curve (PR-AUC) scores. It was uniquely capable of identifying "Type 2" features—those that only emerge from the interaction of two specific dimensions.
- Surgical Skill Assessment: In the JIGSAWS dataset, dCAM analyzed kinematic data from robotic surgery. It successfully identified that "novice" surgeons are distinguished from "experts" by specific gripper angles and tooltip rotations during complex maneuvers, providing interpretable feedback for training.
Conclusion and Future Work
dCAM represents a significant step forward in making multivariate time series models interpretable. By providing dimension-wise granularity, it moves beyond simple temporal "heatmaps" to actionable insights. While the method introduces higher computational complexity ($O(D^2)$ per kernel), the gains in both accuracy and explainability make it a compelling choice for critical MTS applications. Future research will focus on optimizing the number of permutations required to maintain explanation stability in extremely high-dimensional datasets.
Summary updated