Skip to main content
QUICK REVIEW

[Paper Review] Interpretation of Deep Temporal Representations by Selective Visualization of Internally Activated Nodes

Sohee Cho, Ginkyeng Lee|arXiv (Cornell University)|Apr 27, 2020
Explainable Artificial Intelligence (XAI)Computer Science29 references7 citations
TL;DR

This paper proposes CPHAP, a framework to interpret deep temporal neural networks by identifying and visualizing representative temporal patterns that activate individual channels without requiring hand-labeled segmentation. By clustering highly activated regions and quantifying their uncertainty, CPHAP enables users to interpret which input patterns drive channel responses, demonstrating superior robustness in perturbation analysis compared to LRP and random selection.

ABSTRACT

Recently deep neural networks demonstrate competitive performances in classification and regression tasks for many temporal or sequential data. However, it is still hard to understand the classification mechanisms of temporal deep neural networks. In this paper, we propose two new frameworks to visualize temporal representations learned from deep neural networks. Given input data and output, our algorithm interprets the decision of temporal neural network by extracting highly activated periods and visualizes a sub-sequence of input data which contributes to activate the units. Furthermore, we characterize such sub-sequences with clustering and calculate the uncertainty of the suggested type and actual data. We also suggest Layer-wise Relevance from the output of a unit, not from the final output, with backward Monte-Carlo dropout to show the relevance scores of each input point to activate units with providing a visual representation of the uncertainty about this impact.

Motivation & Objective

  • To address the lack of interpretability in deep temporal neural networks, especially for time series data without human-annotated segmentations.
  • To identify and visualize the representative temporal patterns that activate individual channels in convolutional neural networks for sequential data.
  • To quantify the uncertainty of these patterns to assess whether new inputs resemble commonly observed training patterns.
  • To provide a channel-wise visualization framework that enables intuitive understanding of internal feature learning in temporal models.

Proposed method

  • The framework identifies highly activated temporal regions in input sequences by analyzing channel activations across hidden layers.
  • It applies clustering to group similar activated regions to extract general, representative temporal patterns for each channel.
  • Uncertainty of each cluster is computed to indicate the variance of input shapes that activate the corresponding channel.
  • The method uses perturbation analysis to evaluate robustness by preserving selected regions and measuring changes in channel activations under noise.
  • It compares performance against LRP and random selection by applying Gaussian, inverse, and zero perturbations to input data.
  • The framework enables visualization of channel-specific roles across different layers, showing how low-level features and high-level trends are captured.

Experimental results

Research questions

  • RQ1How can we identify and visualize the representative temporal patterns that activate individual channels in deep temporal neural networks without relying on hand-labeled segmentation?
  • RQ2What is the contribution of selected temporal regions to the robustness of channel activations under input perturbations compared to relevance-based selection?
  • RQ3How can uncertainty in cluster membership help users assess whether a new input pattern is consistent with training data?
  • RQ4Can channel-specific visualization improve interpretability of temporal representations in deep learning models for sequential data?

Key findings

  • CPHAP outperforms LRP and random selection in preserving channel activation robustness under Gaussian and inverse perturbations, with activation changes being significantly lower.
  • On the Uwave dataset, CPHAP showed lower activation differences than LRP in 80% of perturbation cases under zero perturbation, indicating superior region selection.
  • The framework successfully identified critical temporal sub-sequences that drive channel responses, with activation changes increasing only slightly when preserving CPHAP-selected regions.
  • Uncertainty estimates for each cluster provided meaningful insight into whether new inputs were likely to be similar to patterns seen during training.
  • Perturbation analysis confirmed that preserving regions selected by CPHAP led to more stable channel activations than preserving points selected by relevance scores.
  • The method enables interpretable, channel-wise visualization of temporal representations, offering insight into how deep networks learn sequential features.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.